From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/requests-cache/Manifest | 1 + dev-python/requests-cache/metadata.xml | 16 +++++++++++ .../requests-cache/requests-cache-0.4.12-r1.ebuild | 26 +++++++++++++++++ .../requests-cache/requests-cache-0.4.12.ebuild | 33 ++++++++++++++++++++++ 4 files changed, 76 insertions(+) create mode 100644 dev-python/requests-cache/Manifest create mode 100644 dev-python/requests-cache/metadata.xml create mode 100644 dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild create mode 100644 dev-python/requests-cache/requests-cache-0.4.12.ebuild (limited to 'dev-python/requests-cache') diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest new file mode 100644 index 000000000000..06a5f924bc0e --- /dev/null +++ b/dev-python/requests-cache/Manifest @@ -0,0 +1 @@ +DIST requests-cache-0.4.12.zip 44767 BLAKE2B f328d8ae8e3377af626030a6e3617c78e488024fa4ada9894576d339e571ba8ee6d905612ddc2802810bbeffbd8c94d90c743889e80fbf21418a7c67c5a005f6 SHA512 784d630eec99b607596d6ebcb7e51b0b4ed612b131437000391ecea6f3a684d1f61d169d57266ffc044a3939dcd4e7d6f85b9538165ae3613b1d3e55f18585fd diff --git a/dev-python/requests-cache/metadata.xml b/dev-python/requests-cache/metadata.xml new file mode 100644 index 000000000000..231d7297e02a --- /dev/null +++ b/dev-python/requests-cache/metadata.xml @@ -0,0 +1,16 @@ + + + + + zx2c4@gentoo.org + Jason A. Donenfeld + + + python@gentoo.org + Python + + + requests-cache + + gentoo-staging + diff --git a/dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild b/dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild new file mode 100644 index 000000000000..063d69b1302a --- /dev/null +++ b/dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +HOMEPAGE="https://pypi.org/project/requests-cache/" +DESCRIPTION="Persistent cache for requests library" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc" + +# Portage only has versions of request >= minimum border +RDEPEND=">=dev-python/requests-2.6[${PYTHON_USEDEP}]" +DEPEND=" + app-arch/unzip" + +distutils_enable_sphinx docs +# Testsuite excels in tests connecting to the network via local server daemons +#distutils_enable_tests setup.py diff --git a/dev-python/requests-cache/requests-cache-0.4.12.ebuild b/dev-python/requests-cache/requests-cache-0.4.12.ebuild new file mode 100644 index 000000000000..fbebceefaad3 --- /dev/null +++ b/dev-python/requests-cache/requests-cache-0.4.12.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_6 ) + +inherit distutils-r1 + +HOMEPAGE="https://pypi.org/project/requests-cache/" +DESCRIPTION="Persistent cache for requests library" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc" + +# Portage only has versions of request >= minimum border +RDEPEND=">=dev-python/requests-2.6[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +# Testsuite excels in tests connecting to the network via local server daemons +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} -- cgit v1.3.1