Initial version: 0.6

This commit is contained in:
mulhern 2016-03-17 14:45:26 -04:00
parent 9afb4de1ca
commit 352c045db9
3 changed files with 72 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/justbases-0.6.tar.gz

70
python-justbases.spec Normal file
View 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

View File

@ -0,0 +1 @@
e0d603b185dbca47e427d2c82439ab10 justbases-0.6.tar.gz