diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-04-30 17:40:49 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-04-30 17:58:39 -0400 |
commit | 94a6d311c6658baa2a87a37fb40cf03934890e94 (patch) | |
tree | ec6f4c4ec6b232c142b8fd0949eb5d64195f179b /dev-python/requests-futures | |
parent | app-crypt/xca: remove libressl support (diff) | |
download | gentoo-94a6d311c6658baa2a87a37fb40cf03934890e94.tar.gz gentoo-94a6d311c6658baa2a87a37fb40cf03934890e94.tar.bz2 gentoo-94a6d311c6658baa2a87a37fb40cf03934890e94.zip |
dev-python/requests-futures: Add new package
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-python/requests-futures')
-rw-r--r-- | dev-python/requests-futures/Manifest | 1 | ||||
-rw-r--r-- | dev-python/requests-futures/metadata.xml | 16 | ||||
-rw-r--r-- | dev-python/requests-futures/requests-futures-1.0.0.ebuild | 22 |
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/requests-futures/Manifest b/dev-python/requests-futures/Manifest new file mode 100644 index 000000000000..2354038e6dd4 --- /dev/null +++ b/dev-python/requests-futures/Manifest @@ -0,0 +1 @@ +DIST requests-futures-1.0.0.tar.gz 10897 BLAKE2B deccf99ffecf3dd04eaaa7692b93b046b027109346555ca9b4172f29600615fb78bd46528c2ae925587d06f24e5b52dc2f02f5d5da04eda18cd97037e1b28440 SHA512 64b39ed99712df8f1be74b2de97500d89711c0d5d3ba0f2b64e3bab755d0bf82029d7ced13b755ce12a2b86f3b673305b651ba6ff4cfb60aed40c8d5876f202c diff --git a/dev-python/requests-futures/metadata.xml b/dev-python/requests-futures/metadata.xml new file mode 100644 index 000000000000..68af319b43cb --- /dev/null +++ b/dev-python/requests-futures/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mattst88@gentoo.org</email> + <name>Matt Turner</name> + </maintainer> + <longdescription lang="en"> + Small add-on for the python requests http library. Makes use of python 3.2's + concurrent.futures or the backport for prior versions of python. + </longdescription> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">requests-futures</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/requests-futures/requests-futures-1.0.0.ebuild b/dev-python/requests-futures/requests-futures-1.0.0.ebuild new file mode 100644 index 000000000000..b72806bb2c6c --- /dev/null +++ b/dev-python/requests-futures/requests-futures-1.0.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Asynchronous Python HTTP for Humans" +HOMEPAGE="https://github.com/ross/requests-futures" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +RESTRICT="test" # https://github.com/ross/requests-futures/issues/94 + +RDEPEND=">=dev-python/requests-1.2.0[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest |