add py-multiprocessing-2.6.2.1, a threading package which was
integrated into the main Python distribution in 2.6
This commit is contained in:
parent
bdf961e91a
commit
9ce29dff92
5 changed files with 132 additions and 0 deletions
7
devel/py-multiprocessing/DESCR
Normal file
7
devel/py-multiprocessing/DESCR
Normal file
|
@ -0,0 +1,7 @@
|
|||
`multiprocessing` is a back port of the Python 2.6/3.0
|
||||
`multiprocessing <http://docs.python.org/library/multiprocessing.html>`
|
||||
package. The multiprocessing package itself is a renamed and updated version
|
||||
of R Oudkerk's `pyprocessing <http://pypi.python.org/pypi/processing/>`
|
||||
package.
|
||||
This standalone variant is intended to be compatible with Python 2.4 and 2.5,
|
||||
and will draw it's fixes/improvements from python-trunk.
|
22
devel/py-multiprocessing/Makefile
Normal file
22
devel/py-multiprocessing/Makefile
Normal file
|
@ -0,0 +1,22 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2010/11/02 19:20:16 drochner Exp $
|
||||
#
|
||||
|
||||
DISTNAME= multiprocessing-2.6.2.1
|
||||
PKGNAME= ${PYPKGPREFIX}-multiprocessing-2.6.2.1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://pypi.python.org/packages/source/m/multiprocessing/
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://pypi.python.org/pypi/multiprocessing/
|
||||
COMMENT= Python threading package
|
||||
#LICENSE= # TODO: (see mk/license.mk)
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
PYDISTUTILSPKG= yes
|
||||
|
||||
do-test:
|
||||
${PYTHONBIN} -c "from multiprocessing import tests;tests.test_main()"
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
78
devel/py-multiprocessing/PLIST
Normal file
78
devel/py-multiprocessing/PLIST
Normal file
|
@ -0,0 +1,78 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2010/11/02 19:20:16 drochner Exp $
|
||||
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
|
||||
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
|
||||
${PYSITELIB}/multiprocessing/__init__.py
|
||||
${PYSITELIB}/multiprocessing/__init__.pyc
|
||||
${PYSITELIB}/multiprocessing/__init__.pyo
|
||||
${PYSITELIB}/multiprocessing/_multiprocessing.so
|
||||
${PYSITELIB}/multiprocessing/connection.py
|
||||
${PYSITELIB}/multiprocessing/connection.pyc
|
||||
${PYSITELIB}/multiprocessing/connection.pyo
|
||||
${PYSITELIB}/multiprocessing/dummy/__init__.py
|
||||
${PYSITELIB}/multiprocessing/dummy/__init__.pyc
|
||||
${PYSITELIB}/multiprocessing/dummy/__init__.pyo
|
||||
${PYSITELIB}/multiprocessing/dummy/connection.py
|
||||
${PYSITELIB}/multiprocessing/dummy/connection.pyc
|
||||
${PYSITELIB}/multiprocessing/dummy/connection.pyo
|
||||
${PYSITELIB}/multiprocessing/examples/__init__.py
|
||||
${PYSITELIB}/multiprocessing/examples/__init__.pyc
|
||||
${PYSITELIB}/multiprocessing/examples/__init__.pyo
|
||||
${PYSITELIB}/multiprocessing/examples/mp_benchmarks.py
|
||||
${PYSITELIB}/multiprocessing/examples/mp_benchmarks.pyc
|
||||
${PYSITELIB}/multiprocessing/examples/mp_benchmarks.pyo
|
||||
${PYSITELIB}/multiprocessing/examples/mp_distributing.py
|
||||
${PYSITELIB}/multiprocessing/examples/mp_distributing.pyc
|
||||
${PYSITELIB}/multiprocessing/examples/mp_distributing.pyo
|
||||
${PYSITELIB}/multiprocessing/examples/mp_newtype.py
|
||||
${PYSITELIB}/multiprocessing/examples/mp_newtype.pyc
|
||||
${PYSITELIB}/multiprocessing/examples/mp_newtype.pyo
|
||||
${PYSITELIB}/multiprocessing/examples/mp_pool.py
|
||||
${PYSITELIB}/multiprocessing/examples/mp_pool.pyc
|
||||
${PYSITELIB}/multiprocessing/examples/mp_pool.pyo
|
||||
${PYSITELIB}/multiprocessing/examples/mp_synchronize.py
|
||||
${PYSITELIB}/multiprocessing/examples/mp_synchronize.pyc
|
||||
${PYSITELIB}/multiprocessing/examples/mp_synchronize.pyo
|
||||
${PYSITELIB}/multiprocessing/examples/mp_webserver.py
|
||||
${PYSITELIB}/multiprocessing/examples/mp_webserver.pyc
|
||||
${PYSITELIB}/multiprocessing/examples/mp_webserver.pyo
|
||||
${PYSITELIB}/multiprocessing/examples/mp_workers.py
|
||||
${PYSITELIB}/multiprocessing/examples/mp_workers.pyc
|
||||
${PYSITELIB}/multiprocessing/examples/mp_workers.pyo
|
||||
${PYSITELIB}/multiprocessing/forking.py
|
||||
${PYSITELIB}/multiprocessing/forking.pyc
|
||||
${PYSITELIB}/multiprocessing/forking.pyo
|
||||
${PYSITELIB}/multiprocessing/heap.py
|
||||
${PYSITELIB}/multiprocessing/heap.pyc
|
||||
${PYSITELIB}/multiprocessing/heap.pyo
|
||||
${PYSITELIB}/multiprocessing/managers.py
|
||||
${PYSITELIB}/multiprocessing/managers.pyc
|
||||
${PYSITELIB}/multiprocessing/managers.pyo
|
||||
${PYSITELIB}/multiprocessing/patch.py
|
||||
${PYSITELIB}/multiprocessing/patch.pyc
|
||||
${PYSITELIB}/multiprocessing/patch.pyo
|
||||
${PYSITELIB}/multiprocessing/pool.py
|
||||
${PYSITELIB}/multiprocessing/pool.pyc
|
||||
${PYSITELIB}/multiprocessing/pool.pyo
|
||||
${PYSITELIB}/multiprocessing/process.py
|
||||
${PYSITELIB}/multiprocessing/process.pyc
|
||||
${PYSITELIB}/multiprocessing/process.pyo
|
||||
${PYSITELIB}/multiprocessing/queues.py
|
||||
${PYSITELIB}/multiprocessing/queues.pyc
|
||||
${PYSITELIB}/multiprocessing/queues.pyo
|
||||
${PYSITELIB}/multiprocessing/reduction.py
|
||||
${PYSITELIB}/multiprocessing/reduction.pyc
|
||||
${PYSITELIB}/multiprocessing/reduction.pyo
|
||||
${PYSITELIB}/multiprocessing/sharedctypes.py
|
||||
${PYSITELIB}/multiprocessing/sharedctypes.pyc
|
||||
${PYSITELIB}/multiprocessing/sharedctypes.pyo
|
||||
${PYSITELIB}/multiprocessing/synchronize.py
|
||||
${PYSITELIB}/multiprocessing/synchronize.pyc
|
||||
${PYSITELIB}/multiprocessing/synchronize.pyo
|
||||
${PYSITELIB}/multiprocessing/tests.py
|
||||
${PYSITELIB}/multiprocessing/tests.pyc
|
||||
${PYSITELIB}/multiprocessing/tests.pyo
|
||||
${PYSITELIB}/multiprocessing/util.py
|
||||
${PYSITELIB}/multiprocessing/util.pyc
|
||||
${PYSITELIB}/multiprocessing/util.pyo
|
6
devel/py-multiprocessing/distinfo
Normal file
6
devel/py-multiprocessing/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2010/11/02 19:20:16 drochner Exp $
|
||||
|
||||
SHA1 (multiprocessing-2.6.2.1.tar.gz) = a8f78d818a3960e003c1f9f1ec6eaac704d3e6ac
|
||||
RMD160 (multiprocessing-2.6.2.1.tar.gz) = 87412f3054ae4e5c17a9aba73970d96fd192aec5
|
||||
Size (multiprocessing-2.6.2.1.tar.gz) = 108003 bytes
|
||||
SHA1 (patch-aa) = 9baaf59c02777e19d7c74f540e474f174a6b222f
|
19
devel/py-multiprocessing/patches/patch-aa
Normal file
19
devel/py-multiprocessing/patches/patch-aa
Normal file
|
@ -0,0 +1,19 @@
|
|||
$NetBSD: patch-aa,v 1.1.1.1 2010/11/02 19:20:16 drochner Exp $
|
||||
|
||||
--- setup.py.orig 2009-07-30 12:36:48.000000000 +0000
|
||||
+++ setup.py
|
||||
@@ -65,6 +65,14 @@ elif sys.platform.startswith('openbsd'):
|
||||
HAVE_FD_TRANSFER=1,
|
||||
)
|
||||
libraries = []
|
||||
+elif sys.platform.startswith('netbsd'):
|
||||
+ macros = dict(
|
||||
+ HAVE_SEM_OPEN=1,
|
||||
+ HAVE_SEM_TIMEDWAIT=0,
|
||||
+ HAVE_FD_TRANSFER=1,
|
||||
+ HAVE_BROKEN_SEM_GETVALUE=1
|
||||
+ )
|
||||
+ libraries = ['rt']
|
||||
else: # Linux and other unices
|
||||
macros = dict(
|
||||
HAVE_SEM_OPEN=1,
|
Loading…
Reference in a new issue