dev-python/geventhttpclient: new package, v. 1.3.1, dependency of dulwich
authorLouis Sautier <sautier.louis@gmail.com>
Mon, 15 Aug 2016 12:42:44 +0000 (14:42 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Mon, 15 Aug 2016 19:45:21 +0000 (21:45 +0200)
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2085

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
dev-python/geventhttpclient/Manifest [new file with mode: 0644]
dev-python/geventhttpclient/geventhttpclient-1.3.1.ebuild [new file with mode: 0644]
dev-python/geventhttpclient/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/geventhttpclient/Manifest b/dev-python/geventhttpclient/Manifest
new file mode 100644 (file)
index 0000000..cfa49f8
--- /dev/null
@@ -0,0 +1 @@
+DIST geventhttpclient-1.3.1.tar.gz 55050 SHA256 84a7d806c764fb89fd4d6cf9c09b2a1c3ba9cd15a1bad3f96e4c6e57c1e79b58 SHA512 79b79ae63d2733771f72d5b96adafbbe3a5133d41e6263913b908266519ba43eb05e86d0e0af8e9e3d21b07a0686888534b058f9ce46a1dbef3a89d8a5ef4f83 WHIRLPOOL 4ca928d00ccb39066d3b927ebeaa3c263717a26b7d4b84df152ff9b2474be7c2b8c481975cee6c070039d1d875b0ac83287608712ffe68acc4163e27bb405c93
diff --git a/dev-python/geventhttpclient/geventhttpclient-1.3.1.ebuild b/dev-python/geventhttpclient/geventhttpclient-1.3.1.ebuild
new file mode 100644 (file)
index 0000000..4544d53
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="A high performance, concurrent HTTP client library for Python using gevent"
+HOMEPAGE="https://github.com/gwik/geventhttpclient"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+       dev-python/certifi[${PYTHON_USEDEP}]
+       dev-python/gevent[${PYTHON_USEDEP}]
+       dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? (
+               ${RDEPEND}
+               dev-python/pytest-runner[${PYTHON_USEDEP}]
+               dev-python/pytest[${PYTHON_USEDEP}]
+       )
+"
+
+python_test() {
+       # Ignore tests which require network access
+       py.test src/geventhttpclient/tests --ignore \
+               src/geventhttpclient/tests/test_client.py || \
+               die "Tests failed with ${EPYTHON}"
+}
diff --git a/dev-python/geventhttpclient/metadata.xml b/dev-python/geventhttpclient/metadata.xml
new file mode 100644 (file)
index 0000000..fac8889
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>sautier.louis@gmail.com</email>
+               <name>Louis Sautier</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="pypi">geventhttpclient</remote-id>
+               <remote-id type="github">gwik/geventhttpclient</remote-id>
+               <bugs-to>https://github.com/gwik/geventhttpclient/issues</bugs-to>
+       </upstream>
+</pkgmetadata>