[packages/python-bitarray] - up to 1.0.1
arekm
arekm at pld-linux.org
Thu Oct 31 12:11:40 CET 2019
commit ee6a3db61c710d00c59296ac8c35e08b98a5afcb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Oct 31 12:11:33 2019 +0100
- up to 1.0.1
python-bitarray.spec | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
---
diff --git a/python-bitarray.spec b/python-bitarray.spec
index bc5616f..d930cdf 100644
--- a/python-bitarray.spec
+++ b/python-bitarray.spec
@@ -10,12 +10,13 @@
%define module bitarray
Summary: Efficient arrays of booleans -- C extension
Name: python-%{module}
-Version: 0.8.1
-Release: 8
+Version: 1.0.1
+Release: 1
License: PSF
Group: Libraries/Python
-Source0: https://pypi.python.org/packages/source/b/bitarray/%{module}-%{version}.tar.gz
-# Source0-md5: 3825184f54f4d93508a28031b4c65d3b
+# Source0: https://pypi.python.org/packages/source/b/bitarray/%{module}-%{version}.tar.gz
+Source0: https://github.com/ilanschnell/bitarray/archive/%{version}.tar.gz
+# Source0-md5: 56f55188d8d5361834db0bc7120f8998
URL: https://pypi.python.org/pypi/bitarray/
BuildRequires: python-devel
BuildRequires: python-distribute
@@ -79,10 +80,22 @@ bit length encoding, you may find this module useful.
%build
%if %{with python2}
-%py_build %{?with_tests:test --test-suite bitarray}
+%py_build
+%if %{with tests}
+cd build-2
+PYTHONPATH=$(pwd)/$(echo lib.linux-*) \
+%{__python} -c 'import bitarray; bitarray.test()'
+cd ..
+%endif
%endif
%if %{with python3}
-%py3_build %{?with_tests:test}
+%py3_build
+%if %{with tests}
+cd build-3
+PYTHONPATH=$(pwd)/$(echo lib.linux-*) \
+%{__python3} -c 'import bitarray; bitarray.test()'
+cd ..
+%endif
%endif
%if %{with doc}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-bitarray.git/commitdiff/ee6a3db61c710d00c59296ac8c35e08b98a5afcb
More information about the pld-cvs-commit
mailing list