Skip to content

Commit 2c8e23e

Browse files
committed
py-pebble: update to 5.0.3.
5.0.3 Fixes: - issue #111: reinstate `Pool.schedule` function in place of `Pool.submit`. 5.0.2 Fixes: - issue #108: fix build tag enforcing Python 3.6 as minimum compatible version. 5.0.1 Improvements: - issue #105: run callbacks after process termination on timeout or task cancellation 5.0.0 Backward incompatible changes: - issue #93: Python 2 is no longer compatible. Minimum supported version is now 3.7. Deprecations: - issue #90: pools `schedule` method is now deprecated, use `submit` instead. Features: - issue #90: pools are now compatible with asyncio APIs. - issue #94: asynchronous function decorators - issue #102: type hints have been added to all functionalities - issue #103: support alternative multiprocessing.context implementations Fixes: - issue #99: fix deadlock when closing a full pipe on Windows in pool
1 parent 56bffc2 commit 2c8e23e

File tree

3 files changed

+19
-15
lines changed

3 files changed

+19
-15
lines changed

devel/py-pebble/Makefile

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# $NetBSD: Makefile,v 1.9 2023/03/29 09:34:08 wiz Exp $
1+
# $NetBSD: Makefile,v 1.10 2023/04/30 17:37:50 wiz Exp $
22

3-
DISTNAME= Pebble-4.5.3
3+
DISTNAME= Pebble-5.0.3
44
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
5-
PKGREVISION= 1
65
CATEGORIES= devel python
76
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pebble/}
87

@@ -11,16 +10,13 @@ HOMEPAGE= https://github.com/noxdafox/pebble
1110
COMMENT= Threading and multiprocessing eye-candy
1211
LICENSE= gnu-lgpl-v3
1312

14-
.include "../../lang/python/pyversion.mk"
15-
16-
.if ${PYTHON_VERSION} == 207
17-
DEPENDS+= ${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures
18-
.endif
13+
PYTHON_VERSIONS_INCOMPATIBLE= 27
1914

2015
USE_LANGUAGES= # none
2116

17+
TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
2218
do-test:
23-
cd ${WRKSRC}/test && ${PYTHONBIN} -m unittest discover -v
19+
cd ${WRKSRC}/test && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v
2420

2521
.include "../../lang/python/egg.mk"
2622
.include "../../mk/bsd.pkg.mk"

devel/py-pebble/PLIST

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1-
@comment $NetBSD: PLIST,v 1.1 2019/08/21 12:39:39 adam Exp $
1+
@comment $NetBSD: PLIST,v 1.2 2023/04/30 17:37:50 wiz Exp $
22
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
33
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
44
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5-
${PYSITELIB}/${EGG_INFODIR}/requires.txt
65
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
76
${PYSITELIB}/pebble/__init__.py
87
${PYSITELIB}/pebble/__init__.pyc
98
${PYSITELIB}/pebble/__init__.pyo
9+
${PYSITELIB}/pebble/asynchronous/__init__.py
10+
${PYSITELIB}/pebble/asynchronous/__init__.pyc
11+
${PYSITELIB}/pebble/asynchronous/__init__.pyo
12+
${PYSITELIB}/pebble/asynchronous/process.py
13+
${PYSITELIB}/pebble/asynchronous/process.pyc
14+
${PYSITELIB}/pebble/asynchronous/process.pyo
15+
${PYSITELIB}/pebble/asynchronous/thread.py
16+
${PYSITELIB}/pebble/asynchronous/thread.pyc
17+
${PYSITELIB}/pebble/asynchronous/thread.pyo
1018
${PYSITELIB}/pebble/common.py
1119
${PYSITELIB}/pebble/common.pyc
1220
${PYSITELIB}/pebble/common.pyo

devel/py-pebble/distinfo

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.9 2021/10/26 10:18:44 nia Exp $
1+
$NetBSD: distinfo,v 1.10 2023/04/30 17:37:50 wiz Exp $
22

3-
BLAKE2s (Pebble-4.5.3.tar.gz) = 16fb8dbc8bf95decf6a069003dbbd2471b8caac856130b3c63d755bb9f416cd4
4-
SHA512 (Pebble-4.5.3.tar.gz) = e3b17fa6b9ca959560d364e84091e7990921eb9a2aef854c391a5d0e46359b57e5ec1a4239ac97f4c0bb485d0475ad8338c3485c9fdeff7e446a989129738096
5-
Size (Pebble-4.5.3.tar.gz) = 23411 bytes
3+
BLAKE2s (Pebble-5.0.3.tar.gz) = 98ab60981a17165688300388d9602606f39c5c46640c2226c627de83ffcf6b2a
4+
SHA512 (Pebble-5.0.3.tar.gz) = 324cba58905b0be76b2cd56e0ee5d3e51a36d46a7754fbccb1f9307af0747c2f02b81d137e2c4bce1c766706b70ce1a909c3b287676db147c202cab7445fc764
5+
Size (Pebble-5.0.3.tar.gz) = 29076 bytes

0 commit comments

Comments
 (0)