diff options
Diffstat (limited to 'dev-python')
21 files changed, 442 insertions, 4 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex e5c734cd3369..821638f6c744 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/aiodns/Manifest b/dev-python/aiodns/Manifest index adaebe725409..c0bf1784e21d 100644 --- a/dev-python/aiodns/Manifest +++ b/dev-python/aiodns/Manifest @@ -1,3 +1,5 @@ DIST aiodns-3.1.1.tar.gz 7363 BLAKE2B bb5a465be00ff61406b61cef133cb5eed8e007114ddcd1475a12fed5481ec377bc96291fdc7fd6cc5936de865118f7008625ec5d69c09f96eacdb83b4b29c786 SHA512 7c28cc6256a575681778376cc197a9504133b1127eb3508f6e5cd1c992c95adef66cf8399b7e90ca012347485e476f71e3f032f7e2f555954ad9a0cade8df5f9 +DIST aiodns-3.2.0.tar.gz 7823 BLAKE2B 8bafeebbf6ef69001670dffe8df3bd89b817bca921e266e218eaf2a53653d5bb150cef0c99b2fd498d39befb57c6e2edb4d94fbf4b4548e1debce69bcd114ff3 SHA512 ca6ae2d53cc0a0e5b8cd5f47da56d7db43236eb6738509d5cc088e56db996c49eba8b024cfe368e5acf44ad4de4cb5d6f949c7f0d4cd16ff4d5cc42ae3b27cb1 EBUILD aiodns-3.1.1.ebuild 752 BLAKE2B 443c8b2deeba29cfdbfd4a8ead05bbae59778849417144d330c1b7cf5939eb6af08e3c610991863a4585f7413286f5d9cc339ccd218c08ddfc221a6324d40556 SHA512 40deaf0ee22f35800402661184ff1b7c60a6682dd404e2482efe56e1cc3df85e22856524233bbcf1c4f293a9c969addd759a15a8a25e50b45ab13f1a7552909c +EBUILD aiodns-3.2.0.ebuild 790 BLAKE2B bc12e442ba4bb95a1c862a1ceab890d6c7595e87603b7afc8cce1f2c0c2c4d9b6fce3872ac0d70827e3c0fa556ef90df8b1c2957462606e9697d0ad2bb8790d7 SHA512 d989a92b2dc17bb96ed52ef735baf4624bb48833c0a7681a507b3c59776e835cff6742792fedb729e70603df894714e5f94318acebc612496cc62c684582c295 MISC metadata.xml 466 BLAKE2B 6f6f9859ea69490be57bf7c6581e3b51b8b0f3563cc013e072bcc221a81eaf7ade938e935a730c125452c0c6c8ac45d8c91ce1748cfa3ea1df3db55fa4c59d31 SHA512 101ea2c67fcd9b0c9496892422f7eac07d1c381f1fead1706c96fafdf5c2bb48f3c3b6912a166ee20a8b54be12e2989367674813c98aba0fd896f63110c8ee1c diff --git a/dev-python/aiodns/aiodns-3.2.0.ebuild b/dev-python/aiodns/aiodns-3.2.0.ebuild new file mode 100644 index 000000000000..04f4bea5d751 --- /dev/null +++ b/dev-python/aiodns/aiodns-3.2.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple DNS resolver for asyncio" +HOMEPAGE=" + https://pypi.org/project/aiodns/ + https://github.com/saghul/aiodns/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +# Tests fail with network-sandbox, since they try to resolve google.com +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=">=dev-python/pycares-3[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet changed, https://github.com/saghul/aiodns/issues/107 + tests.py::DNSTest::test_query_bad_chars + ) + + epytest tests.py +} diff --git a/dev-python/boltons/Manifest b/dev-python/boltons/Manifest index ce5c23425a3c..0b540dd52871 100644 --- a/dev-python/boltons/Manifest +++ b/dev-python/boltons/Manifest @@ -1,3 +1,5 @@ DIST boltons-23.1.1.tar.gz 244629 BLAKE2B 458e40179e98cfa914d9f66de18f89b2e6192a7ef38e4c827466fd2eabfa05245a9e592f2d0ff570f0d2288039f6564dd931404de7119730d6e4dbe6a9ddd886 SHA512 bc07d46f08f4883cfbaa54cf27dfb53fba57538d7d98b846840efad5ade64fecc6f9cc5d7dd3271236a1e12111d9e537f847995f28df2d7779026e0939e4ca98 +DIST boltons-24.0.0.tar.gz 239550 BLAKE2B e7001b3aa04834f1d234ff7ce996cebd32293189cdf000c8b36719d24b51ab24098c58ad3df58e938a58f319a575b8a0f2f09cec423d33b876103b89ad7d85bb SHA512 afc7f9d495d91e38219378f9f4f287918d6e5b19feb1299c5f504cab1d4a3e0a5fb9fa1c073d46f941c86a18086af5be3a44506d986b010b2595da0c2b908b48 EBUILD boltons-23.1.1.ebuild 683 BLAKE2B d262eef3ffa72a627a436cf3f1d530b384b5d889617c0bac9826c758716dc31df0fe992dd413ba63a1e7be7727858058dcdb11834e716e8e8379b562588ddc6a SHA512 097c8fcb5481d2ebe1094fb426bdc694655bce9cab8bb749476bcf93e3a9437794b9c77c641ee7da416bd5cb711e2ebdb32ef6948bb4dbf9636645d4b4b34405 +EBUILD boltons-24.0.0.ebuild 644 BLAKE2B 7129b3da59a02ed6f90cee3418f70d361407794bf50b486075a19f88013df16c5d94580f06cd5b937c3c3f53828f03290cf62b4490df65408d7806f150d6a3a4 SHA512 1e924273e9e89c25f318847b31c369700e413c39730da4ae1638196c21f6ce1686585a8f2ae6cb5f64b0e0ec1d4a2ead485172d4847f5aa3ccbdb63534bff81d MISC metadata.xml 395 BLAKE2B 6ed304f1dced75dfd795b9fe582ec669bf1c8ba5fefeb9e753b11aa20de8fc0966fc9a8a0ed40e460dd23a67ef0e5721a8dae27b3d799a4be629537bb18f54c9 SHA512 fb73041a95df230153dc686e21a88d91bb06367ae8c22a20777c4a0f13202cbaf59396f4ed2630265d331d6461a6da85f57ba62cc432c4d9105b8404753b383b diff --git a/dev-python/boltons/boltons-24.0.0.ebuild b/dev-python/boltons/boltons-24.0.0.ebuild new file mode 100644 index 000000000000..79e6dc2482fa --- /dev/null +++ b/dev-python/boltons/boltons-24.0.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +inherit distutils-r1 pypi + +DESCRIPTION="Pure-python utilities in the same spirit as the standard library" +HOMEPAGE="https://boltons.readthedocs.io/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +DOCS=( CHANGELOG.md README.md TODO.rst ) + +src_test() { + # tests break with pytest-qt, django, and likely more + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + + distutils-r1_src_test +} diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 114d6f788645..d5d3806b7a72 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,5 +1,5 @@ DIST coverage-7.4.3.tar.gz 783214 BLAKE2B d9c3bba00ffd85d3ed260613880b7c8214be11092d539c011894a9d0b9b57f462b20ca38622c6c8aafa575220e34e9c0affa512cffa372ea4d421b89296193b8 SHA512 10c64eddb5d95023cb9d5c480b898389a041ab8d354a7cb48f1ed39f9bc958cc4be21ee04be620e9c74d102fd81f215f6f949a3dd8817e39300a1de4d4913fa5 DIST coverage-7.4.4.tar.gz 783727 BLAKE2B e7d7af92ddcb3d7b5857cc83d8e14bb16ea2bde720eba63b082d35358934047ef7285ac70a6cd8fcb4720a9ddea5c22cf4cb14404ac2800794c49650ff5a1dd4 SHA512 26d4715ce69556ca12d1b65db5f21807c08733810b4398750280184812ebfb698e7b424b9e30f55e7524323861a22d4581db0524e9e285ca858132359fd24d28 EBUILD coverage-7.4.3.ebuild 2468 BLAKE2B 484cf7c4502606a2236cdc5ac9d7b00502db53ca82c83c7042931672e6258c2722779ddb3a9147d797202cdd417c2cf181de0ba9e34920b5aa6cbd2def35b15d SHA512 17fef3b5f71d724182e050fca7d7bbdd868346e9ce8d67beaad1657450cc944dd07a665e88def258143dc9c1010f78fb64d0a9927fbe0ec1a98dbbb852166a29 -EBUILD coverage-7.4.4.ebuild 2470 BLAKE2B b7eeb615986624ee6d36b30276e270650db011c922b02a464c9781b759e8b7bbe862044ca2d5f2f621dd7726835ba1ea0d57419efa87911429015554a0979da0 SHA512 bf954d61a36e15e4a538d35bd6f8bb605857898ccf6442d01e309da8054843c7bfccc3e4107c0d8a2cd7e999cc337046052763a1d5584cae9b0c5aa39c2b62cc +EBUILD coverage-7.4.4.ebuild 2469 BLAKE2B 402a128424ed91004fc6aff4b83636d780d6bbfb5e22dc5e1f421f916c305c56626f5e7d7963a1d8effca880acc8ac071385a7a9811cae7e25fc8c671ace807f SHA512 655df67ffbb523751f83f86d6c5066af882f27ffe24ea93ca1a1fc19b730dd43e0f6d8881fad730e9f1691084d30054220dd73d793eddcfd59066f93d4764497 MISC metadata.xml 771 BLAKE2B 38e9680d0851f70050aad987714a9dd2f95178b0bc3d794dc08726c0618d1ea98be32a413ac397f4b222e8a5d8fdc747b7f1677bcfe842bac4080537e85a03a9 SHA512 8c44c40348fe5d416d8b4016fe22cc9ae0b94fbaf181deb79aa737f87271992521b710c1208d0eeb7ef92d96fc8a7daac1ec6feb1ae081a80f13327b5b094064 diff --git a/dev-python/coverage/coverage-7.4.4.ebuild b/dev-python/coverage/coverage-7.4.4.ebuild index 6cb1ef323e33..a1803a92bb0d 100644 --- a/dev-python/coverage/coverage-7.4.4.ebuild +++ b/dev-python/coverage/coverage-7.4.4.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/cssutils/Manifest b/dev-python/cssutils/Manifest index fadc55061a77..21ff430a1830 100644 --- a/dev-python/cssutils/Manifest +++ b/dev-python/cssutils/Manifest @@ -1,3 +1,5 @@ +DIST cssutils-2.10.2.tar.gz 723055 BLAKE2B 7064f1928bf8496bef8eccf4663f944ed79e5e8065808254d12b68f32e9c8f308724e652b24fa584af54a0976ff3ab2f2751a9102e0f31a5f4a8fabf8f417b23 SHA512 c678b6953b13e8a7ac7b2abbe0b8be26283973537089071828e618b359bcce27df636f382d8b0dc50b13962e0d2dffcce991a47f678954ec018849e57026446d DIST cssutils-2.9.0.tar.gz 723452 BLAKE2B fc3593dec7a61b1a23b346b5a77160248760a934f01e6135a6478eb1164333a910c6c3fb403e3e06c8c7c90214a7c30ddc481dc9623c26091d62c8d092d8cea3 SHA512 d13d53b3e4f133afb5b72faba1e41a95cf2b146efb075dd3b328fc424eccd371194e1e14fd9e607b207b5c7d473e64f1e4c63975173d8491fa8036a16dc94d38 +EBUILD cssutils-2.10.2.ebuild 972 BLAKE2B a7930445ca26cdab03fdc3869d208ffd9bf8b1b254f4e0d465698cba29f98091d7fac486f40d54089cc9b87f7c8cbd3933c38237f75c0ce9f24a228126d6e5a2 SHA512 18137d8f36885ba1a87739c136b1886f3ae6837a5a756a6a92c609e54d5aa6fe91e9bd9c2c227f27b86aacd61bc337fa9872d1e6ad04b35a33fa8dfddb244d32 EBUILD cssutils-2.9.0.ebuild 967 BLAKE2B 9e0dceb7b789fcabb5a26d6be38c570893daf23070ce1c4cdf1713a0cdcff3314a5f2111be513ac76947434401740fe296379fb59747d4fa13723f25a0750ae5 SHA512 34e4ae6f664c22ddc9aac2559a4e87c8bd9e22f3f749e42fd783f0010c0143b012e500d6a87026fa4c193ba01a69aa6eec536823d7744d7e8ea3148dca68fa81 MISC metadata.xml 404 BLAKE2B 799ecc65093102f5dc56c272245253ad76e69ade2196953bc37547408cbec9c3259c05dd75838c23027cb6a348d03586d2e1d61d37713401ae3cbcfb330275e9 SHA512 b009e78386aee2e8405406ed455c5432e00d5990ca86b49e6ac5db4e3e06102fb968cdc7b55b824c3451156fe2501e3f1deed1f31b48cd1916f90ef515dd8e4e diff --git a/dev-python/cssutils/cssutils-2.10.2.ebuild b/dev-python/cssutils/cssutils-2.10.2.ebuild new file mode 100644 index 000000000000..eb9363ad1cdc --- /dev/null +++ b/dev-python/cssutils/cssutils-2.10.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A CSS Cascading Style Sheets library" +HOMEPAGE=" + https://pypi.org/project/cssutils/ + https://github.com/jaraco/cssutils/ +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/cssselect[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.1[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # network + encutils/__init__.py::encutils + cssutils/tests/test_parse.py::TestCSSParser::test_parseUrl + examples/website.py::examples.website.logging + ) + local EPYTEST_IGNORE=( + # path mismatch with "parse" package + examples/parse.py + ) + + epytest +} diff --git a/dev-python/flufl-lock/Manifest b/dev-python/flufl-lock/Manifest index c3ac0e38cc03..08d9e2d9a850 100644 --- a/dev-python/flufl-lock/Manifest +++ b/dev-python/flufl-lock/Manifest @@ -1,3 +1,5 @@ DIST flufl_lock-8.0.2.tar.gz 34369 BLAKE2B e16af81933141628664bfcbece3ede038b150df468af00b840b9b7ad4aaa7e0e10c8a0ce415c685e2aa1e556198b2ac4f8339bdfa3e41c004c32592f0bd025bf SHA512 2ef382cf22be72ceace89ad01646db31186fa7f505d72306025b90e47dad46fa0831d951f515fc321b873acc4a339e2ae1ed1a4861c355bc9961e0a3ab209d7c +DIST flufl_lock-8.1.0.tar.gz 32884 BLAKE2B 9d5f557d4664cda5fb31b4f73d79e99acac342462a94b4c1405f1032c25fd60785986e6ae9e48629b2bae0977517ec888eacc6e52d4f75b41887d14521a85f54 SHA512 3238d4c89c3702584c19882caa903a8efd33ad49ad9286d7965694f2cfdf626adee887d6a524d293457b3cd176fc02fc71edfdc0b807c3aaaed0aa77f2188a3b EBUILD flufl-lock-8.0.2.ebuild 693 BLAKE2B 0feccf56643cde5b829322ac52e993b85384d255fc64f24c8a40c222744b84ead80be6fcd99f6fef1807fb3facc563bf7dc47990923a7d21e56cf27718946622 SHA512 33e633f4f6406b2bf0ed96e33da615e3d8b11cdcd966eb5c776d15355096e91199a424bdb92a74752094f30610604188406f8b7a7142a6908ceb4d548e9333aa +EBUILD flufl-lock-8.1.0.ebuild 691 BLAKE2B 7a1b7b160f3d112ee850d8aaa6fba436dedfd22986360b44bb329a70edce75f3281fdec0cf4fa8eb26d52161d03993f53428c68cbde70906a3593edf29b68f55 SHA512 8c392f04a14ee935469ada4c52f7c66276038661ee90c619c31b9e7a503e1399df5a5425f86c471007e565bf9a0266e115e837865307904ab080fe6ebf66f6eb MISC metadata.xml 464 BLAKE2B 8d37ad69fe6f35790593ff0588261389cd693d9197efc317d7d674dfb940a1dd41e69722542e84f0b6adbe6c10cbd590a047107815bd7f3177dc30557661686e SHA512 713d28869ccf26305a8c5f17855b20f55aa3884ad694096a305fdad67abe75f66ba5b7d9c940b18c414cca448f862bc8fa2705e6f1bbacdfa69672046258ec0f diff --git a/dev-python/flufl-lock/flufl-lock-8.1.0.ebuild b/dev-python/flufl-lock/flufl-lock-8.1.0.ebuild new file mode 100644 index 000000000000..4cd3b9657779 --- /dev/null +++ b/dev-python/flufl-lock/flufl-lock-8.1.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="NFS-safe file locking with timeouts for POSIX systems" +HOMEPAGE=" + https://gitlab.com/warsaw/flufl.lock/ + https://pypi.org/project/flufl.lock/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/atpublic[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/sybil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/addopts/d' -i pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/inflect/Manifest b/dev-python/inflect/Manifest index 7de503df5f62..15a26c3e439f 100644 --- a/dev-python/inflect/Manifest +++ b/dev-python/inflect/Manifest @@ -1,3 +1,5 @@ DIST inflect-7.0.0.tar.gz 70963 BLAKE2B ae896109acd33946e05902d121ecbd95e04dc33a1d6da6035148521de5baff8cff877a5c56c104bde29d56025e231e20f97e0ee50686de0ec19b567d53612314 SHA512 b2ca39d0e36cda8c8c42d208443d3b84b10d659dcd0d368273503d6e76df19c61ac3c623d526ea918ca8b347d6db8bdfb691609e480eaa33dd4f1c37e008473b +DIST inflect-7.2.0.tar.gz 71448 BLAKE2B 33d7d8cf4b4de05a035e1929fd6c70c3635290cf1387927e5fe15315c06135a6b2daf6b67f044b9ea004c2345bdeb8b2f17e5f54daa9cb18f0d3bc1935295439 SHA512 13b698637a8049987675dd419359907baba6d8a9805c3602bbc414ed8fb422bfaa32ec26bcc309508ead5cb72bed632d9142f7796c981269551f1238b88c9019 EBUILD inflect-7.0.0.ebuild 855 BLAKE2B fa90de879fde3c8a0a687be3c3a6e97e7bc2f29766ea063d2c90a58e8b1d96359173dd7d9f5470a321b2197d29b1e9175a9b801361a2ad42dca7ecc1688445ab SHA512 820625729dca5578d240b26c10f1a4af207c42d9501f91e8e27a8ee7cb685d5b948217c41b2724def2ce57c232149875c74164cb13e3d598b4e860721eb24da8 +EBUILD inflect-7.2.0.ebuild 947 BLAKE2B c93308d38f31fb4180ad4e0b465a9d1adccc2e86594451b097066e1048647c73621519afb923a2e6644e0820a618c61bff477e2e1b0a8a001c913f78ca74fd2b SHA512 bf92eb5446211481fc4124d2b651908d2b8906a8c6c5092826ff99a5e13b9ea83317c7489e620eeef2104f77e3bf4cfdac93bee964f926bd9c3b7946a8f8ddab MISC metadata.xml 557 BLAKE2B 1a327bb3ea2f7ecb0b3100d9f443c9c0c20a89f1e560eac79cef20a6f12855355dab9c71bab94881774e2be6fc2b4bd9530e1155caecdf687228db259ed34bba SHA512 d719ba7da2f6544cada37998dbc6b104cebb6419ab65bd164411928953c5898da2f5f2f789b72d41f7b46ee7a5570fc6646d331e0df39b34c1fa0685fb9165ab diff --git a/dev-python/inflect/inflect-7.2.0.ebuild b/dev-python/inflect/inflect-7.2.0.ebuild new file mode 100644 index 000000000000..a1a608f28790 --- /dev/null +++ b/dev-python/inflect/inflect-7.2.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Correctly inflect words and numbers" +HOMEPAGE=" + https://pypi.org/project/inflect/ + https://github.com/jaraco/inflect/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/pydantic-1.9.1[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/typeguard[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-3.4.1[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # broken upstream + # https://github.com/jaraco/inflect/issues/204 + inflect/__init__.py::inflect.engine.compare +) diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index 54f5f6695be0..850ded32a9a5 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -1,4 +1,6 @@ AUX 2.1.0-substitute-files.patch 1017 BLAKE2B 70577eb950a18345804a2a4b750bd233dc6a0b6bbdb524dfc66e0f4a7c69b0eeb2d35efb9d1845d567a11d1afa7881068b4757e42b9baf24dc01ba3026608a38 SHA512 fc4c9e12267ac5f04a2e16ad27334a093638538b8149ff380099fcbeb674a276ab9eb624a508010e37f82c05d5f7ab527a80e386b3e7b61c123ecb8effd9d542 DIST ipython-8.22.2.tar.gz 5490399 BLAKE2B 61d7d30d77c0b422ba174ac3c3f17c753502d9469d1d2ba8e3f2583761ab1f26230172b7e2efa680bb8f7ef23ef47cfe56241344380591e3da0da5d15f385727 SHA512 ff9c56b0594e63dbb26aad466eb9449d41db4002da61837363aaff817b99a54f310152994e4d361dfd5b6c40452dedf3eb74825c6d0a7d8c5fff84c1ac20f7ff +DIST ipython-8.23.0.tar.gz 5491405 BLAKE2B c4273d20bccdf07283abf9a69b8d64a27be3aa2e0672d14781cd9035ff39a5392518d7e22f45cdd20c8e110111a601d4bdbc36659efde153742de731d574e4be SHA512 4e6f061dba024f5e717f6497706a144c5568c9d650215d898fe8e5efc85b92445f64e2c8eb6ef3c9bfe1a305c9098cc49e79b6d1cc25c8be5add1497682fce28 EBUILD ipython-8.22.2.ebuild 4731 BLAKE2B 8077b64b21b8f9b09be19aeed7b78fe8c1ad0a77b07d88fe450c0e56520ad6589363ca7349e85aa8138ad0d0a1d2e195a39f08ef751a4156b2c8766e1f30edf4 SHA512 e198222c69d3b8216f0081a036927eba60826a53b1573c374a3af8e84a822b3d308928fbf6227ec3f59a8d12e82135854a581c7ffc0dea83e6108890d957d2d6 +EBUILD ipython-8.23.0.ebuild 4827 BLAKE2B 9e59d96b977c66e192c7747e963238effc0a820295ff01c2735e76ff1f23ae6ee694456619317858eb932fafd4b1ca9b8b599a1048826bedddb797506792a4bf SHA512 959e56ad7a9c057d2b4bc433efa9b30c1cd066e45ae0090f7451940a8d79c1f21036632d7e5083db7da127defc2c35af07007cb1fedbcdc530bcb92a977b4587 MISC metadata.xml 2802 BLAKE2B 2fb6773ad4ef10d531f978e3ed40f6d99cf1586ec6d7cf2bf7e60fd5d640d082a0946651e0a066993320ffeaace3426066ca24c325926b62125ae91816707128 SHA512 965c3e36e05475d9454af8219b84e080d4c83d775f8a7e20a4951a82246d672c46fd3cb1fff5f8664d0ce8e8fcb846de6f15abc4575db3a6b7d87209194bcecc diff --git a/dev-python/ipython/ipython-8.23.0.ebuild b/dev-python/ipython/ipython-8.23.0.ebuild new file mode 100644 index 000000000000..7b1c23226c31 --- /dev/null +++ b/dev-python/ipython/ipython-8.23.0.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_REQ_USE='readline(+),sqlite,threads(+)' + +inherit distutils-r1 optfeature pypi virtualx + +DESCRIPTION="Advanced interactive shell for Python" +HOMEPAGE=" + https://ipython.org/ + https://github.com/ipython/ipython/ + https://pypi.org/project/ipython/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="doc examples notebook nbconvert qt5 +smp test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/decorator[${PYTHON_USEDEP}] + >=dev-python/jedi-0.16[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.3[${PYTHON_USEDEP}] + >=dev-python/prompt-toolkit-3.0.41[${PYTHON_USEDEP}] + <dev-python/prompt-toolkit-3.1[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] + dev-python/stack-data[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.13.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + ' 3.10) + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10 3.11) +" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + app-text/dvipng[truetype] + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/numpy-1.23[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + dev-python/pickleshare[${PYTHON_USEDEP}] + <dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) + doc? ( + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + >=dev-python/sphinx-2[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +RDEPEND+=" + nbconvert? ( + dev-python/nbconvert[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + $(python_gen_cond_dep ' + notebook? ( + dev-python/notebook[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/widgetsnbextension[${PYTHON_USEDEP}] + ) + qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] ) + ' 'python*') + smp? ( + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/2.1.0-substitute-files.patch +) + +python_prepare_all() { + # Remove out of date insource files + #rm IPython/extensions/cythonmagic.py || die + #rm IPython/extensions/rmagic.py || die + + # Prevent un-needed download during build + if use doc; then + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die + fi + + # Rename the test directory to reduce sys.path pollution + # https://github.com/ipython/ipython/issues/12892 + mv IPython/extensions/{,ipython_}tests || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + emake -C docs html_noapi + HTML_DOCS=( docs/build/html/. ) + fi +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local -x IPYTHON_TESTING_TIMEOUT_SCALE=20 + local EPYTEST_DESELECT=( + # TODO: looks to be a regression due to a newer dep + IPython/core/tests/test_oinspect.py::test_class_signature + IPython/core/tests/test_oinspect.py::test_render_signature_long + IPython/terminal/tests/test_shortcuts.py::test_modify_shortcut_with_filters + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # https://github.com/numpy/numpy/issues/25164 + IPython/lib/tests/test_display.py::TestAudioDataWithoutNumpy + ) + ;; + esac + + # nonfatal implied by virtx + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest || die "Tests failed with ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + # Create ipythonX.Y symlinks. + # TODO: + # 1. do we want them for pypy? No. pypy has no numpy + # 2. handle it in the eclass instead (use _python_ln_rel). + # With pypy not an option the dosym becomes unconditional + dosym ../lib/python-exec/${EPYTHON}/ipython \ + /usr/bin/ipython${EPYTHON#python} +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} + +pkg_postinst() { + optfeature "code formatting" dev-python/black + optfeature "sympyprinting" dev-python/sympy + optfeature "cythonmagic" dev-python/cython + optfeature "%lprun magic command" dev-python/line-profiler + optfeature "%matplotlib magic command" dev-python/matplotlib-inline + + if use nbconvert; then + if ! has_version virtual/pandoc ; then + einfo "Node.js will be used to convert notebooks to other formats" + einfo "like HTML. Support for that is still experimental. If you" + einfo "encounter any problems, please use app-text/pandoc instead." + fi + fi +} diff --git a/dev-python/jaraco-classes/Manifest b/dev-python/jaraco-classes/Manifest index 8dbd1c1f880b..c1a46ca8ba9e 100644 --- a/dev-python/jaraco-classes/Manifest +++ b/dev-python/jaraco-classes/Manifest @@ -1,3 +1,5 @@ DIST jaraco.classes-3.3.1.tar.gz 11699 BLAKE2B 4510bc79d9fb0697aabfa5211c250e362048091b38dc1f6d404abc80ded078744dda29e91bc82ff30fbfe352614f3be14e1cf2cebea0ce7bd839d21b6897817d SHA512 368a45965e321506bb4a66c80ddf79e8e58f25f92bf9bbd1cffc9118f696ea23dcca6f9277544d1c2af1cbc18fe0cc5a2bdc7b9ad865f54ac0776b0b58aca90b +DIST jaraco.classes-3.4.0.tar.gz 11780 BLAKE2B e16f76f58fae8b42864e5055e8fd97fff634223aa28499fcc8a204f52aec9f2cc66b5cdf53e08acac85bfdeff46b7bdeb8b5bcc9da10fee16f3a5bd84026cd1d SHA512 94e5163120117c51f129d43e85f92ee19efcf8b10683142679511f8b33f4a1fd6c51516b7551aeab9d68c1936791bafc47328b5560ee3fe28e553fe463ea968f EBUILD jaraco-classes-3.3.1.ebuild 630 BLAKE2B 12ac3e61114492bc58ead00b33a4724465d96bf88599a513925dba6d831b9f2c91c590e7dbdc54b440193732fdb765af24a5aea9c4c5725b336b22dda19d4bb0 SHA512 573b6cf6d2ebcce14574458a573808dd456ca4a706849fcf37235e686f4648762f83f300906b66a9f641b8ad78cbb2d6f78b16f2b3c37896a022ea4277841646 +EBUILD jaraco-classes-3.4.0.ebuild 638 BLAKE2B 1fd5f3f456fa76fd715237ff9ea9823a13ade7f9153a0369f5405b31eda0cee9717d9e160167cf9464ea4abec27f687db7482c4aa74f827d453a5bd35d364dd7 SHA512 a3b5066a1a50383d6faf7c5099fe871e99a67e3532e10be75e73f75bd53cf31674663cfab1eda676ae90739da6f827240ad2554375ab655bfe7cf914cf276fcb MISC metadata.xml 472 BLAKE2B f2c9615836b0be2e1820d5ab8d33b16bea45f397c2f3bc10caa9c6910a489271eb399dc407da8a3fbabe9b81fc3ee3806a70eeac65ca627357c7b64429002cb5 SHA512 1f89c22910291e406b5e7ce9c008427ea9948086d190b10da18da020d8ac1c505b068d12fd24a26ee666b1c71ace5b619d511c05fead8855ce0d6c6088d800e9 diff --git a/dev-python/jaraco-classes/jaraco-classes-3.4.0.ebuild b/dev-python/jaraco-classes/jaraco-classes-3.4.0.ebuild new file mode 100644 index 000000000000..6374ebe23e5a --- /dev/null +++ b/dev-python/jaraco-classes/jaraco-classes-3.4.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Classes used by other projects by developer jaraco" +HOMEPAGE=" + https://github.com/jaraco/jaraco.classes/ + https://pypi.org/project/jaraco.classes/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/pyalsa/Manifest b/dev-python/pyalsa/Manifest index e9875f49bba6..213df73bcfd0 100644 --- a/dev-python/pyalsa/Manifest +++ b/dev-python/pyalsa/Manifest @@ -1,5 +1,5 @@ AUX pyalsa-1.1.6-no-build-symlinks.patch 682 BLAKE2B 046f4cffa0b08a32360356d82384148b805544b6f05e44ec329bef2299b67e46c68401b800761e9dff2141b22bc029a55fd5cf01cd5cdb533303aef91a2bbe0f SHA512 fd3937df5a69326908da942a8926e10221bb85693c863cc06ca363ca8fb07761173d2b51113615970887442d8779b2e9ff468b927b078acf52620e944b71b779 DIST pyalsa-1.2.7.tar.bz2 40132 BLAKE2B c100d16bd8c0d9fc6eddcda360f3582c55ed1b143a58a49caf76a62494882952d311271941ce0ecdf57ac934f3564dc922c80e8a5f5742b593341ff4215b700c SHA512 126501fe7b9c006f28e9290bdd3ad907ea9e053b71e21e2c6f0b0beeecdba07b4b557014041b03452f96be690f59f2e647e075487ee87054f21f66df7f39b34b -EBUILD pyalsa-1.2.7-r1.ebuild 1115 BLAKE2B f1f5a8a70dccdd1fdd8850f6b468976ddfee6d5fdbbae7232e22a1d9f032dcfa301790c03852035a85cfbd142baea3e79ae398d34132d5459605d24a33dec89f SHA512 509ea7555abc9bb57e9bbbaa0df7e019ca895a6d15d9e2da3f23ebcafc0d57772ffa14908cbe329ccdcc9ebe2b97e4ae8a778f409b29d86c79254cdeb2154ba1 +EBUILD pyalsa-1.2.7-r1.ebuild 1114 BLAKE2B 390c4c7748e6f9299dcf88b81bad0eea1a6b1cfa1646e6731e47e5bf88df44fa7bef5e11f4284ac0ccf71eb2462295fdc61839aac8a9bedf25e9569f6b53e90d SHA512 ebe6ac3c970b3c93e5d73d7b44c9a8ccda793f9f9134c478bc63451eb166e7aa22d61650f868d640ab8b84d6d7dc70c2356b632d056d399939a80a85aa63aa23 EBUILD pyalsa-1.2.7.ebuild 980 BLAKE2B f27d5b3de6b41fc70fb4e1764c4e02ff09190a3afd43f9f41baafccf965260b78c47d4073a67abb3917e274cc80ac8f6f91073b820c53ad2e7d8132df322ad93 SHA512 6a52512e4c9a2af5199749e894b4bc8daeefd96cf13a7ecd6ebeaaf15a5a12685bff87e986e4637e760f73ffdd1ffbcba5a89438961c4fdaf3c339be1413bd1f MISC metadata.xml 491 BLAKE2B b44d13fa5ffd8b1eceaedbfd6b4fa564d93b99be45dec176817a9665153988d6a91f892edab698e50d2ae761edc7ec11371fa07ef3dd6976977c7dd84f9ba9ae SHA512 bbafa414b3416db7abb27921ce74d532f4b16f145a91f46075be9abaf6cf46017e8cd17c61fa019c662fc93ff9286747822b4ec8f6d19f69857cc3221e3f9a25 diff --git a/dev-python/pyalsa/pyalsa-1.2.7-r1.ebuild b/dev-python/pyalsa/pyalsa-1.2.7-r1.ebuild index b02b8f555816..bc1ff7849d92 100644 --- a/dev-python/pyalsa/pyalsa-1.2.7-r1.ebuild +++ b/dev-python/pyalsa/pyalsa-1.2.7-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://www.alsa-project.org/files/pub/pyalsa/${P}.tar.bz2" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" # Needs access to system's alsa configuration/devices RESTRICT="test" diff --git a/dev-python/python-redmine/Manifest b/dev-python/python-redmine/Manifest index 80350db0a36e..e61315a62dfb 100644 --- a/dev-python/python-redmine/Manifest +++ b/dev-python/python-redmine/Manifest @@ -1,3 +1,5 @@ DIST python-redmine-2.4.0.tar.gz 67730 BLAKE2B 22c74ad194af9b56affab39de38b13a8f5a46e79b8ea8d9f9f47eb12c4ad4c91156db9ef0e8dfd013602b8cc06e0636a724ae34969f385dc9f8ffc63514ccc63 SHA512 afb03ca8a3bdacace3c12b7295ba08953ab2040971b57988deb9955df24e5ac1782a9b3fbf0f5070eb22c640e88f489cda12cdec38449f9e3bcf7189dc422642 +DIST python-redmine-2.5.0.tar.gz 73643 BLAKE2B aae400a68385fa98d454820081abacfabe69be473de8ee21feb47dfd8b3372cb0b8dfca168fc9daebd37da04a4fcca84235eb555262489dc1b717fd589dc849a SHA512 8c610efe5e4362ab27a33a04e78347e2962b9e766cea81c725b5b34bdff1d2c6a2e68e5d928b5aed97af569f5c6656dc2b39347a76cb371a3069bba3fd02c8e2 EBUILD python-redmine-2.4.0.ebuild 739 BLAKE2B e1705c75583066140543f8bc38f6a8ddb6cbd9a06958a8cfb6d8f85d90c68ec9bd29631f549c3fb52a3a10eb25a56460f733faac5e088b0bee4b172ae312dc9d SHA512 f04928d69b99816593598f33f2fecde7c90716c91cb2daeadf54241ce7a49dc3043eb0ee3da496c8afde0e90ed127e7a259cffc25d65373a2a9bfad8664ba4d5 +EBUILD python-redmine-2.5.0.ebuild 739 BLAKE2B 3fbc70e33fc984cf28bf6814e2675e7779af16b764edbafeefd4ca68868381aa1b9cb1b13151a7bc1ab48f778c69f0589c46cf0fdc69092efb402ac23a5f2ec5 SHA512 9bfb52bd7526c7209374533b51372e90f2caedd108e8fb24e5bfd879df265e3439028a7d2d6893d1b2b300cb127b12895dcf722602850e51bec18791d2f15e78 MISC metadata.xml 426 BLAKE2B 4b854d12e2cd5977800ee0ba114e1e8cf3895afc412d50b7ca9101842c3430a076e8daa07ae58624e3ae25163cf49de5924f9df7735550903f79ffbebbdd3763 SHA512 e56e41d36e3fbb82ec4b592ec3c6b4a69669bf79c159a97045b7643676361208885ec18a0dfd2462a8f456435d5ec51250b893693f9411c727e8bd44c8a4ae92 diff --git a/dev-python/python-redmine/python-redmine-2.5.0.ebuild b/dev-python/python-redmine/python-redmine-2.5.0.ebuild new file mode 100644 index 000000000000..8219293367ea --- /dev/null +++ b/dev-python/python-redmine/python-redmine-2.5.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 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_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python interface to the Redmine REST API" +HOMEPAGE=" + https://github.com/maxtepkeev/python-redmine/ + https://pypi.org/project/python-redmine/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/requests-2.28.2[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # https://github.com/maxtepkeev/python-redmine/pull/332 + sed -i -e 's:assertEquals:assertEqual:' tests/*.py || die + distutils-r1_src_prepare +} + +python_test() { + epytest -o addopts= +} |