From owner-svn-ports-head@freebsd.org Wed Feb 17 14:28:14 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 845DAAAA063; Wed, 17 Feb 2016 14:28:14 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4169C1CB6; Wed, 17 Feb 2016 14:28:14 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1HESDSE048976; Wed, 17 Feb 2016 14:28:13 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1HESCS0048972; Wed, 17 Feb 2016 14:28:12 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201602171428.u1HESCS0048972@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Wed, 17 Feb 2016 14:28:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409047 - in head/www: . py-txrequests X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 14:28:14 -0000 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 +# $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 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