[python-billiard] update to latest upstream version 2.7.3.17

Matthias Runge mrunge at fedoraproject.org
Tue Oct 16 09:02:47 UTC 2012


commit f3f38fe579c48773bda474939ca652142d3b2c29
Author: Matthias Runge <mrunge at redhat.com>
Date:   Tue Oct 16 11:02:21 2012 +0200

    update to latest upstream version 2.7.3.17

 .gitignore           |    1 +
 python-billiard.spec |   73 +++++++++++++++++++++++++++++++++++++++++++++++--
 sources              |    2 +-
 3 files changed, 72 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6b05e76..14514c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 billiard-0.3.1.tar.gz
 /billiard-2.7.3.9.tar.gz
 /billiard-2.7.3.11.tar.gz
+/billiard-2.7.3.17.tar.gz
diff --git a/python-billiard.spec b/python-billiard.spec
index bf5b32a..4d38b73 100644
--- a/python-billiard.spec
+++ b/python-billiard.spec
@@ -1,7 +1,14 @@
 %global srcname billiard
 
+%if 0%{?fedora} > 12 || 0%{?rhel} > 6
+%global with_python3 1
+%else
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
+%endif
+
+
 Name:           python-%{srcname}
-Version:        2.7.3.11
+Version:        2.7.3.17
 Release:        1%{?dist}
 Summary:        Multiprocessing Pool Extensions
 
@@ -13,18 +20,60 @@ Source0:        http://pypi.python.org/packages/source/b/%{srcname}/%{srcname}-%
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
 
+%if 0%{?with_python3}
+BuildRequires:  python3-devel
+BuildRequires:  python3-setuptools
+%endif
+
 %description
 This package contains extensions to the multiprocessing Pool.
 
+
+%if 0%{?with_python3}
+%package -n python3-billiard
+Summary:        Multiprocessing Pool Extensions
+Group:          Development/Languages
+Requires:       python3
+BuildArch:      noarch
+%description -n python3-billiard
+This package contains extensions to the multiprocessing Pool.
+
+%endif
+
 %prep
 %setup -q -n %{srcname}-%{version}
 
+%if 0%{?with_python3}
+cp -a . %{py3dir}
+%endif
+
+
 %build
-%{__python} setup.py build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+%if 0%{?with_python3}
+pushd %{py3dir}
+%{__python3} setup.py build
+popd
+%endif # with_python3
 
 %install
-rm -rf %{buildroot}
 %{__python} setup.py install --skip-build --root %{buildroot}
+%if 0%{?with_python3}
+pushd %{py3dir}
+%{__python3} setup.py install --skip-build --root %{buildroot}
+popd
+%endif # with_python3
+
+# checks are currently failing
+#%check
+# https://github.com/celery/billiard/issues/21
+#%{__python} setup.py test
+
+#%if 0%{?with_python3}
+#pushd %{py3dir}
+#%{__python3} setup.py test
+#popd
+#%endif # with_python3
 
 %files
 %doc CHANGES.txt LICENSE.txt README.rst
@@ -32,7 +81,25 @@ rm -rf %{buildroot}
 %{python_sitearch}/%{srcname}/
 %{python_sitearch}/%{srcname}*.egg-info
 
+%if 0%{?with_python3}
+%files -n python3-billiard
+%doc CHANGES.txt LICENSE.txt README.rst
+%{python3_sitelib}/%{srcname}
+%{python3_sitelib}/%{srcname}*.egg-info
+%endif # with_python3
+
 %changelog
+* Fri Sep 28 2012 Matthias Runge <mrunge at redhat.com> - 2.7.3.17-1
+- update to upstream version 2.7.3.17
+
+* Thu Sep 20 2012 Matthias Runge <mrunge at redhat.com> - 2.7.3.14-1
+- update to upstream version 2.7.3.14
+
+* Sun Aug 26 2012 Matthias Runge <mrunge at matthias-runge.de> - 2.7.3.12-1
+- update to new upstream version 2.7.3.12
+- provide python3 packages
+- enable checks
+
 * Fri Aug 03 2012 Matthias Runge <mrunge at matthias-runge.de> 2.7.3.11-1
 - update to new upstream version 2.7.3.11
 
diff --git a/sources b/sources
index 0f7ce58..b2d4b58 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f7e725162fcae22568f61bb25e953808  billiard-2.7.3.11.tar.gz
+24a377e83604906ee1f13578ab6fec71  billiard-2.7.3.17.tar.gz


More information about the scm-commits mailing list