Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dgarcia:python312:numeric
python-binary
python-binary.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-binary.spec of Package python-binary
# # spec file for package python-binary # # Copyright (c) 2021 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-%{**}} Name: python-binary Version: 1.0.0 Release: 0 License: Apache-2.0 OR MIT Summary: Library to convert between binary and SI units URL: https://github.com/ofek/binary Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/b/binary/binary-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-cov} # /SECTION BuildRequires: dos2unix BuildRequires: fdupes BuildArch: noarch %python_subpackages %description Python library to convert between and within binary (IEC) and decimal (SI) units. %prep %setup -q -n binary-%{version} dos2unix README.rst %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand rm -r %{buildroot}/%{$python_sitelib}/tests/ %check %pytest %files %{python_files} %doc README.rst %license LICENSE-APACHE LICENSE-MIT %{python_sitelib}/* %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