[Midnightbsd-cvs] mports [24125] trunk/www: add py-treq

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Sep 3 12:14:48 EDT 2018


Revision: 24125
          http://svnweb.midnightbsd.org/mports/?rev=24125
Author:   laffer1
Date:     2018-09-03 12:14:48 -0400 (Mon, 03 Sep 2018)
Log Message:
-----------
add py-treq

Modified Paths:
--------------
    trunk/www/Makefile

Added Paths:
-----------
    trunk/www/py-treq/
    trunk/www/py-treq/Makefile
    trunk/www/py-treq/distinfo
    trunk/www/py-treq/pkg-descr

Modified: trunk/www/Makefile
===================================================================
--- trunk/www/Makefile	2018-09-03 16:12:43 UTC (rev 24124)
+++ trunk/www/Makefile	2018-09-03 16:14:48 UTC (rev 24125)
@@ -112,6 +112,7 @@
 SUBDIR += py-httplib2
 SUBDIR += py-pyjwt
 SUBDIR += py-requests
+SUBDIR += py-treq
 SUBDIR += qt5-webchannel
 SUBDIR += qt5-websockets
 SUBDIR += seamonkey

Added: trunk/www/py-treq/Makefile
===================================================================
--- trunk/www/py-treq/Makefile	                        (rev 0)
+++ trunk/www/py-treq/Makefile	2018-09-03 16:14:48 UTC (rev 24125)
@@ -0,0 +1,36 @@
+# $MidnightBSD$
+
+PORTNAME=	treq
+PORTVERSION=	17.8.0
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Requests-like API built on top of twisted.web's Agent
+
+LICENSE=	mit
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}incremental>=0:devel/py-incremental
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}twisted>=16.4.0:devel/py-twisted \
+		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.1.0:www/py-requests
+# Depend directly on twisted[tls] dependencies
+# As Twisted port may not (optionally) install them
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl \
+		${PYTHON_PKGNAMEPREFIX}service_identity>=16.0.0:security/py-service_identity \
+		${PYTHON_PKGNAMEPREFIX}idna>=2.4:dns/py-idna
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m twisted.trial treq
+
+.include <bsd.port.mk>


Property changes on: trunk/www/py-treq/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/py-treq/distinfo
===================================================================
--- trunk/www/py-treq/distinfo	                        (rev 0)
+++ trunk/www/py-treq/distinfo	2018-09-03 16:14:48 UTC (rev 24125)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1503974213
+SHA256 (treq-17.8.0.tar.gz) = ef72d2d5e0b24bdf29267b608fa33df0ac401743af8524438b073e1fb2b66f16
+SIZE (treq-17.8.0.tar.gz) = 56439


Property changes on: trunk/www/py-treq/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/py-treq/pkg-descr
===================================================================
--- trunk/www/py-treq/pkg-descr	                        (rev 0)
+++ trunk/www/py-treq/pkg-descr	2018-09-03 16:14:48 UTC (rev 24125)
@@ -0,0 +1,6 @@
+An HTTP library inspired by requests but written on top of Twisted's Agents.
+
+It provides a simple, higher level API for making HTTP requests when using
+Twisted.
+
+WWW: https://github.com/twisted/treq


Property changes on: trunk/www/py-treq/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list