diff options
author | adam <adam@pkgsrc.org> | 2021-05-08 09:14:20 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-05-08 09:14:20 +0000 |
commit | 1976f1bbdcaccdbb84644e7ce0edd88d7a7d7910 (patch) | |
tree | c1ba6866d709a3839ffac31f5f0c4d6592162155 /sysutils | |
parent | 33db3361199d8f5ad579eddadedb5d56b275b727 (diff) | |
download | pkgsrc-1976f1bbdcaccdbb84644e7ce0edd88d7a7d7910.tar.gz |
py-pid: added version 3.0.4
PidFile class featuring:
* stale detection
* pidfile locking (fcntl)
* chmod (default is 0o644)
* chown
* custom exceptions
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 3 | ||||
-rw-r--r-- | sysutils/py-pid/DESCR | 6 | ||||
-rw-r--r-- | sysutils/py-pid/Makefile | 20 | ||||
-rw-r--r-- | sysutils/py-pid/PLIST | 24 | ||||
-rw-r--r-- | sysutils/py-pid/distinfo | 6 |
5 files changed, 58 insertions, 1 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 85d5616e02e..a3a14170b30 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.956 2021/05/05 12:25:54 pho Exp $ +# $NetBSD: Makefile,v 1.957 2021/05/08 09:14:20 adam Exp $ # COMMENT= System utilities @@ -545,6 +545,7 @@ SUBDIR+= py-notify SUBDIR+= py-notify-python SUBDIR+= py-pathtools SUBDIR+= py-pefile +SUBDIR+= py-pid SUBDIR+= py-psutil SUBDIR+= py-ptyprocess SUBDIR+= py-pyinotify diff --git a/sysutils/py-pid/DESCR b/sysutils/py-pid/DESCR new file mode 100644 index 00000000000..e02b9fa1b00 --- /dev/null +++ b/sysutils/py-pid/DESCR @@ -0,0 +1,6 @@ +PidFile class featuring: +* stale detection +* pidfile locking (fcntl) +* chmod (default is 0o644) +* chown +* custom exceptions diff --git a/sysutils/py-pid/Makefile b/sysutils/py-pid/Makefile new file mode 100644 index 00000000000..af0b1023d64 --- /dev/null +++ b/sysutils/py-pid/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2021/05/08 09:14:20 adam Exp $ + +DISTNAME= pid-3.0.4 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= sysutils python +MASTER_SITES= ${MASTER_SITE_PYPI:=p/pid/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/trbs/pid +COMMENT= Pidfile featuring stale detection and file-locking +LICENSE= apache-2.0 + +TEST_DEPENDS+= ${PYPKGPREFIX}-nose>=1.0:../../devel/py-nose + +USE_LANGUAGES= # none + +PYSETUPTESTTARGET= pytest + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/py-pid/PLIST b/sysutils/py-pid/PLIST new file mode 100644 index 00000000000..dc3f6d2eeeb --- /dev/null +++ b/sysutils/py-pid/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1 2021/05/08 09:14:20 adam Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/pid/__init__.py +${PYSITELIB}/pid/__init__.pyc +${PYSITELIB}/pid/__init__.pyo +${PYSITELIB}/pid/base.py +${PYSITELIB}/pid/base.pyc +${PYSITELIB}/pid/base.pyo +${PYSITELIB}/pid/decorator.py +${PYSITELIB}/pid/decorator.pyc +${PYSITELIB}/pid/decorator.pyo +${PYSITELIB}/pid/posix.py +${PYSITELIB}/pid/posix.pyc +${PYSITELIB}/pid/posix.pyo +${PYSITELIB}/pid/utils.py +${PYSITELIB}/pid/utils.pyc +${PYSITELIB}/pid/utils.pyo +${PYSITELIB}/pid/win32.py +${PYSITELIB}/pid/win32.pyc +${PYSITELIB}/pid/win32.pyo diff --git a/sysutils/py-pid/distinfo b/sysutils/py-pid/distinfo new file mode 100644 index 00000000000..19e0d06a7db --- /dev/null +++ b/sysutils/py-pid/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2021/05/08 09:14:20 adam Exp $ + +SHA1 (pid-3.0.4.tar.gz) = b2d4da5b7cd8ce383ac20e3961425419d12b313f +RMD160 (pid-3.0.4.tar.gz) = 663d8d943c3b86f4c10b5449711b0f31e81c1fd0 +SHA512 (pid-3.0.4.tar.gz) = 71656511a12a27fe0c7106cd82459484071fd7a0d34f187bfd2f59dc484b6a86f2ae840eb04609c5ffb2c1f18dafd831b02c0fee5015cf840e6a1f26f95ec495 +Size (pid-3.0.4.tar.gz) = 16228 bytes |