Initial import from Debian unstable

This commit is contained in:
Jérôme Schneider 2014-11-01 19:48:13 +01:00
parent 49ab2393ae
commit b3a48c2aaf
18 changed files with 455 additions and 0 deletions

98
debian/changelog vendored Normal file
View File

@ -0,0 +1,98 @@
billiard (3.3.0.18-2) unstable; urgency=low
* Add patch to fix build on hurd-i386. Closes: #753836.
-- Brian May <bam@debian.org> Mon, 18 Aug 2014 13:51:41 +1000
billiard (3.3.0.18-1) unstable; urgency=low
* New upstream release.
* Remove gnukfreebsd.patch as it was included upstream.
-- Michael Fladischer <FladischerMichael@fladi.at> Thu, 14 Aug 2014 15:06:09 +0200
billiard (3.3.0.17-2) unstable; urgency=medium
* Add gnukfreebsd.patch to make setup.py recognize GNU/kFreeBSD as a
FreeBSD platform (Closes: #747441).
-- Michael Fladischer <FladischerMichael@fladi.at> Sat, 14 Jun 2014 20:41:08 +0200
billiard (3.3.0.17-1) unstable; urgency=low
* New upstream release.
-- Michael Fladischer <FladischerMichael@fladi.at> Wed, 23 Apr 2014 12:08:06 +0200
billiard (3.3.0.16-1) unstable; urgency=medium
* New upstream release.
* Enable tests during build (Closes: #735201).
* Enable Python3 support with python3-billiard.
* Extend remove-nose-cover3.patch to also remove nose-cover3 from funtests
package.
* Check PGP signature on upstream tarball:
+ Add signature URL to debian/watch.
+ Include upstream public PGP key 030A2708.
+ Allow debian/upstream-signing-key.pgp to be included as a binary.
* Remove .PHONY declarations from debian/rules.
-- Michael Fladischer <FladischerMichael@fladi.at> Wed, 09 Apr 2014 09:52:00 +0200
billiard (3.3.0.15-1) unstable; urgency=medium
* New upstream release.
* Drop exclude_funtests_package.patch, as it is no longer needed.
-- Michael Fladischer <FladischerMichael@fladi.at> Tue, 11 Feb 2014 11:55:10 +0100
billiard (3.3.0.13-1) unstable; urgency=medium
* New upstream release.
* Bump Standards version to 3.9.5.
-- Michael Fladischer <FladischerMichael@fladi.at> Sun, 15 Dec 2013 18:53:18 +0100
billiard (2.7.3.34-2) unstable; urgency=low
* Don't use sphinxdoc addon when building binary-arch (Closes: #721779).
-- Michael Fladischer <FladischerMichael@fladi.at> Wed, 06 Nov 2013 11:11:02 +0200
billiard (2.7.3.34-1) unstable; urgency=low
* New upstream release.
* Drop versioned Build-Depends on python-all as no prior versions are
available in Wheezy.
-- Michael Fladischer <FladischerMichael@fladi.at> Tue, 15 Oct 2013 08:27:52 +0200
billiard (2.7.3.32-2) unstable; urgency=low
* Move python-sphinx from Build-Depends-Indep to Build-Depends to fix
FTBFS if only arch independend parts are built (Closes: #721779).
* Drop libjs-jquery from Build-Depends-Indep as it is not required during
build.
-- Michael Fladischer <FladischerMichael@fladi.at> Wed, 04 Sep 2013 11:53:15 +0200
billiard (2.7.3.32-1) unstable; urgency=low
* New upstream release.
* Rename "BSD" to "BSD-3-clause" in d/copyright. Thanks to paultag.
-- Michael Fladischer <FladischerMichael@fladi.at> Mon, 02 Sep 2013 20:03:14 +0200
billiard (2.7.3.31-1) unstable; urgency=low
[ Michael Fladischer ]
* Initial release (Closes: #571656)
[ Thomas Bechtold ]
* Update package to version 2.7.3.31.
* Remove debian/pyversions.
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
-- Michael Fladischer <FladischerMichael@fladi.at> Fri, 16 Aug 2013 10:18:12 +0200

6
debian/clean vendored Normal file
View File

@ -0,0 +1,6 @@
billiard.egg-info/dependency_links.txt
billiard.egg-info/not-zip-safe
billiard.egg-info/PKG-INFO
billiard.egg-info/SOURCES.txt
billiard.egg-info/top_level.txt
_billiard.so

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

56
debian/control vendored Normal file
View File

@ -0,0 +1,56 @@
Source: billiard
Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Michael Fladischer <FladischerMichael@fladi.at>,
Thomas Bechtold <thomasbechtold@jpberlin.de>,
Brian May <bam@debian.org>,
Build-Depends: debhelper (>= 9),
python-all-dev,
python-mock,
python-nose,
python-setuptools,
python-sphinx (>= 1.0.7+dfsg-1~),
python-unittest2,
python3-all-dev,
python3-mock,
python3-nose,
python3-setuptools,
python3-sphinx
X-Python-Version: >= 2.4
X-Python3-Version: >= 3.0
Standards-Version: 3.9.5
Homepage: https://github.com/celery/billiard
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/billiard/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/billiard/trunk/
Package: python-billiard
Architecture: any
Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
Suggests: python-billiard-doc
Description: Multiprocessing Pool Extensions for Python
This package contains extensions to the multiprocessing Pool.
It extends the multiprocessing.Pool with a billiard.pool.DynamicPool
that can grow in size.
Package: python3-billiard
Architecture: any
Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
Suggests: python-billiard-doc
Description: Multiprocessing Pool Extensions for Python (Python3 version)
This package contains extensions to the multiprocessing Pool.
It extends the multiprocessing.Pool with a billiard.pool.DynamicPool
that can grow in size.
.
This package contains the Python 3 version of the library.
Package: python-billiard-doc
Section: doc
Architecture: all
Depends: libjs-jquery, ${misc:Depends}, ${sphinxdoc:Depends}
Description: Multiprocessing Pool Extensions for Python (Documentation)
This package contains extensions to the multiprocessing Pool.
It extends the multiprocessing.Pool with a billiard.pool.DynamicPool
that can grow in size.
.
This package contains the documentation.

119
debian/copyright vendored Normal file
View File

@ -0,0 +1,119 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: billiard
Upstream-Contact: Ask Solem <ask@celeryproject.org>
Source: http://pypi.python.org/pypi/billiard/
Files: *
Copyright: 2010-2013, Ask Solem <ask@celeryproject.org>
License: BSD-3-clause
Files: billiard/connection.py
billiard/__init__.py
billiard/_connection.py
billiard/dummy/__init__.py
billiard/dummy/connection.py
billiard/forking.py
billiard/heap.py
billiard/managers.py
billiard/pool.py
billiard/process.py
billiard/queues.py
billiard/reduction.py
billiard/sharedctypes.py
billiard/synchronize.py
billiard/util.py
Doc/includes/mp_benchmarks.py
Doc/includes/mp_newtype.py
Doc/includes/mp_pool.py
Doc/includes/mp_synchronize.py
Doc/includes/mp_webserver.py
Doc/includes/mp_workers.py
Modules/_billiard/connection.h
Modules/_billiard/multiprocessing.c
Modules/_billiard/pipe_connection.c
Modules/_billiard/semaphore.c
Modules/_billiard/socket_connection.c
Modules/_billiard/win32_functions.c
License: PSF-2
Copyright: 2006-2008, R Oudkerk
Files: debian/*
Copyright: 2013, Michael Fladischer <FladischerMichael@fladi.at>
2012, Thomas Bechtold
License: BSD-3-clause
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
.
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of author nor the names of any contributors may be
used to endorse or promote products derived from this software
without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
License: PSF-2
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
--------------------------------------------
.
1. This LICENSE AGREEMENT is between the Python Software Foundation
("PSF"), and the Individual or Organization ("Licensee") accessing and
otherwise using this software ("Python") in source or binary form and
its associated documentation.
.
2. Subject to the terms and conditions of this License Agreement, PSF
hereby grants Licensee a nonexclusive, royalty-free, world-wide
license to reproduce, analyze, test, perform and/or display publicly,
prepare derivative works, distribute, and otherwise use Python
alone or in any derivative version, provided, however, that PSF's
License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
2001, 2002, 2003, 2004, 2005, 2006, 2007 Python Software Foundation;
All Rights Reserved" are retained in Python alone or in any derivative
version prepared by Licensee.
.
3. In the event Licensee prepares a derivative work that is based on
or incorporates Python or any part thereof, and wants to make
the derivative work available to others as provided herein, then
Licensee hereby agrees to include in any such work a brief summary of
the changes made to Python.
.
4. PSF is making Python available to Licensee on an "AS IS"
basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
INFRINGE ANY THIRD PARTY RIGHTS.
.
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
.
6. This License Agreement will automatically terminate upon a material
breach of its terms and conditions.
.
7. Nothing in this License Agreement shall be deemed to create any
relationship of agency, partnership, or joint venture between PSF and
Licensee. This License Agreement does not grant permission to use PSF
trademarks or trade name in a trademark sense to endorse or promote
products or services of Licensee, or any third party.
.
8. By copying, installing or otherwise using Python, Licensee
agrees to be bound by the terms and conditions of this License
Agreement.

View File

@ -0,0 +1,16 @@
Description: Do not install install funtests package
Author: Michael Fladischer <FladischerMichael@fladi.at>
Last-Update: 2013-07-01
Forwarded: no
--- a/setup.py
+++ b/setup.py
@@ -214,7 +214,7 @@
]
exclude = 'billiard.py2' if is_py3k else 'billiard.py3'
packages = find_packages(exclude=[
- 'ez_setup', 'tests', 'funtests.*', 'tests.*', exclude,
+ 'ez_setup', 'tests', 'funtests', 'funtests.*', 'tests.*', exclude,
])
setup(
name='billiard',

18
debian/patches/hurd.patch vendored Normal file
View File

@ -0,0 +1,18 @@
Index: billiard/setup.py
===================================================================
--- billiard.orig/setup.py 2014-08-18 13:48:40.433307494 +1000
+++ billiard/setup.py 2014-08-18 13:49:33.768064437 +1000
@@ -135,6 +135,13 @@
HAVE_FD_TRANSFER=1,
)
libraries = []
+elif sys.platform.startswith('gnu'):
+ macros = dict( # GNU/Hurd
+ HAVE_SEM_OPEN=0, # Not implemented
+ HAVE_SEM_TIMEDWAIT=0,
+ HAVE_FD_TRANSFER=1,
+ )
+ libraries = []
else: # Linux and other unices
macros = dict(
HAVE_SEM_OPEN=1,

42
debian/patches/remove-nose-cover3.patch vendored Normal file
View File

@ -0,0 +1,42 @@
Description: Remove pretty-printing nose-cover3 from build.
nose-cover3 is not essential to the build-proccess and is not packaged
for Debian. Thus removing it from the sources.
Author: Michael Fladischer <FladischerMichael@fladi.at>
Last-Update: 2013-07-01
Forwared: not-needed
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,9 +1,5 @@
[nosetests]
where = billiard/tests
-cover3-branch = 1
-cover3-html = 1
-cover3-package = billiard
-cover3-exclude = billiard.tests
[egg_info]
tag_build =
--- a/requirements/test.txt
+++ b/requirements/test.txt
@@ -1,4 +1,3 @@
unittest2>=0.4.0
nose
-nose-cover3
mock
--- a/funtests/setup.py
+++ b/funtests/setup.py
@@ -44,7 +44,6 @@
test_suite='nose.collector',
build_requires=[
'nose',
- 'nose-cover3',
'unittest2',
'coverage>=3.0',
],
--- a/requirements/test3.txt
+++ b/requirements/test3.txt
@@ -1,3 +1,2 @@
nose
-nose-cover3
mock

4
debian/patches/series vendored Normal file
View File

@ -0,0 +1,4 @@
spelling.patch
remove-nose-cover3.patch
exclude_funtests_package.patch
hurd.patch

16
debian/patches/spelling.patch vendored Normal file
View File

@ -0,0 +1,16 @@
Description: Fix spelling error in upstream
Author: Michael Fladischer <FladischerMichael@fladi.at>
Last-Update: 2013-07-01
Forwarded: no
--- a/Modules/_billiard/multiprocessing.c
+++ b/Modules/_billiard/multiprocessing.c
@@ -68,7 +68,7 @@
break;
default:
PyErr_Format(PyExc_RuntimeError,
- "unkown error number %d", num);
+ "unknown error number %d", num);
}
return NULL;
}

9
debian/python-billiard-doc.doc-base vendored Normal file
View File

@ -0,0 +1,9 @@
Document: python-billiard-doc
Title: Python Billiard Documentation
Author: Ask Solem
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python-billiard-doc/html/index.html
Files: /usr/share/doc/python-billiard-doc/html/*.html
/usr/share/doc/python-billiard-doc/html/library/*.html

2
debian/python-billiard-doc.docs vendored Normal file
View File

@ -0,0 +1,2 @@
Doc/.build/html

2
debian/python-billiard.docs vendored Normal file
View File

@ -0,0 +1,2 @@
README.rst

61
debian/rules vendored Executable file
View File

@ -0,0 +1,61 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
PYVERS := $(shell pyversions -r)
PY3VERS := $(shell py3versions -r)
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=python_distutils
override_dh_auto_build:
set -e; \
for py in $(PYVERS) $(PY3VERS); do \
$$py -B setup.py build; \
done
PYTHONPATH=. sphinx-build -b html -N Doc/ Doc/.build/html
override_dh_auto_clean:
set -e; \
for py in $(PYVERS) $(PY3VERS); do \
$$py -B setup.py clean; \
rm -rf build; \
done
find -name __pycache__ | xargs rm -rf
find -name "*.pyc" -delete
override_dh_auto_install:
set -e; \
for py in $(PYVERS); do \
$$py -B setup.py install --skip-build --root debian/python-billiard \
--install-layout deb; \
done
set -e; \
for py in $(PY3VERS); do \
$$py -B setup.py install --skip-build --root debian/python3-billiard \
--install-layout deb; \
done
rm debian/python*-billiard/usr/lib/python*/*-packages/billiard*.egg-info/SOURCES.txt
override_dh_installchangelogs:
dh_installchangelogs CHANGES.txt
override_dh_compress:
dh_compress -X.js -X.html -X.txt
override_dh_clean:
dh_clean
rm -rf Doc/.build
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# Test setup fails for python3.4, will be reenabled once the
# testsuite works again
set -e; \
for py in $(PYVERS); do \
$$py setup.py test ; \
done
endif
override_dh_sphinxdoc-arch:

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

1
debian/source/include-binaries vendored Normal file
View File

@ -0,0 +1 @@
debian/upstream-signing-key.pgp

BIN
debian/upstream-signing-key.pgp vendored Normal file

Binary file not shown.

3
debian/watch vendored Normal file
View File

@ -0,0 +1,3 @@
version=3
opts=pgpsigurlmangle=s/$/.asc/ \
http://pypi.python.org/packages/source/b/billiard/billiard-(.*)\.tar\.gz