From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- dev-python/vcrpy/Manifest | 4 +-- dev-python/vcrpy/vcrpy-4.1.0.ebuild | 50 ------------------------------------ dev-python/vcrpy/vcrpy-4.1.1.ebuild | 51 +++++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 52 deletions(-) delete mode 100644 dev-python/vcrpy/vcrpy-4.1.0.ebuild create mode 100644 dev-python/vcrpy/vcrpy-4.1.1.ebuild (limited to 'dev-python/vcrpy') diff --git a/dev-python/vcrpy/Manifest b/dev-python/vcrpy/Manifest index d11aeb3939a6..df22b017f069 100644 --- a/dev-python/vcrpy/Manifest +++ b/dev-python/vcrpy/Manifest @@ -1,3 +1,3 @@ -DIST vcrpy-4.1.0.tar.gz 330122 BLAKE2B a7a2516d4dfcc01da801fb8685ea3b56f50ce474d35477ae36785ea1bfbae113bd3c18fb3faadb13fc81c37fa1d282a84bc60fdd27f4fc4a1f3e952312d7bc5f SHA512 7ad5517cd52f6f31448db9b608d8a7b274741727487ede21b7f80e4060e3ddbb34c731166f67ae7136c86a8d3e7fd23128e035a148f18f771066bfa71319624f -EBUILD vcrpy-4.1.0.ebuild 1385 BLAKE2B ae7515f0660eb331f2ac40f7644a5438bb1c2170c3444b4866935b70514b81f8481c58e010988196dfe7c718be84f1759865c88a7c19aeba5343594b10a44644 SHA512 7458a9a48a4d11f01eb4058450070716e5d96c11b6260fb426ced67cfdf944a699a9a1ee79bba467fc6628860737ab2a77e616416a40d5ec2f603d3e548dd6a5 +DIST vcrpy-4.1.1.tar.gz 329508 BLAKE2B b6981150a8fd742301e0d7897d84855c741c97307bbb5c5751680f3d33d69d6333a18d714fcc14cb018f5dd6c02e840e1313136660c4459e2755d448fc0b07e9 SHA512 afa1904bff37bfd2d278ed49fa3982a357eb6bb113818b532044da0f11a9dd877cc152d7f0d81d88bdc0f870521b1241f6aecf959f668211904e3c6c7cea4ad8 +EBUILD vcrpy-4.1.1.ebuild 1427 BLAKE2B 57958cb3e941c62a8220658aea15261769fa5d305a6dc44f7252949fabac0f9e4a28566077ecb9b010a334133c9fd11540c09d5425d99553b2bde102c51b8705 SHA512 4e8bfe7dc76fe35c08b0f4fdd490ed71a38dbf4e790b39cb05d49f23fbc03e7bbc945960012a5a73a4343fc4cbb9f53111cd6abb7fd0b9b24aee566f039b58d8 MISC metadata.xml 387 BLAKE2B 09c086ca73a9932b1ac06f46f7c7ef216db357fe831fd6d8f996acedcf24a636420752130597318f4cc0a8d11a584d2162a892ca412403d1bbf15cdd86a1fbaa SHA512 09ba6aaf53089115dc98031b4dba4d526864b6d38ba7950fc3fccd9c2b1a0e14702f5235b3923a41300fabd4152e06eae22e20e86b54795bee453a184bd8828e diff --git a/dev-python/vcrpy/vcrpy-4.1.0.ebuild b/dev-python/vcrpy/vcrpy-4.1.0.ebuild deleted file mode 100644 index 3eb99b56e0ee..000000000000 --- a/dev-python/vcrpy/vcrpy-4.1.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6..9} ) - -inherit distutils-r1 - -DESCRIPTION="Automatically mock your HTTP interactions to simplify and speed up testing" -HOMEPAGE="https://github.com/kevin1024/vcrpy" -#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -SRC_URI="https://github.com/kevin1024/vcrpy/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86" - -RDEPEND=" - >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - >=dev-python/six-1.5[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - dev-python/wrapt[${PYTHON_USEDEP}] - dev-python/yarl[${PYTHON_USEDEP}] - " -BDEPEND=" - test? ( - dev-python/pytest-httpbin[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -src_prepare() { - # tests requiring Internet - rm tests/integration/test_aiohttp.py || die - sed -e 's:test_flickr_should_respond_with_200:_&:' \ - -e 's:test_amazon_doctype:_&:' \ - -i tests/integration/test_wild.py || die - sed -e 's:testing_connect:_&:' \ - -i tests/unit/test_stubs.py || die - - distutils-r1_src_prepare -} - -python_test() { - local -x REQUESTS_CA_BUNDLE=$("${EPYTHON}" -m pytest_httpbin.certs) - pytest -vv || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/vcrpy/vcrpy-4.1.1.ebuild b/dev-python/vcrpy/vcrpy-4.1.1.ebuild new file mode 100644 index 000000000000..3fb0d4e0776a --- /dev/null +++ b/dev-python/vcrpy/vcrpy-4.1.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 + +DESCRIPTION="Automatically mock your HTTP interactions to simplify and speed up testing" +HOMEPAGE="https://github.com/kevin1024/vcrpy" +#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/kevin1024/vcrpy/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86" + +RDEPEND=" + >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=dev-python/six-1.5[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/wrapt[${PYTHON_USEDEP}] + dev-python/yarl[${PYTHON_USEDEP}] + " +BDEPEND=" + test? ( + dev-python/pytest-httpbin[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +src_prepare() { + # tests requiring Internet + rm tests/integration/test_aiohttp.py || die + rm tests/integration/test_boto.py || die + sed -e 's:test_flickr_should_respond_with_200:_&:' \ + -e 's:test_amazon_doctype:_&:' \ + -i tests/integration/test_wild.py || die + sed -e 's:testing_connect:_&:' \ + -i tests/unit/test_stubs.py || die + + distutils-r1_src_prepare +} + +python_test() { + local -x REQUESTS_CA_BUNDLE=$("${EPYTHON}" -m pytest_httpbin.certs) + pytest -vv || die "Tests fail with ${EPYTHON}" +} -- cgit v1.2.3