From 1b03664c7f27f905055a5260ed72dc6ffc49bb0a Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 7 Aug 2021 13:36:07 +0000 Subject: Adding metadata --- dev-python/PySDL2/Manifest | 1 + dev-python/PySDL2/PySDL2-0.9.8.ebuild | 49 ++++++++ dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.18.16.ebuild | 57 +++++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.21.16.ebuild | 59 ++++++++++ dev-python/cachelib/cachelib-0.2.0.ebuild | 2 +- dev-python/configargparse/Manifest | 1 + .../configargparse/configargparse-1.5.2.ebuild | 32 +++++ dev-python/dockerpty/dockerpty-0.4.1-r1.ebuild | 4 +- .../doublex-expects/doublex-expects-0.7.1.ebuild | 2 +- dev-python/doublex/doublex-1.9.2-r1.ebuild | 55 +++++++++ dev-python/doublex/files/doublex-1.9.2-py310.patch | 33 ++++++ dev-python/expects/expects-0.9.0.ebuild | 2 +- dev-python/fonttools/Manifest | 2 - dev-python/fonttools/fonttools-4.25.0.ebuild | 48 -------- dev-python/fonttools/fonttools-4.25.1.ebuild | 48 -------- dev-python/identify/Manifest | 1 + dev-python/identify/identify-2.2.13.ebuild | 19 +++ dev-python/mamba/Manifest | 1 + dev-python/mamba/mamba-0.11.2.ebuild | 36 ++++++ dev-python/moto/Manifest | 10 -- .../moto/files/moto-1.3.14-newer-botocore.patch | 53 --------- dev-python/moto/files/moto-1.3.14-py39.patch | 38 ------ dev-python/moto/files/moto-1.3.14-tests.patch | 82 ------------- dev-python/moto/moto-1.3.14-r3.ebuild | 89 -------------- dev-python/moto/moto-1.3.16-r1.ebuild | 92 --------------- dev-python/moto/moto-2.0.0.ebuild | 75 ------------ dev-python/moto/moto-2.0.1.ebuild | 75 ------------ dev-python/moto/moto-2.0.2.ebuild | 71 ------------ dev-python/moto/moto-2.0.5.ebuild | 2 +- dev-python/moto/moto-2.0.6.ebuild | 70 ----------- dev-python/moto/moto-2.0.7.ebuild | 70 ----------- dev-python/moto/moto-2.0.8.ebuild | 70 ----------- dev-python/moto/moto-2.0.9.ebuild | 70 ----------- dev-python/moto/moto-2.1.0.ebuild | 75 ------------ dev-python/notebook/Manifest | 1 + dev-python/notebook/notebook-6.4.2.ebuild | 100 ++++++++++++++++ dev-python/pip/Manifest | 1 + dev-python/pip/pip-21.2.3.ebuild | 129 +++++++++++++++++++++ .../pushbullet-py/pushbullet-py-0.12.0.ebuild | 3 +- dev-python/pyspelling/Manifest | 1 + dev-python/pyspelling/pyspelling-2.7.3.ebuild | 52 +++++++++ dev-python/reportlab/Manifest | 1 + dev-python/reportlab/reportlab-3.6.1.ebuild | 56 +++++++++ dev-python/zeroconf/Manifest | 1 + dev-python/zeroconf/zeroconf-0.33.4.ebuild | 39 +++++++ 47 files changed, 733 insertions(+), 1047 deletions(-) create mode 100644 dev-python/PySDL2/PySDL2-0.9.8.ebuild create mode 100644 dev-python/boto3/boto3-1.18.16.ebuild create mode 100644 dev-python/botocore/botocore-1.21.16.ebuild create mode 100644 dev-python/configargparse/configargparse-1.5.2.ebuild create mode 100644 dev-python/doublex/doublex-1.9.2-r1.ebuild create mode 100644 dev-python/doublex/files/doublex-1.9.2-py310.patch delete mode 100644 dev-python/fonttools/fonttools-4.25.0.ebuild delete mode 100644 dev-python/fonttools/fonttools-4.25.1.ebuild create mode 100644 dev-python/identify/identify-2.2.13.ebuild create mode 100644 dev-python/mamba/mamba-0.11.2.ebuild delete mode 100644 dev-python/moto/files/moto-1.3.14-newer-botocore.patch delete mode 100644 dev-python/moto/files/moto-1.3.14-py39.patch delete mode 100644 dev-python/moto/files/moto-1.3.14-tests.patch delete mode 100644 dev-python/moto/moto-1.3.14-r3.ebuild delete mode 100644 dev-python/moto/moto-1.3.16-r1.ebuild delete mode 100644 dev-python/moto/moto-2.0.0.ebuild delete mode 100644 dev-python/moto/moto-2.0.1.ebuild delete mode 100644 dev-python/moto/moto-2.0.2.ebuild delete mode 100644 dev-python/moto/moto-2.0.6.ebuild delete mode 100644 dev-python/moto/moto-2.0.7.ebuild delete mode 100644 dev-python/moto/moto-2.0.8.ebuild delete mode 100644 dev-python/moto/moto-2.0.9.ebuild delete mode 100644 dev-python/moto/moto-2.1.0.ebuild create mode 100644 dev-python/notebook/notebook-6.4.2.ebuild create mode 100644 dev-python/pip/pip-21.2.3.ebuild create mode 100644 dev-python/pyspelling/pyspelling-2.7.3.ebuild create mode 100644 dev-python/reportlab/reportlab-3.6.1.ebuild create mode 100644 dev-python/zeroconf/zeroconf-0.33.4.ebuild (limited to 'dev-python') diff --git a/dev-python/PySDL2/Manifest b/dev-python/PySDL2/Manifest index b485746b0176..c12a1859fddb 100644 --- a/dev-python/PySDL2/Manifest +++ b/dev-python/PySDL2/Manifest @@ -1 +1,2 @@ DIST PySDL2-0.9.7.tar.gz 1079253 BLAKE2B 986a21d8c2f4f45df683d85a8369be7b39f102e59a1b3fd37e2941065a1174d5cd6dd056f78fbc66663e2cf50228ee40abf67352e5ae75176a9c000fb6f672fb SHA512 10d40063762272eaaae1cb6290e007481887806938ba0ba17d28974a3a3c8b36570054587001d00eb9ab4aa2375c616c43a81c7e7308fbb9b61b55b3eb7da5ac +DIST PySDL2-0.9.8.tar.gz 742279 BLAKE2B 403fba93f446f6eeb8c3b365f02207e5447c4fc16a08835ef81a1846491a4a3745ea1b7694f3b5ec3e7058975f33c20885065a4521f50aaf5c290728dbac9dd0 SHA512 674af175b1c5bd9b4100f94738c41b9b5517d2d536a7d6f7a356aafa81b67bce8349c74c166ae9289b8f746a9a16c785f88595bc48399d834d62af5355c59344 diff --git a/dev-python/PySDL2/PySDL2-0.9.8.ebuild b/dev-python/PySDL2/PySDL2-0.9.8.ebuild new file mode 100644 index 000000000000..f37d2f06f704 --- /dev/null +++ b/dev-python/PySDL2/PySDL2-0.9.8.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Python (ctypes) bindings for SDL2 libraries" +HOMEPAGE="https://github.com/marcusva/py-sdl2 https://pypi.org/project/PySDL2/" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="|| ( public-domain CC0-1.0 ZLIB )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Optional deps: +# - dev-python/numpy, +# - dev-python/pillow, +# - media-libs/sdl2-* (loaded dynamically via ctypes). +# +# If a reverse dependency needs the specific module, it should +# explicitly depend on the optional module in question. You also +# probably need to explicitly require some media-libs/libsdl2 flags. +RDEPEND="media-libs/libsdl2" + +# Require all of SDL2 libraries and at least the most common subsystems +# for better test coverage. +DEPEND=" + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + media-libs/libsdl2[joystick,sound,video] + media-libs/sdl2-gfx + media-libs/sdl2-image + media-libs/sdl2-mixer + media-libs/sdl2-ttf + )" + +distutils_enable_tests pytest + +src_test() { + # from .travis.yml + local -x SDL_VIDEODRIVER=dummy + local -x SDL_AUDIODRIVER=dummy + local -x SDL_RENDER_DRIVER=software + + distutils-r1_src_test +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 743dd8b61076..b9e6e8210a61 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -8,6 +8,7 @@ DIST boto3-1.18.12.tar.gz 398935 BLAKE2B 87f8627459908e4ff4bfde7ca7d325a355635c8 DIST boto3-1.18.13.tar.gz 399893 BLAKE2B 3c3e79e2a8ea41a6bf88a2e73926d6e61c9844fe0d373126611e3023d98d9e6a64cf7b537726260ae70fd78fea32f19127d59ddac5d48489be231bfb2a51b693 SHA512 14987a472d5dd7eb254fa4fd4e931b43f36afc57b40676c0c2c2400bb24d7a31892d317b2da6d618311b5df91ee4a5c6cd4974ecf90971540c41b4d9632533ff DIST boto3-1.18.14.tar.gz 400263 BLAKE2B 827cf91c151ec03c6bca44967b8b94a5a4f93510ddae67b74dfe17fa800d02d2b139f3a0ecf6958ce24350345dd1f6da3c8dd69d7a5b504fbe79a9e8b587a3c2 SHA512 c3c338868ce50976deea02b308d8f9afecfbeac725319b4379391af1f85a6665de2cb59b2cb19a05520f1ff09d5c31bdc06525bd05e5bd2fa499641c4308b240 DIST boto3-1.18.15.tar.gz 400374 BLAKE2B 2170319480578b9ac7b6c0da9e9a2f256ce907b8e53bc626bf26fd65f3336ec1974d6dd1917f601fe139e859f144fafd198b2578ffb9097508f09dd40cf82313 SHA512 f330d8249c9f5749770ba5809f3a4fb524f23fc0545b24182023a3b74f815608bdb9986b434d972a017aa7786b1319705e8702b041174275f84a0266bdb7b857 +DIST boto3-1.18.16.tar.gz 400837 BLAKE2B fd3f8118adb4bf83484d084e3d1d5fd3b593dce2a394e6bea35196823cb31e4ecb8649840a2c214aabf245db60cd9974cdb85ab2e79fd103a576d7a9e39f5a8b SHA512 3c967e0d2ccc47e83d47fa84c3ef88f9672d57f9a5d314ec8b7047887ca1bec17a8960ddf3e2ac4db38f947e7432449027cfc4dce3441617b4f18c92734d7b70 DIST boto3-1.18.2.tar.gz 393528 BLAKE2B 20424f9a8ff013d1d9724f741ad6754747de504fb961688f433eba74ce1d6df7e95d68c45be1e87df1532f99b2fa4d7e8b00671a8ae9a378a4df74764924cdaa SHA512 287a1f24f62fa83fd944632799540257b2f8d6cf3b5d6add57be60e4f49dafd685bb4fcceef37fe907edba00a7f2285d92bd8d381b03e45ac794b22fdcfe8783 DIST boto3-1.18.3.tar.gz 393645 BLAKE2B 4967ac751e9ff5a86f6f571961df31d82f6012ade28aa19a038399077bf5a1b968dfa1172995423890b79a2ede54e2c6f6c1937e8ccf21010f17a4d96928df62 SHA512 f9c42257f0925fffaeb1a36e4731dc54fee1836c249617444292991d043dbb9b58472f73a806981c9763b569cc7402b378f6e1e0102fe0f995a7754807f19b38 DIST boto3-1.18.4.tar.gz 394442 BLAKE2B e82726143b353b843e915ea78ea2e033077ee495b1d416866f5c231f8bd864372496736d266b2b848ed8afd3134bd865c507291fd2fbdd5cae00a92ce3c5e76d SHA512 b3ba1328476a1c642c6b813afc3879e904bc14da69e062156df0405b3da6d2a15a4a40602f24d0a067a83cc441ce5a5e353dacb84869b0fe24e9984c0dec719f diff --git a/dev-python/boto3/boto3-1.18.16.ebuild b/dev-python/boto3/boto3-1.18.16.ebuild new file mode 100644 index 000000000000..bee358e1c595 --- /dev/null +++ b/dev-python/boto3/boto3-1.18.16.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # prevent an infinite loop + rm tests/functional/docs/test_smoke.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + nosetests -v tests/unit/ tests/functional/ || + die "test failed under ${EPYTHON}" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 6707c0b7aae2..919f6c9b2837 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -8,6 +8,7 @@ DIST botocore-1.21.12.tar.gz 8003489 BLAKE2B 39249b2ccbca9cc11b8acaef59064de3f65 DIST botocore-1.21.13.tar.gz 8006167 BLAKE2B 7f876b608fa0d24717f010426a553f54aa3c5a661d923b2a11b685f81d14cbf35fb6cef3518992eb00a520b79d79499af39f4fd03086f6caa6c20d256723fc10 SHA512 e2a2a51e74c5cc98ebc28a58a6865030ebc810f8fd56ae1e0baac23f815b65f9f1fdde6d9e0771a847d383796213d453463f89382286eb0c762c11e0c682ffc9 DIST botocore-1.21.14.tar.gz 8014362 BLAKE2B c201724fd1eae1a9f84e81ff9d23b27eaf7f38d2a2db1bbf3f1ad7aca37183b56ea752478e78825f5eb5762e649b533be49671acfbbc058cae96bc14121bb336 SHA512 eff147209d9526e2b90fae2dfdaf1536ab29714277d8e4ab2e0244cbf1ab3c98aca72e04c5c7659a98464d52a016bcd5601428f860c67737b080e562c36ebb6f DIST botocore-1.21.15.tar.gz 8012673 BLAKE2B cdd2b4128e67c85879e85f61265b10c1e5765eebf65333059af56a6a5b1d650a7612c4b569afde2396704015294e74b717c35d49c3e08396b2c603b7d47c632b SHA512 a5916ffa64568b2040d6f76571d9d716d50339fdaaed61f4ff7be92a5dac2c3f967280330fcbd3d6c2e1c1faf7bd6012ce75dd66ff26fde9d830d334a9d7c45a +DIST botocore-1.21.16.tar.gz 8029528 BLAKE2B 2253072ebd31cf879fdd329bda82a6fe9698d7aeaf63be23f8c606f4082c09eeae091e7e2b4c62d8663a15bf8958140fcd9afdd4c40f7dece98d05ba8fe8a3c3 SHA512 a5f05204b7a3879689549d88ea964d0405516e285910d668451209cc81c72b850c7e65c1359f5df8bbddd094bed6ff22edcf1bb1927866cfa267114366f8bd69 DIST botocore-1.21.2.tar.gz 7960118 BLAKE2B 11d2845e1846c03591625a95b21ff6fe1acb1448414a5f09de1d427614e927d974fafe5dd5d4f195aeb2f3b86d60822a8c73f1bc532bb45c85be8421f92eedc3 SHA512 501f059518026bef10fe933d20a3348b4140cff9ef1af38e17552aea8698179135f5271604e988f53c215e3a13158d7784a49a6b56c0d4db591f99dac9c57ca8 DIST botocore-1.21.3.tar.gz 7959023 BLAKE2B aab15319b9f36c25ee88f2bf0b2efcb6bbffeac1b4e38dcbdfde3a947f702016e77b66c4b125ca2b63614223109fd793da68f9ce1b1d14476cdd6a3fcb10dfce SHA512 5a8ce8f612fd0e1c68a75223dda95673f72159b02a040d1a71920b7e75b3aa9d14589c33a52970182970a353308954e8cd6d5f97d374e0e2ee2cd40e0dce786e DIST botocore-1.21.4.tar.gz 7964960 BLAKE2B 71d55b47633aa658a9dc921375c77230a6ebb89460d9de5a9982d730e03247972476400dbcf292da0a885789860117c1abc9bf803c79547049b242feb8755d15 SHA512 4a36e5870d9996973e2258f2e6afeb7381ac94d14075eaa9885f6f89afb87fa5b4461b02ab234b4ecc8e24630434dbb839e8ad30f622de6ffa5402f872f84a97 diff --git a/dev-python/botocore/botocore-1.21.16.ebuild b/dev-python/botocore/botocore-1.21.16.ebuild new file mode 100644 index 000000000000..5684261bd4b3 --- /dev/null +++ b/dev-python/botocore/botocore-1.21.16.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + # very unstable + sed -i -e 's:test_stress_test_token_bucket:_&:' \ + tests/functional/retries/test_bucket.py || die + distutils-r1_src_prepare +} + +python_test() { + # note: suites need to be run separately as one of the unit tests + # seems to be leaking mocks and breaking a few functional tests + nosetests -v tests/unit || + die "unit tests failed under ${EPYTHON}" + nosetests -v tests/functional || + die "functional tests failed under ${EPYTHON}" +} diff --git a/dev-python/cachelib/cachelib-0.2.0.ebuild b/dev-python/cachelib/cachelib-0.2.0.ebuild index 4ac18a8dea17..536edf34b0e7 100644 --- a/dev-python/cachelib/cachelib-0.2.0.ebuild +++ b/dev-python/cachelib/cachelib-0.2.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm x86" +KEYWORDS="~amd64 ~arm ~arm64 x86" BDEPEND=" test? ( diff --git a/dev-python/configargparse/Manifest b/dev-python/configargparse/Manifest index 1c05ec0ef69c..686647d5715e 100644 --- a/dev-python/configargparse/Manifest +++ b/dev-python/configargparse/Manifest @@ -1 +1,2 @@ DIST ConfigArgParse-1.5.1.gh.tar.gz 32245 BLAKE2B 9df80b4f0b12b3777311193c454dd010ce60dd9ceb702c99c1d8ac56575c615e77039910f3b412a176c9c229b88fa8937b052076d0cde2307ecc07f3337d064a SHA512 2c3854a45d97f0352321d2442a30408248e990dd46e2515cd7e2576efe9a33e03495231f8397ba6e3d79bb04bf11edfe5930b4765d46f29ca66b7bb3d3c1e0c9 +DIST ConfigArgParse-1.5.2.gh.tar.gz 32598 BLAKE2B 2fcf2b93f9e80686f658217dbc5871f1b920565870bb8194855088dd6f81422325d505fbe5bfa014def8188cc792660d35450a0daf0229c0dc59da37adab9fff SHA512 823d7b256b803d3b60a373a124ea5d255b67a3b948d6543bd9a33f63f4b0dd1a416138a7105c64b064c222a90b4cada3b4aa6aecb70054ae2f1978fa5791330f diff --git a/dev-python/configargparse/configargparse-1.5.2.ebuild b/dev-python/configargparse/configargparse-1.5.2.ebuild new file mode 100644 index 000000000000..8c5b78843775 --- /dev/null +++ b/dev-python/configargparse/configargparse-1.5.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +MY_PN="ConfigArgParse" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Drop-in replacement for argparse supporting config files and env variables" +HOMEPAGE=" + https://github.com/bw2/ConfigArgParse/ + https://pypi.org/project/ConfigArgParse/" +SRC_URI=" + https://github.com/bw2/ConfigArgParse/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )" + +distutils_enable_tests unittest + +src_test() { + local -x COLUMNS=80 + distutils-r1_src_test +} diff --git a/dev-python/dockerpty/dockerpty-0.4.1-r1.ebuild b/dev-python/dockerpty/dockerpty-0.4.1-r1.ebuild index c46d71f68327..c41222bc073d 100644 --- a/dev-python/dockerpty/dockerpty-0.4.1-r1.ebuild +++ b/dev-python/dockerpty/dockerpty-0.4.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,13 +15,11 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 arm64" IUSE="test" -RESTRICT="!test? ( test )" DEPEND=" test? ( >=dev-python/docker-py-0.7.0_rc2[${PYTHON_USEDEP}] >=dev-python/expects-0.4[${PYTHON_USEDEP}] - >=dev-python/pytest-2.5.2[${PYTHON_USEDEP}] ) " RDEPEND=">=dev-python/six-1.3.0[${PYTHON_USEDEP}]" diff --git a/dev-python/doublex-expects/doublex-expects-0.7.1.ebuild b/dev-python/doublex-expects/doublex-expects-0.7.1.ebuild index 6326f5942a95..1dfc7196d8e2 100644 --- a/dev-python/doublex-expects/doublex-expects-0.7.1.ebuild +++ b/dev-python/doublex-expects/doublex-expects-0.7.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-python/doublex/doublex-1.9.2-r1.ebuild b/dev-python/doublex/doublex-1.9.2-r1.ebuild new file mode 100644 index 000000000000..4749666ef9de --- /dev/null +++ b/dev-python/doublex/doublex-1.9.2-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Python test doubles" +HOMEPAGE="https://bitbucket.org/DavidVilla/python-doublex" +SRC_URI="https://bitbucket.org/DavidVilla/python-${PN}/get/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="doc test" + +RDEPEND=" + dev-python/pyhamcrest[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/nose[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests setup.py + +PATCHES=( + # https://bitbucket.org/DavidVilla/python-doublex/pull-requests/1/support-python-310-by-using-collectionsabc + "${FILESDIR}/${P}-py310.patch" +) + +python_prepare_all() { + # Disable broken tests + # https://bitbucket.org/DavidVilla/python-doublex/issues/5/support-for-python-36-37-38-tests-failing + sed -i "s/test_*hamcrest_/_&/" doublex/test/report_tests.py || die + # https://bitbucket.org/DavidVilla/python-doublex/issues/6/more-failing-tests-with-python-39 + sed -i -r "s/test_(proxyspy_get_stubbed_property|stub_property|custom_equality_comparable_objects)/_&/" \ + doublex/test/unit_tests.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C docs +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all + + rm "${ED}"/usr/README.rst || die "Couldn't remove spurious README.rst" +} diff --git a/dev-python/doublex/files/doublex-1.9.2-py310.patch b/dev-python/doublex/files/doublex-1.9.2-py310.patch new file mode 100644 index 000000000000..5d3a974a38a1 --- /dev/null +++ b/dev-python/doublex/files/doublex-1.9.2-py310.patch @@ -0,0 +1,33 @@ +commit ec3ce987a95abd951840213b77d44624b2ca5e84 +Author: Louis Sautier +Date: Sat Aug 7 01:56:31 2021 +0200 + + Support Python 3.10 by using collections.abc + +diff --git a/doublex/internal.py b/doublex/internal.py +index 91f5866..072774a 100644 +--- a/doublex/internal.py ++++ b/doublex/internal.py +@@ -20,7 +20,7 @@ + + + import threading +-import collections ++import collections.abc + import functools + import six + +@@ -184,11 +184,11 @@ class Invocation(object): + return Invocation(double, name, InvocationContext(*args, **kargs)) + + def delegates(self, delegate): +- if isinstance(delegate, collections.Callable): ++ if isinstance(delegate, collections.abc.Callable): + self.__delegate = delegate + return + +- if isinstance(delegate, collections.Mapping): ++ if isinstance(delegate, collections.abc.Mapping): + self.__delegate = delegate.get + return + diff --git a/dev-python/expects/expects-0.9.0.ebuild b/dev-python/expects/expects-0.9.0.ebuild index bc9d5be359cc..d6ba73065f0e 100644 --- a/dev-python/expects/expects-0.9.0.ebuild +++ b/dev-python/expects/expects-0.9.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 8c78faa4cf7a..3fe9ba6f87f4 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,5 +1,3 @@ DIST fonttools-4.24.4.tar.gz 2556059 BLAKE2B c415ae5214b6df7171a5f8a7ea179b1a4adbc6646598d773f0d3d6a8cd777e8fd3c74c14f00e6c4735a73e712e3fd42ddfc96f3f101d34b122fb9c471d4d94a3 SHA512 aa4ee8f0a7f9cb6d8a84497e6f33f891491cd06cc477a785715f8fde8e5b33cf781ef8b848bfab8cf9a97fc15c018d493c6baf0fb8fd314b8a348c36ff627f41 -DIST fonttools-4.25.0.tar.gz 2576777 BLAKE2B 802236b120ae78e2721d734875fba794fb9eafc125fbfea6b70c68d6a18a8b3c1ce685da18c83ee3364ff38f72707e42ed0ae25bc62d362c6271fff90da56d0c SHA512 c8f7512053ce611fa07bbc1fe844ee9d50cf09e19a2a27bed7df9d37d362b7daa910fbb651147f3690a03ec4d8adc8d96e8f0310eda24bb40208240182dc9b54 -DIST fonttools-4.25.1.tar.gz 2577170 BLAKE2B 8cb03ef1f9cf4e61d5e6d4963bb5c43ec48838e0453cc293de1c763a29b34d69701b87430d8a85085f06c26671e00a91c89e4c50ba8d2fad4a9cc72b1f17d0e9 SHA512 ca3732bcc5e2b373983d34bd72e0ea36488f24aa442d25d0d16f6a473ef35323547f900b1ae87c42e64c451afe4f760291095738a4442c11c5566c9efd0aa944 DIST fonttools-4.25.2.tar.gz 2577630 BLAKE2B ba03dcc25672008722bb7f5ad4238e9216988f5ed1d545297937e771bf076ae516172cd90bd450ded04ca28fe158c83247bd6b6aaaf4687a5893c0980630210b SHA512 b5c94e76a09aeb92061cf792f53eccc0ab369c5458aeac103f865f6110b2764677ad7c63d1367fb027c891a11d7eb158469748ec495c3a7aa6b86029e7c95223 DIST fonttools-4.26.1.tar.gz 2579211 BLAKE2B 886a803f6214658423c98bd347db6e2cc0baea5e2619ce18ba2a96589785a1b93228f5b35dd7f6c819b81ca471d6ea1a09d12ad6de04c75388ab6cb5003f5bf5 SHA512 226338cd1c3f71662080c69b0786a6a945b5a75d3a4b7ee6fcf6d7e2e089407d11b4a43950c7aebdaeccad1819e5c6e0b947938fbfbaa3caa9747b7b4a1bd5f6 diff --git a/dev-python/fonttools/fonttools-4.25.0.ebuild b/dev-python/fonttools/fonttools-4.25.0.ebuild deleted file mode 100644 index c079f50b216a..000000000000 --- a/dev-python/fonttools/fonttools-4.25.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 virtualx - -DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" -HOMEPAGE="https://github.com/fonttools/fonttools/" -SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" - -RDEPEND=">=dev-python/fs-2.4.9[${PYTHON_USEDEP}]" -BDEPEND=" - ${RDEPEND} - test? ( - app-arch/brotli[python,${PYTHON_USEDEP}] - app-arch/zopfli - )" - -distutils_enable_tests pytest - -python_prepare_all() { - # When dev-python/pytest-shutil is installed, we get weird import errors. - # This is due to incomplete nesting in the Tests/ tree: - # - # Tests/feaLib/__init__.py - # Tests/ufoLib/__init__.py - # Tests/svgLib/path/__init__.py - # Tests/otlLib/__init__.py - # Tests/varLib/__init__.py - # - # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. - touch Tests/svgLib/__init__.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # virtualx used when matplotlib is installed causing plot module tests to run - virtx epytest Tests fontTools -} diff --git a/dev-python/fonttools/fonttools-4.25.1.ebuild b/dev-python/fonttools/fonttools-4.25.1.ebuild deleted file mode 100644 index c079f50b216a..000000000000 --- a/dev-python/fonttools/fonttools-4.25.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 virtualx - -DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" -HOMEPAGE="https://github.com/fonttools/fonttools/" -SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" - -RDEPEND=">=dev-python/fs-2.4.9[${PYTHON_USEDEP}]" -BDEPEND=" - ${RDEPEND} - test? ( - app-arch/brotli[python,${PYTHON_USEDEP}] - app-arch/zopfli - )" - -distutils_enable_tests pytest - -python_prepare_all() { - # When dev-python/pytest-shutil is installed, we get weird import errors. - # This is due to incomplete nesting in the Tests/ tree: - # - # Tests/feaLib/__init__.py - # Tests/ufoLib/__init__.py - # Tests/svgLib/path/__init__.py - # Tests/otlLib/__init__.py - # Tests/varLib/__init__.py - # - # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. - touch Tests/svgLib/__init__.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # virtualx used when matplotlib is installed causing plot module tests to run - virtx epytest Tests fontTools -} diff --git a/dev-python/identify/Manifest b/dev-python/identify/Manifest index e0fd3c0bcaab..fbfd60326589 100644 --- a/dev-python/identify/Manifest +++ b/dev-python/identify/Manifest @@ -1,3 +1,4 @@ DIST identify-2.2.10.tar.gz 101073 BLAKE2B 7049424855d23727180a4af137ebd7cbf88d6ca0187901bbe43abfcb820c1db17af8ff89345612909fc869f9ee8503d84e3d1218548535abb6f499eade284def SHA512 a6f9dfc3d969a30f50922cb9ad285d76c39774706b8c0d868bcbf96564a49841e54b6021e4fced56f17cebd25fadc69dd93714d475e4f517a05677bdabada4dc DIST identify-2.2.11.tar.gz 101117 BLAKE2B e316bd18a91b3d073b2bb24743ffcf5e6551ce5a9ddf62b1a30aaf937311b2d07de08d9abe01040de48c607d51e4cab121d778385f8336bc911409bedcd5fce3 SHA512 083dd600bc65f61c1aa41f87943b59a4f2edcbbc7a7d07d7a1375d181761edc4b853df87d4a2b2c0f3122f4f27ed10eb784d2dd75078418b50a471b1d5a0ad0f DIST identify-2.2.12.tar.gz 101128 BLAKE2B 71f70e211bb64c44fd56cf276c1e474e002931a711e986f933a80b085a4b1c2465d84780d636efc977c6c91283d33b94d7c25fbf16b83d2fbb1cb227c76ebca9 SHA512 cada883c7d5696c0f5c55e901e88e1d63b28d5045f54f2d197151c37d8a96854e020d4112d857fad0402e61fad3c05a5e9ca624a72be0baecdd0fb247b6bef4b +DIST identify-2.2.13.tar.gz 101136 BLAKE2B b1835ca6b576a15be16de124554cfaf7b6dc55a1dfee70021613d35251135c295c3acf141eb645823add4c260bec9fdcde4799f0b72fbd57bc7a2e8659e416bd SHA512 37764325268c164028b7719f91571c006c9c6db3f4bba5a93d20f3d9ea30712cfe7e5710b175266a3d74f3f85485f16ebf7d21486d4329050b55e5835e8b4197 diff --git a/dev-python/identify/identify-2.2.13.ebuild b/dev-python/identify/identify-2.2.13.ebuild new file mode 100644 index 000000000000..bae7649cf429 --- /dev/null +++ b/dev-python/identify/identify-2.2.13.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="File identification library for Python" +HOMEPAGE="https://github.com/pre-commit/identify" +SRC_URI="https://github.com/pre-commit/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND="dev-python/editdistance-s[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/mamba/Manifest b/dev-python/mamba/Manifest index 9b889a6dd2d9..f54cc2b9b028 100644 --- a/dev-python/mamba/Manifest +++ b/dev-python/mamba/Manifest @@ -1 +1,2 @@ DIST mamba-0.11.1.tar.gz 36974 BLAKE2B 0bffac92c32413be736c20f926094cd2003c8bd8abb47abda7c63a071af5b99729f32b5cdb74f21f30f0b50be81674f08f79dc37416e8c67e2ae03c9a837eda4 SHA512 2b28415e5352fcec8028a8ddef6ff83a0cf2ebbb385506eb97f6a46be619277136a61180e8cf30047efd7807f867a03a0d1032dbfed27e2fc050a8639f67814c +DIST mamba-0.11.2.tar.gz 37370 BLAKE2B 90228aa9668c5c79161aee79d92a9409e5df5d9d71b94f2ae8401ec5eea32ed45cf1b1a72eb596b6e24f140bf053bca4cec848830ae83c24b108ddb4a2bcd148 SHA512 8ca6207c9df7b3388db8ecabd13456e54d8811c24f695ccc638c90bb2c975268f9e803533808f9b099651ee4744376fad3b58eaa84a6c97605631368f979915c diff --git a/dev-python/mamba/mamba-0.11.2.ebuild b/dev-python/mamba/mamba-0.11.2.ebuild new file mode 100644 index 000000000000..c262f6e85175 --- /dev/null +++ b/dev-python/mamba/mamba-0.11.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python test runner born under the banner of Behavior Driven Development" +HOMEPAGE="https://nestorsalceda.github.io/mamba" +SRC_URI="https://github.com/nestorsalceda/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/clint-0.3.1[${PYTHON_USEDEP}] + >=dev-python/coverage-3.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + >=dev-python/doublex-expects-0.7.0_rc1[${PYTHON_USEDEP}] + >=dev-python/expects-0.8.0_rc2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs --no-autodoc + +python_test() { + "${EPYTHON}" -m mamba.cli || die "Tests failed under ${EPYTHON}" +} diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index 075dc8a2d92a..58a12b16e5e0 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1,13 +1,3 @@ -DIST moto-1.3.14.tar.gz 1829165 BLAKE2B 2ec30c4cc571492a9d2c08f66a39ad04cfc0baa7864db8a5be4ea9af24ecb59bad3e85c44fa8a7babc16bf66188cb6bef89484f1f302a11e6eec1f8dbf516492 SHA512 1fe7e9d49dadada82f24d6bef1c21419c414e027c21ed1099bd1eab7c269ac5638ed44a29d1557b37562a44b22a7c7251fc1ca8ba88cde6b82d39dbc620aa6a6 -DIST moto-1.3.16.tar.gz 1761006 BLAKE2B adb48ac770e0753403fd41309ebc2085e5d9cdfad5dc791d9cc1216af10e55038c37526a8549a034a3327d821c56b0f6cdd775a17336285bfc637c09191dd78d SHA512 80a1335fea8d6dd42b4062365da4719d26cd6c18e5c186c950bbb844dce44e91ffe5e5173742f3b60d6ba2cab93d45359b43c2cb0ccf74d16009986457c243a4 -DIST moto-2.0.0.tar.gz 5054551 BLAKE2B be9b18909f90b22fe57d47e2eea50144b4ac8046dde0123249079f53c8f3c2ea70513b29cde1030ad923be7d50c6021351c8aa9c65bc0b95510a4f4de9d4d111 SHA512 285eff39004b291d112c455f44e30fe441d74c08aff614f5c97e7c52a68edb200d7077722f1e7bca38a63694aabf2ff56994cd1229e449b2f1afdf3945735fc7 -DIST moto-2.0.1.tar.gz 1530088 BLAKE2B eb35bcbc8b22044ae86eaa6eb1f71eb24174a8686ef06d475c870ef629d0a525719c4f153cb0a55fa27f3c33568a5796a07ce903800468557dfe275de3da3623 SHA512 d650140c76a2090332fd9f4c8be84379d4e578a63125d473b821d59bff9f93ee8e696268e4784df13f2ee3b8b6967fd10cbd94750f37e63967ed679b4a301682 DIST moto-2.0.10.tar.gz 1629239 BLAKE2B 3b1e2272f0a78b90dcf4263fa9e1e7cee17621215d742387bddb518da973fb4d0bf383b78bccec2e312aaa65b41428a78731e458e4f6a04bedf31306430a76a4 SHA512 77db3ec43d9777f469cae18f891ad277b2ae89fe0e69474dd904876ebb275503bb3beefe130d1ede05c7f1370107fcc6db76ef5c8e446a2132ad5dd85fea9ac5 -DIST moto-2.0.2.tar.gz 1534459 BLAKE2B b4609f332e8f8eb8d61250919eca805f82a6dfc468cf0b9cfe81f462aae9f93373efec6165c818589abe60955abe061a273148a36e4b1f8534ce9fa7e59f5cd2 SHA512 b478f9938f8e7b92c3e718a1aea5907c2070bda42995050d39f8e62cbd7cfd30fe4c9cbd7e7475f5a50c71c3370a89f53480adcf83df1fe08968125f2a1427f6 DIST moto-2.0.5.tar.gz 1551415 BLAKE2B 452cb94443188e1715145bee574f04924d894a3d647673443a8a335bb907f8601098540b032d6c9a8ced3e1fc490c49ad70c877547d905cece05bbb742d05976 SHA512 70e64ab98873d480e776a2139a4d351665c6c2f98faf90e2871c6b9998571d1bd239757bc90bbc6ab6e1ed510598bfce77157ad522953efe40c884068885c57d -DIST moto-2.0.6.tar.gz 1557871 BLAKE2B dd4c23758bc9c98fbd2b2a70af744daa245fc8b4b1154348486ae85d195e5e3fa2c513f61386504d05c0d646e81fbf8ec5bf41be317b9fd7581668cd23cc1db3 SHA512 9f287ff07f948dd3d2d6af1c6120d29e9625e420bb94f83c230d813e26689161f9a2e89e2b32947e82084cdcd865fef714ad14309ff41371bd37d251481f8dc9 -DIST moto-2.0.7.tar.gz 1565849 BLAKE2B 1c6491828a43156fd347bcce80f3440cd8d4964e28bab19593e29fd88aed558652b08c81c577312f9c612adc666ddd35fdd46b4d2d8fb82eef380210e9c62d8d SHA512 5df26f478909c57d4ba76bb7c6e002c37d7f604084c157744be32da93dbb705605a7a85eb0774cbf2c0083f7096f01075ddb1a119cb7ac2f3931cf58896f1629 -DIST moto-2.0.8.tar.gz 1569426 BLAKE2B 746313241d49558ab49d7e2116406f128a315a9fca40956808e7f901e91518551a1f75c95c9ce5c92534221d1db3e01a3baa2cef6cadab9a9d024cc30d8ce0e2 SHA512 5cf1a47c97100b76ad9b69787ce4df00f24f93ba1a36a242cea535ede649af457ff043b44f1cce4a4e44b6735844652f69271f18edac0748b636f4e519545018 -DIST moto-2.0.9.tar.gz 1614328 BLAKE2B 0bb9e3dcc0c25476b7fdabeecc31be6904a21d6a77f6ce3d9c9c176625873d30c55321c8939ecb8bbc91ee64faab9cd7231150dfdcbd4d5d7d3dc8eae614d9f2 SHA512 41b32aa192dd5c5052a90f345f29e696f9cc6abb3698ea0b738f8805fc920f4abf7d418a64aecf6efd66162aad631c88754d5e4e349ca2ba5b393771038219cb -DIST moto-2.1.0.tar.gz 1638267 BLAKE2B ee778cab1a9a448408bbc495a148201bb016c2ba29076062360db23d86d725758303c32e1fb1a3f9e11112deb1cbca686fc956ddafd259fd942654510ba12147 SHA512 cae18324200d827a1750c5dbe2df2ea68dc66a5b8ff40b4c873f7511d576417c1a2b20203cc126d84b99b1aec5ef8700825271893933e6cc4bd61c0082b9e9be DIST moto-2.2.0.tar.gz 1650655 BLAKE2B 9969de2fb323b2deb272eb47727884054a35827a5db382f83a4177cf6cac5339f89164d05c288a977bc1895a204d13d02069e8b37880ea3d04374f6ed4d6be47 SHA512 7eabb515f94920af9b8f028afaaa51e27983f7bfd73f66c29fc191e2f3dd3e8939ddac67de0127c67c35cbc17c3500a7390103b26c85056780c865aadeb5e1d9 diff --git a/dev-python/moto/files/moto-1.3.14-newer-botocore.patch b/dev-python/moto/files/moto-1.3.14-newer-botocore.patch deleted file mode 100644 index a12e38483362..000000000000 --- a/dev-python/moto/files/moto-1.3.14-newer-botocore.patch +++ /dev/null @@ -1,53 +0,0 @@ -commit ef7fce5a4fcd951a6c2bd1b9c6d21e6cf6a711e2 -Author: gruebel -Date: Thu Nov 21 22:35:20 2019 +0100 - - Fixed failing tests, due to a new required parameter StreamEnabled - -diff --git a/tests/test_dynamodbstreams/test_dynamodbstreams.py b/tests/test_dynamodbstreams/test_dynamodbstreams.py -index 01cf915a..a98f97bf 100644 ---- a/tests/test_dynamodbstreams/test_dynamodbstreams.py -+++ b/tests/test_dynamodbstreams/test_dynamodbstreams.py -@@ -213,7 +213,7 @@ class TestEdges: - - resp = conn.update_table( - TableName="test-streams", -- StreamSpecification={"StreamViewType": "KEYS_ONLY"}, -+ StreamSpecification={"StreamEnabled": True, "StreamViewType": "KEYS_ONLY"}, - ) - assert "StreamSpecification" in resp["TableDescription"] - assert resp["TableDescription"]["StreamSpecification"] == { -@@ -226,7 +226,10 @@ class TestEdges: - with assert_raises(conn.exceptions.ResourceInUseException): - resp = conn.update_table( - TableName="test-streams", -- StreamSpecification={"StreamViewType": "OLD_IMAGES"}, -+ StreamSpecification={ -+ "StreamEnabled": True, -+ "StreamViewType": "OLD_IMAGES", -+ }, - ) - - def test_stream_with_range_key(self): -@@ -243,7 +246,7 @@ class TestEdges: - {"AttributeName": "color", "AttributeType": "S"}, - ], - ProvisionedThroughput={"ReadCapacityUnits": 1, "WriteCapacityUnits": 1}, -- StreamSpecification={"StreamViewType": "NEW_IMAGES"}, -+ StreamSpecification={"StreamEnabled": True, "StreamViewType": "NEW_IMAGES"}, - ) - stream_arn = resp["TableDescription"]["LatestStreamArn"] - -diff --git a/moto/core/responses.py b/moto/core/responses.py -index bf4af902..c708edb8 100644 ---- a/moto/core/responses.py -+++ b/moto/core/responses.py -@@ -307,7 +307,7 @@ class BaseResponse(_TemplateEnvironmentMixin, ActionAuthenticatorMixin): - def _convert(elem, is_last): - if not re.match("^{.*}$", elem): - return elem -- name = elem.replace("{", "").replace("}", "") -+ name = elem.replace("{", "").replace("}", "").replace("+", "") - if is_last: - return "(?P<%s>[^/]*)" % name - return "(?P<%s>.*)" % name diff --git a/dev-python/moto/files/moto-1.3.14-py39.patch b/dev-python/moto/files/moto-1.3.14-py39.patch deleted file mode 100644 index de00028179fa..000000000000 --- a/dev-python/moto/files/moto-1.3.14-py39.patch +++ /dev/null @@ -1,38 +0,0 @@ -From af66a281ee2bcc7cc6c48bb3c8d033d385c12875 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Sun, 14 Jun 2020 12:31:00 +0200 -Subject: [PATCH] Fix use of base64.decodestring() in tests - -Use base64.decodebytes() instead of deprecated/removed .decodestring() -in test_user_data_with_run_instance(). Fixes tests on py3.9. ---- - tests/test_ec2/test_instances.py | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/tests/test_ec2/test_instances.py b/tests/test_ec2/test_instances.py -index 041bc8c8..1def1734 100644 ---- a/tests/test_ec2/test_instances.py -+++ b/tests/test_ec2/test_instances.py -@@ -9,6 +9,7 @@ from nose.tools import assert_raises - import base64 - import datetime - import ipaddress -+import sys - - import six - import boto -@@ -765,7 +766,10 @@ def test_user_data_with_run_instance(): - instance_attribute = instance.get_attribute("userData") - instance_attribute.should.be.a(InstanceAttribute) - retrieved_user_data = instance_attribute.get("userData").encode("utf-8") -- decoded_user_data = base64.decodestring(retrieved_user_data) -+ if sys.version_info[0] == 2: -+ decoded_user_data = base64.decodestring(retrieved_user_data) -+ else: -+ decoded_user_data = base64.decodebytes(retrieved_user_data) - decoded_user_data.should.equal(b"some user data") - - --- -2.27.0 - diff --git a/dev-python/moto/files/moto-1.3.14-tests.patch b/dev-python/moto/files/moto-1.3.14-tests.patch deleted file mode 100644 index 4fdbf801eec3..000000000000 --- a/dev-python/moto/files/moto-1.3.14-tests.patch +++ /dev/null @@ -1,82 +0,0 @@ -diff --git a/tests/test_awslambda/test_lambda.py b/tests/test_awslambda/test_lambda.py -index 306deeea..7b8937ab 100644 ---- a/tests/test_awslambda/test_lambda.py -+++ b/tests/test_awslambda/test_lambda.py -@@ -22,6 +22,7 @@ from moto import ( - settings, - mock_sqs, - ) -+from unittest import skip - from nose.tools import assert_raises - from botocore.exceptions import ClientError - -@@ -1024,6 +1025,7 @@ def test_create_event_source_mapping(): - assert response["State"] == "Enabled" - - -+@skip("fails in sandbox") - @mock_logs - @mock_lambda - @mock_sqs -@@ -1075,6 +1077,7 @@ def test_invoke_function_from_sqs(): - assert False, "Test Failed" - - -+@skip("fails in sandbox") - @mock_logs - @mock_lambda - @mock_dynamodb2 -@@ -1135,6 +1138,7 @@ def test_invoke_function_from_dynamodb(): - assert False, "Test Failed" - - -+@skip("fails in sandbox") - @mock_logs - @mock_lambda - @mock_sqs -diff --git a/tests/test_cloudformation/test_validate.py b/tests/test_cloudformation/test_validate.py -index 4dd4d7e0..3d1608e7 100644 ---- a/tests/test_cloudformation/test_validate.py -+++ b/tests/test_cloudformation/test_validate.py -@@ -2,6 +2,7 @@ from collections import OrderedDict - import json - import yaml - import os -+from unittest import skip - import boto3 - from nose.tools import raises - import botocore -@@ -46,6 +47,7 @@ dummy_template_json = json.dumps(json_template) - dummy_bad_template_json = json.dumps(json_bad_template) - - -+@skip("needs network access") - @mock_cloudformation - def test_boto3_json_validate_successful(): - cf_conn = boto3.client("cloudformation", region_name="us-east-1") -@@ -87,6 +89,7 @@ yaml_bad_template = """ - """ - - -+@skip("needs network access") - @mock_cloudformation - def test_boto3_yaml_validate_successful(): - cf_conn = boto3.client("cloudformation", region_name="us-east-1") -diff --git a/tests/test_core/test_request_mocking.py b/tests/test_core/test_request_mocking.py -index 2c44d52c..38c3a08d 100644 ---- a/tests/test_core/test_request_mocking.py -+++ b/tests/test_core/test_request_mocking.py -@@ -1,10 +1,13 @@ - import requests - import sure # noqa - -+from unittest import skip -+ - import boto3 - from moto import mock_sqs, settings - - -+@skip("Needs network access") - @mock_sqs - def test_passthrough_requests(): - conn = boto3.client("sqs", region_name="us-west-1") diff --git a/dev-python/moto/moto-1.3.14-r3.ebuild b/dev-python/moto/moto-1.3.14-r3.ebuild deleted file mode 100644 index 4e941cf11fe6..000000000000 --- a/dev-python/moto/moto-1.3.14-r3.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -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 ~amd64-linux ~x86-linux" - -IUSE="test" -RESTRICT="!test? ( test )" - -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/cfn-python-lint[${PYTHON_USEDEP}] - >=dev-python/cryptography-2.3.0[${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/boto-2.36.0[${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/mock[${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}] -" -BDEPEND=" - test? ( ${RDEPEND} - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/moto-1.3.14-newer-botocore.patch" - "${FILESDIR}/moto-1.3.14-tests.patch" - "${FILESDIR}/moto-1.3.14-py39.patch" -) - -distutils_enable_tests nose - -python_prepare_all() { - sed -e 's|==|>=|' \ - -e '/cfn-lint/ d' \ - -i setup.py moto.egg-info/requires.txt || die - - sed -e 's|idna<2.9,>=2.5|idna>=2.5|' \ - -i setup.py moto.egg-info/requires.txt || die - - # Disable tests that fail with network-sandbox. - sed -e 's|^\(def \)\(test_context_manager()\)|\1_\2|' \ - -e 's|^\(def \)\(test_decorator_start_and_stop()\)|\1_\2|' \ - -i tests/test_core/test_decorator_calls.py || die - - # Disable tests that fail with userpriv. - sed -e 's|^\(def \)\(test_invoke_function_from_sns()\)|\1_\2|' \ - -e 's|^\(def \)\(test_invoke_requestresponse_function()\)|\1_\2|' \ - -i tests/test_awslambda/test_lambda.py || die - - # these tests crash nose - rm tests/test_xray/test_xray_client.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/moto/moto-1.3.16-r1.ebuild b/dev-python/moto/moto-1.3.16-r1.ebuild deleted file mode 100644 index 1f3bf481fbce..000000000000 --- a/dev-python/moto/moto-1.3.16-r1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -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 ~amd64-linux ~x86-linux" - -IUSE="test" -RESTRICT="!test? ( test )" - -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/cfn-python-lint[${PYTHON_USEDEP}] - >=dev-python/cryptography-2.3.0[${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/boto-2.36.0[${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/mock[${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? ( ${RDEPEND} - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests nose - -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 - - # Disable tests that fail with network-sandbox. - sed -e 's|^\(def \)\(test_context_manager()\)|\1_\2|' \ - -e 's|^\(def \)\(test_decorator_start_and_stop()\)|\1_\2|' \ - -i tests/test_core/test_decorator_calls.py || die - - # require docker - rm tests/test_awslambda/test_lambda*.py || die - rm tests/test_batch/test_batch.py || die - - sed -e 's:test_create_stack_lambda_and_dynamodb:_&:' \ - -i tests/test_cloudformation/test_cloudformation_stack_crud.py || die - sed -e 's:test_lambda_function:_&:' \ - -i tests/test_cloudformation/test_cloudformation_stack_integration.py || die - sed -e 's:test_passthrough_requests:_&:' \ - -i tests/test_core/test_request_mocking.py || die - sed -e 's:test_delete_subscription_filter_errors:_&:' \ - -e 's:test_put_subscription_filter_update:_&:' \ - -e 's:test_put_subscription_filter_with_lambda:_&:' \ - -i tests/test_logs/test_logs.py || die - - # these tests crash nose - rm tests/test_xray/test_xray_client.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/moto/moto-2.0.0.ebuild b/dev-python/moto/moto-2.0.0.ebuild deleted file mode 100644 index c2aa50bdaec1..000000000000 --- a/dev-python/moto/moto-2.0.0.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -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 ~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-python-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/mock[${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() { - local deselect=( - # network - tests/test_stepfunctions/test_stepfunctions.py::test_state_machine_creation_fails_with_invalid_names - ) - - pytest -vv -m 'not network' ${deselect[@]/#/--deselect } || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/moto/moto-2.0.1.ebuild b/dev-python/moto/moto-2.0.1.ebuild deleted file mode 100644 index 619eb36bd860..000000000000 --- a/dev-python/moto/moto-2.0.1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -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-python-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/mock[${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() { - local deselect=( - # network - tests/test_stepfunctions/test_stepfunctions.py::test_state_machine_creation_fails_with_invalid_names - ) - - pytest -vv -m 'not network' ${deselect[@]/#/--deselect } || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/moto/moto-2.0.2.ebuild b/dev-python/moto/moto-2.0.2.ebuild deleted file mode 100644 index f8ed70266f12..000000000000 --- a/dev-python/moto/moto-2.0.2.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -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-python-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/mock[${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 index 61bc2eafe550..3bbeccc235c5 100644 --- a/dev-python/moto/moto-2.0.5.ebuild +++ b/dev-python/moto/moto-2.0.5.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] diff --git a/dev-python/moto/moto-2.0.6.ebuild b/dev-python/moto/moto-2.0.6.ebuild deleted file mode 100644 index bb3423485e8c..000000000000 --- a/dev-python/moto/moto-2.0.6.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_{6,7,8,9,10} ) -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-python-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.7.ebuild b/dev-python/moto/moto-2.0.7.ebuild deleted file mode 100644 index bb3423485e8c..000000000000 --- a/dev-python/moto/moto-2.0.7.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_{6,7,8,9,10} ) -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-python-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.8.ebuild b/dev-python/moto/moto-2.0.8.ebuild deleted file mode 100644 index bb3423485e8c..000000000000 --- a/dev-python/moto/moto-2.0.8.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_{6,7,8,9,10} ) -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-python-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.9.ebuild b/dev-python/moto/moto-2.0.9.ebuild deleted file mode 100644 index bb3423485e8c..000000000000 --- a/dev-python/moto/moto-2.0.9.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_{6,7,8,9,10} ) -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-python-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.1.0.ebuild b/dev-python/moto/moto-2.1.0.ebuild deleted file mode 100644 index 95f6f83a3599..000000000000 --- a/dev-python/moto/moto-2.1.0.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_{6,7,8,9,10} ) -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-python-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() { - # 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/notebook/Manifest b/dev-python/notebook/Manifest index 8b72a630c21e..ce06dd4939a4 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -1,2 +1,3 @@ DIST notebook-6.4.0.tar.gz 13937270 BLAKE2B 41ba6e3dd22c92b6044199737fe93563aad07117e8c64817566765d643867b582218a1b34099acf2a84df9ac9f8eb2773f6f3e6779b14255867fd97ec443df85 SHA512 8bb57b3efaaddb781ee963a569996e45c563b50b2cb918fb7722805710dd5852d895ff5b5f5575686032a037d7395aa581140b471b529d68dfcb371841607481 DIST notebook-6.4.1.tar.gz 14139457 BLAKE2B 4be00ba6cd2f66873657f8ad5f79b444bbfbb978eaac7ddb57ef5da39a81c2746e7658004179e44aa98fa5fc5954b022b2e3c0c15dac0cc6da21b95a16225bfd SHA512 aa73e90f8ad1888f469e4cb412b6f17742e3b68ce429b2feaafeaeebbbb9e0cc437f3f73f26204b8de8367620ecb492033786c00b04d641ce0bfb4df75460419 +DIST notebook-6.4.2.tar.gz 14133763 BLAKE2B 2c4f9677b014f484f7c975344f6e3aa29476b3b3bf2dd329ee527be653573f199c6d66078bc1f0787227414fb818df8df3d38e5f1bea9d3f2605f796a391cb37 SHA512 d9914c2924b7a0837295a7cfe2bdf551e1d71f35bab43bd6d12e798562c7e103f28cfdff6692e6ac5de394867071b8e1eae7a26bfd0a76b4a9304b7bea29f119 diff --git a/dev-python/notebook/notebook-6.4.2.ebuild b/dev-python/notebook/notebook-6.4.2.ebuild new file mode 100644 index 000000000000..edb51ed82c94 --- /dev/null +++ b/dev-python/notebook/notebook-6.4.2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 xdg-utils + +DESCRIPTION="Jupyter Interactive Notebook" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-libs/mathjax-2.4 + dev-python/argon2-cffi[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + >=www-servers/tornado-6.0[${PYTHON_USEDEP}] + dev-python/ipython_genutils[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.6.1[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/send2trash[${PYTHON_USEDEP}] + dev-python/prometheus_client[${PYTHON_USEDEP}]" + +# sphinx 2+ seems to have a problem with its github plugin. temporarily adding +# a version constraint. +BDEPEND=" + test? ( + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-unixsocket[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}"-5.7.0-no-mathjax.patch +) + +distutils_enable_tests --install pytest + +python_prepare_all() { + # disable bundled mathjax + sed -i 's/^.*MathJax.*$//' bower.json || die + + distutils-r1_python_prepare_all +} + +python_test() { + local deselect=( + # trash doesn't seem to work for us + notebook/services/contents/tests/test_contents_api.py::APITest::test_checkpoints_follow_file + notebook/services/contents/tests/test_contents_api.py::APITest::test_delete + notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_checkpoints_follow_file + notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete + notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_dirs + notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_non_empty_dir + notebook/services/contents/tests/test_manager.py::TestContentsManager::test_delete + notebook/services/contents/tests/test_manager.py::TestContentsManagerNoAtomic::test_delete + # TODO + notebook/services/kernels/tests/test_kernels_api.py::KernelAPITest::test_connections + notebook/services/kernels/tests/test_kernels_api.py::AsyncKernelAPITest::test_connections + notebook/services/kernels/tests/test_kernels_api.py::KernelCullingTest::test_culling + ) + + # selenium tests require geckodriver + epytest --ignore notebook/tests/selenium ${deselect[@]/#/--deselect } +} + +python_install() { + distutils-r1_python_install + + ln -sf \ + "${EPREFIX}/usr/share/mathjax" \ + "${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die +} + +pkg_preinst() { + # remove old mathjax folder if present + rm -rf "${EROOT}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest index 383e4a15012c..9f85e139b45d 100644 --- a/dev-python/pip/Manifest +++ b/dev-python/pip/Manifest @@ -1,6 +1,7 @@ DIST pip-21.1.3.tar.gz 8772944 BLAKE2B 4c50fcb7c05e05d11b137d08547d9d55f19687442b8d44caf05d19917b200bcf860032cb28745e41d51afda80a7ac09d60afb8d619ade5b965ed87bac1133006 SHA512 21bdc78f24751981ae49c9fda0430fc92b8d33eb7a546bc344e8cea4aa85dcd42191ef8eb3fdfb4f3d1cb5921698f819d73e6e190d8745cf7ddfa52732d95999 DIST pip-21.2.1.tar.gz 8781474 BLAKE2B 6a6a4972de31cea2f9ee2d70df00acec65efe344fa13e56ecf9b2f55125baa2effb30bf25c7649f5f30b2ecf9b5ebb7d32dc0f2dfa101444510c8573bd0c60be SHA512 2fff39703eb387ded66552ee62c2b3e4d18da6e8a904399919a5c51f65ddf1695ad410408fe5370877a1ce9992e7c07e091a1852dfb136ce5580e31fc1c03b81 DIST pip-21.2.2.tar.gz 8785943 BLAKE2B 3e99a4e6e01b6239ff5a45097bbae8ba3459a16d0e78f8da4fc1be0ef5986962d30ea8e376705cd7b88198e324e700d04ee25fc6d1d9faa9bb6a76ae89efd38f SHA512 81ec1819481fa2378404c580a4c60fc48b03ae9bd5c945a3def4af331c530efb19949ab45dcb4be5835673b65299e0245c28c6653f9f60eaf86be472fd31faa1 +DIST pip-21.2.3.tar.gz 8786685 BLAKE2B 2629db94e973b40c2b3b75199355b0a23d40681d3a346789ee538c5349eb9dd2d9561448ff546d9b73c2dd8573fca6853327560cce63654150a948a2cf0a657f SHA512 9df888c871040d3812a2bf358013e3af976ede1e6aebf6747527be470674bb55ca1312d54021a7913630c04b09981cf481202c8405faf08b1b37e29272adf547 DIST setuptools-57.4.0-py3-none-any.whl 819017 BLAKE2B afba86cf9aeea58ee869fdc11bbb192abbf2f89710e468b90dc291fec228ca16202483e36195a5ad4e2b8d210326bc83e2be6ec696ab413d94ffaeb05bb9c030 SHA512 9bf230f4e0e72acab07ab372a6ca05adb3d175a8079d2f73d327c632f3d27b8ee10442d3e60f4c94a6e61d5ba2212fc78187ca6e1717e15bb570bdce4263fd0b DIST virtualenv-16.7.11.tar.gz 8134533 BLAKE2B ea81e11c210d911bf9576edf7b1754721b270adcc5d9633415d33b8f659149d64932fe2d366200121ec00c266c25dae380e248add438fc357477114eba4dfb4e SHA512 82d0d2a964508511e8e1686703581ff543f65791dc2449d9741d46ea57c4c89673947d2477ba374176f05fcea2a5ca572aa650c61c4f3271c4d73d1ff9d9ff42 DIST wheel-0.36.2-py2.py3-none-any.whl 35046 BLAKE2B bc4e8dab7c74eea34d3b4a813b7eaf6295a99a396a861b6cdd76f743043e89140bad132bdd13e385e8945ce02e0798e1d3ac73fc1b23bde5b2a83e4bb4dd5cdc SHA512 6bb5119b4d3704fe1e3c1eaaa3124edab13f61b46f8a0a8e75974fac4e5b25d8b53606071a03a8d8990ad1cfe2ab247ddea260098df2c0c35ae965be47080284 diff --git a/dev-python/pip/pip-21.2.3.ebuild b/dev-python/pip/pip-21.2.3.ebuild new file mode 100644 index 000000000000..53bbe7b92a96 --- /dev/null +++ b/dev-python/pip/pip-21.2.3.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit bash-completion-r1 distutils-r1 + +# setuptools & wheel .whl files are required for testing, +# the exact version is not very important. +SETUPTOOLS_WHL="setuptools-57.4.0-py3-none-any.whl" +WHEEL_WHL="wheel-0.36.2-py2.py3-none-any.whl" +# upstream still requires virtualenv-16 for testing, we are now fetching +# it directly to avoid blockers with virtualenv-20 +VENV_PV=16.7.11 + +DESCRIPTION="Installs python packages -- replacement for easy_install" +HOMEPAGE=" + https://pip.pypa.io/en/stable/ + https://pypi.org/project/pip/ + https://github.com/pypa/pip/" +SRC_URI=" + https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + test? ( + https://files.pythonhosted.org/packages/py3/s/setuptools/${SETUPTOOLS_WHL} + https://files.pythonhosted.org/packages/py2.py3/w/wheel/${WHEEL_WHL} + https://github.com/pypa/virtualenv/archive/${VENV_PV}.tar.gz + -> virtualenv-${VENV_PV}.tar.gz + ) +" + +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +SLOT="0" +IUSE="test vanilla" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/scripttest[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}/${PN}-21.1-no-coverage.patch" + ) + if ! use vanilla; then + PATCHES+=( "${FILESDIR}/pip-20.0.2-disable-system-install.patch" ) + fi + + distutils-r1_python_prepare_all + + if use test; then + mkdir tests/data/common_wheels/ || die + cp "${DISTDIR}"/{${SETUPTOOLS_WHL},${WHEEL_WHL}} \ + tests/data/common_wheels/ || die + fi +} + +python_test() { + if [[ ${EPYTHON} == pypy* ]]; then + ewarn "Skipping tests on ${EPYTHON} since they are very broken" + return 0 + fi + + local deselect=( + tests/functional/test_install.py::test_double_install_fail + tests/functional/test_list.py::test_multiple_exclude_and_normalization + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-download]' + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-install]' + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-list]' + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-wheel]' + tests/functional/test_install.py::test_install_pip_does_not_modify_pip_when_satisfied + # Internet + tests/functional/test_install.py::test_install_editable_with_prefix_setup_cfg + ) + + [[ ${EPYTHON} == python3.10 ]] && deselect+=( + tests/lib/test_lib.py::test_correct_pip_version + # uses vendored packaging that uses deprecated distutils + tests/functional/test_warning.py::test_pip_works_with_warnings_as_errors + ) + + distutils_install_for_testing + pushd "${WORKDIR}/virtualenv-${VENV_PV}" >/dev/null || die + distutils_install_for_testing + popd >/dev/null || die + + local -x GENTOO_PIP_TESTING=1 \ + PATH="${TEST_DIR}/scripts:${PATH}" \ + PYTHONPATH="${TEST_DIR}/lib:${BUILD_DIR}/lib" + epytest ${deselect[@]/#/--deselect } -m "not network" +} + +python_install_all() { + # Prevent dbus auto-launch + # https://bugs.gentoo.org/692178 + export DBUS_SESSION_BUS_ADDRESS="disabled:" + + local DOCS=( AUTHORS.txt docs/html/**/*.rst ) + distutils-r1_python_install_all + + COMPLETION="${T}"/completion.tmp + + # 'pip completion' command embeds full $0 into completion script, which confuses + # 'complete' and causes QA warning when running as "${PYTHON} -m pip". + # This trick sets correct $0 while still calling just installed pip. + local pipcmd='import sys; sys.argv[0] = "pip"; from pip._internal.cli.main import main; sys.exit(main())' + + ${PYTHON} -c "${pipcmd}" completion --bash > "${COMPLETION}" || die + newbashcomp "${COMPLETION}" ${PN} + + ${PYTHON} -c "${pipcmd}" completion --zsh > "${COMPLETION}" || die + insinto /usr/share/zsh/site-functions + newins "${COMPLETION}" _pip +} diff --git a/dev-python/pushbullet-py/pushbullet-py-0.12.0.ebuild b/dev-python/pushbullet-py/pushbullet-py-0.12.0.ebuild index b63ba4f769d7..69958799cea8 100644 --- a/dev-python/pushbullet-py/pushbullet-py-0.12.0.ebuild +++ b/dev-python/pushbullet-py/pushbullet-py-0.12.0.ebuild @@ -34,8 +34,7 @@ distutils_enable_tests pytest python_test() { # Skip tests which require internet access - PUSHBULLET_API_KEY= epytest -k "not (test_auth or test_decryption)" \ - || die "Tests failed with ${EPYTHON}" + PUSHBULLET_API_KEY= epytest -k "not (test_auth or test_decryption)" } python_install_all() { diff --git a/dev-python/pyspelling/Manifest b/dev-python/pyspelling/Manifest index 455a601fa854..74bf61f4aef9 100644 --- a/dev-python/pyspelling/Manifest +++ b/dev-python/pyspelling/Manifest @@ -1 +1,2 @@ DIST pyspelling-2.7.2.tar.gz 150911 BLAKE2B 813eca2c4bdf377fd7babec376dd2991713db59c66b509c656cb24a314776c2cc360ec9ff884baec6607f27cae3169672746580d3c58abad35dbfe9f605fc51e SHA512 2937c1985ec6f27713275d9f31d3529e35f219df211be0ac9f1ae89d5c92a1e52c51b982291be7bd25375eb6404f52ac0ad893afbe73aada1fb03923dc09f721 +DIST pyspelling-2.7.3.tar.gz 151244 BLAKE2B bdfb40c6f39dc5adcc31691ef75b2582e78e8d0ed800ef0e263f8f98987ce3911650cb08085315c617c185e6ef183a11508fde4608349d0dad435b9f4fe1da98 SHA512 6903b620993933e80dfef320c0218c6372ee37f1db958b489d273aca24dd91bcc86fd12967848b8e31c2d7d458fb5fbfb521f41328c5955a1914f7d552ae7341 diff --git a/dev-python/pyspelling/pyspelling-2.7.3.ebuild b/dev-python/pyspelling/pyspelling-2.7.3.ebuild new file mode 100644 index 000000000000..62c341d6c8f1 --- /dev/null +++ b/dev-python/pyspelling/pyspelling-2.7.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + ~dev-python/mkdocs_pymdownx_material_extras-1.1.3 + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-minify-plugin +" + +inherit distutils-r1 docs + +DESCRIPTION="Spell checker automation tool" +HOMEPAGE="https://github.com/facelessuser/pyspelling" +SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + || ( app-text/aspell app-text/hunspell ) + + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/soupsieve-1.8[${PYTHON_USEDEP}] + >=dev-python/wcmatch-6.0.3[${PYTHON_USEDEP}] +" + +BDEPEND="test? ( dev-vcs/git )" + +distutils_enable_tests pytest + +python_prepare_all() { + # mkdocs-git-revision-date-localized-plugin needs git repo + if use doc; then + git init || die + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + git add . || die + git commit -m 'init' || die + fi + + distutils-r1_python_prepare_all +} diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest index 895684a9d9d8..600fb03ac910 100644 --- a/dev-python/reportlab/Manifest +++ b/dev-python/reportlab/Manifest @@ -2,3 +2,4 @@ DIST pfbfer-20070710.zip 677333 BLAKE2B 100214476a361a5e5d1f3da0999591345f6e3a3f DIST reportlab-3.5.67.tar.gz 2911726 BLAKE2B 8dbd3bb54c2c651616c3b6be905ac7b43b3a8f30f630d2f9b91882416cb4513751affa507870fdd801b5aa53480498ecc9a5fe3902ab38d72288b6f48ce892e9 SHA512 5a0ec58f0ee925079f3756bac309bd5aaf159118a4ed7ec6467721ead23e5db37839014bb49f1804a0dee4532ce21f9c78adec99ec61a4aeffd957184d489a6c DIST reportlab-3.5.68.tar.gz 4512985 BLAKE2B b38fea7704fcf08ff25d314286830473b90e75a80bcc65fc7b2cfc4c270347aa7c68f31716e635048428c24bb0ca0afc3d0e22bebedb1d1bc50901c13d278fc4 SHA512 4d41f9d9708d2bd172928985e1e2d22ffcc61d2d6fb21bdf1f3275f9ff576f06e712cd9c9d1707ff364608ad8bed6c30754893a7b142dc3accd6eef8aa19c975 DIST reportlab-3.6.0.tar.gz 4499377 BLAKE2B d72f1fb8c05f192ca7e9a13cbf3142e1b14b4bdd6c6eee7da6bb3e48a08500f2c1aebc671d06c020e1dab6107b0b52490c0c72faa82cba1ac66c03014a6130c1 SHA512 64ca4cf868d6d68432e933176087323c2bba58afe2bf444593831afad2471e07b4f33dbeff02fbef009ae7211ef781b1499d3881f27d583dc36ce1eb8f004c4f +DIST reportlab-3.6.1.tar.gz 4511585 BLAKE2B 7f435f0f4bd7ef57f6ae54dd1efad339165ae9aff72e5bb5b852f46f766f6e50cb9bda3fcde88489323ec430c76ab59ad69e29b9068e541e76e84a270598d238 SHA512 ecccfb8300493eb0a8b6d1ed51ec8eb0501e74597c62ab498ac6766984d2ee9d1ecb2ce3dcd4ca2d47f5aacce08ff757afd01df995f0aef14ed088ce937616bc diff --git a/dev-python/reportlab/reportlab-3.6.1.ebuild b/dev-python/reportlab/reportlab-3.6.1.ebuild new file mode 100644 index 000000000000..05b4f8f567b8 --- /dev/null +++ b/dev-python/reportlab/reportlab-3.6.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Tools for generating printable PDF documents from any data source" +HOMEPAGE=" + https://www.reportlab.com/ + https://pypi.org/project/reportlab/" +SRC_URI=" + mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz + https://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + media-libs/freetype + media-libs/libart_lgpl + sys-libs/zlib:=" +RDEPEND=" + ${DEPEND} + dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}]" +BDEPEND=" + app-arch/unzip" + +distutils_enable_sphinx docs/source +distutils_enable_tests unittest + +PATCHES=( + # bug 738312, remove -L/usr/lib from link line + "${FILESDIR}"/${PN}-3.5.48-usr-lib-LLD.patch +) + +src_unpack() { + unpack ${P}.tar.gz + cd ${P}/src/reportlab/fonts || die + unpack pfbfer-20070710.zip +} + +src_configure() { + DISTUTILS_ARGS=( + --no-download-t1-files + --use-system-libart + ) +} + +python_test() { + pushd tests >/dev/null || die + "${EPYTHON}" runAll.py -v || die "Testing failed with ${EPYTHON}" + popd >/dev/null || die +} diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 281b674bbf4e..ef759a3ac383 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,3 +1,4 @@ DIST python-zeroconf-0.32.1.gh.tar.gz 116507 BLAKE2B 03de415620745b75cd43be74b724faf909aad9628175f18cf4b2c04245d02adbca984eaa861e807729f36caa3feecab913f2e4aafcdd9aac1af02de6eeefbb3d SHA512 cefcd1abdc3ca2b5ed796aee09e6826c0d0f54343bdefbf45c425d6e033542dc061c84fb4438ba53774d87c6516801c6e2196c1e6cfdd9dbf9187f5d8d4b1b11 DIST python-zeroconf-0.33.2.gh.tar.gz 118266 BLAKE2B e239443c778d24895a830ac8d4f23be5eeac701b92ddf945efc955a731cbce62bea10243f57a0929ad21c4444d32c37b0a9e23b53e734362b9c6b9ce85e2eb59 SHA512 9631dc348baf028794934d826a1fd2e874cf9039e6fb1c93a1b9a8e2a95ae436ab2fc1a955e2d89656c37a56b71075b578857f6de041a7e61ff55c7a62a2a7a3 DIST python-zeroconf-0.33.3.gh.tar.gz 121202 BLAKE2B f457a65d26b58e4dac6c83b66be48e57ff0c34dd59dc3bfa008e2fd204f2f290088e6c784580114b91ddefce1cd2a3cea9310cfd4848c983c04749a1dbf3ebb8 SHA512 4e232fb9ad1e447333880d9737c3af3e9c652db2e0d7187d485cb6cdf8fe58076b78da4e1db3d2467b147c71343aeb18878f259bbfde6acd0faa3c4b9196222f +DIST python-zeroconf-0.33.4.gh.tar.gz 121380 BLAKE2B a1a8ac266aaded65337aa9d5c26d8a52b6329500a1a18354148590fdb47988f200b0658a41e18b78694cd9f95f1322cce0ff289a795bf9459ab6d383d5ee13f9 SHA512 fa6dd453ea22beb113c53941ce750e214da3211b6fc14d8b0cb575b927cff14759c49fec4e9ada4a2fd4ebc0bb3b0b355a2454ca0e128a3213fc8be41f096af7 diff --git a/dev-python/zeroconf/zeroconf-0.33.4.ebuild b/dev-python/zeroconf/zeroconf-0.33.4.ebuild new file mode 100644 index 000000000000..c406eead3ace --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.33.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +MY_P=python-zeroconf-${PV} +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/jstasiak/python-zeroconf/ + https://pypi.org/project/zeroconf/" +SRC_URI=" + https://github.com/jstasiak/python-zeroconf/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=">=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_test() { + local excludes=( + # network + tests/test_core.py::Framework::test_close_multiple_times + tests/test_core.py::Framework::test_launch_and_close + tests/test_core.py::Framework::test_launch_and_close_context_manager + tests/test_core.py::Framework::test_launch_and_close_v4_v6 + tests/test_core.py::Framework::test_launch_and_close_v6_only + tests/services/test_types.py::ServiceTypesQuery::test_integration_with_listener_ipv6 + ) + + epytest ${excludes[@]/#/--deselect } +} -- cgit v1.3