diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-10-19 06:34:12 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-10-19 06:34:12 +0000 |
| commit | f9732417b77e57183faef078039362002179f69f (patch) | |
| tree | 1f5093e2db7b15f3c9b1dca594368bcd3f98d604 /dev-python | |
| parent | 0f3decf42edb8387e49243b3994cb9621f1e4028 (diff) | |
| download | baldeagleos-repo-f9732417b77e57183faef078039362002179f69f.tar.gz baldeagleos-repo-f9732417b77e57183faef078039362002179f69f.tar.xz baldeagleos-repo-f9732417b77e57183faef078039362002179f69f.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
27 files changed, 720 insertions, 11 deletions
diff --git a/dev-python/Faker/Faker-19.11.0.ebuild b/dev-python/Faker/Faker-19.11.0.ebuild new file mode 100644 index 000000000000..eefcf36cb4ef --- /dev/null +++ b/dev-python/Faker/Faker-19.11.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin + epytest +} diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index 9cbd585695ab..0ec9fb0fd012 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,4 +1,5 @@ DIST Faker-19.10.0.tar.gz 1680833 BLAKE2B dcb8e630597f195f5a2e365f7fb362dffecde3828c899e844d6e2ec36f4a4451bac58f3f5ec7f349e81da2ba94f2f0229f061a3b9eb1bd3afbca726e33dd3a09 SHA512 6bd787d3c511e82081869486d36c4512af066736345f293a4b1bba4afa680084d5c9ed2099d6a20aa4dd93c0255cc0623bf3972744280dae7c8492641f1612fe +DIST Faker-19.11.0.tar.gz 1694359 BLAKE2B 7e24dfa58136626e7dc82f458388749cb7d506a9a0ea14bccc13a302f4b89aad7eaf4703b5b59726588ef56e2f80de27496d53b8035ab27b5f0982d838ebbe0e SHA512 df1da4e1e02a612b755f5167941181df0e08d4701f31c52618915a0b5f3f92adbc05ba816d2e975d8123e1fe03ed8e1dbd600519ac7c37b1fa85c86022c39efa DIST Faker-19.6.1.tar.gz 1668966 BLAKE2B 48e1d0c658e7cd482660b797e5ac8e107c84e7d2be9ab86e55cb5f0da662ed742565c1f5a3176d1f2588b8ffafcc37e7dbd072c78e5b1ab94bea8678ea9f1d48 SHA512 1511f03cb41f70a22784a8dc1cdb5b58fdc19fc6f67d4a414a9b15619d019ec6b6564b7fa50db03535aaa3650ae93e4c948c732ae65e61652d7469d9ad83db36 DIST Faker-19.6.2.tar.gz 1680331 BLAKE2B 3453c531a1860c3e1782e24ad2d892d8291e1fafc698483639f43e7bdd281cee6e5c8bf7e60181db72011c1434ca3bc1c7f2a877ce136bf6e4f00286249033b9 SHA512 8a7929135ad562fafc2c95408ed644e7b965215d3e9ea2f2682e2aa2a5bab9759ab42d67380c7f8c89cf099cb65ad0dd13f6575c028f20550ef157f7db90102b DIST Faker-19.7.0.tar.gz 1680303 BLAKE2B 80169d818749003b6961adb85969eb025c38b81d8d333466b304815396aaf646b1a9e1fb9457e68292600576fa6a91ae1851af85e2bc3403dfa383f223fe49ab SHA512 f9b47d0bf52f5ba3a300222d45ad087eedbdf9ed7b1cae11cb600834f8919247e9000211157811dc016be7040925ec7930a407e8ea497ca87cae382d1edd2a56 diff --git a/dev-python/GitPython/GitPython-3.1.40.ebuild b/dev-python/GitPython/GitPython-3.1.40.ebuild new file mode 100644 index 000000000000..6ae3a1aeb0c3 --- /dev/null +++ b/dev-python/GitPython/GitPython-3.1.40.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +TEST_P=GitPython-${PV} +GITDB_P=gitdb-4.0.10_p1 +SMMAP_P=smmap-5.0.0_p1 + +DESCRIPTION="Library used to interact with Git repositories" +HOMEPAGE=" + https://github.com/gitpython-developers/GitPython/ + https://pypi.org/project/GitPython/ +" +SRC_URI+=" + test? ( + https://dev.gentoo.org/~mgorny/dist/${TEST_P}.gitbundle + https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle + https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-vcs/git + >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + git config --global user.email "travis@ci.com" || die + git config --global user.name "Travis Runner" || die + + git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die + git clone "${DISTDIR}/${GITDB_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb || die + git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die + + cd "${T}"/test || die + git rev-parse HEAD > .git/refs/remotes/origin/master || die + TRAVIS=1 ./init-tests-after-clone.sh || die + cat test/fixtures/.gitconfig >> ~/.gitconfig || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # performance tests are unreliable by design + test/performance + # unimpoortant and problematic + test/test_installation.py + # Internet + test/test_repo.py::TestRepo::test_leaking_password_in_clone_logs + test/test_quick_doc.py::QuickDoc::test_cloned_repo_object + # requires which(1) + # https://github.com/gitpython-developers/GitPython/pull/1525 + test/test_git.py::TestGit::test_refresh + # TODO + test/test_submodule.py::TestSubmodule::test_base_rw + test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit + test/test_submodule.py::TestSubmodule::test_list_only_valid_submodules + test/test_submodule.py::TestSubmodule::test_root_module + ) + + epytest -o addopts= test +} diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest index 3ff48331f5b2..1e3234cab297 100644 --- a/dev-python/GitPython/Manifest +++ b/dev-python/GitPython/Manifest @@ -2,5 +2,8 @@ DIST GitPython-3.1.37.gitbundle 9744035 BLAKE2B 57f16e0ebfdf6e2078c8a8fa220185ad DIST GitPython-3.1.37.tar.gz 200076 BLAKE2B b5db83f6712a94464fec98229af739ca7eb71eb47bd03164e94bb680c03bd84e49c7956e3a58937464c6fd6e4254a24d5e89150f40a59c5d101d7e56daca8fba SHA512 c036b5a12b2839a152d21cc6163445c067d70b18984888e799b0900449bea0a5290f6520fae5cab83fb8553af9c6bb0150c9b28103311deecb3686de30dd35f1 DIST GitPython-3.1.38.gitbundle 9830368 BLAKE2B 4a0e5c9f7f859b49d36d8d8deef79aa59615698416586d2802d428d21b959bd80da78555588f51db4833f35e2cc63d56ef9188a59916693af484e6e6ccc4c6b9 SHA512 5fff695ac828bb0495fb8dd9bc75f57e44d721ad8010577d567c34638e75855d22ce6560649cebe26a84f1baa0f245b82b9369e19ce6e3af36eadcfd51049c23 DIST GitPython-3.1.38.tar.gz 200632 BLAKE2B 56c9b0f96c70e9f021d9830b220a43902de58271c38b25886c93d33706bd5a4dd081ca3cc3c126c7d5da24ed715a36b570b7a81f9d71aa3c1bfc77f2f7865730 SHA512 39bdf3dc3b1b1467a6f5426817977a353d54d4798451126f847911039de84d7d8030bc4d4263fd7584685a5a8113fc62d29f6c98c0bc95b646ee4f2f0ef60862 +DIST GitPython-3.1.40.gitbundle 9832215 BLAKE2B 2aa1dac889267bd0b81f9451bc347b842cc5ad542a490fcc6f951cc1ee40f807c7cb5a178772c8abf43893fd9815aa570d2e53a561a0c8bf431dc5fa6429cdfd SHA512 25ca1f1b620e72a1c58a7b609dc6e761afdb1502d35ad26411fde47d5d2099b6bf6160ce85288bf280e28b3c8f30471c9f791cfb66878bc1ef7d46f58f880e81 +DIST GitPython-3.1.40.tar.gz 200655 BLAKE2B c95cd864bfc664eb704ac3702f5a6c78fc0f2288af945001622cb78c2e855fdf3af068736c569392a29b201dc3952d0574c7f7c39c0531269b6efb55f5506344 SHA512 e8ade266002aa6fcd4b12e3828e7ec45b4dd894c897f31946dc29461b7e81b380ea832a9ea270533e7491e006c92948c62bbc21ab960467cf6287d0bac5228cf DIST gitdb-4.0.10.gitbundle 1485461 BLAKE2B 5a217c609a402cd7888da1502b25d217812503cd703cda8bce3c7159732c59d7f4bcd52688a5da457f43fde1645a6db79588a6fc8cc8dff5c58e9dcbaef79b9a SHA512 98dba48f75e28eaded791f91c611e07bef73c28a7f8ac58889b05d04f4b3699a85a5be1c829ea3e2f380507a9009f35bc552bb4260564127e2863807f9b4712a +DIST gitdb-4.0.10_p1.gitbundle 1612782 BLAKE2B 9a424df0afd174da722c4721a5a52db83dccc5a2d69dd186622e5e21c48a6fdb6f20d84ad959f2070d8ff4cfa1e9be8f99b97e2a6ce5aab1696737858429e018 SHA512 b52a978ffbda8fb048fa0920cc2cc597b077b468dd77ce1a8e784ca7c724760eee75b168ac98f1051b03d364ba88812e8cacd5a7f6fa658cf312e626d0b2ad0a DIST smmap-5.0.0_p1.gitbundle 324544 BLAKE2B 69098c7644abaec7f32226cad7ff3008e49d94c9f7349d0b815223249c20bfd2b51a50474e51864821f30c98f5982e5c35ce9217145a1e5d11326492c41faecc SHA512 4f36ca2c94ddfeb949c880fb52c3b1905d144dd59b95f2f05c93ed7b694dcb128218a2800ca23b721fbeff9a1920e8c3326675098e2ef0361ff6e90c8c2850ba diff --git a/dev-python/agate-sql/Manifest b/dev-python/agate-sql/Manifest index 30722dc57daf..d233c4f4dcae 100644 --- a/dev-python/agate-sql/Manifest +++ b/dev-python/agate-sql/Manifest @@ -1,2 +1,3 @@ DIST agate-sql-0.5.9.tar.gz 15434 BLAKE2B 4825bfc5d0f78e0cd1bf318fe8797bfe03deaff1ffc962e0f082128af9d05afad97b7488d66b76d59411eb5dd889229be1fe05cf5bf55db4084f3451b21440b2 SHA512 482f257bb16e142d9380b9ae7590f50909639729e229271843686d6316ebfba0e77daac47e809b7aad4ef89d6c3810382d0b6817a418406bf73f13e266e5bcca DIST agate-sql-0.6.0.tar.gz 13942 BLAKE2B c7940274a8625585fa92c81fdd1d2e2f53e76db3b14620e406df7609057482f8641cfcf20a486bf6f8db381362ee367b4dad9b6a7f04909f5cba4c491d01fde9 SHA512 74e90dad3776f817e92ded312cdf87c78754e9a3b5611a681a4a85d7a8357577a9e4dbb70b453c589417990f3f0a04195a8b0076fd03a1e2012b82893208b824 +DIST agate-sql-0.7.0.tar.gz 13488 BLAKE2B 1064747f1f2a11f788c0828123ae3532ffd0aa6b32aa423b877e350e35e4231c21e73226920110ad9369b0b583167e47357acf456607e75e0ad9d5027e265c9c SHA512 6a29bcb19cac6e80a6df8ad51c06838fa4c48a1e5b207a55f7ebaf3b7af1afd56fad61c560f4c7a11da24e9460ab0a8ea6d9459309e05ac162f3ddd3737bb868 diff --git a/dev-python/agate-sql/agate-sql-0.7.0.ebuild b/dev-python/agate-sql/agate-sql-0.7.0.ebuild new file mode 100644 index 000000000000..774384365c87 --- /dev/null +++ b/dev-python/agate-sql/agate-sql-0.7.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Adds SQL read/write support to agate" +HOMEPAGE=" + https://github.com/wireservice/agate-sql/ + https://pypi.org/project/agate-sql/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/agate-1.5.0[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/greenlet[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires crate + tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_dialects +) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index ca3c47e5b28c..b9e5911a8e6d 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,3 +5,4 @@ DIST boto3-1.28.62.gh.tar.gz 712305 BLAKE2B 1d61f857143f9471a254e035cf532cab3869 DIST boto3-1.28.63.gh.tar.gz 713769 BLAKE2B f2e300458934893bb6d2186e900c4ba9abbd51d2ffabdbcd3026394315653e64fdc486f3ed4e33b26bef160b00e75acea875278eab03b4eeb50b5ecc94d4c0fc SHA512 782c7bb48af31638899e8bcf8fc87f67ab793fe724392be90951ece61b165f55d1df47585bd5211d7ecf3c989e5316ff9db774c8f0f357d1afc2af3ca0e49879 DIST boto3-1.28.64.gh.tar.gz 714823 BLAKE2B b051c57d2852699d2c18472629934b97e76f30b1e6e0f398fde113771146cd65f8042bb8622884294fb802424b7beb498648d558f6d5cfc3dd48b1100dafc2d2 SHA512 ca0042e173c4a35dc9d6ab8ed362d3308753d3722bb4cf25302fd0018c5d94e66a2ea288610192ad5a353ca54f0ab8f1942224269935b1fe3444b2e70842da13 DIST boto3-1.28.65.gh.tar.gz 715573 BLAKE2B 24cf962b2b9e5c52f0e8d86e9acd730c4fe48bd7634ac65ccdf344985e82c51af05ff10f903cbde5048e8510adc5a83992cf2ad4ddf880435c121b20f981a6f6 SHA512 ea8ff1b72b5b8db00c959abf522a7aaf53bccf9b1e06f8ce70052cc752d18b73a8bc75d6bd97bd0740acac5bf3fd68f6fa39fc8aa084128291940c93d6745bf1 +DIST boto3-1.28.66.gh.tar.gz 715939 BLAKE2B 4fda459ac4b066eae30a9f12ea53f2842dff2e4055cac8462ce147cbf2a77d4283ce6d814cefd0ecaff609d3b9401fe9216a1f54d464d2a1d64514ffebbc8352 SHA512 e44a59e124cac7d817a8fcc09004b557387369d5d02e55675e3ef5345a54f1ec5b60dc9558e1a1ae778841dbe7c4d29f27ca8ff066128c351349109d6f95aeab diff --git a/dev-python/boto3/boto3-1.28.66.ebuild b/dev-python/boto3/boto3-1.28.66.ebuild new file mode 100644 index 000000000000..fc1e40c08394 --- /dev/null +++ b/dev-python/boto3/boto3-1.28.66.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/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/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~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.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 365ae59832c1..8f6ff230fe81 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -5,3 +5,4 @@ DIST botocore-1.31.62.gh.tar.gz 11961556 BLAKE2B 315a1ba1543ba5b92c0a0394a4a21b1 DIST botocore-1.31.63.gh.tar.gz 11975759 BLAKE2B 3e757c6303f3390d3d563187c47140042d09271b16022a7a633bf68dc7188d42ac5a73838d2ae0556c8eec63296bb3f3b3f1011889fa7c10d660654695cd70f1 SHA512 39f1b6cb5c61a55a6f01e41750f651baf16c6d66e0b9e30cff042f54d03c0e862ab91a8f918257df8da678b13e732c68e887b21aa00006778bafad5361f4edd2 DIST botocore-1.31.64.gh.tar.gz 11983429 BLAKE2B 636f0c394a3af8bf174f992444e3e352893f3e8cf11e9732a6e73af3f155b638e9ee3060617bbf184b5872768257ad81aa95379b48452a1fe8a6bc100f601074 SHA512 375b406eb16f93d0ca9631fe9943959d24b62ac579b70f0782f6b386933fb3de25343c05bda7667c441c050ccd10c9c5a254bfd8a620610adb7669ed326a0203 DIST botocore-1.31.65.gh.tar.gz 11988384 BLAKE2B 38c563e13e4205af8f41622eb0715ae11ac2214979d367894afc75a872e2d2d38be57f8b8a10efcd847bc8751b09e5d4394f21aa8bf4358d8ec55888adcb68d9 SHA512 1919efbf6d807a23d33050c7d306cc63bf85f088b84b6ea18a58b40eb0acec4e2bb6acd3150bd7b2939bed594cfc3fa681c094b35b8ca049ef2299c60502c3d0 +DIST botocore-1.31.66.gh.tar.gz 11990356 BLAKE2B d7cd9963a5911bd14efe10fc44bd723c353f1f1dba92ee201f7bd93c304d6ead63cdcfd2811636b3b5a40b1b4b803391f409093077c273e251de24727d60ee19 SHA512 133ddb2350c350808b553c9d778f2d9f7a5ac3837b94b9475bccdba1f1c90365d4e85f92630d75f2afca865b56ad320eb995ebed23b4a5207f4aa2230eb9636b diff --git a/dev-python/botocore/botocore-1.31.66.ebuild b/dev-python/botocore/botocore-1.31.66.ebuild new file mode 100644 index 000000000000..9588357367ec --- /dev/null +++ b/dev-python/botocore/botocore-1.31.66.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/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=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 50f661f68343..b6d6ee5ca36e 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -3,3 +3,4 @@ DIST cfn-lint-0.80.4.tar.gz 3657880 BLAKE2B 8507c2381bfb7e7f796eb8fbc505bbda48bd DIST cfn-lint-0.81.0.tar.gz 3688759 BLAKE2B 595429d5891b5a4b563645c2b3ba55e8c79179419de73bbaf7298462c40431074ac4c31c7b4fabd037ed252771f3961a006cc2ea4095b79bf0e7dab4c952b4d3 SHA512 cbc4a7183c147df9c057420dd9f407762fd79a76447212a4c8ae183c3915061b2a93d3d1cc18a733ac809a81463b1f8cab68b031af50c56441b269c559abf7c0 DIST cfn-lint-0.82.0.tar.gz 3714744 BLAKE2B adaf9e7482983f6585d9ae83979d3066533eeb6192019b621e206d144fbbb0ae0bcb9f3f70602d41cc3958218130ecdbc54eeb7f54f645c729cef1eb31bd9aae SHA512 68c90bb34be029c635f0e1caede46560b011d92a149b701fb3e2aa5794462a9e28addd4489e9fde06df110684728a7dbb9c383a37d7510e076a30d5b7d653cd9 DIST cfn-lint-0.82.1.tar.gz 3714778 BLAKE2B b06678e0046ffaf9d90245105303c37d8bdca2b5a3e77dac37969185483a4c60b43de418e75c76fd49f8418eddc2892bec91d0a4fac92831d8840f174f841e9f SHA512 6bbce9cb54db302298df811ca2ebbb7fffe01ad14e31808fb66b257c25606baab9948e31d4bb113e816510a16737a33be5a5e4effc6b6f30c56eb232f8f8ccf6 +DIST cfn-lint-0.82.2.tar.gz 3714901 BLAKE2B 76077d606ac645953f71fadf5b096e3a8e4a6e7c71b25af9647e0c155f40790ded2d96af93b959c00641475481758abc7af215cfe1004aeb05c90f3e85210bde SHA512 91f93ffcf39883dfe8bb8e15298bf9bfec4c952762b9fec162107ecf70f5a11c44baa1ea3121db9f710375b3ab5afe11dca7142251ba070835c80accf0e41d9d diff --git a/dev-python/cfn-lint/cfn-lint-0.82.2.ebuild b/dev-python/cfn-lint/cfn-lint-0.82.2.ebuild new file mode 100644 index 000000000000..ae6e9729e19d --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-0.82.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.75.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${PYTHON_USEDEP}] + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i setup.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/csvkit/Manifest b/dev-python/csvkit/Manifest index 81b0a3aaf266..6b18c145cb84 100644 --- a/dev-python/csvkit/Manifest +++ b/dev-python/csvkit/Manifest @@ -1,2 +1,3 @@ DIST csvkit-1.1.1.tar.gz 3792699 BLAKE2B 730dad274fd873af6903f815a6d2a7dc70d48a845347be644e573fe2772f53786cbf20a631bd8a7c81ffeac03c92f00607be582fda4cd1b6a7efe93d30070182 SHA512 16825ba629ba39022c7537c210f0c5e51f7b03c0552a16fd57b86b0cfd9ff883937d5be21a1a7ef583cf94ea56bff37de259684c84a50d5e9c3ec10f8a5f33dd DIST csvkit-1.2.0.tar.gz 3792364 BLAKE2B b5d26afc485fdfdd03d1b3036bb6f24dff63568333fb262bcab3086f546cfb72b6981d520d531219a01a4d99357d8067d1676779ff6be116f08724c1f6ac0faf SHA512 3b59908e5c8afa5be2a71940ef9e04f9c55ab4703ca7827bb68975a1c43584797e75edcf3a6ea4861ca5214fbe45e11fd84560bb05f314508040dcde513f6178 +DIST csvkit-1.3.0.tar.gz 3795356 BLAKE2B d750464b9c39ddb1456a59741b30a63bf59146732f937129c9913af3c660c52fb73721a174b5e7b9f8446525c5e70d3f0735e20686b82b2daaeed8a5fb3a30a1 SHA512 ab78359f47177490689dd3d98ff473c4919c49ed4f603208a72ee1bc6bcdbc4aedb179a1833a15c64dbc9465bf48156813ebb5fdfc52e8c463b2a489b4f789a0 diff --git a/dev-python/csvkit/csvkit-1.3.0.ebuild b/dev-python/csvkit/csvkit-1.3.0.ebuild new file mode 100644 index 000000000000..f1c6f11ca1e7 --- /dev/null +++ b/dev-python/csvkit/csvkit-1.3.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A suite of utilities for converting to and working with CSV" +HOMEPAGE=" + https://github.com/wireservice/csvkit/ + https://pypi.org/project/csvkit/ +" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/agate-1.6.1[${PYTHON_USEDEP}] + >=dev-python/agate-excel-0.2.2[${PYTHON_USEDEP}] + >=dev-python/agate-dbf-0.2.0[${PYTHON_USEDEP}] + >=dev-python/agate-sql-0.5.3[${PYTHON_USEDEP}] + dev-python/openpyxl[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/xlrd[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # fails depending on locale, let's not force en_US + tests/test_utilities/test_csvstat.py::TestCSVStat::test_decimal_format + ) + local -x LC_ALL=C.UTF-8 + epytest +} diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest index 7db9ccb056f4..e8eda7675d0c 100644 --- a/dev-python/dns-lexicon/Manifest +++ b/dev-python/dns-lexicon/Manifest @@ -4,3 +4,4 @@ DIST dns-lexicon-3.14.1.gh.tar.gz 6747567 BLAKE2B 55ddba2caf71b92ad0e5f34457d33c DIST dns-lexicon-3.15.0.gh.tar.gz 6200937 BLAKE2B 94ff86424e5f9d03d5ec059359f684cbcda8fd617f84510c7154c2f48072b766bab0497ef1dd46c630b25f8196d177715eeaa9223bf2b502f125526120f91327 SHA512 22e6f11e2b5750ff44c8a72b0e6c0a1a4126e247074b87cf7fbbf403d8858c261fb2c57a5d01daa218e4b3448782ccb5567fd6f29da78baabb2aded90a82c97c DIST dns-lexicon-3.15.1.gh.tar.gz 6201895 BLAKE2B 85279f48b55bc4fac4017874728bdb089ec120105051119c229892335bead4cd2c2ee8a3a2527ca43e23e3c103bc3d0fbf3eef2f26681de0f8d07b0de10cc3eb SHA512 406a88808e0200cdd8e510e4a99688b75e3333be306b209931bd3282d9cd80fca15cf0b50a537d208f4b41cc6022e8501de6fbe83e20b426a8dc28724cd92fb8 DIST dns-lexicon-3.16.0.gh.tar.gz 6198018 BLAKE2B fcba99b0e1e93cf585043c58d0b7c3efa972976c8ac9db491a0081c46adad7720f0039cbb4f10af3c72ee8bf83cbb549fb6f3f511e0774161562b899fdc425b6 SHA512 1de871ab54b0f4a40f5c634f69d4c73b4233ca37f740710d78f2b2b298f972b93992bd44adf64d36dfa2fdfefc0cf25a862066ad391be695c403388c5cbb9c22 +DIST dns-lexicon-3.16.1.gh.tar.gz 6199830 BLAKE2B 0965fbb325232e7d0f8cc5f0eb34eb8821b42de4aa16e7e96adb8bd88e329756768347a3a174daeccac6d4576f7b88f252516a4b3a416c0be23b4ec78525e472 SHA512 7cf2392ec94871076f13e443a6f8c1e9486ceed44c7a23f28e29a98ad0ee8b5f3ae534d3627b4f04fc77894059a2f8a49b12bae3f6faa52a4cbd175bd6cd6e99 diff --git a/dev-python/dns-lexicon/dns-lexicon-3.16.1.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.16.1.ebuild new file mode 100644 index 000000000000..388fb5f68dd8 --- /dev/null +++ b/dev-python/dns-lexicon/dns-lexicon-3.16.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way" +HOMEPAGE=" + https://github.com/AnalogJ/lexicon/ + https://pypi.org/project/dns-lexicon/ +" +SRC_URI=" + https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/lexicon-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pyotp-2[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tldextract[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/boto3-1.25[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + dev-python/zeep[${PYTHON_USEDEP}] + dev-python/vcrpy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Requires the "localzone" module + tests/providers/test_localzone.py + # Requires the "softlayer" module + tests/providers/test_softlayer.py + # Requires the "transip" module + tests/providers/test_transip.py + # Requires the "oci" module + tests/providers/test_oci.py + # Uses tldextract which needs Internet access to download its database + tests/providers/test_auto.py + # All recordings seem to be broken + tests/providers/test_namecheap.py + # Broken by minor vcrpy / urllib3-2 incompatibility + # https://github.com/kevin1024/vcrpy/issues/714 + tests/providers/test_route53.py +) + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + optfeature_header \ + "Install the following packages to enable support for additional DNS providers:" + optfeature Gransy dev-python/zeep + optfeature Route53 dev-python/boto3 + optfeature DDNS dev-python/dnspython + fi +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..736a1167c898 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,12 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest index e6cbb3781940..42c1c66461e9 100644 --- a/dev-python/mypy/Manifest +++ b/dev-python/mypy/Manifest @@ -1,2 +1,3 @@ DIST mypy-1.5.1.gh.tar.gz 2901212 BLAKE2B b136cf061162bc50a48f1556763d7a1258b5a29b63a77db9190f89c56d3e85375a2b0e826d75472a0dc37df4d3391f2d85bb5f1f29c2907055a978e3c8d75906 SHA512 2c81322c0e7d9621e6d189f4d9d25d77c5fd6decbb563c8d0015e0f94ff1ff8206e5b7a38884edd3eedb99e839c03283ebfa7d86577c9f8e0d707c0cc4eb8fed DIST mypy-1.6.0.gh.tar.gz 2923757 BLAKE2B 15e0fe124b7024a3e89a8c32c13404f33bc56a3ff29375d006bfcaf9de359ea59025ba07e3726c7a4b402f4b7aca1256859585e1500891fb1e5f996b19dd499a SHA512 245324a5ec8a98e18c31159c5cb907ce1b60323428942b9fd60909a3b117ae46eeb97792fb1f30562fa411edb6c9e903f87b5b232a4be1242abe28d88406f7c4 +DIST mypy-1.6.1.gh.tar.gz 2923973 BLAKE2B 1abaaab0c4ca4daa4914d69196312e371d030b6f81616da66102c5fcf6ad55ed2a6a9d56f9a55d2b6ebeb055b40947ab042e7b8744960185f5343dd9f05f9f4f SHA512 eac6b17dd418146c365a446e34c2cb403692a6ffa08b06a94c54accfbcedd441284c95894ef9f9b83e48df81edc35893b17163f6dba9f81fe7e9a8527401968b diff --git a/dev-python/mypy/mypy-1.6.1.ebuild b/dev-python/mypy/mypy-1.6.1.ebuild new file mode 100644 index 000000000000..a2a0d25e48d1 --- /dev/null +++ b/dev-python/mypy/mypy-1.6.1.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Optional static typing for Python" +HOMEPAGE=" + https://www.mypy-lang.org/ + https://github.com/python/mypy/ + https://pypi.org/project/mypy/ +" +SRC_URI=" + https://github.com/python/mypy/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +# stubgen collides with this package: https://bugs.gentoo.org/585594 +RDEPEND=" + !dev-util/stubgen + >=dev-python/psutil-4[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}] + >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{9..10}) +" +BDEPEND=" + native-extensions? ( + dev-python/types-psutil[${PYTHON_USEDEP}] + dev-python/types-setuptools[${PYTHON_USEDEP}] + ) + test? ( + >=dev-python/attrs-18.0[${PYTHON_USEDEP}] + >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}] + >=dev-python/pytest-7.4.0[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}] + >=dev-python/py-1.5.2[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +# frustratingly, mypyc produces non-deterministic output. If ccache is enabled it will be a waste of time, +# but simultaneously it might trash your system and fill up the cache with a giant wave of non-reproducible +# test files (https://github.com/mypyc/mypyc/issues/1014) +export CCACHE_DISABLE=1 + +src_compile() { + local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0) + distutils-r1_src_compile +} + +python_test() { + local EPYTEST_DESELECT=( + # the majority of them require Internet (via pip) + mypy/test/testpep561.py + # known broken with assertions enabled + # https://github.com/python/mypy/issues/16043 + mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance + mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps + ) + if [[ ${EPYTHON} == python3.12 ]]; then + EPYTEST_DESELECT+=( + # more assertions, sigh + mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps + mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps + mypyc/test/test_run.py::TestRun::run-i64.test::testI64DefaultArgValues + mypyc/test/test_run.py::TestRun::run-i64.test::testI64ErrorValuesAndUndefined + ) + fi + + # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests + # fail with high COLUMNS values + local -x COLUMNS=80 + + # The tests depend on having in-source compiled extensions if you want to + # test those compiled extensions. Various crucial test dependencies aren't + # installed. Even pyproject.toml is needed because that's where pytest args + # are in. Hack them into the build directory and delete them afterwards. + # See: https://github.com/python/mypy/issues/16143 + local -x MYPY_TEST_PREFIX="${S}" + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + cp -r "${S}"/{conftest.py,pyproject.toml} . || die + + local failed= + nonfatal epytest -n "$(makeopts_jobs)" --dist=worksteal || failed=1 + + rm conftest.py pyproject.toml || die + # leftover test files + rm -r mypyc/lib-rt/build || die + rm mypyc/lib-rt/test_capi*.so || die + rm mypyc/external/googletest/make/*.[ao] || die + + [[ ${failed} ]] && die "epytest failed with ${EPYTHON}" +} diff --git a/dev-python/pycairo/pycairo-1.25.0.ebuild b/dev-python/pycairo/pycairo-1.25.0.ebuild index 6da52edba552..7d4d309cec86 100644 --- a/dev-python/pycairo/pycairo-1.25.0.ebuild +++ b/dev-python/pycairo/pycairo-1.25.0.ebuild @@ -58,7 +58,7 @@ python_install() { # we need to pass --root via install command, sigh cat > "${T}/distutils-extra.cfg" <<-EOF || die [install] - root = ${ED} + root = ${D} EOF local -x DIST_EXTRA_CONFIG=${T}/distutils-extra.cfg esetup.py \ diff --git a/dev-python/pytest-plus/Manifest b/dev-python/pytest-plus/Manifest index 06ba69815958..76c9e9e1e851 100644 --- a/dev-python/pytest-plus/Manifest +++ b/dev-python/pytest-plus/Manifest @@ -1,2 +1,3 @@ DIST pytest-plus-0.4.0.tar.gz 9987 BLAKE2B 11b8f17630601f52ebae11b7a660c8d97b4c9f1699096a376c162952a03b9f1b580ead6ac0b040b15c267eec1123bffe07d128eb00aec7414e996275ebc4c4e3 SHA512 4f4258853280cac8e03c0477763fd588d2b3cf11e7746d2b8e7d3cf5774b845412bc8779d74d232e4b3473470c39753dc788ac09faf8e8b7c9fee22d7164bab7 DIST pytest-plus-0.5.0.tar.gz 11444 BLAKE2B f42a7d9abc934635414959263a85399ccdf5377eb58790339d816a8ed8b3962ce11f088e0e074163c6ea9498ae07cbb9422586cbfad572200f1fa628f1b9620f SHA512 02417b2b02ec44d505ea8b6a4217c55b88d1b1383ee36c51b4480824816eb57513b63da36b86004a777ebbbca462bdf40ac3b18331010c10ca6d6259c837f705 +DIST pytest-plus-0.6.0.tar.gz 12795 BLAKE2B 6e618f29e679cf1c71018ab4993606add89a4e3fe47a78b3cb4a17908c2bb0192646108918786183b330016a8e8d5458e87900d8bf4b9b61e90d3e24feab43a8 SHA512 7798a4e53a4ca95b24f9039accea2657746982370cd99f5d34d5dceccc08640214241f1e81f3e354f03782f013bf1b375a4e16a69d23e211948232eca678f98d diff --git a/dev-python/pytest-plus/pytest-plus-0.6.0.ebuild b/dev-python/pytest-plus/pytest-plus-0.6.0.ebuild new file mode 100644 index 000000000000..23fe7c5a1dc1 --- /dev/null +++ b/dev-python/pytest-plus/pytest-plus-0.6.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="PyTest Plus Plugin - extends pytest functionality" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-plus/ + https://pypi.org/project/pytest-plus/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=dev-python/pytest-7.4.2[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/trove-classifiers/Manifest b/dev-python/trove-classifiers/Manifest index 94a820fe0f1d..3641cbaa3544 100644 --- a/dev-python/trove-classifiers/Manifest +++ b/dev-python/trove-classifiers/Manifest @@ -1,3 +1,4 @@ DIST trove-classifiers-2023.10.17.tar.gz 15858 BLAKE2B d190e4b5ca962fddecfe3d486be479d063897d09049f52a9e5e36c4b28857e5a8f34f71659d3f07377565673f3011e8f77459c1083883838b51a11dc594fb2d5 SHA512 ca6f2d23f24f000589a236d4304ed0faab8449d95b7f3ac091f168e04b2b2f6fbe586a48a38952034f40153e667b9c9b61710a0e9b19e8fa54f95db1c7008dad +DIST trove-classifiers-2023.10.18.tar.gz 15862 BLAKE2B 9d634e0b9674c1b9e249999c1722217fae5ca9d8aec348706859a73f599b62a003d5ff3344e361930b9182bcf4153bd5fb40ee93a53e50b1df0430b1fec4bb7c SHA512 6f8449411b8fc82ed798901701a72f3051bb46c189ee95276dcb77a2ee9b26a61c4304b03be20f7e2bc6dc5f8db1021bf02575cadd021fe43f96fd73540bae99 DIST trove-classifiers-2023.8.7.tar.gz 15856 BLAKE2B b20befe256e51704b4974ba7b3bcae88ff2ae1f1281da145f16a77963a75b3d2a58aa5914d622e8687a0e08915ae92783c4782a90390b53a0f346d829dce8cd3 SHA512 d414f5e71abf0eef3593c9509c93b4d3dbbf0b8f6ffacc85acd43be9e0f31d924757868e86bb069d9f0475731c811229ffc827568fe957fef850e71a0a5119fa DIST trove-classifiers-2023.9.19.tar.gz 15865 BLAKE2B 2a84af01c16a728f708775dce6c3b4da564072cdcb6cdb6fea8014ee27744a657d8dc10663eca9fe4f9c9dec6faaa2684b10fe08d827ab52d6a61f16b557b40f SHA512 09979aacca745459f075cce85c483113955e0d218079132478596f350b7d7788d1a734dc82364194df9b31e4c109a806c50db4bb122b1f5bf747d9e7a0616143 diff --git a/dev-python/trove-classifiers/trove-classifiers-2023.10.18.ebuild b/dev-python/trove-classifiers/trove-classifiers-2023.10.18.ebuild new file mode 100644 index 000000000000..729db4e896ab --- /dev/null +++ b/dev-python/trove-classifiers/trove-classifiers-2023.10.18.ebuild @@ -0,0 +1,31 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)" +HOMEPAGE=" + https://github.com/pypa/trove-classifiers/ + https://pypi.org/project/trove-classifiers/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + dev-python/calver[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + epytest + "${EPYTHON}" -m tests.lib || die +} diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 95a5bdd7ba1d..d5288e5bdc5a 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,2 +1,3 @@ DIST zeroconf-0.115.2.tar.gz 156482 BLAKE2B 80a1c0af87ffaec73505f48f1b38b8f99b578d6573970529b4613fd46174f635d2ff24ae6b1631a2747bb4eb542ac7180cf7bb473aa69f91ce90e64b463ec43d SHA512 1a1fd7f5cf3356fa189f209dc9ea0f8319b0d101ec28ed0ae3304656ca488afab0258cf6bce6d13919554555ea1a51b59599dba5afccc315df15d4efbc8cdb13 DIST zeroconf-0.118.0.tar.gz 156789 BLAKE2B a2491c33134b07486cf6350d4b25461edf78fb5ab181b36b8088f3ef63fe86d8324ea044985f9423886ceb15495d5d34bf79de488dafcdd87398875adee62fce SHA512 6f869443dbeea324b1b0f3b89a8183441b373459e871ffee9c35d3f4eda5489e164bc85f28e6e96c7dea976eeff591c25044a28cca56c967d857b1ac5f485e79 +DIST zeroconf-0.119.0.tar.gz 156999 BLAKE2B d8b8f65d6365dad2e58a04f5bf7ec46a9cce45d27a4edcd1d1d1e0d3b38ae0e0b5d84e92b5255c59059367627c918446af6638365c6ea235a989f9af34172db4 SHA512 dcc5824e8f53e0108e5b2072f77897c5eefa7919f8a760feb9635dd970835c3445f06ecd9f556a8fae09e6e6538533810a99e6b4fda2bc9072072c093df87722 diff --git a/dev-python/zeroconf/zeroconf-0.119.0.ebuild b/dev-python/zeroconf/zeroconf-0.119.0.ebuild new file mode 100644 index 000000000000..287607fcea05 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.119.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/python-zeroconf/python-zeroconf/ + https://pypi.org/project/zeroconf/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export REQUIRE_CYTHON=1 + +python_test() { + local -x SKIP_IPV6=1 + local EPYTEST_DESELECT=( + # 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 + + # fragile to timeouts (?) + tests/services/test_browser.py::test_service_browser_expire_callbacks + tests/utils/test_asyncio.py::test_run_coro_with_timeout + ) + + epytest -o addopts= +} |
