Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:16.0:FactoryCandidates
python-term-background
python-term-background.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-term-background.spec of Package python-term-background
# # spec file for package python-term-background # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define tarname term-background %define modname %( echo %{tarname} | tr '-' '_' ) Name: python-term-background Version: 1.0.1 Release: 0 Summary: Determine if shell has a light or dark background License: GPL-2.0-or-later URL: http://github.com/rocky/shell-term-background Source0: https://github.com/rocky/shell-term-background/releases/download/%{version}/%{tarname}-%{version}.tar.gz # Missed in source tarball Source1: https://raw.githubusercontent.com/rocky/shell-term-background/%{version}/__pkginfo__.py Source2: https://raw.githubusercontent.com/rocky/shell-term-background/%{version}/COPYING BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} # SECTION For tests BuildRequires: %{python_module pytest} # /SECTION BuildRequires: fdupes BuildArch: noarch %python_subpackages %description A python module to determine if a shell has a light or dark background. %prep %setup -q -n %{tarname}-%{version} cp %{SOURCE1} %{SOURCE2} ./ %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest %files %{python_files} %license COPYING %{python_sitelib}/%{modname}/ %{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor