Initial version: 0.6
This commit is contained in:
parent
9afb4de1ca
commit
352c045db9
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/justbases-0.6.tar.gz
|
||||||
70
python-justbases.spec
Normal file
70
python-justbases.spec
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
%global srcname justbases
|
||||||
|
Name: python-%{srcname}
|
||||||
|
Version: 0.6
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: A small library for precise conversion between arbitrary bases
|
||||||
|
|
||||||
|
License: GPLv2
|
||||||
|
URL: http://pypi.python.org/pypi/justbases
|
||||||
|
Source0: https://pypi.python.org/packages/source/j/%{srcname}/%{srcname}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
A small library for precise conversion between arbitrary bases and native
|
||||||
|
Python numbers.
|
||||||
|
|
||||||
|
%package -n python2-%{srcname}
|
||||||
|
Summary: A small library for precise conversion between arbitrary bases
|
||||||
|
%{?python_provide:%python_provide python2-%{srcname}}
|
||||||
|
|
||||||
|
BuildRequires: python2-devel
|
||||||
|
BuildRequires: python-setuptools
|
||||||
|
|
||||||
|
Requires: python-six
|
||||||
|
|
||||||
|
%description -n python2-%{srcname}
|
||||||
|
A small library for precise conversion between arbitrary bases and native
|
||||||
|
Python numbers.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n python3-%{srcname}
|
||||||
|
Summary: A small library for precise conversion between arbitrary bases
|
||||||
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
|
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
|
||||||
|
Requires: python3-six
|
||||||
|
|
||||||
|
%description -n python3-%{srcname}
|
||||||
|
A small library for precise conversion between arbitrary bases and native
|
||||||
|
Python numbers.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{srcname}-%{version}
|
||||||
|
rm -rf justbases.egg-info
|
||||||
|
|
||||||
|
%build
|
||||||
|
%py2_build
|
||||||
|
%py3_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%py2_install
|
||||||
|
%py3_install
|
||||||
|
|
||||||
|
%files -n python2-%{srcname}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.rst
|
||||||
|
%{python2_sitelib}/justbases/
|
||||||
|
%{python2_sitelib}/justbases-%{version}-*.egg-info
|
||||||
|
|
||||||
|
%files -n python3-%{srcname}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.rst
|
||||||
|
%{python3_sitelib}/justbases/
|
||||||
|
%{python3_sitelib}/justbases-%{version}-*.egg-info
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Mar 16 2016 mulhern <amulhern@redhat.com> - 0.6
|
||||||
|
- Initial release
|
||||||
Loading…
Reference in New Issue
Block a user