Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2016 14:28:12 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409047 - in head/www: . py-txrequests
Message-ID:  <201602171428.u1HESCS0048972@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Wed Feb 17 14:28:12 2016
New Revision: 409047
URL: https://svnweb.freebsd.org/changeset/ports/409047

Log:
  [NEW] www/py-txrequests: Asynchronous Python HTTP for Humans
  
  Small add-on for the python requests http library. Makes use Twisted's
  ThreadPool, so that the requests API returns deferred.
  
  The additional API and changes are minimal and strives to avoid
  surprises.
  
  WWW: https://github.com/tardyp/txrequests

Added:
  head/www/py-txrequests/
  head/www/py-txrequests/Makefile   (contents, props changed)
  head/www/py-txrequests/distinfo   (contents, props changed)
  head/www/py-txrequests/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Wed Feb 17 14:24:16 2016	(r409046)
+++ head/www/Makefile	Wed Feb 17 14:28:12 2016	(r409047)
@@ -1773,6 +1773,7 @@
     SUBDIR += py-tvdb_api
     SUBDIR += py-twistedWeb
     SUBDIR += py-twistedWeb2
+    SUBDIR += py-txrequests
     SUBDIR += py-uliweb
     SUBDIR += py-urlgrabber
     SUBDIR += py-urljr

Added: head/www/py-txrequests/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-txrequests/Makefile	Wed Feb 17 14:28:12 2016	(r409047)
@@ -0,0 +1,27 @@
+# Created by: Kubilay Kocak <koobs@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	txrequests
+PORTVERSION=	0.9.2
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	koobs@FreeBSD.org
+COMMENT=	Asynchronous Python HTTP for Humans
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=1.2.0:${PORTSDIR}/www/py-requests \
+		${PYTHON_PKGNAMEPREFIX}twisted>=9.0.0:${PORTSDIR}/devel/py-twisted
+
+USES=		python:-2.7
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${LOCALBASE}/bin/trial ${WRKSRC}/test_txrequests.py
+
+.include <bsd.port.mk>

Added: head/www/py-txrequests/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-txrequests/distinfo	Wed Feb 17 14:28:12 2016	(r409047)
@@ -0,0 +1,2 @@
+SHA256 (txrequests-0.9.2.tar.gz) = dc29e7c9305a74be3e88cd0253bde1981855426e39fbf4a7f4af647542eb7d4e
+SIZE (txrequests-0.9.2.tar.gz) = 5223

Added: head/www/py-txrequests/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-txrequests/pkg-descr	Wed Feb 17 14:28:12 2016	(r409047)
@@ -0,0 +1,6 @@
+Small add-on for the python requests http library. Makes use twisted's
+ThreadPool, so that the requests API returns deferred.
+
+The additional API and changes are minimal and strives to avoid surprises.
+
+WWW: https://github.com/tardyp/txrequests



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602171428.u1HESCS0048972>