pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-func_timeout devel/py-func_timeout: import py...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a5d1745167a
branches:  trunk
changeset: 424521:3a5d1745167a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Mar 12 07:32:28 2020 +0000

description:
devel/py-func_timeout: import py-func_timeout-4.3.5

Python module to support running any existing function with a given
timeout.

diffstat:

 devel/py-func_timeout/DESCR    |   2 ++
 devel/py-func_timeout/Makefile |  23 +++++++++++++++++++++++
 devel/py-func_timeout/PLIST    |  21 +++++++++++++++++++++
 devel/py-func_timeout/distinfo |   6 ++++++
 4 files changed, 52 insertions(+), 0 deletions(-)

diffs (68 lines):

diff -r e255113a9608 -r 3a5d1745167a devel/py-func_timeout/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-func_timeout/DESCR       Thu Mar 12 07:32:28 2020 +0000
@@ -0,0 +1,2 @@
+Python module to support running any existing function with a given
+timeout.
diff -r e255113a9608 -r 3a5d1745167a devel/py-func_timeout/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-func_timeout/Makefile    Thu Mar 12 07:32:28 2020 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2020/03/12 07:32:28 wiz Exp $
+
+DISTNAME=      func_timeout-4.3.5
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=f/func_timeout/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/kata198/func_timeout
+COMMENT=       Specify timeouts when calling any existing function
+LICENSE=       gnu-lgpl-v2
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e255113a9608 -r 3a5d1745167a devel/py-func_timeout/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-func_timeout/PLIST       Thu Mar 12 07:32:28 2020 +0000
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2020/03/12 07:32:28 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/func_timeout/StoppableThread.py
+${PYSITELIB}/func_timeout/StoppableThread.pyc
+${PYSITELIB}/func_timeout/StoppableThread.pyo
+${PYSITELIB}/func_timeout/__init__.py
+${PYSITELIB}/func_timeout/__init__.pyc
+${PYSITELIB}/func_timeout/__init__.pyo
+${PYSITELIB}/func_timeout/dafunc.py
+${PYSITELIB}/func_timeout/dafunc.pyc
+${PYSITELIB}/func_timeout/dafunc.pyo
+${PYSITELIB}/func_timeout/exceptions.py
+${PYSITELIB}/func_timeout/exceptions.pyc
+${PYSITELIB}/func_timeout/exceptions.pyo
+${PYSITELIB}/func_timeout/py2_raise.py
+${PYSITELIB}/func_timeout/py3_raise.py
+${PYSITELIB}/func_timeout/py3_raise.pyc
+${PYSITELIB}/func_timeout/py3_raise.pyo
diff -r e255113a9608 -r 3a5d1745167a devel/py-func_timeout/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-func_timeout/distinfo    Thu Mar 12 07:32:28 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/03/12 07:32:28 wiz Exp $
+
+SHA1 (func_timeout-4.3.5.tar.gz) = ca33423c382a5352ec3c42c9e9acc58fad6f95ff
+RMD160 (func_timeout-4.3.5.tar.gz) = 33ebfc047c273d60b477c7d9a92074973ff56b90
+SHA512 (func_timeout-4.3.5.tar.gz) = 4ef942b89aa0585d6daea69d66a217916bcdfc0f1070a871f13975f7ad2c375f0137df4248251754b26e3f0f64ef239f5ee110a3641ed3ff8368bbb6fc59f6f9
+Size (func_timeout-4.3.5.tar.gz) = 44264 bytes



Home | Main Index | Thread Index | Old Index