Skip to content

Commit

Permalink
py-hupper: updated to 1.12.1
Browse files Browse the repository at this point in the history
1.12.1 (2024-01-26)

- Add support for Python 3.12.

- Fix a blocking issue when shutting down on Windows.

- Fix a race condition closing pipes when restarting the worker process.
  See Pylons/hupper#83

- Fix issues with watchman when the server shuts down unexpectedly and when
  subscriptions are canceled.

- Add ``hupper.get_reloader().graceful_shutdown()`` which can be used within
  your own app to trigger a full shutdown of the worker as well as the
  monitoring.
  See Pylons/hupper#88
  • Loading branch information
adam committed Jan 28, 2024
1 parent 1750553 commit 7fdb5e0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
15 changes: 8 additions & 7 deletions sysutils/py-hupper/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.1 2023/06/17 17:34:06 wiz Exp $
# $NetBSD: Makefile,v 1.2 2024/01/28 17:38:32 adam Exp $

DISTNAME= hupper-1.12
DISTNAME= hupper-1.12.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/hupper/}
Expand All @@ -10,19 +10,20 @@ HOMEPAGE= https://github.com/Pylons/hupper
COMMENT= Integrated process monitor for developing and reloading daemons
LICENSE= mit

TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov

USE_LANGUAGES= # none

PYTHON_VERSIONS_INCOMPATIBLE= 27

post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} hupper hupper-${PYVERSSUFFIX}
cd ${DESTDIR}${PREFIX}/bin && \
${MV} hupper hupper-${PYVERSSUFFIX} || ${TRUE}

TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}

.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
15 changes: 7 additions & 8 deletions sysutils/py-hupper/PLIST
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
@comment $NetBSD: PLIST,v 1.1 2023/06/17 17:34:06 wiz Exp $
@comment $NetBSD: PLIST,v 1.2 2024/01/28 17:38:32 adam Exp $
bin/hupper-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/hupper/__init__.py
${PYSITELIB}/hupper/__init__.pyc
${PYSITELIB}/hupper/__init__.pyo
Expand Down
8 changes: 4 additions & 4 deletions sysutils/py-hupper/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1 2023/06/17 17:34:06 wiz Exp $
$NetBSD: distinfo,v 1.2 2024/01/28 17:38:32 adam Exp $

BLAKE2s (hupper-1.12.tar.gz) = 522aabb8cee9e46956c11dc8fdbb2f7a691f1ce90905ae1707645ca6412a9c7c
SHA512 (hupper-1.12.tar.gz) = 9de90ff100d26f6e12781c66591f1b4fc274c7b3efa867102d2fbfab6aae37d135e9d3923d6b45b34326320758d87034d2ee2cbaaf691901363f1cd8b7ff00ea
Size (hupper-1.12.tar.gz) = 41901 bytes
BLAKE2s (hupper-1.12.1.tar.gz) = 755f1c78614491ca62d5db99463f2592a5e738d3cac5b7db5073c4e090276a74
SHA512 (hupper-1.12.1.tar.gz) = a5860ed738a6be82a30c19b6e3756f1f914392ecf34417eeb55eb8444c6dce738e59b4e7aa00b124fa3dc255306d84f99ade446db77f7f280f7c1c53f9aded7a
Size (hupper-1.12.1.tar.gz) = 43231 bytes

0 comments on commit 7fdb5e0

Please sign in to comment.