From b1c81de4fadbd00897700a7321f03b390d952b2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 26 Aug 2021 00:09:36 +0100 Subject: gentoo resync : 26.08.2021 --- dev-python/moto/Manifest | 12 +++--- dev-python/moto/moto-2.0.10-r1.ebuild | 69 ++++++++++++++++++++++++++++++++ dev-python/moto/moto-2.0.10.ebuild | 70 -------------------------------- dev-python/moto/moto-2.0.5-r1.ebuild | 69 ++++++++++++++++++++++++++++++++ dev-python/moto/moto-2.0.5.ebuild | 70 -------------------------------- dev-python/moto/moto-2.2.0-r1.ebuild | 73 ++++++++++++++++++++++++++++++++++ dev-python/moto/moto-2.2.0.ebuild | 74 ---------------------------------- dev-python/moto/moto-2.2.2-r1.ebuild | 74 ++++++++++++++++++++++++++++++++++ dev-python/moto/moto-2.2.2.ebuild | 75 ----------------------------------- dev-python/moto/moto-2.2.3-r1.ebuild | 74 ++++++++++++++++++++++++++++++++++ dev-python/moto/moto-2.2.3.ebuild | 75 ----------------------------------- dev-python/moto/moto-2.2.4-r1.ebuild | 74 ++++++++++++++++++++++++++++++++++ 12 files changed, 440 insertions(+), 369 deletions(-) create mode 100644 dev-python/moto/moto-2.0.10-r1.ebuild delete mode 100644 dev-python/moto/moto-2.0.10.ebuild create mode 100644 dev-python/moto/moto-2.0.5-r1.ebuild delete mode 100644 dev-python/moto/moto-2.0.5.ebuild create mode 100644 dev-python/moto/moto-2.2.0-r1.ebuild delete mode 100644 dev-python/moto/moto-2.2.0.ebuild create mode 100644 dev-python/moto/moto-2.2.2-r1.ebuild delete mode 100644 dev-python/moto/moto-2.2.2.ebuild create mode 100644 dev-python/moto/moto-2.2.3-r1.ebuild delete mode 100644 dev-python/moto/moto-2.2.3.ebuild create mode 100644 dev-python/moto/moto-2.2.4-r1.ebuild (limited to 'dev-python/moto') diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index d42d3b7ec6b7..7ce78f47b568 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -3,9 +3,11 @@ DIST moto-2.0.5.tar.gz 1551415 BLAKE2B 452cb94443188e1715145bee574f04924d894a3d6 DIST moto-2.2.0.tar.gz 1650655 BLAKE2B 9969de2fb323b2deb272eb47727884054a35827a5db382f83a4177cf6cac5339f89164d05c288a977bc1895a204d13d02069e8b37880ea3d04374f6ed4d6be47 SHA512 7eabb515f94920af9b8f028afaaa51e27983f7bfd73f66c29fc191e2f3dd3e8939ddac67de0127c67c35cbc17c3500a7390103b26c85056780c865aadeb5e1d9 DIST moto-2.2.2.tar.gz 1684678 BLAKE2B ebe1eb08c67ccdb8c484fa8fc75d7ce58750d94620f46b53268d6b6b0732d90160bf7b6837efa492f621e1c001d933f5d59d39c266d65bbb1852f315b3bc03d0 SHA512 a8b192637b701eda0e4a7b11e84f5251386de98590f1d7c33732d8bf12642b39b61f1d360ad39c3e1b0a645268139d9e330d48fbe7029b943094ad317cb45ff6 DIST moto-2.2.3.tar.gz 1700636 BLAKE2B 926fe245ce457dd79eef6780fc0b984d2ff1cbe95807a3463f0d0080583af2ba356ccfcce22e60927737e1531ec7bc167c5f649e784b191ec821aa56df65277d SHA512 0b46229ae06db7cb2634df3f1b3b1a6b6fc983978a763e8879db0d9e209ccc6b96b28e8e2ee40f6e1a8e39b74d7a2430788126220e3a7dab5e8df217c3c8c005 -EBUILD moto-2.0.10.ebuild 2244 BLAKE2B 31fc24db876db3ed47b35fb778c1cd488e9b8a6008d6b1d2ae8e62ae67b7d33db28b197cc27ba7b2414977f8a5cb161f6351f97d96477e63640452d6c3266624 SHA512 b886499c02343fb0e9fa40c34ea18cf981d151412f11af2566eaf946c3bc49a015cd06a9c9a3cc53a3e98a8192b162d54dd0470cfaca707b13cac3e9dda5f3fe -EBUILD moto-2.0.5.ebuild 2242 BLAKE2B c91ef2e544d3ede2a2f1b7774c01165e24ff290ccd557699eab48c83ad166010943ddbe9935f7942529277b484a0b8e3f7cd6062da4f86adb4cc464d15344cd9 SHA512 a98b0e7c220bb14333dd72867f83836d2d5a564c20805e0be1fb89bb998c399bfd9588b46c027401fd8507962bbe454cc879ccf7851a876b238dedbd6821de41 -EBUILD moto-2.2.0.ebuild 2356 BLAKE2B fb455c65f90349695b51118d6a77b67d247f2fd127acb1f5559d955e0e463875c1b009b6f94ff5237327c69e23b904d8480b3f236024e0ae7d4d7f7c37867252 SHA512 f3c33665eac7d83da0062c966ebc7cf95110100a8208ec735df30025a12de3e92d714dd0cd48db89785bd54761d4eb948f69d3b85e593237aa5843a534e08b40 -EBUILD moto-2.2.2.ebuild 2373 BLAKE2B a78850846ec99cd454216ada1bfcf81ac5098e7b3bfe301e811cb02c513fd2d6e6056078905a00f3b76f19da10a44ff426c941649cb76b59b692c2460ab09535 SHA512 9730b1363024fcd6dc816d2179dcb942e1b11462d58ff9a55a3a3273142bc211ac6a11b3504470e1f64f25a32f3b46dbc14536851d4190aa0bf060c7ced08be2 -EBUILD moto-2.2.3.ebuild 2373 BLAKE2B a78850846ec99cd454216ada1bfcf81ac5098e7b3bfe301e811cb02c513fd2d6e6056078905a00f3b76f19da10a44ff426c941649cb76b59b692c2460ab09535 SHA512 9730b1363024fcd6dc816d2179dcb942e1b11462d58ff9a55a3a3273142bc211ac6a11b3504470e1f64f25a32f3b46dbc14536851d4190aa0bf060c7ced08be2 +DIST moto-2.2.4.tar.gz 1724663 BLAKE2B 3feb39bec246a8157aa542c711289ab0ca257ec510835cd48aa732c3f07903db857971e3d024c1aef35b5a0b55b7c4ecef2b319824c1d76f0076ab8d2d75329e SHA512 8acd8a3156db71af35ad0ac6a5105a6b7739d8ca9881a2cb091637830bc6fbb10d8bf6adfd1a1091556f9269fad737b345d2bdf50e09b54201fe7438674dd906 +EBUILD moto-2.0.10-r1.ebuild 2204 BLAKE2B 035213d75689a0c92e51da444befd8c0aebbe4d6984f1c74e8f224b7551f55daff6761132951a59afc7091d6b89a89cfdaeec4b1c05cbeba60977ece33270528 SHA512 ebdbc76753d468eaab43b0448728375f387e92182badb6f30b6ea17206b876ba979c819fc6c679c55c15b0895496ac5d2158972008d722717aec3846d7c4c856 +EBUILD moto-2.0.5-r1.ebuild 2202 BLAKE2B 78dc6466511968204fcca5e6df49b3e696e5e6f143617f4d4544c36281d3b87e04204b7a4074358425b38f0630b0f274eda050064cad953573f2f2318efbbcc5 SHA512 f7d083fe0307870a7da48acf4df2d917db7cb11aceb7a19da62673d1aee3b53530535e74d30b3775fad0807b47beb184eeb83e77474491b936bc99b007384b48 +EBUILD moto-2.2.0-r1.ebuild 2316 BLAKE2B c14f8aa340406517a880e87512ded8800579ea7a4f5e6d1cb50b1137f9c8d5d7831e037467542cdb6511d2883dff75b6dad62e8a7986f026f8e3ca1b8ef8132b SHA512 6da3993c5fc7496ea6adc0c558c286bf0ae0abebd0b2de7a8a4ffe01bd882521fafd504c0ba6b56bb87c53d655366719e90eaf0d38347a35cf95089f9207b701 +EBUILD moto-2.2.2-r1.ebuild 2333 BLAKE2B 66a0d332dba46c093fcc4b50a8dfc36a2b6ea6e2e6d8bd566262eecba9f4261f02408b54e54121bb6a7687782fc0d9c32077b031a413be92dda7c063da02fc8a SHA512 428f6b979986cdafca75494c51c96a1e21913f67c43d12e997a7d061160ceee35735a5cd52dcb6eb938964d76166c822e9cc3f70f5fddeafd1a313d20f7cf13d +EBUILD moto-2.2.3-r1.ebuild 2333 BLAKE2B 66a0d332dba46c093fcc4b50a8dfc36a2b6ea6e2e6d8bd566262eecba9f4261f02408b54e54121bb6a7687782fc0d9c32077b031a413be92dda7c063da02fc8a SHA512 428f6b979986cdafca75494c51c96a1e21913f67c43d12e997a7d061160ceee35735a5cd52dcb6eb938964d76166c822e9cc3f70f5fddeafd1a313d20f7cf13d +EBUILD moto-2.2.4-r1.ebuild 2333 BLAKE2B 66a0d332dba46c093fcc4b50a8dfc36a2b6ea6e2e6d8bd566262eecba9f4261f02408b54e54121bb6a7687782fc0d9c32077b031a413be92dda7c063da02fc8a SHA512 428f6b979986cdafca75494c51c96a1e21913f67c43d12e997a7d061160ceee35735a5cd52dcb6eb938964d76166c822e9cc3f70f5fddeafd1a313d20f7cf13d MISC metadata.xml 551 BLAKE2B 5473a586a27737f95b3795ff19bd08359fa5135aa60858c52b633d1ed53412fc1cbac3952f937ed497de18e90b00bd45725b920ad6fc75c8928181ca48ac5c45 SHA512 5b68da384123be90f74ea6cdd216f59ee004c4383b13da95fa17864c998ecb821fd0f16bf65abdc9b29f081a1e06be482518ede38139e29e32e46c962b3d4805 diff --git a/dev-python/moto/moto-2.0.10-r1.ebuild b/dev-python/moto/moto-2.0.10-r1.ebuild new file mode 100644 index 000000000000..58db774d616a --- /dev/null +++ b/dev-python/moto/moto-2.0.10-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="Mock library for boto" +HOMEPAGE="https://github.com/spulec/moto" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) + dev-python/boto[${PYTHON_USEDEP}] + dev-python/cfn-lint[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] + >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/pretty-yaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python-sshpubkeys[${PYTHON_USEDEP}] + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + >=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # unping indirect dep on ecdsa that's supposed to workaround pip + # bugs + sed -i -e '/ecdsa/s:<0.15::' setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # pytest-django causes freezegun try to mangle stuff inside django + # which fails when django is not really used + epytest -p no:django -m 'not network' +} diff --git a/dev-python/moto/moto-2.0.10.ebuild b/dev-python/moto/moto-2.0.10.ebuild deleted file mode 100644 index 9dda3ad8ff09..000000000000 --- a/dev-python/moto/moto-2.0.10.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 - -DESCRIPTION="Mock library for boto" -HOMEPAGE="https://github.com/spulec/moto" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) - dev-python/boto[${PYTHON_USEDEP}] - dev-python/cfn-lint[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - dev-python/dicttoxml[${PYTHON_USEDEP}] - >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] - >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - >=dev-python/six-1.9[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # unping indirect dep on ecdsa that's supposed to workaround pip - # bugs - sed -i -e '/ecdsa/s:<0.15::' setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # pytest-django causes freezegun try to mangle stuff inside django - # which fails when django is not really used - epytest -p no:django -m 'not network' -} diff --git a/dev-python/moto/moto-2.0.5-r1.ebuild b/dev-python/moto/moto-2.0.5-r1.ebuild new file mode 100644 index 000000000000..5ab0773bc0fa --- /dev/null +++ b/dev-python/moto/moto-2.0.5-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="Mock library for boto" +HOMEPAGE="https://github.com/spulec/moto" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) + dev-python/boto[${PYTHON_USEDEP}] + dev-python/cfn-lint[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] + >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/pretty-yaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python-sshpubkeys[${PYTHON_USEDEP}] + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + >=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # unping indirect dep on ecdsa that's supposed to workaround pip + # bugs + sed -i -e '/ecdsa/s:<0.15::' setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # pytest-django causes freezegun try to mangle stuff inside django + # which fails when django is not really used + epytest -p no:django -m 'not network' +} diff --git a/dev-python/moto/moto-2.0.5.ebuild b/dev-python/moto/moto-2.0.5.ebuild deleted file mode 100644 index fba6965bc569..000000000000 --- a/dev-python/moto/moto-2.0.5.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 - -DESCRIPTION="Mock library for boto" -HOMEPAGE="https://github.com/spulec/moto" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) - dev-python/boto[${PYTHON_USEDEP}] - dev-python/cfn-lint[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - dev-python/dicttoxml[${PYTHON_USEDEP}] - >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] - >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - >=dev-python/six-1.9[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # unping indirect dep on ecdsa that's supposed to workaround pip - # bugs - sed -i -e '/ecdsa/s:<0.15::' setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # pytest-django causes freezegun try to mangle stuff inside django - # which fails when django is not really used - epytest -p no:django -m 'not network' -} diff --git a/dev-python/moto/moto-2.2.0-r1.ebuild b/dev-python/moto/moto-2.2.0-r1.ebuild new file mode 100644 index 000000000000..99a95fab7d4f --- /dev/null +++ b/dev-python/moto/moto-2.2.0-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="Mock library for boto" +HOMEPAGE="https://github.com/spulec/moto" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) + dev-python/boto[${PYTHON_USEDEP}] + dev-python/cfn-lint[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] + >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/pretty-yaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python-sshpubkeys[${PYTHON_USEDEP}] + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # unpin indirect dep on ecdsa that's supposed to workaround pip bugs + sed -i -e '/ecdsa/s:<0.15::' setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local ignore=( + # incompatible versions? + tests/test_core/test_decorator_calls.py + tests/test_s3/test_s3_classdecorator.py + ) + + # pytest-django causes freezegun try to mangle stuff inside django + # which fails when django is not really used + epytest -p no:django -m 'not network' ${ignore[@]/#/--ignore } +} diff --git a/dev-python/moto/moto-2.2.0.ebuild b/dev-python/moto/moto-2.2.0.ebuild deleted file mode 100644 index 000f0ec8d51e..000000000000 --- a/dev-python/moto/moto-2.2.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 - -DESCRIPTION="Mock library for boto" -HOMEPAGE="https://github.com/spulec/moto" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) - dev-python/boto[${PYTHON_USEDEP}] - dev-python/cfn-lint[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - dev-python/dicttoxml[${PYTHON_USEDEP}] - >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] - >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # unpin indirect dep on ecdsa that's supposed to workaround pip bugs - sed -i -e '/ecdsa/s:<0.15::' setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - local ignore=( - # incompatible versions? - tests/test_core/test_decorator_calls.py - tests/test_s3/test_s3_classdecorator.py - ) - - # pytest-django causes freezegun try to mangle stuff inside django - # which fails when django is not really used - epytest -p no:django -m 'not network' ${ignore[@]/#/--ignore } -} diff --git a/dev-python/moto/moto-2.2.2-r1.ebuild b/dev-python/moto/moto-2.2.2-r1.ebuild new file mode 100644 index 000000000000..76d660dee8cf --- /dev/null +++ b/dev-python/moto/moto-2.2.2-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit distutils-r1 + +DESCRIPTION="Mock library for boto" +HOMEPAGE="https://github.com/spulec/moto" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) + dev-python/boto[${PYTHON_USEDEP}] + dev-python/cfn-lint[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] + >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/importlib_metadata[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/pretty-yaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python-sshpubkeys[${PYTHON_USEDEP}] + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # unpin indirect dep on ecdsa that's supposed to workaround pip bugs + sed -i -e '/ecdsa/s:<0.15::' setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local ignore=( + # incompatible versions? + tests/test_core/test_decorator_calls.py + tests/test_s3/test_s3_classdecorator.py + ) + + # pytest-django causes freezegun try to mangle stuff inside django + # which fails when django is not really used + epytest -p no:django -m 'not network' ${ignore[@]/#/--ignore } +} diff --git a/dev-python/moto/moto-2.2.2.ebuild b/dev-python/moto/moto-2.2.2.ebuild deleted file mode 100644 index afcc32f23366..000000000000 --- a/dev-python/moto/moto-2.2.2.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..9} ) -inherit distutils-r1 - -DESCRIPTION="Mock library for boto" -HOMEPAGE="https://github.com/spulec/moto" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) - dev-python/boto[${PYTHON_USEDEP}] - dev-python/cfn-lint[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - dev-python/dicttoxml[${PYTHON_USEDEP}] - >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] - >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/importlib_metadata[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # unpin indirect dep on ecdsa that's supposed to workaround pip bugs - sed -i -e '/ecdsa/s:<0.15::' setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - local ignore=( - # incompatible versions? - tests/test_core/test_decorator_calls.py - tests/test_s3/test_s3_classdecorator.py - ) - - # pytest-django causes freezegun try to mangle stuff inside django - # which fails when django is not really used - epytest -p no:django -m 'not network' ${ignore[@]/#/--ignore } -} diff --git a/dev-python/moto/moto-2.2.3-r1.ebuild b/dev-python/moto/moto-2.2.3-r1.ebuild new file mode 100644 index 000000000000..76d660dee8cf --- /dev/null +++ b/dev-python/moto/moto-2.2.3-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit distutils-r1 + +DESCRIPTION="Mock library for boto" +HOMEPAGE="https://github.com/spulec/moto" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) + dev-python/boto[${PYTHON_USEDEP}] + dev-python/cfn-lint[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] + >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/importlib_metadata[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/pretty-yaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python-sshpubkeys[${PYTHON_USEDEP}] + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # unpin indirect dep on ecdsa that's supposed to workaround pip bugs + sed -i -e '/ecdsa/s:<0.15::' setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local ignore=( + # incompatible versions? + tests/test_core/test_decorator_calls.py + tests/test_s3/test_s3_classdecorator.py + ) + + # pytest-django causes freezegun try to mangle stuff inside django + # which fails when django is not really used + epytest -p no:django -m 'not network' ${ignore[@]/#/--ignore } +} diff --git a/dev-python/moto/moto-2.2.3.ebuild b/dev-python/moto/moto-2.2.3.ebuild deleted file mode 100644 index afcc32f23366..000000000000 --- a/dev-python/moto/moto-2.2.3.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..9} ) -inherit distutils-r1 - -DESCRIPTION="Mock library for boto" -HOMEPAGE="https://github.com/spulec/moto" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) - dev-python/boto[${PYTHON_USEDEP}] - dev-python/cfn-lint[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - dev-python/dicttoxml[${PYTHON_USEDEP}] - >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] - >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/importlib_metadata[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # unpin indirect dep on ecdsa that's supposed to workaround pip bugs - sed -i -e '/ecdsa/s:<0.15::' setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - local ignore=( - # incompatible versions? - tests/test_core/test_decorator_calls.py - tests/test_s3/test_s3_classdecorator.py - ) - - # pytest-django causes freezegun try to mangle stuff inside django - # which fails when django is not really used - epytest -p no:django -m 'not network' ${ignore[@]/#/--ignore } -} diff --git a/dev-python/moto/moto-2.2.4-r1.ebuild b/dev-python/moto/moto-2.2.4-r1.ebuild new file mode 100644 index 000000000000..76d660dee8cf --- /dev/null +++ b/dev-python/moto/moto-2.2.4-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit distutils-r1 + +DESCRIPTION="Mock library for boto" +HOMEPAGE="https://github.com/spulec/moto" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) + dev-python/boto[${PYTHON_USEDEP}] + dev-python/cfn-lint[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] + >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/importlib_metadata[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/pretty-yaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python-sshpubkeys[${PYTHON_USEDEP}] + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # unpin indirect dep on ecdsa that's supposed to workaround pip bugs + sed -i -e '/ecdsa/s:<0.15::' setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local ignore=( + # incompatible versions? + tests/test_core/test_decorator_calls.py + tests/test_s3/test_s3_classdecorator.py + ) + + # pytest-django causes freezegun try to mangle stuff inside django + # which fails when django is not really used + epytest -p no:django -m 'not network' ${ignore[@]/#/--ignore } +} -- cgit v1.2.3