git: f9f17ca3383e - main - devel/py-hupper: New port: Integrated process monitor for developing and reloading daemons
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Dec 2022 09:14:24 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f9f17ca3383e6d57f260b0239ae88eed11d448d5
commit f9f17ca3383e6d57f260b0239ae88eed11d448d5
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-17 04:56:38 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-17 09:14:19 +0000
devel/py-hupper: New port: Integrated process monitor for developing and reloading daemons
---
devel/Makefile | 1 +
devel/py-hupper/Makefile | 25 +++++++++++++++++++++++++
devel/py-hupper/distinfo | 3 +++
devel/py-hupper/pkg-descr | 3 +++
4 files changed, 32 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 07147846831a..a32a35f80384 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4649,6 +4649,7 @@
SUBDIR += py-homebase
SUBDIR += py-http-prompt
SUBDIR += py-humanize
+ SUBDIR += py-hupper
SUBDIR += py-hvac
SUBDIR += py-hypothesis
SUBDIR += py-hypothesmith
diff --git a/devel/py-hupper/Makefile b/devel/py-hupper/Makefile
new file mode 100644
index 000000000000..df7f4ad10c68
--- /dev/null
+++ b/devel/py-hupper/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= hupper
+PORTVERSION= 1.10.3
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Integrated process monitor for developing and reloading daemons
+WWW= https://docs.pylonsproject.org/projects/hupper/en/latest/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}watchdog>0:devel/py-watchdog@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils concurrent autoplist pytest
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-hupper/distinfo b/devel/py-hupper/distinfo
new file mode 100644
index 000000000000..3de7d7bd002f
--- /dev/null
+++ b/devel/py-hupper/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1671252469
+SHA256 (hupper-1.10.3.tar.gz) = cd6f51b72c7587bc9bce8a65ecd025a1e95f1b03284519bfe91284d010316cd9
+SIZE (hupper-1.10.3.tar.gz) = 48215
diff --git a/devel/py-hupper/pkg-descr b/devel/py-hupper/pkg-descr
new file mode 100644
index 000000000000..23763341a063
--- /dev/null
+++ b/devel/py-hupper/pkg-descr
@@ -0,0 +1,3 @@
+hupper is monitor for your Python process. When files change, the process will
+be restarted. It can be extended to watch arbitrary files. Reloads can also be
+triggered manually from code.