From 519f4aac6d5896fe0204e6429485f95240c7ff58 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 Feb 2023 21:17:55 +0000 Subject: gentoo auto-resync : 05:02:2023 - 21:17:55 --- dev-python/Manifest.gz | Bin 257753 -> 257789 bytes dev-python/Nuitka/Manifest | 2 + dev-python/Nuitka/Nuitka-1.4.3.ebuild | 54 +++++++++++ dev-python/fakeredis/Manifest | 2 + dev-python/fakeredis/fakeredis-2.7.1.ebuild | 88 ++++++++++++++++++ dev-python/humanize/Manifest | 2 + dev-python/humanize/humanize-4.6.0.ebuild | 29 ++++++ dev-python/hypothesis/Manifest | 2 + dev-python/hypothesis/hypothesis-6.67.0.ebuild | 77 ++++++++++++++++ dev-python/mkdocs-material/Manifest | 2 + .../mkdocs-material/mkdocs-material-9.0.11.ebuild | 53 +++++++++++ dev-python/moto/Manifest | 2 + dev-python/moto/moto-4.1.2.ebuild | 99 +++++++++++++++++++++ dev-python/mypy_extensions/Manifest | 4 + .../mypy_extensions/mypy_extensions-0.4.4.ebuild | 34 +++++++ .../mypy_extensions/mypy_extensions-1.0.0.ebuild | 29 ++++++ dev-python/openapi-schema-validator/Manifest | 2 + .../openapi-schema-validator-0.4.3.ebuild | 35 ++++++++ dev-python/pikepdf/Manifest | 2 + dev-python/pikepdf/pikepdf-7.0.0.ebuild | 64 +++++++++++++ dev-python/pkgcraft-python/Manifest | 4 - dev-python/pkgcraft-python/metadata.xml | 15 ---- .../pkgcraft-python/pkgcraft-python-0.0.3.ebuild | 74 --------------- .../pkgcraft-python/pkgcraft-python-9999.ebuild | 74 --------------- dev-python/pkgcraft/Manifest | 6 ++ dev-python/pkgcraft/metadata.xml | 15 ++++ dev-python/pkgcraft/pkgcraft-0.0.3.ebuild | 74 +++++++++++++++ dev-python/pkgcraft/pkgcraft-0.0.4.ebuild | 76 ++++++++++++++++ dev-python/pkgcraft/pkgcraft-9999.ebuild | 76 ++++++++++++++++ dev-python/simplejson/Manifest | 4 +- dev-python/simplejson/metadata.xml | 6 ++ dev-python/simplejson/simplejson-3.18.2.ebuild | 38 ++++++++ dev-python/tifffile/Manifest | 2 + dev-python/tifffile/tifffile-2023.2.3.ebuild | 60 +++++++++++++ dev-python/websocket-client/Manifest | 2 + .../websocket-client/websocket-client-1.5.1.ebuild | 37 ++++++++ dev-python/xlsxwriter/Manifest | 2 + dev-python/xlsxwriter/xlsxwriter-3.0.8.ebuild | 28 ++++++ 38 files changed, 1007 insertions(+), 168 deletions(-) create mode 100644 dev-python/Nuitka/Nuitka-1.4.3.ebuild create mode 100644 dev-python/fakeredis/fakeredis-2.7.1.ebuild create mode 100644 dev-python/humanize/humanize-4.6.0.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.67.0.ebuild create mode 100644 dev-python/mkdocs-material/mkdocs-material-9.0.11.ebuild create mode 100644 dev-python/moto/moto-4.1.2.ebuild create mode 100644 dev-python/mypy_extensions/mypy_extensions-0.4.4.ebuild create mode 100644 dev-python/mypy_extensions/mypy_extensions-1.0.0.ebuild create mode 100644 dev-python/openapi-schema-validator/openapi-schema-validator-0.4.3.ebuild create mode 100644 dev-python/pikepdf/pikepdf-7.0.0.ebuild delete mode 100644 dev-python/pkgcraft-python/Manifest delete mode 100644 dev-python/pkgcraft-python/metadata.xml delete mode 100644 dev-python/pkgcraft-python/pkgcraft-python-0.0.3.ebuild delete mode 100644 dev-python/pkgcraft-python/pkgcraft-python-9999.ebuild create mode 100644 dev-python/pkgcraft/Manifest create mode 100644 dev-python/pkgcraft/metadata.xml create mode 100644 dev-python/pkgcraft/pkgcraft-0.0.3.ebuild create mode 100644 dev-python/pkgcraft/pkgcraft-0.0.4.ebuild create mode 100644 dev-python/pkgcraft/pkgcraft-9999.ebuild create mode 100644 dev-python/simplejson/simplejson-3.18.2.ebuild create mode 100644 dev-python/tifffile/tifffile-2023.2.3.ebuild create mode 100644 dev-python/websocket-client/websocket-client-1.5.1.ebuild create mode 100644 dev-python/xlsxwriter/xlsxwriter-3.0.8.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index de3ec75f7a62..27144de29a1b 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index 96176c71f58b..c289298ea749 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,7 +1,9 @@ DIST Nuitka-1.4.1.tar.gz 4122973 BLAKE2B edd3722a3e9d534c1802a4be6d1b3d21ce5a926803e4342620a87597d8ad5e03b0e84c83a17a95a36c3716a25197e7a32704d29813a2bccfed490ae0e019d5ce SHA512 99bd491519e4e3e754e5678d293a39ed36438e19aa026263c2b3fde5cc82ffc886b35629146ed11fa93860598901e91644c6e93456d1e76ba97a21d304165e67 DIST Nuitka-1.4.2.tar.gz 4122580 BLAKE2B c99f96c32325f6bbf9678b879263f4dd166ecaa9fa3a2e0d0af4366638b752142eda981b596ef6d7744ab87d77390b831b7cb30e10eb365559b6d6772445266c SHA512 b6c852142d5f94183917d9605b51e0770b9ffb64a0f4273409448a443eb61003d58d96a42454d4d8eb25bacae562c19d1be2158a3e84465471e91a1bb909b9dc +DIST Nuitka-1.4.3.tar.gz 4122806 BLAKE2B e7f616d7223bc9d72dbd93c673c407dc000971051f21c5570d91cdffa03449f32680e69fdb4a279ec1074919336c63563b294901f2038307a10ccc10d2b27142 SHA512 b2f023ca3c3be13d3207bb483bb779d6fea471a7020fe6f12c1db1cdf7131f73fb5f3563a67bd548515535dc2a22aff48f99c8affe5d9eb807cd96159559e7c7 DIST Nuitka-1.4.tar.gz 4121399 BLAKE2B 6f431ce01e5efc18cb71fffa8d4db1479adaab48f91c5943fe97d9252dd80ec6a875e0fbc480b13b38167534254a9fb589664d7d95b7e679b22e3c4ef27f5a5a SHA512 cc07b8c35e75c3d34566d335e27789900095c35bf411e284c262f7a85f54ee9922b8f2aa0a75e72e2b77559f594183ea84aeba5691e600181fc706680bb55136 EBUILD Nuitka-1.4.1.ebuild 1191 BLAKE2B 11fe3e2a6dd185eb1a80fdc1b317d1b36d67780cc3f4c445ec882abab4285c68632ffb180a8bc676d60328736b77757f1348f28ad8b57435d037304d1b7f172a SHA512 afd8b49b1a3dcf541926d21ebf397a35c2e51b8f333ff774b89a86a6538541a330e8a142ffb88d52f3035b721bdcb9d8731dc3e9e1b5191b8cfaf0cbf26262a1 EBUILD Nuitka-1.4.2.ebuild 1191 BLAKE2B 11fe3e2a6dd185eb1a80fdc1b317d1b36d67780cc3f4c445ec882abab4285c68632ffb180a8bc676d60328736b77757f1348f28ad8b57435d037304d1b7f172a SHA512 afd8b49b1a3dcf541926d21ebf397a35c2e51b8f333ff774b89a86a6538541a330e8a142ffb88d52f3035b721bdcb9d8731dc3e9e1b5191b8cfaf0cbf26262a1 +EBUILD Nuitka-1.4.3.ebuild 1191 BLAKE2B 11fe3e2a6dd185eb1a80fdc1b317d1b36d67780cc3f4c445ec882abab4285c68632ffb180a8bc676d60328736b77757f1348f28ad8b57435d037304d1b7f172a SHA512 afd8b49b1a3dcf541926d21ebf397a35c2e51b8f333ff774b89a86a6538541a330e8a142ffb88d52f3035b721bdcb9d8731dc3e9e1b5191b8cfaf0cbf26262a1 EBUILD Nuitka-1.4.ebuild 1191 BLAKE2B 11fe3e2a6dd185eb1a80fdc1b317d1b36d67780cc3f4c445ec882abab4285c68632ffb180a8bc676d60328736b77757f1348f28ad8b57435d037304d1b7f172a SHA512 afd8b49b1a3dcf541926d21ebf397a35c2e51b8f333ff774b89a86a6538541a330e8a142ffb88d52f3035b721bdcb9d8731dc3e9e1b5191b8cfaf0cbf26262a1 MISC metadata.xml 943 BLAKE2B d7ab883773e7480dcfb4b79932a3874e2274669169a24a54aa622a2a0ac079e0296da4bd196d166cb11fcff785985da0b10d0fae351032914ccf312c9bb9833c SHA512 625d8760b8e849c6e014856f584cb42f50bb5ebb1fa648cb704a5a1baf175e7d2ce9f43f6f724d11c81a68e364b6ac1c38459540b58f2ccd6a675902af5b1cc9 diff --git a/dev-python/Nuitka/Nuitka-1.4.3.ebuild b/dev-python/Nuitka/Nuitka-1.4.3.ebuild new file mode 100644 index 000000000000..3ad289dde538 --- /dev/null +++ b/dev-python/Nuitka/Nuitka-1.4.3.ebuild @@ -0,0 +1,54 @@ +# 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_10 ) + +inherit distutils-r1 flag-o-matic optfeature + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://www.nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/scons[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka3.1 doc/nuitka3-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" app-admin/chrpath +} diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index a71af7a26390..b1365f737d2c 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -2,8 +2,10 @@ DIST fakeredis-py-2.4.0.gh.tar.gz 132163 BLAKE2B fc3858eb364c63d776c81d715cbfb21 DIST fakeredis-py-2.5.0.gh.tar.gz 139911 BLAKE2B 4e9c616b0066012e1ed681d06e73390fb670969c15fa57689244147a0175dbb14ff1c312066ffdc6eb2c647f884c351a98eebfb2c1ba0e6c1bbe1e6c3553808a SHA512 aff5a8679763d4cf1717f790c7c384aa8e5056e5f175c306626f3a1671fe27aa3caf24368831033c9cf5bffa2e3e6be1104b183f3912eadf34fd6f37ea0c63e8 DIST fakeredis-py-2.6.0.gh.tar.gz 151925 BLAKE2B 60538efa5de93436177aa019908f02affb9df9b2aaf1349e933da6f066f98aaa255bbdb3297645ad1dc3b67a57a61bb8081e476f451799b512719f5779c1218d SHA512 19a23be7a182f962e66686f3c4ec3a5b9fbc847d97e48f19fde11ae268f4a70de567ff2ca302a9fe0e7080de2215698cf5b2ff2febda5eef6748f3ec8d601720 DIST fakeredis-py-2.7.0.gh.tar.gz 162784 BLAKE2B acb218c375785ad4b8419f08f9c328f33f97eedb0f13ae09b760b6c87849b3f8a4b9210fe6aea59d763b27909bff8297a009757a1f5fd9b58c1936e6705e0833 SHA512 fc11f3b59971ae50f59e9d1684827a8f4d1127813f7d55641b43b1edbb1e4c75c76aa0734ad55c98cca404c7e343a02f72644f05aceb72849ef6f18dc2418890 +DIST fakeredis-py-2.7.1.gh.tar.gz 162831 BLAKE2B dec29c4b2f5e2c4f9492af00f7b6758ab18dba48ab92e382c78fa105a8bd6230cffc583876a203213d5e205c8cea5b0680518a48e74b7014b189e3b8f3ad3a65 SHA512 31a51feaaba208f4029e7c2030785f5c2fa670996d42ccde8f9e98f13d820fbaccfc17fa535589ec750625cdb0b13c40e57bf901f4bb73bae9054554698fcabf EBUILD fakeredis-2.4.0.ebuild 2080 BLAKE2B 8a72bc144e8edf9b1f8d55b65776364084f319b5522935665739984552f1e7622f34e15f9c1e0f9d3b7387d8f1408120bdf616fc3175c9d136cdc89270a75e3f SHA512 6e2da686bf464f1c67cfa63888c233908b27bf2d6ce84d8e99d4de23c134d456b397aec24fb235673173fae0e48e6ef0d3f156f9f02aebf2647c58e02f61e167 EBUILD fakeredis-2.5.0.ebuild 2084 BLAKE2B 4591f6e8d91b0327225bfc6a2c792eab83298682c4f713786204e570bdca3b166d37616e7729e15f8bcbaf46b2a241ebcf25ce4f3146bdba451750941d6c461f SHA512 fab3b715ef33a7ca5fed697032c74237e52c23e1ca741e03109849a992d397f58705d36f476f0d8873fe47138781d84e29a62d180b9e8715044c72f1b432303c EBUILD fakeredis-2.6.0.ebuild 2084 BLAKE2B 4591f6e8d91b0327225bfc6a2c792eab83298682c4f713786204e570bdca3b166d37616e7729e15f8bcbaf46b2a241ebcf25ce4f3146bdba451750941d6c461f SHA512 fab3b715ef33a7ca5fed697032c74237e52c23e1ca741e03109849a992d397f58705d36f476f0d8873fe47138781d84e29a62d180b9e8715044c72f1b432303c EBUILD fakeredis-2.7.0.ebuild 2084 BLAKE2B 4591f6e8d91b0327225bfc6a2c792eab83298682c4f713786204e570bdca3b166d37616e7729e15f8bcbaf46b2a241ebcf25ce4f3146bdba451750941d6c461f SHA512 fab3b715ef33a7ca5fed697032c74237e52c23e1ca741e03109849a992d397f58705d36f476f0d8873fe47138781d84e29a62d180b9e8715044c72f1b432303c +EBUILD fakeredis-2.7.1.ebuild 2084 BLAKE2B 4591f6e8d91b0327225bfc6a2c792eab83298682c4f713786204e570bdca3b166d37616e7729e15f8bcbaf46b2a241ebcf25ce4f3146bdba451750941d6c461f SHA512 fab3b715ef33a7ca5fed697032c74237e52c23e1ca741e03109849a992d397f58705d36f476f0d8873fe47138781d84e29a62d180b9e8715044c72f1b432303c MISC metadata.xml 373 BLAKE2B 1de33db59658e6190cd0346be58208cae6c9143a52f49dc289e68aaa0d860b5bd68dfb54f2e0b005f60a67f5caa430e2ce94fc69e64bd27e1bbebb07ad29e602 SHA512 24bfcf4919363fef45c182b6de66221e580ee0e9e99ce46e91b767655dc0b6f8a9fa6c3512ba84d1040698c43a0b6a853ad8d63c1ee5fbc00a1d192defb24db5 diff --git a/dev-python/fakeredis/fakeredis-2.7.1.ebuild b/dev-python/fakeredis/fakeredis-2.7.1.ebuild new file mode 100644 index 000000000000..4186af5980d2 --- /dev/null +++ b/dev-python/fakeredis/fakeredis-2.7.1.ebuild @@ -0,0 +1,88 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +MY_P=fakeredis-py-${PV} +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/cunla/fakeredis-py/ + https://pypi.org/project/fakeredis/ +" +SRC_URI=" + https://github.com/cunla/fakeredis-py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/redis-py-4.2[${PYTHON_USEDEP}] + =dev-python/sortedcontainers-2.4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin redis + sed -i -e '/redis/s:<[0-9.]*:*:' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # also lupa + test/test_aioredis2.py::test_failed_script_error + # TODO + "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" + "test/test_fakeredis.py::test_lpop_count[StrictRedis]" + "test/test_fakeredis.py::test_rpop_count[StrictRedis]" + "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" + ) + local EPYTEST_IGNORE=( + # these tests fail a lot... + test/test_hypothesis.py + ) + local args=( + # tests requiring lupa (lua support) + -k 'not test_eval and not test_lua and not test_script' + ) + epytest "${args[@]}" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest index 1bd4db7d622c..ac3073b9a63c 100644 --- a/dev-python/humanize/Manifest +++ b/dev-python/humanize/Manifest @@ -1,5 +1,7 @@ DIST humanize-4.4.0.tar.gz 78519 BLAKE2B f61b654e201995479ace22b5aac106b08304ed9212cf5c6c7f87731d861c42c5e0243f7bb0b7f2c29b870421fa81fba0c36e4ead90ff90f207bc984286ac119a SHA512 bbbd386d9af82d9db0f2edc4653928654203c4239419232abfc15c51ccd865b355366549c46651e1291d4222ca8b2a297ffc0fce3cc32be4ae2f904ae308a8e4 DIST humanize-4.5.0.tar.gz 82709 BLAKE2B 97173e7b3dc7b35ff8dbb5b985153c35dd49332d733464ece7eeb00a23c2f7f2660fde9263b416dcd83f11e8ec0a578a4fa1648c6955b8dbc35540a2606d0d38 SHA512 7f045f6cf7c6c5cd37ecd1a3d5c6ed40d3e64e14d0718b07938c01ce3722e0487cbc90752840b644b8befff5c7db16090d510eabeb59c4dcf5306eadea005019 +DIST humanize-4.6.0.tar.gz 69815 BLAKE2B e32195b87080598ee0d024526c2631e9498c0019e344a2b3babbfea657a4d36611cb53e74e33634f26fa184fa1526ee700253b4f6a48b241a231b794669f31f0 SHA512 3c003d645d33b4d31ffa5a63b8754b939579a6ed396cd285789f9bd17e750147c425d41adb424af45d69844c6e2b9be8fed04f388f017f25c6eda1f31c053b3e EBUILD humanize-4.4.0.ebuild 586 BLAKE2B f325ee5e78d6d5247571e0e4902a9ccb46f764389e0a5f8a39193fefa5f09f44a810c4ab8b925fcee520cab5ab02469b4f8f734c40574c79a80d63c21e17a4ea SHA512 bf199b8f234054c042a9bd0bdcd335bc0a9ca072ee9557219489d56ac9b328f3e075ec7b27f87cce70a4d5568f79871f8ae126018cd9943b2e8f1ba51913bdcf EBUILD humanize-4.5.0.ebuild 594 BLAKE2B d744a9f4a8239a4ee6212d5f97c8b1e1bffec1b40aacce15e59a4beb345d353b5296a22d03bd1bb9641397d28b6012a2ee0b6c70eb3ea36cfe7cf48eddd449c1 SHA512 1f6f5c313fd8f3e41fa4115861d03200e7faee9c9600777875fa558ea4c7f5bba6797e69c8da522967f0b4a90e77ede2780e053ff6cddbbe6873f27c8398d728 +EBUILD humanize-4.6.0.ebuild 582 BLAKE2B 8703fcb8b1e6bf761b6be48bc82cc6babd1dbacece9131fbf769a3133ae4428d352aaf5fe7b1d696e7fda942c1dfe9b53073008ae36c91ee7fec9e22052fef80 SHA512 073fb540ff070269aefedbad09dfab7c60ac96f0d2247c6649a28b4dd699c20149ee73af083a34306c2a3c8fda1c28ffbc01f14b860e93e9a6fdde15fa5e9a81 MISC metadata.xml 506 BLAKE2B c00c304481f8bd5d2309a1fa72a19bd8405d2f8d55e68a9e688435dec5410db728537362d6fc090f448738fa462ad62d03cfdb82fda8702b91aced4ecd6c05d5 SHA512 71905cfb331f60723b2b3dc02b1a5cbc2712ea9a411692d8ce12e62ea90a4ebef41bb4806b90f9bc0706d8dfb6a3ebb69d23ef16f0177eaddcfbdf07612d8614 diff --git a/dev-python/humanize/humanize-4.6.0.ebuild b/dev-python/humanize/humanize-4.6.0.ebuild new file mode 100644 index 000000000000..a6a67e24c908 --- /dev/null +++ b/dev-python/humanize/humanize-4.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=hatchling +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Common humanization utilities" +HOMEPAGE=" + https://github.com/python-humanize/humanize/ + https://pypi.org/project/humanize/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index d3c552bb1778..1f8bc9c54bc9 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -6,6 +6,7 @@ DIST hypothesis-6.65.1.gh.tar.gz 9347804 BLAKE2B 555b8eb742b35cffbc0985394b7b830 DIST hypothesis-6.65.2.gh.tar.gz 9349189 BLAKE2B 4a36cde376a56c9eee7645c76606777e8c40144f0495a1a6f2d2d840262be26f52e077f932e90790214decfbc3fbb9b3f64add1830e451bb8e56b8c9c5ba5f34 SHA512 0955e95d9d97f44170dfc937c3ea6b43f6c4ac74dbb48e16a4998e735310f72448083382f6628b4bb9620ac0d21d6c749a5464c6a7caee24cdb7af8cd0c01dcb DIST hypothesis-6.66.0.gh.tar.gz 9349578 BLAKE2B 3dcdd9bcca00849d68a4bf1368784099bf69e25634b7d1dae13b40be2ac67959151c1b9cdf233349197de1a0f100d57baebbeb9a691ce56ec2d81d21c9f48989 SHA512 a73648ba0b4e3a0621e843ad3ea32f3f692374b82881b096c86a9609f4f7d1a277dd5265a4104863c648c6d5ee4dbccdb1d80ffe62bcc303f837cea26f7d40f2 DIST hypothesis-6.66.1.gh.tar.gz 9349822 BLAKE2B 728b6e1cb2a28a07cae066bb2e2f8099f21f9a27dbbcc27db1c4f97f6541f60464d90344630df75eb5cea9a65e865a296dbd8b5e20bcbbc17840c92d8f269ac7 SHA512 58ddb6c2bb77064d25ace1740bc5a9ba4d4b6c311da065aa065854c19d4920ec9d70b83935e1b9d057eb10c96c4fdfb445d17c6f321578cbde449df3c5edf704 +DIST hypothesis-6.67.0.gh.tar.gz 9349921 BLAKE2B 03c2a16a1895ed45d9b902c378b6f5d55ef205999f7e69f4405a350b615e6dfccf225c76a193be412efa16d9e13a86a8f003955738e53f669578c01bca30ea9b SHA512 9ce51254d3285d859c877bd2a074fc837ea817f9eb8dcc6b4048d5af4650a958da66f5d46b7e68108a98fe0b4b6115fa2531adb43b94a4f38c8494c54b0e9a9d EBUILD hypothesis-6.62.1.ebuild 2132 BLAKE2B be04a23a6cc71d17c7585c98d1df3e8bf9a32c84897a5328fba61561c756d8bbcbfdcf778debfa99d3555f430f697720a1bcf083e3422d55116f5649e901ae44 SHA512 61d1b1390b920c328bbafd1b80c7f1c934f5483972bfaba692ed95cd5478bbaa62bc65438665037b6bc10b0050477c02597f2fdc9536963d6769f23cdcd5f721 EBUILD hypothesis-6.63.0.ebuild 2140 BLAKE2B 2f30425aa0adf1a75d387919c79d317184887d591f26317945b877349a9ae6e3b6305dc4fbb6734954125e704c2709859e3ea558b21326ac715947df8bc989e1 SHA512 84b885785fd94b11d69783af8a4b119bc434adbae1612687841cac5c627954c0e83480d66ec4b5e129350310a807db73f43e914b6412e4ead6808c22c40fd990 EBUILD hypothesis-6.64.0.ebuild 2140 BLAKE2B 2f30425aa0adf1a75d387919c79d317184887d591f26317945b877349a9ae6e3b6305dc4fbb6734954125e704c2709859e3ea558b21326ac715947df8bc989e1 SHA512 84b885785fd94b11d69783af8a4b119bc434adbae1612687841cac5c627954c0e83480d66ec4b5e129350310a807db73f43e914b6412e4ead6808c22c40fd990 @@ -14,4 +15,5 @@ EBUILD hypothesis-6.65.1.ebuild 2140 BLAKE2B 2f30425aa0adf1a75d387919c79d3171848 EBUILD hypothesis-6.65.2.ebuild 2140 BLAKE2B 2f30425aa0adf1a75d387919c79d317184887d591f26317945b877349a9ae6e3b6305dc4fbb6734954125e704c2709859e3ea558b21326ac715947df8bc989e1 SHA512 84b885785fd94b11d69783af8a4b119bc434adbae1612687841cac5c627954c0e83480d66ec4b5e129350310a807db73f43e914b6412e4ead6808c22c40fd990 EBUILD hypothesis-6.66.0.ebuild 2140 BLAKE2B 2f30425aa0adf1a75d387919c79d317184887d591f26317945b877349a9ae6e3b6305dc4fbb6734954125e704c2709859e3ea558b21326ac715947df8bc989e1 SHA512 84b885785fd94b11d69783af8a4b119bc434adbae1612687841cac5c627954c0e83480d66ec4b5e129350310a807db73f43e914b6412e4ead6808c22c40fd990 EBUILD hypothesis-6.66.1.ebuild 2140 BLAKE2B 2f30425aa0adf1a75d387919c79d317184887d591f26317945b877349a9ae6e3b6305dc4fbb6734954125e704c2709859e3ea558b21326ac715947df8bc989e1 SHA512 84b885785fd94b11d69783af8a4b119bc434adbae1612687841cac5c627954c0e83480d66ec4b5e129350310a807db73f43e914b6412e4ead6808c22c40fd990 +EBUILD hypothesis-6.67.0.ebuild 2140 BLAKE2B 2f30425aa0adf1a75d387919c79d317184887d591f26317945b877349a9ae6e3b6305dc4fbb6734954125e704c2709859e3ea558b21326ac715947df8bc989e1 SHA512 84b885785fd94b11d69783af8a4b119bc434adbae1612687841cac5c627954c0e83480d66ec4b5e129350310a807db73f43e914b6412e4ead6808c22c40fd990 MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.67.0.ebuild b/dev-python/hypothesis/hypothesis-6.67.0.ebuild new file mode 100644 index 000000000000..c793a8a143d2 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.67.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !! gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index a040e7709e1e..45336e5e8968 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -2,8 +2,10 @@ DIST moto-4.0.12.tar.gz 2559220 BLAKE2B 475097f498bc648d6a29db36343135372f088106 DIST moto-4.0.13.tar.gz 2563514 BLAKE2B 1d2f01ff0af7c1ab4bc8670015eeefddf70970aa321ca641989ef740bf3f896bacfeaf8b16cdf37b7fedecafa8d81cc3d66473315f867fcbd6143a7d010d9aba SHA512 1c5a6a19a5eccfd70de71ec0aaa7263f8a7ebb16f9576eb78d72b0a3f0dbdaa3e6db1a631ba36d5c1b04f6d8aded6f492cb8792da1e6fd036897a1dfbdca0b56 DIST moto-4.1.0.tar.gz 2561695 BLAKE2B ce95abe8d49bee64d5323988526e251c52cd5ee5df95fc058240336a2eb580bf7eafbef6b594328a4a5ef34d047a293656c8ec9cdbf9c41bf3c7df05fdfb33c5 SHA512 c5b234c7d7057922880ad9ba09bb4e0453ca09d9f2b58ffce1990092e5d5cb070954e9d6cca307730ecb5540509792d0dbb4135289137fc12469354a91f326b8 DIST moto-4.1.1.tar.gz 2581128 BLAKE2B a4af36e5f87633a8b3f0dcfc5b786d95925dc787acf4b6a7698262637208a1fa0344e734a4a5c8073643e5d92740ee52d3b37f305b1afbf81e3a2f8496b5ecf1 SHA512 1b7ec2cd1a2a7273a22cc8fe3ddf64b9e4447cdf7d4fd966dee1cbde6b95c1a51d1e5870530eee1f19dbdaa196bff5c283a2df08462ab9ffac3b683f789bca25 +DIST moto-4.1.2.tar.gz 2593920 BLAKE2B c07ed5169fa24318e5ea081c470b07d93071c7d6e2242643e770aa3c3f59afa5f808855c47e053265aa51ad12b041d962282387a800d619309fc37ba7a360122 SHA512 73975b95b8d2caaede4f1c32ff72da68d57d28ce5c2354a2582d7501ee5be7ea6b643437234739ea81e090c611e265e54bd2b137fd8146e12d99346497cf6da6 EBUILD moto-4.0.12-r1.ebuild 4095 BLAKE2B 4f28ba178983425e413628560f2d56bf4fcd08eac240c73c7c2979af03af8f9f573ecce2f19532801a2782cea97a15ebc9520a073a28b02b5be6375f25fc1066 SHA512 0ed57349eb724a8ed5b08a329de53aa1b18a26d531343776ef57b40c9eafdd52e2d205f826e563c5c8e87a0e4f3dec25a9372dde7fdeec9938a29b9bcd31af80 EBUILD moto-4.0.13.ebuild 4097 BLAKE2B aed3a8ead3d93b433b17cd93ac8782d725e90e9468cb685d1d49e30d9cfa7c259935ec9924fb247d127156bc9f8313fa0fbb298078922ccd0930935c013c2ae5 SHA512 62849c4a9ea4daf9243d1a2777fc3d091ecf336466083e63a6ff598db60bc36315024472730c74c3ec8cd87e73439fa329d90e7ecb2459cd15f79467a83b85a2 EBUILD moto-4.1.0.ebuild 4098 BLAKE2B 529f7fa900af82bbeb635c8e12e490c28b9bb7828dcba62530a48006be14dd487dd9dd5ae62ae529f9a6bbdf7bcee4e2e2a942e0aec1979e8d7c4efe577d5931 SHA512 474adca44ade7596fdc4c294affcf16f456524d1a8a5d573e72f23ce711e79fcee9c5a8e4ecd93b4745cdad4776230a67fcdad1acccd85435d16fbf4c0dfeb83 EBUILD moto-4.1.1.ebuild 4226 BLAKE2B 499b4508d31f68754484dc2d17aebcb0f55e382e14e2db076f56d5da0bb844229accd01930a2b1a017cace66d3c87a5cf096b107ddfd79d127754d238e0877b7 SHA512 d4a13150daa717246ff203e78b69a2528e4060247cb8f0f6d725f1ed0199c61a4d20b5893798a1bea182fc170165ce7d6cdaaf83f492252b1662d4762b566a62 +EBUILD moto-4.1.2.ebuild 4423 BLAKE2B 288d10f6ec1026c9cf8d744436cac1f482bdb0bb2736f93c1a741d88b9db4cdb8452c82ebd8ac05c67ac73e592ac77dcfbf9940f54f639a3bad74f6dddf16a4d SHA512 0bbf2c5d2c516b13634030040e2f02ff1ce850e0487a7ae98fd4e8ca9e82504aa92004e00a3df6c32bf1628675325857bed862e07a5218ccdbebd6c5f2f18467 MISC metadata.xml 553 BLAKE2B 1669d17d3e655aa3fb41a489229a5fbfa6a9cfb23c667e98fbbef931992c7e9645581b9ea12011601093586cba491a5557d68e5256edb9f387c4db362346edf9 SHA512 48ae3bd9be8c3bfb68f7022d0e7bb422c2a06157967809be302067facf91db825023859d18ccea89109931538b0e93181d54a31fcc967628df61a9a3112edd3d diff --git a/dev-python/moto/moto-4.1.2.ebuild b/dev-python/moto/moto-4.1.2.ebuild new file mode 100644 index 000000000000..23e04898ec33 --- /dev/null +++ b/dev-python/moto/moto-4.1.2.ebuild @@ -0,0 +1,99 @@ +# 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_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Mock library for boto" +HOMEPAGE=" + https://github.com/getmoto/moto/ + https://pypi.org/project/moto/ +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + dev-python/botocore[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.2.8[${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/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python-sshpubkeys[${PYTHON_USEDEP}] + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination + tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3 + tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3 + tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3 + tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3 + # broken code (local variable used referenced before definition) + tests/test_appsync/test_appsync_schema.py + tests/test_appsync/test_server.py::test_appsync_list_tags_for_resource + # Needs network (or docker?) but not marked as such, bug #807031 + # TODO: report upstream + tests/test_batch/test_batch_jobs.py::test_terminate_job + tests/test_batch/test_batch_jobs.py::test_cancel_pending_job + tests/test_batch/test_batch_jobs.py::test_cancel_running_job + tests/test_batch/test_batch_jobs.py::test_dependencies + tests/test_batch/test_batch_jobs.py::test_container_overrides + tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed + tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function + tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda + tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception + tests/test_s3/test_server.py::test_s3_server_post_to_bucket_redirect + tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" + # TODO + tests/test_batch/test_batch_jobs.py::test_failed_dependencies + tests/test_batch/test_batch_jobs.py::test_failed_job + tests/test_batch_simple/test_batch_jobs.py::test_submit_job_by_name + tests/test_core/test_environ_patching.py::test_aws_keys_can_be_none + tests/test_core/test_mock_all.py::test_context_manager + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m 'not network' +} diff --git a/dev-python/mypy_extensions/Manifest b/dev-python/mypy_extensions/Manifest index cb9fbb2efe0a..9d75a97734d6 100644 --- a/dev-python/mypy_extensions/Manifest +++ b/dev-python/mypy_extensions/Manifest @@ -1,3 +1,7 @@ DIST mypy_extensions-0.4.3.gh.tar.gz 5545 BLAKE2B 8f1f988562390ee1ba3d90cafafec73c6fe080eef6b4321252d3b3aeffebf1ad13bdcae7ae75c69eac7bef91dcf3f846ae7f9a3f2ad6bad9de2bc8cfe5eed29f SHA512 22d8dc538cf6f77d97f4113dd34fce8095dd98944c7613fab2b3e71a3e9b7df1374654af41ead5c934f789ef1b72f54d980ab06f3ca28b8b4c6bb14ba1ca3ce2 +DIST mypy_extensions-0.4.4.gh.tar.gz 5555 BLAKE2B 89852229a2c37994aac1bdb0026a14489ea51b44286371d6b4711ad9b9df9a9827fd9b32bc7f2768b7e5890481560bd7221e1262f3e27b69fe964f9e0eb081e0 SHA512 86fe3cc95b856476e2f8df7f64084277411435a17726407fbd9a114e5684b8ffb0da1cf9eb3a17e19152e7958efcfaf57bf7236bcefe6eb7f4098b14ed302949 +DIST mypy_extensions-1.0.0.gh.tar.gz 6097 BLAKE2B 099616ee0bacad62d9ce642c3adb1eebe27546f7c567d1e0fa6ec04d9e6cbcda2966fff9769940cfda8b7d6cc9f33100af9d6f416ab2def26079668a16c354b3 SHA512 ac89a9f60a2c3df3457d5a6ab7ed47b72dd173646ef57f1450556051617e62046405a69fadeb40d2c24e68ce6ffed56d9182365e3203477facdc935e1a807847 EBUILD mypy_extensions-0.4.3-r2.ebuild 790 BLAKE2B 2faf75075712f075aff24803d8a49fd7fc357e3f6de384ebc00e36133d6c98df133d3da08f8c8a4a0d742e279e20e677df5dc2c650068dc0c5ed021a50c03175 SHA512 d6fcb1d70eba7bee40e3cb4dadc2643e209cc8ca5e6946e82c65a4a0a59fba76f1f51c011c67bcb626e7c6369e2dba6a11ecba5ec5b61167a76a0fbc05a3a01b +EBUILD mypy_extensions-0.4.4.ebuild 805 BLAKE2B 3f2ab1c61051fff660c715f021daf38e1a89dc10b6f1ed4f32bdddd72539dc08cb9c63435bcb521895dc63dc614df5ebdf5775d1cc163c0cac05ce587b45933e SHA512 55657958647a766b0e1b0851c79087c2576f12e43bd76add2c8b8e7970f8dd02056277a9e82959cf4e23e3ebf1216308ed4c9d3b5b4d5c49e6a3e6fb34fa5e09 +EBUILD mypy_extensions-1.0.0.ebuild 661 BLAKE2B 49591255edb6dc180dd9221efdd746af93740edb4ddfd4a26ae9e2542352a9ef1a110cf61282e1e09c9b714784214e1436bb5bc7732eeae12ec1c0fcffd3df60 SHA512 75ef86965b3e49fcc22aa2db512d602ae17dde150b68acb46911466afdcf5c1d74e814ce9453d2c2021cb254cdb113f16d2f08d4ff45070a15d730e67a183902 MISC metadata.xml 405 BLAKE2B eaf484f8baf4a4353f55fc7a84a40057c70adc6a5403e5f2e22f84d804f63774b60c52ddcdb4cc59fa21f3c350ea772f7eeb12112610d611c053ef82340a1e92 SHA512 26bd5e50dd2d591c6bcc803d27e85fa0508921c688d798e208868b7c9a77bee999ef12732038af42dc62fdbec75b7cfbbd6ff33256756736bcc783893aeaf586 diff --git a/dev-python/mypy_extensions/mypy_extensions-0.4.4.ebuild b/dev-python/mypy_extensions/mypy_extensions-0.4.4.ebuild new file mode 100644 index 000000000000..3fa95ff86e2a --- /dev/null +++ b/dev-python/mypy_extensions/mypy_extensions-0.4.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Optional static typing for Python" +HOMEPAGE=" + https://www.mypy-lang.org/ + https://github.com/python/mypy_extensions/ +" +SRC_URI=" + https://github.com/python/mypy_extensions/archive/${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 ~x64-macos" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # This test assumes we get a TypeError, but that is no longer true in 3.11 + "tests/testextensions.py::TypedDictTests::test_typeddict_errors" +) + +python_test() { + epytest tests/*.py +} diff --git a/dev-python/mypy_extensions/mypy_extensions-1.0.0.ebuild b/dev-python/mypy_extensions/mypy_extensions-1.0.0.ebuild new file mode 100644 index 000000000000..7dfecc74deb8 --- /dev/null +++ b/dev-python/mypy_extensions/mypy_extensions-1.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Type system extensions for programs checked with mypy" +HOMEPAGE=" + https://www.mypy-lang.org/ + https://github.com/python/mypy_extensions/ +" +SRC_URI=" + https://github.com/python/mypy_extensions/archive/${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 ~x64-macos" + +distutils_enable_tests pytest + +python_test() { + epytest tests/*.py +} diff --git a/dev-python/openapi-schema-validator/Manifest b/dev-python/openapi-schema-validator/Manifest index 9d9f7ea0338a..e994e25e04f9 100644 --- a/dev-python/openapi-schema-validator/Manifest +++ b/dev-python/openapi-schema-validator/Manifest @@ -3,9 +3,11 @@ DIST openapi-schema-validator-0.3.4.gh.tar.gz 16593 BLAKE2B 17882dff25d1bed05efa DIST openapi-schema-validator-0.4.0.gh.tar.gz 17070 BLAKE2B 199476dd660ab3493fe9805dc915c42f05b2bc5ca0f1f9728aa1e5afe5a923e3f84d82511572e353ab19c15b3094460dcfbde5ef1d96ca834c1da24314223046 SHA512 ce61c112c528bac022e3feb959bfe5adbac000ec0b4956f678bf61f66efdbf3a5cf912a4dfa1512858b497fdadaf533532f5a580f28f6ceea831e6b5ac98d85e DIST openapi-schema-validator-0.4.1.gh.tar.gz 17478 BLAKE2B 0c215589eb72f97205c565bf7cfc77096dd9cf2a7d05d2ea7946fcbc3c8c9acb5702635f6cfe520993139ce9713c426f01b98d34b3c962ac918989f7d87f22c9 SHA512 e437309a6e741eaefa6b49bb038bd5976288bd6559fc6957d7029d9c0fed36ee368ac5fb26133a0fe54366da77ec649b5e44eb6a7926d9d5c49573afdfa3309b DIST openapi-schema-validator-0.4.2.gh.tar.gz 16785 BLAKE2B 9b1a301711087c8ff1d04ed3988ed8c7004088f8404ff103fee849b2f6f40e7492dd2daf0f6e009dcb5245cf33553bcfa4c441b66f0cbe98a7046f8bf4573ed9 SHA512 494c420d973dbe6b2b21181143f6bb16f7d4de4934eaae046fbe3bd625ab99bb4860e5c4806e01290ea701970bde741ccb6a506ddff1775b2f1b3364f4cad06e +DIST openapi-schema-validator-0.4.3.gh.tar.gz 30639 BLAKE2B 370e3cc4e6c9892912dc77114ca867752f46afd1555f91a3721f41a9c4516fdffc0416f2f1028f4717ca8cc1a1ef2ec47607b7ef2b6578a0b01afb8ddb6660c8 SHA512 a930ecafe2e4c1d4d021a71fe9b8f35c496320e5c5198e2ccb57d82e01570430c4904cae7bc44578bc95be63cf5c709c5bef1d96014c3a66fca3b4495c5e455c EBUILD openapi-schema-validator-0.2.3.ebuild 862 BLAKE2B c520f27c8885a8165e4d284aef68a1c1d0b0ad1c725625ea6bd4786c76a6896d7d880e36c52424aaa2c89f226cb9f638f17127c8de8b299be84f5decdd41e3ac SHA512 8009125bfc96927b452fcc074a803470a08d46ed66e0cc0411f798758c610ef8b08e2b6d689eb970ef48fbf05d5314bc39c595adbd0c0f57f441b175015c9dec EBUILD openapi-schema-validator-0.3.4.ebuild 905 BLAKE2B 2c4fe86f292ca66d3cb665fb35735ac2f0aa9e46cf647ce7fdd22999721d4d0fe30ed29a07e8b438158611a80792721aafbe91a333a5649d38edbb8ad1e7247e SHA512 f1184409ca5040d0e27dfb27e6e7d85760b44ab4efc4eee9fe2268dd35e8301eb2051ee3b2f6291ecae75f05be131a0a09c05c18e7965889ceabfdc3e7a99bcd EBUILD openapi-schema-validator-0.4.0.ebuild 862 BLAKE2B 93e9d9156b46dfe40a72b5cdcbc3cfb04970ba04b2494c184417b1dcd7eac6452e9faa826edcda1388f4aef524c27d5ea6aa7381b1d4d72dead71ed8eaffca0b SHA512 778c15e219fcdf27f556d0ed198de15cb9f3ab070ff82616f49302b430ff03cec0d23fc9da6e639f7556cb7b8372fc021b0362895f8154aeb47eb1b9423a6309 EBUILD openapi-schema-validator-0.4.1.ebuild 862 BLAKE2B 93e9d9156b46dfe40a72b5cdcbc3cfb04970ba04b2494c184417b1dcd7eac6452e9faa826edcda1388f4aef524c27d5ea6aa7381b1d4d72dead71ed8eaffca0b SHA512 778c15e219fcdf27f556d0ed198de15cb9f3ab070ff82616f49302b430ff03cec0d23fc9da6e639f7556cb7b8372fc021b0362895f8154aeb47eb1b9423a6309 EBUILD openapi-schema-validator-0.4.2.ebuild 1024 BLAKE2B e85834b67425de56784e99fdff1f5f0db1cdb5bbc6598180c1fc743550dda6201b0fc49a564a9cf027123be16457ff38b6ed495a060ad42aaf3bbdd5969e7208 SHA512 f1c328d8b70dc96d02cc241f83b7f3117c9d49a300fb6b2e4ba1547a8e3cbdd392f2664c782aba439cee2524353092e753e12d2430385f97c1ac9afd88b59528 +EBUILD openapi-schema-validator-0.4.3.ebuild 779 BLAKE2B abfabf3f40fb31b3d5d2e79b3fa84360d9598eec180e70fa3182848ce1480a602b9753fba6b405a2f9ff6a4d6bf433c63bd6dcdd34b0e5dc8aed64d6927a7ce6 SHA512 45aa6a8ec59f6a2a00f6b7c7908efda8ccf815589675180539d388f7a4f13a0e299d5cc03719ffc994f6d0765d372c0f970feec03789f51ad66eee71caab9f0c MISC metadata.xml 400 BLAKE2B 7869b5ce26c516d7e8ac441229cc5e749dfe6ee5fea478a0d5a0574bfbb863434d03f5c16332376337c33f4215877b985251cd5a2e71caf445a16f52283a63fc SHA512 071df32bb4ad2c941aafb9232ff890ec9e1150ee789eb9e335a94024ceb7bf6b7b79cd8f9f0ca16fc08c6e19383616253d391710b4d1e2796d57d12ff00436e0 diff --git a/dev-python/openapi-schema-validator/openapi-schema-validator-0.4.3.ebuild b/dev-python/openapi-schema-validator/openapi-schema-validator-0.4.3.ebuild new file mode 100644 index 000000000000..3c2a9d37941c --- /dev/null +++ b/dev-python/openapi-schema-validator/openapi-schema-validator-0.4.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="OpenAPI schema validation for Python" +HOMEPAGE=" + https://github.com/p1c2u/openapi-schema-validator/ + https://pypi.org/project/openapi-schema-validator/ +" +SRC_URI=" + https://github.com/p1c2u/openapi-schema-validator/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/jsonschema-4.0.0[${PYTHON_USEDEP}] + dev-python/rfc3339-validator[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/--cov/d' -i pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 85218cbf658b..6ae86a7c7825 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -2,8 +2,10 @@ DIST pikepdf-6.2.6.gh.tar.gz 2905945 BLAKE2B 3ab7e80ca43c7395994333a47f3ef667b69 DIST pikepdf-6.2.7.gh.tar.gz 2906211 BLAKE2B bfc3d8e707b952e214fda3e31ecb0cb44266f41de63f2daea7e13dc944ed8d9d2438ead7a0b6a8f18b6295f52621311f94849b060459d082e75eef0c71713148 SHA512 4cfab0729c0f87bd52f58b9f23af8a4ddd34029b1259e4e2c67a73abfda3b5bd2e8de25962ed70a5497609398453e4f1ea6642e3b01245cb2c70bc09b5ac55f8 DIST pikepdf-6.2.8.gh.tar.gz 2906054 BLAKE2B 7b639741112857dbf784da7245f905e76664b200f4f832b6a2e8bbf7ab3e48e7f3a5dba1ae00bba72a5797e7e7bce0f1cea6777114ccf9a9b39d352a754edaeb SHA512 d27d8dcd80aa6a553ea6fb3c404bbe7752b2d1a7fb7a8e0315707f24243ff3fcdf58f273dc283e117a0124bfa724f7384004340f20d9f322cf08a5e0366b0225 DIST pikepdf-6.2.9.gh.tar.gz 2906102 BLAKE2B bd876f506714b237a6010b72c4557bc600e2ee4d6621131c21902ae9f41eb39a9a54a6c08d08dfa84fb3eeec8f2ae7e256d1f1fde533dbc2660a2b415077c8a7 SHA512 2b16e51c999fe1d1f593a9079ae0f13fdaa1955b5d55023169e3a805cbdda07b7ca4108ecea66463a1a253712b851b6dc824aed2c80e5f0caa3ba398d413bd64 +DIST pikepdf-7.0.0.gh.tar.gz 2899924 BLAKE2B 0aeb5b9a26b8f5363ed62ac59e4ffd6dc11aba44c2d3248f8e47c31811cfb810ec7e11150e1bf64ea28242bb7749e3fa2f2fc2bded3af64123e39aa1e4595b8d SHA512 5a11b0a3f35f7d7071ad0553be598f9d2e2d95ce325c080c69e9551e07ebde0102f02990d5ef32be860b468fefc1c29d5f9ff581d1f75321314c52fb2de2f389 EBUILD pikepdf-6.2.6.ebuild 1607 BLAKE2B 92e6ac52cf35242199acaabb4e12698be2ebe9c49ce0f9dc30755a74667c1546dd1bfae5d5fea084d4bc1175dcf5d859f1d7f51097fc930867b0530bf02c7868 SHA512 bb41d2eb4da7f92a90e7a0f8a959336bf66623b6f4493b19fe0a372b0c3138f258c95807e06473f8310027136f3bfd1d6be5f038885d5581d2346af565ecf685 EBUILD pikepdf-6.2.7.ebuild 1611 BLAKE2B edf22a90167ea2dd54d8030ae451f95e5d24745528afe0340ab6d348af65e155d7a8b1fd8d7258926f6b20a956e04b2b49bbf12fc8e2f5d26f03e8c1437750b6 SHA512 28afe4b977b06826974b969f5837a46198eadae27ca30e05ad7d8065cbeb44373f4f97170e22dc97e308691fe3f237538dc1997885056b3c7b6e4d1fe80a979e EBUILD pikepdf-6.2.8.ebuild 1611 BLAKE2B edf22a90167ea2dd54d8030ae451f95e5d24745528afe0340ab6d348af65e155d7a8b1fd8d7258926f6b20a956e04b2b49bbf12fc8e2f5d26f03e8c1437750b6 SHA512 28afe4b977b06826974b969f5837a46198eadae27ca30e05ad7d8065cbeb44373f4f97170e22dc97e308691fe3f237538dc1997885056b3c7b6e4d1fe80a979e EBUILD pikepdf-6.2.9.ebuild 1611 BLAKE2B edf22a90167ea2dd54d8030ae451f95e5d24745528afe0340ab6d348af65e155d7a8b1fd8d7258926f6b20a956e04b2b49bbf12fc8e2f5d26f03e8c1437750b6 SHA512 28afe4b977b06826974b969f5837a46198eadae27ca30e05ad7d8065cbeb44373f4f97170e22dc97e308691fe3f237538dc1997885056b3c7b6e4d1fe80a979e +EBUILD pikepdf-7.0.0.ebuild 1625 BLAKE2B 465659fa466e4f1d6b42c8e85d2146e7058d22953a18377859ff44320210acc0d2260e9499960c1fa65ae8c98ace88d2ba4444a5a04bee7f884b0bc7efb93819 SHA512 8d24c99a0974aa1575b059733ad83110fe5cc2e83b7ae528cdaf2046ace69190f0ad96f1417c69495dc2d726375f70e451d87f80b0693a9b2a996bcbad0a5335 MISC metadata.xml 687 BLAKE2B 07c94d9dac5323202f955fd9c1e5a6fc78518a0a6f703c54c73b70e774900c41a4823beb3f8be7068d83878d1e60df0d7e30efd53bbc1ba31019477de82b092f SHA512 1be3ec00342e8079363db0c57f75ae88bd05e873869fbbb27442e9fe98eb6917c55b4eaf03ed22c4c44ca3aec9b84839cbc254202460a3266bbc42ff8f0f84b3 diff --git a/dev-python/pikepdf/pikepdf-7.0.0.ebuild b/dev-python/pikepdf/pikepdf-7.0.0.ebuild new file mode 100644 index 000000000000..9cf479f7a649 --- /dev/null +++ b/dev-python/pikepdf/pikepdf-7.0.0.ebuild @@ -0,0 +1,64 @@ +# 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_{9..11} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE=" + https://github.com/pikepdf/pikepdf/ + https://pypi.org/project/pikepdf/ +" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + >=app-text/qpdf-11.1.1:0= +" +RDEPEND=" + ${DEPEND} + dev-python/deprecation[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pillow-9.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-7.0.5[${PYTHON_USEDEP}] + test? ( + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.36[${PYTHON_USEDEP}] + >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] + >=dev-python/psutil-5.9[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{8..10}) + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fragile to system load + tests/test_image_access.py::test_random_image +) + +src_prepare() { + sed -e '/-n auto/d' -i pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/pkgcraft-python/Manifest b/dev-python/pkgcraft-python/Manifest deleted file mode 100644 index f7e40fde8c06..000000000000 --- a/dev-python/pkgcraft-python/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST pkgcraft-0.0.3.tar.gz 1239742 BLAKE2B c9148d3ac34d80c47db5d1080b3806e6b64fffa226d595a11499215626342286efc19b86fd1e158a8ca0021ab8946d35e4393fceaf8a318c258114a6c2e1ffdf SHA512 53ae196d073271654807ef5587c38d83e10b606f59baf63e3c8da7ce1b1d80d7acd1e3e201ebba1346c14d101eded666d6ad9bdf972b36c574c9b494147baa4a -EBUILD pkgcraft-python-0.0.3.ebuild 1669 BLAKE2B 34ddfe21de878010bb5c4619142c0deed93b9be8463dec4f3b8ac9f081f2f66d1bf39db905f60f140e216b91d0edee8e5bc8c8051ca9f07bf68516c3df40c56b SHA512 53e44ec94bbb6c36470876b6d077d604ce3c2a6aacdc673772b851a4f6ea04bc54413088a49797adc16db6bb4939ddea1c5e2479223a286b1025aacb58b3e224 -EBUILD pkgcraft-python-9999.ebuild 1669 BLAKE2B 34ddfe21de878010bb5c4619142c0deed93b9be8463dec4f3b8ac9f081f2f66d1bf39db905f60f140e216b91d0edee8e5bc8c8051ca9f07bf68516c3df40c56b SHA512 53e44ec94bbb6c36470876b6d077d604ce3c2a6aacdc673772b851a4f6ea04bc54413088a49797adc16db6bb4939ddea1c5e2479223a286b1025aacb58b3e224 -MISC metadata.xml 454 BLAKE2B 5085311aaebe3c2cc696fee5da4ee272e47936a4f729c2007efce94097087a987985fb972df477fb72eead3402555924ca8b8f183b69af357453ad93daeb946e SHA512 ba7457ec4b43f1664042599d4e23506e496d1f2212ea7aa02c58fd9d796915dace2817bfb1c71e6f022e9490215248e2a705b223a087d91255b97b23f82f9c23 diff --git a/dev-python/pkgcraft-python/metadata.xml b/dev-python/pkgcraft-python/metadata.xml deleted file mode 100644 index 39d39075985d..000000000000 --- a/dev-python/pkgcraft-python/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - sam@gentoo.org - Sam James - - - python@gentoo.org - - - pkgcraft/pkgcraft-python - pkgcraft - - diff --git a/dev-python/pkgcraft-python/pkgcraft-python-0.0.3.ebuild b/dev-python/pkgcraft-python/pkgcraft-python-0.0.3.ebuild deleted file mode 100644 index 5dc743ca3d03..000000000000 --- a/dev-python/pkgcraft-python/pkgcraft-python-0.0.3.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 - -DESCRIPTION="Python bindings for pkgcraft" -HOMEPAGE=" - https://pypi.org/project/pkgcraft/ - https://github.com/pkgcraft/pkgcraft-python -" - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft-python" - inherit git-r3 - - PKGCRAFT_VERSION_MIN="9999" - PKGCRAFT_VERSION_MAX="9999" -else - SRC_URI="https://github.com/pkgcraft/pkgcraft-python/releases/download/v${PV}/${P/-python}.tar.gz" - S="${WORKDIR}"/${P/-python} - - KEYWORDS="~amd64" - - PKGCRAFT_VERSION_MIN="0.0.4" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="+examples" - -RDEPEND=" - >=sys-libs/pkgcraft-${PKGCRAFT_VERSION_MIN}:= -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-python/cython - dev-python/setuptools_scm - virtual/pkgconfig -" - -distutils_enable_tests pytest - -python_prepare_all() { - if [[ ${PV} != 9999 ]] ; then - local actual_pkgcraft_min=$(sed -En '/^MIN_VERSION =/{s/[^0-9.]//gp}' setup.py || die) - if [[ ${actual_pkgcraft_min} != ${PKGCRAFT_VERSION_MIN} ]] ; then - die "Mismatch between setup.py's MIN_VERSION and ebuild!" - fi - fi - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -python_install() { - # Conditional because these aren't installed officially right now - # and the naming is just for convenience. - if use examples ; then - while IFS= read -r -d '' file ; do - python_newexe "${S}"/examples/${file##*/} pkgcraft-${file##*/} - done < <(find "${S}"/examples -type f -executable -print0 || die) - fi - - distutils-r1_python_install -} diff --git a/dev-python/pkgcraft-python/pkgcraft-python-9999.ebuild b/dev-python/pkgcraft-python/pkgcraft-python-9999.ebuild deleted file mode 100644 index 5dc743ca3d03..000000000000 --- a/dev-python/pkgcraft-python/pkgcraft-python-9999.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 - -DESCRIPTION="Python bindings for pkgcraft" -HOMEPAGE=" - https://pypi.org/project/pkgcraft/ - https://github.com/pkgcraft/pkgcraft-python -" - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft-python" - inherit git-r3 - - PKGCRAFT_VERSION_MIN="9999" - PKGCRAFT_VERSION_MAX="9999" -else - SRC_URI="https://github.com/pkgcraft/pkgcraft-python/releases/download/v${PV}/${P/-python}.tar.gz" - S="${WORKDIR}"/${P/-python} - - KEYWORDS="~amd64" - - PKGCRAFT_VERSION_MIN="0.0.4" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="+examples" - -RDEPEND=" - >=sys-libs/pkgcraft-${PKGCRAFT_VERSION_MIN}:= -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-python/cython - dev-python/setuptools_scm - virtual/pkgconfig -" - -distutils_enable_tests pytest - -python_prepare_all() { - if [[ ${PV} != 9999 ]] ; then - local actual_pkgcraft_min=$(sed -En '/^MIN_VERSION =/{s/[^0-9.]//gp}' setup.py || die) - if [[ ${actual_pkgcraft_min} != ${PKGCRAFT_VERSION_MIN} ]] ; then - die "Mismatch between setup.py's MIN_VERSION and ebuild!" - fi - fi - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -python_install() { - # Conditional because these aren't installed officially right now - # and the naming is just for convenience. - if use examples ; then - while IFS= read -r -d '' file ; do - python_newexe "${S}"/examples/${file##*/} pkgcraft-${file##*/} - done < <(find "${S}"/examples -type f -executable -print0 || die) - fi - - distutils-r1_python_install -} diff --git a/dev-python/pkgcraft/Manifest b/dev-python/pkgcraft/Manifest new file mode 100644 index 000000000000..8db2816003e2 --- /dev/null +++ b/dev-python/pkgcraft/Manifest @@ -0,0 +1,6 @@ +DIST pkgcraft-0.0.3.tar.gz 1239742 BLAKE2B c9148d3ac34d80c47db5d1080b3806e6b64fffa226d595a11499215626342286efc19b86fd1e158a8ca0021ab8946d35e4393fceaf8a318c258114a6c2e1ffdf SHA512 53ae196d073271654807ef5587c38d83e10b606f59baf63e3c8da7ce1b1d80d7acd1e3e201ebba1346c14d101eded666d6ad9bdf972b36c574c9b494147baa4a +DIST pkgcraft-0.0.4.tar.gz 397121 BLAKE2B 72b24d34b6c3b6114a5d182b4fe562078aa258a21271b33d8858c85cca480a932afab5933978295fd44d531146d58688391efe8e23f358332de83ae5195d68fb SHA512 04996bcbe6d9a8ae6082ea84a63358f42d3a503f1e0d188b627b033b8379cf6e22f5ae8ff764b7213fe6d801a1eeb6321b02967e77d98575125e16781d9b917c +EBUILD pkgcraft-0.0.3.ebuild 1669 BLAKE2B 34ddfe21de878010bb5c4619142c0deed93b9be8463dec4f3b8ac9f081f2f66d1bf39db905f60f140e216b91d0edee8e5bc8c8051ca9f07bf68516c3df40c56b SHA512 53e44ec94bbb6c36470876b6d077d604ce3c2a6aacdc673772b851a4f6ea04bc54413088a49797adc16db6bb4939ddea1c5e2479223a286b1025aacb58b3e224 +EBUILD pkgcraft-0.0.4.ebuild 1812 BLAKE2B aba3827fde71387e9aa0ad16cf7bb63e62908f09a35648b5804ec877c638d5bc89ff465e2ee28d382df54d0313ddaf196a4d4aba0a8177e2a3e1759b01b93ff2 SHA512 6aa91048d1d1e7d57882b4dad5814cb762fe36ec524b6b26e0093718a2163d8d9817d307cc6088ff1245a15d74a1e80ad26248e1e1de680d3157cb00a209d583 +EBUILD pkgcraft-9999.ebuild 1812 BLAKE2B aba3827fde71387e9aa0ad16cf7bb63e62908f09a35648b5804ec877c638d5bc89ff465e2ee28d382df54d0313ddaf196a4d4aba0a8177e2a3e1759b01b93ff2 SHA512 6aa91048d1d1e7d57882b4dad5814cb762fe36ec524b6b26e0093718a2163d8d9817d307cc6088ff1245a15d74a1e80ad26248e1e1de680d3157cb00a209d583 +MISC metadata.xml 454 BLAKE2B 5085311aaebe3c2cc696fee5da4ee272e47936a4f729c2007efce94097087a987985fb972df477fb72eead3402555924ca8b8f183b69af357453ad93daeb946e SHA512 ba7457ec4b43f1664042599d4e23506e496d1f2212ea7aa02c58fd9d796915dace2817bfb1c71e6f022e9490215248e2a705b223a087d91255b97b23f82f9c23 diff --git a/dev-python/pkgcraft/metadata.xml b/dev-python/pkgcraft/metadata.xml new file mode 100644 index 000000000000..39d39075985d --- /dev/null +++ b/dev-python/pkgcraft/metadata.xml @@ -0,0 +1,15 @@ + + + + + sam@gentoo.org + Sam James + + + python@gentoo.org + + + pkgcraft/pkgcraft-python + pkgcraft + + diff --git a/dev-python/pkgcraft/pkgcraft-0.0.3.ebuild b/dev-python/pkgcraft/pkgcraft-0.0.3.ebuild new file mode 100644 index 000000000000..5dc743ca3d03 --- /dev/null +++ b/dev-python/pkgcraft/pkgcraft-0.0.3.ebuild @@ -0,0 +1,74 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for pkgcraft" +HOMEPAGE=" + https://pypi.org/project/pkgcraft/ + https://github.com/pkgcraft/pkgcraft-python +" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft-python" + inherit git-r3 + + PKGCRAFT_VERSION_MIN="9999" + PKGCRAFT_VERSION_MAX="9999" +else + SRC_URI="https://github.com/pkgcraft/pkgcraft-python/releases/download/v${PV}/${P/-python}.tar.gz" + S="${WORKDIR}"/${P/-python} + + KEYWORDS="~amd64" + + PKGCRAFT_VERSION_MIN="0.0.4" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="+examples" + +RDEPEND=" + >=sys-libs/pkgcraft-${PKGCRAFT_VERSION_MIN}:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/cython + dev-python/setuptools_scm + virtual/pkgconfig +" + +distutils_enable_tests pytest + +python_prepare_all() { + if [[ ${PV} != 9999 ]] ; then + local actual_pkgcraft_min=$(sed -En '/^MIN_VERSION =/{s/[^0-9.]//gp}' setup.py || die) + if [[ ${actual_pkgcraft_min} != ${PKGCRAFT_VERSION_MIN} ]] ; then + die "Mismatch between setup.py's MIN_VERSION and ebuild!" + fi + fi + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install() { + # Conditional because these aren't installed officially right now + # and the naming is just for convenience. + if use examples ; then + while IFS= read -r -d '' file ; do + python_newexe "${S}"/examples/${file##*/} pkgcraft-${file##*/} + done < <(find "${S}"/examples -type f -executable -print0 || die) + fi + + distutils-r1_python_install +} diff --git a/dev-python/pkgcraft/pkgcraft-0.0.4.ebuild b/dev-python/pkgcraft/pkgcraft-0.0.4.ebuild new file mode 100644 index 000000000000..a9b364218f73 --- /dev/null +++ b/dev-python/pkgcraft/pkgcraft-0.0.4.ebuild @@ -0,0 +1,76 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for pkgcraft" +HOMEPAGE=" + https://pypi.org/project/pkgcraft/ + https://github.com/pkgcraft/pkgcraft-python +" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft-python" + inherit git-r3 + + PKGCRAFT_VERSION_MIN="9999" + PKGCRAFT_VERSION_MAX="9999" +else + SRC_URI="https://github.com/pkgcraft/pkgcraft-python/releases/download/v${PV}/${P/-python}.tar.gz" + S="${WORKDIR}"/${P/-python} + + KEYWORDS="~amd64" + + PKGCRAFT_VERSION_MIN="0.0.5" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="+examples" + +RDEPEND=" + >=sys-libs/pkgcraft-${PKGCRAFT_VERSION_MIN}:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/cython + dev-python/setuptools_scm + virtual/pkgconfig +" + +distutils_enable_tests pytest + +python_prepare_all() { + if [[ ${PV} != 9999 ]] ; then + local actual_pkgcraft_min=$(sed -En '/^MIN_VERSION =/{s/[^0-9.]//gp}' setup.py || die) + if [[ ${actual_pkgcraft_min} != ${PKGCRAFT_VERSION_MIN} ]] ; then + eerror "Expected minimum pkgcraft-c version: ${PKGCRAFT_VERSION_MIN}" + eerror "Actual minimum pkgcraft-c version: ${actual_pkgcraft_min}" + die "Mismatch between setup.py's MIN_VERSION and ebuild!" + fi + fi + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install() { + # Conditional because these aren't installed officially right now + # and the naming is just for convenience. + if use examples ; then + while IFS= read -r -d '' file ; do + python_newexe "${S}"/examples/${file##*/} pkgcraft-${file##*/} + done < <(find "${S}"/examples -type f -executable -print0 || die) + fi + + distutils-r1_python_install +} diff --git a/dev-python/pkgcraft/pkgcraft-9999.ebuild b/dev-python/pkgcraft/pkgcraft-9999.ebuild new file mode 100644 index 000000000000..a9b364218f73 --- /dev/null +++ b/dev-python/pkgcraft/pkgcraft-9999.ebuild @@ -0,0 +1,76 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for pkgcraft" +HOMEPAGE=" + https://pypi.org/project/pkgcraft/ + https://github.com/pkgcraft/pkgcraft-python +" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft-python" + inherit git-r3 + + PKGCRAFT_VERSION_MIN="9999" + PKGCRAFT_VERSION_MAX="9999" +else + SRC_URI="https://github.com/pkgcraft/pkgcraft-python/releases/download/v${PV}/${P/-python}.tar.gz" + S="${WORKDIR}"/${P/-python} + + KEYWORDS="~amd64" + + PKGCRAFT_VERSION_MIN="0.0.5" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="+examples" + +RDEPEND=" + >=sys-libs/pkgcraft-${PKGCRAFT_VERSION_MIN}:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/cython + dev-python/setuptools_scm + virtual/pkgconfig +" + +distutils_enable_tests pytest + +python_prepare_all() { + if [[ ${PV} != 9999 ]] ; then + local actual_pkgcraft_min=$(sed -En '/^MIN_VERSION =/{s/[^0-9.]//gp}' setup.py || die) + if [[ ${actual_pkgcraft_min} != ${PKGCRAFT_VERSION_MIN} ]] ; then + eerror "Expected minimum pkgcraft-c version: ${PKGCRAFT_VERSION_MIN}" + eerror "Actual minimum pkgcraft-c version: ${actual_pkgcraft_min}" + die "Mismatch between setup.py's MIN_VERSION and ebuild!" + fi + fi + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install() { + # Conditional because these aren't installed officially right now + # and the naming is just for convenience. + if use examples ; then + while IFS= read -r -d '' file ; do + python_newexe "${S}"/examples/${file##*/} pkgcraft-${file##*/} + done < <(find "${S}"/examples -type f -executable -print0 || die) + fi + + distutils-r1_python_install +} diff --git a/dev-python/simplejson/Manifest b/dev-python/simplejson/Manifest index b6a49c344b32..eca9bfdab655 100644 --- a/dev-python/simplejson/Manifest +++ b/dev-python/simplejson/Manifest @@ -1,5 +1,7 @@ DIST simplejson-3.18.0.tar.gz 83533 BLAKE2B 83c6f7f3734507f5a96b51d52dd39b0bd8ff772d51ce1f12ff2ee68f83747f519f418f78247727af7c408da4e7818d1b0d1f7b54b7780e3bc427add1eeaebb06 SHA512 952177fc707e5b1fb6450093876f9a7af1026271cb792bb8dc0418b83906ae32e7f2251b96f531101197d0b3204a97124bff02f7abc4cf700da4edf1320b6b08 DIST simplejson-3.18.1.tar.gz 83603 BLAKE2B 5f51d06238210b0bdd3dbb2338979023324e1056c2278f7eef7b929cc0bf9f9178d032829a3ce49c0b630f3367268d68753f250968962159e9a9aafcd3105d20 SHA512 3a18d02f42624e27c536582cf9b6ceb8559d54dd97224294a6f6ee8173ee37c0cc9cd21bad777c29ab432ac41b1495fca9d45da300b5040c175980d236d3b9d6 +DIST simplejson-3.18.2.gh.tar.gz 81518 BLAKE2B 317ea52890a1bd48fe2a647eeffc9f8a9366c62a6e40fb91a2c154bd49fc3ec9d29c18aaaa4866962cf40d86e256abc090a19d891885171d32faac8344f2e17b SHA512 ef19e513bc45afacd746bf7018165e90a001dc6a91b7f749d8a0b0272283885bcaf6fa77d8e05e18805310e0ee26529dd83cb947bb25fbc3890898ccafe68a8e EBUILD simplejson-3.18.0.ebuild 673 BLAKE2B 92bed311cf874ccc1dedcf67ff7846caf625b0dfb54440d605c725d4afed0424750ea2aa4203cb87d4679b8c0b624ab19a88c53026a74c22c1a882438d5b0e48 SHA512 5522bc25807604aac47eba679ea2486b268ace629963ab4ace68228a0fee72a878752a2214f9425a4870f8135756f3a836a809870972f6d70c6a7180a22f967e EBUILD simplejson-3.18.1.ebuild 681 BLAKE2B e28c9d3b74b35af9568980ed8c270468075f8b1cf5acb42b5dfec9dd34c63d5ac32dc531f05699f03af6068a10e2d0537595b45d4eb13753ac6f9dfe0a6d2094 SHA512 70ed0e9cda6c7e60cdf4a1edeefcaf20c409374a05243080d19dc040f3e06d9c6a4db89e72518c6df7892be599c5c9b8de378c64bfffbbf79e48718eb88fbb05 -MISC metadata.xml 375 BLAKE2B 2c3a0f98ee3f6c9ba41edf3e8e4d6536ac518a59234e6c602d46cbfcb8a5c760c71997b3c169dd2c0b3f9c5dcbea1cb36967e4d050933bd5e31d6f609a835e83 SHA512 6ad418641e64295566aa5418b9bead66e7ea84e0ca7aa454bfedf613cde7ed4d1cd17dff962963c3dda62ad9050e6348f9f53da21ba25b53cdeba2d91b8c551d +EBUILD simplejson-3.18.2.ebuild 964 BLAKE2B 4d3455a1725c06da1fe7c9738bcc9aacbe14d7027e8a1691720412ad7f21a99aea1e1e8cd08ce88e151087d9923c12192e94bc44c0fc62ec732cdb9225730236 SHA512 2efa867ff8fc47c962c0ddcec15bd9cf46e76f6505b0e77f5c471aa428e8b125b1bd246522356e2065c9a4b5e48fc4670434eb9be7b89911be22ca52d9f406b4 +MISC metadata.xml 522 BLAKE2B b8b8fdade498ef65f4d5d6e30bc9f0708390f3d064a332d04f0b33346224c59252ef3d512a5a7187c637348201829ccc83254cd898e8df06dff314e857debb58 SHA512 1a1b53900ef62d4d40977504378dce3ce15f1c56ae5a73263127f5919674b1f9b13964128550e0c0e274d4bf50f2c2b438626e3ba1a5f8436071e1eb2f4c30af diff --git a/dev-python/simplejson/metadata.xml b/dev-python/simplejson/metadata.xml index 1f5def0900e2..d7d1eb0b9a7a 100644 --- a/dev-python/simplejson/metadata.xml +++ b/dev-python/simplejson/metadata.xml @@ -9,4 +9,10 @@ simplejson simplejson/simplejson + + + Compiles native "C" extensions (speedups, instead of using Python + fallback code). + + diff --git a/dev-python/simplejson/simplejson-3.18.2.ebuild b/dev-python/simplejson/simplejson-3.18.2.ebuild new file mode 100644 index 000000000000..e517c93ea2be --- /dev/null +++ b/dev-python/simplejson/simplejson-3.18.2.ebuild @@ -0,0 +1,38 @@ +# 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_{9..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Simple, fast, extensible JSON encoder/decoder for Python" +HOMEPAGE=" + https://github.com/simplejson/simplejson/ + https://pypi.org/project/simplejson/ +" +SRC_URI=" + https://github.com/simplejson/simplejson/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="|| ( MIT AFL-2.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="+native-extensions" + +DOCS=( README.rst CHANGES.txt ) + +distutils_enable_tests unittest + +src_configure() { + export DISABLE_SPEEDUPS=$(usex native-extensions 0 1) + use native-extensions && export REQUIRE_SPEEDUPS=1 +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + eunittest +} diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index 3e728a5f4f4f..6dbd24d14e74 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1,5 +1,7 @@ DIST tifffile-2023.1.23.1.gh.tar.gz 324017 BLAKE2B ffc4a329096ac3eb44990635dea4f5d0211564d5a8847795671d3d816148721d3c6fab059514764eb45bc48c8a114382c0a1705cc606d750ef869d49e67b2c85 SHA512 fad8e2f40cc550a83030b29b528566d7b5b9cbe016c9fd04911ab4cca4e8e69523d9b17db83eee018d1ff3005cab0f36762b4a1271859b504c77a0809e07b0be DIST tifffile-2023.2.2.gh.tar.gz 324485 BLAKE2B fb3404efa1af8197af8e3b77c2b1fbb76c215ee8d599da8974c6231b72789117edddf23072c898eb752789d789080b16106da90406a3a178388f3a863171d202 SHA512 5915374d62665d766b02d2a3c0e2f644581f3809cc650dda70feffec43151398fbbd23b2fe000be02a65fd7647e097c43c3c92482c85fe5027966038179a785f +DIST tifffile-2023.2.3.gh.tar.gz 324906 BLAKE2B b9417ea561de7a185f1a57a6f36a6efde12caa85cd15fd787ae1ca50e73d328f83ec6cd196042d3a11a62706ac27bfad8ecc42e0a235201ee208fdb95d942c16 SHA512 f73dd77c149afa976ac468f0fac37a1bafe35ae4bcb377a91e7922573237805cdc6e00cbcd7bb78f3213a9da4878ec020a058567523b9a4c5958e013f9bdc94b EBUILD tifffile-2023.1.23.1.ebuild 1600 BLAKE2B 2a75f65bcbe7cfa39d1d9778521c7c201c01e4bdaf5c5d24a47748e2eb6a849e7e1a1f508c1d49453de839bbfa2e0b0eaddbf8910c6d5a0fbb2e5364791a275e SHA512 ea82d23134791f8748abe1fcc0386fe57adb00d5eefe57174b3bbc2bca3c790538c13d78f675e5f1f4559b236a62738bcd613087a9c59893770466db90385dea EBUILD tifffile-2023.2.2.ebuild 1600 BLAKE2B 2a75f65bcbe7cfa39d1d9778521c7c201c01e4bdaf5c5d24a47748e2eb6a849e7e1a1f508c1d49453de839bbfa2e0b0eaddbf8910c6d5a0fbb2e5364791a275e SHA512 ea82d23134791f8748abe1fcc0386fe57adb00d5eefe57174b3bbc2bca3c790538c13d78f675e5f1f4559b236a62738bcd613087a9c59893770466db90385dea +EBUILD tifffile-2023.2.3.ebuild 1600 BLAKE2B 2a75f65bcbe7cfa39d1d9778521c7c201c01e4bdaf5c5d24a47748e2eb6a849e7e1a1f508c1d49453de839bbfa2e0b0eaddbf8910c6d5a0fbb2e5364791a275e SHA512 ea82d23134791f8748abe1fcc0386fe57adb00d5eefe57174b3bbc2bca3c790538c13d78f675e5f1f4559b236a62738bcd613087a9c59893770466db90385dea MISC metadata.xml 346 BLAKE2B 8cecb51fe01826a2a190c4e3020836f5706a918515a3ef5b4624fc3e9985411a8fd3c261fb7b6d8ad4f4486164487d11bdc2b071eeb5a95083db4c5323ae2dbe SHA512 81f8f6f5231d6cc9a8e7f95416a63cc52027f58fa54ce16bacfaa0ae285a48c5a3850d83d5ab50ca89be248ce386528db32811b23d61fa0d0e1e0cc737150465 diff --git a/dev-python/tifffile/tifffile-2023.2.3.ebuild b/dev-python/tifffile/tifffile-2023.2.3.ebuild new file mode 100644 index 000000000000..66babf481615 --- /dev/null +++ b/dev-python/tifffile/tifffile-2023.2.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Read and write TIFF files" +HOMEPAGE=" + https://pypi.org/project/tifffile/ + https://github.com/cgohlke/tifffile/ + https://www.cgohlke.com/ +" +SRC_URI=" + https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/dask[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/test_tifffile.py::test_class_omexml + tests/test_tifffile.py::test_class_omexml_fail + tests/test_tifffile.py::test_class_omexml_modulo + tests/test_tifffile.py::test_class_omexml_attributes + tests/test_tifffile.py::test_class_omexml_multiimage + tests/test_tifffile.py::test_write_ome + tests/test_tifffile.py::test_write_ome_manual + # requires tons of free space + tests/test_tifffile.py::test_write_3gb + tests/test_tifffile.py::test_write_5GB_bigtiff + tests/test_tifffile.py::test_write_5GB_fails + tests/test_tifffile.py::test_write_6gb + tests/test_tifffile.py::test_write_bigtiff + 'tests/test_tifffile.py::test_write_imagej_raw' + # TODO + tests/test_tifffile.py::test_issue_imagej_hyperstack_arg + tests/test_tifffile.py::test_issue_description_overwrite +) diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest index a73947ffb6b9..efec99ff5aca 100644 --- a/dev-python/websocket-client/Manifest +++ b/dev-python/websocket-client/Manifest @@ -1,5 +1,7 @@ DIST websocket-client-1.4.2.tar.gz 49113 BLAKE2B d1d25d7066512ae5a8fa189b22ad320331b3d34e6ae953a29b7b5644065a9d60ffd6743bae6e769f356b7294374690fba103ee42ed59f5f9b213dfeda7f038af SHA512 4003a6b387096a738e9b9f76129b954bbc208b8b75c6ba9d6f0dade82078645109f985164ce25c1a600e630833f7187d51d6236997d6c72315d206e91f1aae7a DIST websocket-client-1.5.0.tar.gz 49931 BLAKE2B 03911ba7c147e19dab2fe3198ead34f1dc7d7ac970f33d20cb1eaa9ade0924be873c8ccc585326a8feb9ccf86443b1f5ee1482191cb14a50dddae5b5275b1f9e SHA512 678ab14a8c036e341134e6ae19d422a8888e64ec781983c2eff9d7897298a3b1899b65813351bb566319c931918c034cf0a730aa07c06e48ebac3ddb409a8dee +DIST websocket-client-1.5.1.tar.gz 49942 BLAKE2B 7996798a5ff8c2eb1322fc7a9fa61d5cff99c71413293ce5b05f9af3581cff472350e79813ce3b393ce4fa4b7d19de956f0ad9ff6232c426be3c8adb8c91fb40 SHA512 9fce0c8de64e051b151c40a295a7f722ed7f95d19bd92ffd5cd9c64962821024e79b70d18ca7e30ca8b8707ba86be041134f13d7e2cf7bc4a4539eb22ba60895 EBUILD websocket-client-1.4.2.ebuild 815 BLAKE2B 4b56a084ca302a4b29d3e0e4865b2cc7d44f771a943131470a36d328bd24033ed1ac105f4ba3bcf6c6c50b63e224b116943f34ed56b256345dd4a7cd0185e501 SHA512 dccd228be3b31f4e30b019fcb1f3bc592a0e30591bbe636689cb27ba139975ba3f85e6062635905310ee2d1468ed2b85fe23f1be5d4651d12cc0430aaecc9fea EBUILD websocket-client-1.5.0.ebuild 823 BLAKE2B c812ec4d109623b5c0a884e53779867ed5864254b14f125a4267f83b77e735b36107924ca114678b9833b50062e3e96ec8eb9bb6f6688948f3c3bb5f9862cedd SHA512 eb9b50d3494f46932eed73b98a17af94f23cf26fefb0d3558a2bddbea4e26505c374d82ad23f3adcfbe1f0e4bedd9b7a4349b5c984f6a81da4a9f1a6b0b0d06b +EBUILD websocket-client-1.5.1.ebuild 823 BLAKE2B c812ec4d109623b5c0a884e53779867ed5864254b14f125a4267f83b77e735b36107924ca114678b9833b50062e3e96ec8eb9bb6f6688948f3c3bb5f9862cedd SHA512 eb9b50d3494f46932eed73b98a17af94f23cf26fefb0d3558a2bddbea4e26505c374d82ad23f3adcfbe1f0e4bedd9b7a4349b5c984f6a81da4a9f1a6b0b0d06b MISC metadata.xml 498 BLAKE2B de7c287e513c7e64b4bec29693e6eb9104ff963e0d4d942ed37402bf341739fb17b2ebdb1bf0aaa0081934bae34e16f025d0549f94c1a863be95d64a338eede4 SHA512 13dd8cf0f3e363a3fbf2b246bcc1ccd78a898d5ca830e30fb1606947ce129d99f2d8065c3668dc2c7749bbd4e24e39e5a7c483065737a580246a89dd4d41eaa7 diff --git a/dev-python/websocket-client/websocket-client-1.5.1.ebuild b/dev-python/websocket-client/websocket-client-1.5.1.ebuild new file mode 100644 index 000000000000..4e70f6ad65d9 --- /dev/null +++ b/dev-python/websocket-client/websocket-client-1.5.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="WebSocket client for python with hybi13 support" +HOMEPAGE=" + https://github.com/websocket-client/websocket-client/ + https://pypi.org/project/websocket-client/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +BDEPEND=" + test? ( + dev-python/python-socks[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/xlsxwriter/Manifest b/dev-python/xlsxwriter/Manifest index 7201cd84a9dd..90e60b1f6ab6 100644 --- a/dev-python/xlsxwriter/Manifest +++ b/dev-python/xlsxwriter/Manifest @@ -1,3 +1,5 @@ DIST XlsxWriter-RELEASE_3.0.7.gh.tar.gz 35214702 BLAKE2B 8af7a7da9f2e6fd3a8f794f906935ed9dc1389a710d8b60fbf74e419829e6d233ad122d8ce75de93a6d3229e394277fadd76239aac73e8949f7c4737430a0859 SHA512 e80b9cfa741984db5b0aebd083c0a3c12f987b1a851088bc16e52b56cadb69feb1b795c1061ebde56c7ab1bf17d7899e90b42facd45bcacf5ce6c7070208e6e9 +DIST XlsxWriter-RELEASE_3.0.8.gh.tar.gz 35224268 BLAKE2B 593236a4fa9aaa5fde3920cf3af4819afcc026b14160b61de41f7186ff594611a7f08e2a1befbd5a060f4f84c0f2541c773153c311154d1a94bba7260ae650f7 SHA512 c03e518cf517803f006fc13d314a40e54f47e4156ea16d46be023f3af727edd02aedbfe0e15da019fcec2b4f160643846f86c80c80d93be421cef33f1d11dae7 EBUILD xlsxwriter-3.0.7.ebuild 685 BLAKE2B 5ddcc459a9806a68cbff7d23a326f7ee65a3489bee5adb169ece7c57055b02be7eb67e94b43922f9c26941a2eff97678533bff22d7626e77c752c07454dd0b74 SHA512 26e7957e0d66363b3c374e0e068c64bd6dce7ba01d599f33218d7e0d5733ade25b4a1caf96dc81ad1e0c3a9ebbeb0d38a92f0b216b0a2cd6ab25fa42c0dadca0 +EBUILD xlsxwriter-3.0.8.ebuild 691 BLAKE2B ca659bcd2b8c9c9cee9f8a291a8799148cab32adb6a5111c63120702c19fa8c772d8f24e8ec59fa53055a86df9e63436d0b7248a5de281b70ea6bb5e0e58f1b5 SHA512 ee093d0a7619f9962fac416565425b9246f92559934d10f3aa1fb024292b1f3ba753ae3a8d9a468b03bca4419d6a27d31deabf1a55ad48b7038984cfcb358df5 MISC metadata.xml 411 BLAKE2B e41e1e6dddecef73fff1c0bd74d51b023694ea6eb162022679a2939819f5c3339b1e76d00e25f761c46f66d323a5ad7085ed86fb13fbe3f53526c75004a68e93 SHA512 63242ff274e1dde596e50f9360e1247084b7bae05cd42d60605700c49e33b53849529578cf532415b899bd2ccd04066f99e97c6e80d53c13f71522a041579976 diff --git a/dev-python/xlsxwriter/xlsxwriter-3.0.8.ebuild b/dev-python/xlsxwriter/xlsxwriter-3.0.8.ebuild new file mode 100644 index 000000000000..b9643a5b3c75 --- /dev/null +++ b/dev-python/xlsxwriter/xlsxwriter-3.0.8.ebuild @@ -0,0 +1,28 @@ +# 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_{9..11} pypy3 ) + +inherit distutils-r1 + +TAG=RELEASE_${PV} +MY_P=XlsxWriter-${TAG} +DESCRIPTION="Python module for creating Excel XLSX files" +HOMEPAGE=" + https://github.com/jmcnamara/XlsxWriter/ + https://pypi.org/project/XlsxWriter/ +" +SRC_URI=" + https://github.com/jmcnamara/XlsxWriter/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests pytest -- cgit v1.2.3