From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/geventhttpclient/Manifest | 4 ++ .../geventhttpclient-1.3.1-r1.ebuild | 42 +++++++++++++++++++++ .../geventhttpclient/geventhttpclient-1.3.1.ebuild | 43 ++++++++++++++++++++++ dev-python/geventhttpclient/metadata.xml | 13 +++++++ 4 files changed, 102 insertions(+) create mode 100644 dev-python/geventhttpclient/Manifest create mode 100644 dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild create mode 100644 dev-python/geventhttpclient/geventhttpclient-1.3.1.ebuild create mode 100644 dev-python/geventhttpclient/metadata.xml (limited to 'dev-python/geventhttpclient') diff --git a/dev-python/geventhttpclient/Manifest b/dev-python/geventhttpclient/Manifest new file mode 100644 index 000000000000..317bd0d934bd --- /dev/null +++ b/dev-python/geventhttpclient/Manifest @@ -0,0 +1,4 @@ +DIST geventhttpclient-1.3.1.tar.gz 82598 BLAKE2B 5fef20a74c431ed53be4eedb3ec7e040572ad960363d41dda8b93c8f08f3eb05ba6160676c1c3ed957d1528a12aa297400063377f3788754e9e76401bb3421ae SHA512 a50486e1485c449a821176f0aa139cb05a3c7675fb045086e086cc7bb71d6e1d75191fae6972b381e7e69dba89d23c387464503845badd29fa361e03aa866079 +EBUILD geventhttpclient-1.3.1-r1.ebuild 1167 BLAKE2B 5a4776fb0cd83ecdc48d73718611ebdb74e3e251a42286e19f365b15e7c43e33d3b086e4c301a40d9cf8190d2d6a45f408a65fe75c827bc5641842d2b0d86161 SHA512 c0f25e9adae96580b3220a2702160ed746d88bad2dcca29df6d06b7bef2da161bc14b5ef90967262540d10225ab5a7a3b02436ef0e6bf9790c1a1bbf2bdb9f31 +EBUILD geventhttpclient-1.3.1.ebuild 1207 BLAKE2B 9f06db42ea4b6061e9df9bc9ee549ce1c04a589f7d78093ba620e2d551fb20db4a6c31d5efeebc643562242e22eb0930fdcd731f48da98d4788b1c792fd96b4d SHA512 8a7f9daff2f9493af829403ec3974612a57112f1968532ab869c7f7af27b3f73412f40955a13c6e908288536ecc692181f6b540cbc53b9d215d4f4a8b0067f62 +MISC metadata.xml 454 BLAKE2B c0c62b4bcb9e480cdbc6739010039421f139999d7df9673d260ee2365073a108479892dce53e86e1f8ec721c9a33d3967bd41e468994331970a583189aa8c0fa SHA512 1739f134e47ed32c68fce16d76684f6c2393f1e25fe0b098499b1362379cca9b7522950ef77afd9d8e063e1e0335e50dc3cd44192d91ef01adfae68c02fd9d96 diff --git a/dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild b/dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild new file mode 100644 index 000000000000..9b10793dfb5a --- /dev/null +++ b/dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( pypy python{2_7,3_{4,5,6}} ) + +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 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # https://github.com/gwik/geventhttpclient/pull/82 + rm -r src/geventhttpclient/tests/__pycache__ || die + distutils-r1_python_prepare_all +} + +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/geventhttpclient-1.3.1.ebuild b/dev-python/geventhttpclient/geventhttpclient-1.3.1.ebuild new file mode 100644 index 000000000000..8cb8d84fb3c7 --- /dev/null +++ b/dev-python/geventhttpclient/geventhttpclient-1.3.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +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 ~arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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_prepare_all() { + # https://github.com/gwik/geventhttpclient/pull/82 + rm -rf src/geventhttpclient/tests/__pycache__ || die + distutils-r1_python_prepare_all +} + +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 index 000000000000..b9473054d6f4 --- /dev/null +++ b/dev-python/geventhttpclient/metadata.xml @@ -0,0 +1,13 @@ + + + + + sbraz@gentoo.org + Louis Sautier + + + geventhttpclient + gwik/geventhttpclient + https://github.com/gwik/geventhttpclient/issues + + -- cgit v1.2.3