dev-python/txrequests: New package, dep of buildbot-0.9

Package-Manager: portage-2.3.0
This commit is contained in:
Brian Dolbec
2016-08-09 15:05:48 -07:00
parent a903155694
commit cfffec5d3b
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST txrequests-0.9.2.tar.gz 5223 SHA256 dc29e7c9305a74be3e88cd0253bde1981855426e39fbf4a7f4af647542eb7d4e SHA512 99ea6ed752e23f6539cbf571b304fab3b73a173ce23e6688889191d377961c68773513d9602e0600b45f454c99051f527f7719f7712e2b8e91696afa0c405c95 WHIRLPOOL 5721d372157d1ea9b65650a8a7d1685495144bd2c5eb4dd5810f7cf37780121b3a89eeecc928750d5893d5541e9e7011ff86e8d93feb81bb97ad9a78aada7412

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>dol-sen@gentoo.org</email>
<description>Primary maintainer</description>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<maintainer>
<email>tardyp@gmail.com</email>
<name>Pierre Tardy</name>
</maintainer>
<remote-id type="pypi">txrequests</remote-id>
</upstream>
<longdescription>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.
</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7)
inherit distutils-r1
DESCRIPTION="Asynchronous Python HTTP for Humans"
HOMEPAGE="https://github.com/tardyp/txrequests"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
>=dev-python/requests-1.2.0[${PYTHON_USEDEP}]
|| (
>=dev-python/twisted-core-9.0.0[${PYTHON_USEDEP}]
dev-python/twisted[${PYTHON_USEDEP}]
)
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"