diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 4b24e4de7..17cfbe812 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -21,6 +21,8 @@ * zigpy replaces zigpy-homeassistant * fix sseclient-py-1.7 WORKDIR * contextvars-2.4 removed (not for Python >3.5) + * fix broken source of requests-cache-0.5.0 + * update requests-cache-0.5.2 2020-09-07 * update geopy-2.0.0.ebuild diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest index 967cf07f1..4e79b5f22 100644 --- a/dev-python/requests-cache/Manifest +++ b/dev-python/requests-cache/Manifest @@ -1,5 +1,5 @@ -DIST requests-cache-0.4.13.zip 26631 BLAKE2B 387d990d28310344c4ebdd9520b230b784abfcbd288f02a8c4da41df6f91e122ac54443ac87845cd34f4e4d1be9f2af378cba1e753eb4af7199caa377cda9f91 SHA512 54d814c9c4da1b1fa6f4ec124faee7e74e7ca52bc90ae7c948f19e9cb7657fe2b41f5de6c5fafe259526312d82dc5efd81ad01a741a66baf12ea2a358334f912 -DIST requests-cache-0.5.0.zip 29330 BLAKE2B 31d20eb3ebc94e18c045aef731f7755c40f81518143133491c03df53099227c44e9e533542e992c6c4f6c7195435fb7429078817e8edd65fce8f7c98e49b678a SHA512 421d124e2bbe5e6d9eac42c25787fa2f447a690db262380f87b982a2b8a039acccadf03c853be7b6f2540c6b8c250def4d41afa30af6639415123676ffdda05f -EBUILD requests-cache-0.4.13.ebuild 878 BLAKE2B 54282dbf5663c1aa7413591e17ca55c11ede9e3f5ac1f6a2f85df21cbf58a0f9f02e94529c17d3578cb4a3d5a8461bfa967612ae2b4452983095bbd324b3ed81 SHA512 f58bb99729efd71a88c8e1af20d7b4529d6b8d1da55d682e1a37da70b20ed9c24596f2ac524ae76370af324d94e8772dffcc3e0c783f6b5dc62e2969943b12f0 -EBUILD requests-cache-0.5.0.ebuild 898 BLAKE2B bdb0874d28a8eeb360ceb9ae805589dbd8d22273b2fcf6df382c0a9fcaaac7a8e76791ff9a551cbc79a8a1d2404e23356c501ffeaa458d66c45729142ca77c1d SHA512 7f6889cc4e7ddbcb1c0780f6edd35260c4779ec175a3faa1931118984349076e67b8d3798b974c41c2cc2021734836fb8b943fa44f581eb75e7873089ca8ef3b -MISC metadata.xml 444 BLAKE2B 6008ac86bdb3740724aff487116d542902602f70670735ac2219b72db042b1974ffa6b4eab0254e59d16fa0438e022d8b9f675899b0ac181d88d4f82dd78d04e SHA512 0cc1b4cee3f1aecef89eb15ffd1e03a0ff4887f9b87a10ea90b6d11e3f5144b8d8d67dcad8c1dd26df3cea9e07140ed1ec76c4b1587d0db1b0f9c60b6daad41f +DIST requests-cache-0.5.0.tar.gz 30711 BLAKE2B e43d631645417f24234661e34cfc11b9282377dbba2333674130b0dd80d289af19b82643baa117cf306fcaedf363e46b2c6fc9f444e5266b7c13443305389537 SHA512 dfb4b0451fab4c0386b3720e2e76eb2ec1b95d73d9022b63f7fe1f0cceed90a119ddf877d19ca704ae6e254782a09310d36ff84d24d589d60b9a55baf9e94a04 +DIST requests-cache-0.5.2.tar.gz 31159 BLAKE2B 4fca146a751064baf70954a71df64dbb7f8c9a4e27fec5dbea3620496ce78e7ccfb3785fb63705f513ff6fa938376b0c6acc4a2f584856060b1bc8388517df46 SHA512 355cc571a46b768615606a907a69ed065b3c4b5e74bb6c311abc7a28d9406f32fdea1db0dfd2b1c32dcdc82ed817ef7e0b30086c069de57307254617604c5177 +EBUILD requests-cache-0.5.0.ebuild 953 BLAKE2B cd1ffb85ed15a57590e5d0c82578ea1a0ed82d443b6587f5e7636c4e7af0bb912c724431c975f276fd83b19651a4c7d709949edc070d2c77879368fbac656d35 SHA512 71fcbf854552d56e692aa1aaacddfc12e7fef841466506be58b13283313ca71fc6c5e51356994b2c2662aa455bf988a2c36d28a0f4f395003c6328a6640e214b +EBUILD requests-cache-0.5.2.ebuild 953 BLAKE2B cd1ffb85ed15a57590e5d0c82578ea1a0ed82d443b6587f5e7636c4e7af0bb912c724431c975f276fd83b19651a4c7d709949edc070d2c77879368fbac656d35 SHA512 71fcbf854552d56e692aa1aaacddfc12e7fef841466506be58b13283313ca71fc6c5e51356994b2c2662aa455bf988a2c36d28a0f4f395003c6328a6640e214b +MISC metadata.xml 462 BLAKE2B 490ea6f87fb1027c603bf90442c295204d5d1949f99af5fa17df9457f562f565ce23afb781fadb1c30c3413293207af5096050a41d33d81e96b867bebf6cbf9a SHA512 c2fe57c2d6b0f7897f4f70c145fce85c12df0110f4f9d02b2dd3d5f00b7912dd63019f53c913c72a5adbf68c6d7fe10e9465155f6288c892c1a03c235618ec35 diff --git a/dev-python/requests-cache/metadata.xml b/dev-python/requests-cache/metadata.xml index 54115df8f..cb84cb3f5 100644 --- a/dev-python/requests-cache/metadata.xml +++ b/dev-python/requests-cache/metadata.xml @@ -1,15 +1,15 @@ - + - - zx2c4@gentoo.org - Jason A. Donenfeld - - python@gentoo.org - Python + b@edevau.net + Andreas Billmeier requests-cache + + reclosedev@gmail.com + Roman Haritonov + diff --git a/dev-python/requests-cache/requests-cache-0.4.13.ebuild b/dev-python/requests-cache/requests-cache-0.4.13.ebuild deleted file mode 100644 index a537f59e3..000000000 --- a/dev-python/requests-cache/requests-cache-0.4.13.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy ) - -inherit distutils-r1 - -HOMEPAGE="https://pypi.org/project/requests-cache/" -DESCRIPTION="Persistent cache for requests library" -SRC_URI="https://github.com/reclosedev/${PN}/archive/v${PV}.tar.gz -> ${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 -} diff --git a/dev-python/requests-cache/requests-cache-0.5.0.ebuild b/dev-python/requests-cache/requests-cache-0.5.0.ebuild index d76bb9c36..8e230fbc2 100644 --- a/dev-python/requests-cache/requests-cache-0.5.0.ebuild +++ b/dev-python/requests-cache/requests-cache-0.5.0.ebuild @@ -1,28 +1,30 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI="7" -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..8} ) inherit distutils-r1 -HOMEPAGE="https://pypi.org/project/requests-cache/" DESCRIPTION="Persistent cache for requests library" -SRC_URI="https://github.com/reclosedev/${PN}/archive/v${PV}.tar.gz -> ${P}.zip" +HOMEPAGE="https://github.com/reclosedev/requests-cache https://pypi.org/project/requests-cache/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc" +IUSE="test doc" -# Portage only has versions of request >= minimum border -RDEPEND=">=dev-python/requests-2.6[${PYTHON_USEDEP}]" -DEPEND=" +RDEPEND=">=dev-python/requests-1.1.0[${PYTHON_USEDEP}]" +BDEPEND="${REDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" -# Testsuite excels in tests connecting to the network via local server daemons python_compile_all() { use doc && emake -C docs html } @@ -31,3 +33,8 @@ python_install_all() { use doc && local HTML_DOCS=( docs/_build/html/. ) distutils-r1_python_install_all } + +python_test() { + nosetests --verbose || die + py.test -v -v || die +} diff --git a/dev-python/requests-cache/requests-cache-0.5.2.ebuild b/dev-python/requests-cache/requests-cache-0.5.2.ebuild new file mode 100644 index 000000000..8e230fbc2 --- /dev/null +++ b/dev-python/requests-cache/requests-cache-0.5.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6..8} ) + +inherit distutils-r1 + +DESCRIPTION="Persistent cache for requests library" +HOMEPAGE="https://github.com/reclosedev/requests-cache https://pypi.org/project/requests-cache/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test doc" + +RDEPEND=">=dev-python/requests-1.1.0[${PYTHON_USEDEP}]" +BDEPEND="${REDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +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 +} + +python_test() { + nosetests --verbose || die + py.test -v -v || die +}