pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Small add-on for the python requests http librar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f4325394a76
branches:  trunk
changeset: 364933:5f4325394a76
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jul 07 09:55:20 2017 +0000

description:
Small add-on for the python requests http library. Makes use of python 3.2's
concurrent.futures or the backport for prior versions of python.

The additional API and changes are minimal and strives to avoid surprises.

diffstat:

 devel/Makefile                     |   3 ++-
 devel/py-requests-futures/DESCR    |   4 ++++
 devel/py-requests-futures/Makefile |  23 +++++++++++++++++++++++
 devel/py-requests-futures/PLIST    |  13 +++++++++++++
 devel/py-requests-futures/distinfo |   6 ++++++
 5 files changed, 48 insertions(+), 1 deletions(-)

diffs (79 lines):

diff -r 9701e394f788 -r 5f4325394a76 devel/Makefile
--- a/devel/Makefile    Fri Jul 07 09:54:41 2017 +0000
+++ b/devel/Makefile    Fri Jul 07 09:55:20 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2454 2017/07/07 07:20:54 adam Exp $
+# $NetBSD: Makefile,v 1.2455 2017/07/07 09:55:20 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2004,6 +2004,7 @@
 SUBDIR+=       py-requests
 SUBDIR+=       py-requests-file
 SUBDIR+=       py-requests-ftp
+SUBDIR+=       py-requests-futures
 SUBDIR+=       py-requests-mock
 SUBDIR+=       py-requests-toolbelt
 SUBDIR+=       py-rope
diff -r 9701e394f788 -r 5f4325394a76 devel/py-requests-futures/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-requests-futures/DESCR   Fri Jul 07 09:55:20 2017 +0000
@@ -0,0 +1,4 @@
+Small add-on for the python requests http library. Makes use of python 3.2's
+concurrent.futures or the backport for prior versions of python.
+
+The additional API and changes are minimal and strives to avoid surprises.
diff -r 9701e394f788 -r 5f4325394a76 devel/py-requests-futures/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-requests-futures/Makefile        Fri Jul 07 09:55:20 2017 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2017/07/07 09:55:20 adam Exp $
+
+DISTNAME=      requests-futures-0.9.7
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests-futures/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ross/requests-futures
+COMMENT=       Asynchronous Python HTTP for Humans
+LICENSE=       apache-2.0
+
+DEPENDS+=      ${PYPKGPREFIX}-requests>=1.2.0:../../devel/py-requests
+
+.include "../../lang/python/pyversion.mk"
+.if "${PYPKGPREFIX}" == "py27"
+DEPENDS+=      ${PYPKGPREFIX}-futures>=2.1.3:../../devel/py-futures
+.endif
+
+USE_LANGUAGES=         # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9701e394f788 -r 5f4325394a76 devel/py-requests-futures/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-requests-futures/PLIST   Fri Jul 07 09:55:20 2017 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/07 09:55:20 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/requests_futures/__init__.py
+${PYSITELIB}/requests_futures/__init__.pyc
+${PYSITELIB}/requests_futures/__init__.pyo
+${PYSITELIB}/requests_futures/sessions.py
+${PYSITELIB}/requests_futures/sessions.pyc
+${PYSITELIB}/requests_futures/sessions.pyo
diff -r 9701e394f788 -r 5f4325394a76 devel/py-requests-futures/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-requests-futures/distinfo        Fri Jul 07 09:55:20 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/07 09:55:20 adam Exp $
+
+SHA1 (requests-futures-0.9.7.tar.gz) = 3233da0a7c22bdd21dec053fa71518acc97849e7
+RMD160 (requests-futures-0.9.7.tar.gz) = 8761e1423df9b110b30bae4c31f22b41cf2ba3be
+SHA512 (requests-futures-0.9.7.tar.gz) = 02ca972bc2215d9e3f880125013746ea2b6f238d25f7aa519665be20e3fb3e2cd69b7d6605663c3bdaf9a1abe88f76553545f5895d9defef4616115b5963bdd2
+Size (requests-futures-0.9.7.tar.gz) = 5571 bytes



Home | Main Index | Thread Index | Old Index