diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-08-14 18:22:51 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-08-14 18:22:51 +0000 |
| commit | c8ef16356ec1bc238861432ff91b276b05846d98 (patch) | |
| tree | 379f04e1ab842e3911f6468de51ca907b6f48bf3 /dev-python | |
| parent | 8c6815b9b1efba841093ea57ac484c825f820c0d (diff) | |
| download | baldeagleos-repo-c8ef16356ec1bc238861432ff91b276b05846d98.tar.gz baldeagleos-repo-c8ef16356ec1bc238861432ff91b276b05846d98.tar.xz baldeagleos-repo-c8ef16356ec1bc238861432ff91b276b05846d98.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
22 files changed, 388 insertions, 114 deletions
diff --git a/dev-python/APScheduler/APScheduler-3.10.3.ebuild b/dev-python/APScheduler/APScheduler-3.10.3.ebuild new file mode 100644 index 000000000000..61162ff17253 --- /dev/null +++ b/dev-python/APScheduler/APScheduler-3.10.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="In-process task scheduler with Cron-like capabilities" +HOMEPAGE=" + https://github.com/agronholm/apscheduler/ + https://pypi.org/project/APScheduler/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/six-1.4.0[${PYTHON_USEDEP}] + >=dev-python/tzlocal-4[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + # disable test fixtures using external servers (mongodb, redis...) + # these fixtures are using markers in git master, so the patch + # should be no longer necessary with next major bump + "${FILESDIR}"/APScheduler-3.8.1-external-server-tests.patch +) + +EPYTEST_DESELECT=( + tests/test_jobstores.py::test_repr_mongodbjobstore + tests/test_jobstores.py::test_repr_redisjobstore + tests/test_jobstores.py::test_repr_zookeeperjobstore + tests/test_executors.py::test_broken_pool +) + +python_prepare_all() { + # suppress setuptools warning #797751 + sed -e 's|^upload-dir|upload_dir|' -i setup.cfg || die + sed -e '/addopts/d' -i setup.cfg || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p tornado +} diff --git a/dev-python/APScheduler/Manifest b/dev-python/APScheduler/Manifest index eb39473acb40..6b979a2fd44c 100644 --- a/dev-python/APScheduler/Manifest +++ b/dev-python/APScheduler/Manifest @@ -1,2 +1,3 @@ DIST APScheduler-3.10.1.tar.gz 100376 BLAKE2B 6b5aed1197ec6cdcf2c82d73c2809d9fd304401ad5ac482cdd0dfc310356248b9ba5f0cf611f5484f4098c92d7b6f8b81f117fe5fd645b5d20ba0fbb7f1d6c97 SHA512 bba68c97d2e7cda6503a8471a61bf57c11b9c8b6dde4d1da65f7d134bf72f631b3f70815ac7db3f75313833c780ee6ded0b8d0e1c9a86e05e741788bcd041008 DIST APScheduler-3.10.2.tar.gz 100853 BLAKE2B 540517028af71f8325c74d9fc87c44aeb20440be5a670aaa488069090acec5d19c950ab2df67e55e83b52140343e384a1214d7c7390ce50d3d5fca99bac492c8 SHA512 42a1c7df47ab41c06f87e9d0828950c78abe50e1f6648d5eda425db74edf1d07473129d1a1b9a4a82c32dfadacba9b3dca2e5b2772ba733007c502b31c34d43d +DIST APScheduler-3.10.3.tar.gz 100837 BLAKE2B 62bd62937bf8a73e082812df6436200a8ea7352dda960d946cc3ef1257f75a63e211a252554e0aba2098289e2d50b7b32e91ab95cbe94ba53f899f11e041c9b2 SHA512 b061678cadff769e1908dea00e9687abec7f8d92ed9a0201fc630c569160a0cc19c7b880842625660e368f486f4c288e2dc005518d1b92eb674f8c06920e32c7 diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index e74f5df69c10..ffd85ea558ca 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,4 +1,2 @@ -DIST Nuitka-1.7.6.tar.gz 4278626 BLAKE2B bf5865e91b8d30e81963ff053fccbc377846fa14353534bb60243536a3fbbe68afb2811acd2930f3a0d0e2cad55ee288f47e0fdcb3bacb9c5cb4be11600e0a7a SHA512 859e3b48c0fdc655013e656f75620b556a59d620465fe659d3a60b0a45eb8273a528e7c689c8113a6ab7cf3065976de83c28fe501b319cdc7e04581eb2bd4ac3 -DIST Nuitka-1.7.7.tar.gz 4278709 BLAKE2B a9e44c55b2e02ef700f8adb4ab460ed80073fb8e1865c1a32b031aa4d0392569d097f3d5e18309729cf8c90963e5854e5eb6e42cac3971b1874c0db8fc75f9b9 SHA512 1dcf347351233b75a1e1858b25f2faf4a59be6ca46c2db08435d676f3bcaa882405852e4149743c0989ea2a8fdc7e9601383e2a2c83b69f49b8e1a057bec2195 -DIST Nuitka-1.7.8.tar.gz 4288711 BLAKE2B e8c6cc89d4f9163a2127b0fc9bdb33e8e0c905439b27b26e750f4ea50d99f00b52e00df6a465239572fa2c6c0aaf81ab027489b221529effacae77afe2592237 SHA512 d223c2a22611e54e4ad913ae8ffb1449ab036feeac1401642a72505061ad1f4cd7c033f8e5bb47cddd2cc3ca0acebf9d9a837403adfb0235aaebc30d8f271a4c +DIST Nuitka-1.7.10.tar.gz 4289025 BLAKE2B 594820258860efba8be2316ab8d081e0d5ba4dc8db94959716ca90d57aff4d1407df19f52c88dc78aced4153a1b30dd35c6ab543435cecbff38bf791e2f7e492 SHA512 773c23d0e355fea975fa0636fba0601347618631564eb36fb948e8150b8720e28c227b4f3a50cbe8102160addb982257ab2acaa58d79692cdac60cecea85fa98 DIST Nuitka-1.7.9.tar.gz 4288768 BLAKE2B 6069598c4eb9bb134a0d5bcfc4f3b423c0cb4f0f600ed13b20080470cde53e0077394eb5660d1abe766ccfa52a0bd3f9203dabd5dae160de20b1b58670ea4bb6 SHA512 a2d2ad1be1fefc97c86af64fa1133bb6ca478021c1cc606be663a1d12bdab3a218c1760b697e426cafb67411a435d5353bf1688b986240036539946fb6ed12f3 diff --git a/dev-python/Nuitka/Nuitka-1.7.6.ebuild b/dev-python/Nuitka/Nuitka-1.7.10.ebuild index 1158b562d51b..1158b562d51b 100644 --- a/dev-python/Nuitka/Nuitka-1.7.6.ebuild +++ b/dev-python/Nuitka/Nuitka-1.7.10.ebuild diff --git a/dev-python/Nuitka/Nuitka-1.7.7.ebuild b/dev-python/Nuitka/Nuitka-1.7.7.ebuild deleted file mode 100644 index 1158b562d51b..000000000000 --- a/dev-python/Nuitka/Nuitka-1.7.7.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 flag-o-matic optfeature pypi - -DESCRIPTION="Python to native compiler" -HOMEPAGE=" - https://www.nuitka.net/ - https://github.com/Nuitka/Nuitka/ - https://pypi.org/project/Nuitka/ -" - -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/Nuitka/Nuitka-1.7.8.ebuild b/dev-python/Nuitka/Nuitka-1.7.8.ebuild deleted file mode 100644 index 1158b562d51b..000000000000 --- a/dev-python/Nuitka/Nuitka-1.7.8.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 flag-o-matic optfeature pypi - -DESCRIPTION="Python to native compiler" -HOMEPAGE=" - https://www.nuitka.net/ - https://github.com/Nuitka/Nuitka/ - https://pypi.org/project/Nuitka/ -" - -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/exceptiongroup/Manifest b/dev-python/exceptiongroup/Manifest index 6ef35014bed4..eb47e285b874 100644 --- a/dev-python/exceptiongroup/Manifest +++ b/dev-python/exceptiongroup/Manifest @@ -1 +1,2 @@ DIST exceptiongroup-1.1.2.gh.tar.gz 23079 BLAKE2B f6bce757f1a2672956bf919f3ef0c9c6ea1034bf176e2ed8f3fa92c3fe34974885c59fa9915a42b8d5673b077d48fea3179e12cbd0c39f4277090fdbb3803d08 SHA512 432768f97e3468546b71993fd20ed98d85eb15170228cef8fe39d7c2232d0249c29f6fe1c991313742ee3a22a73cc91336d54ef278337b20e0e2ba296cf7102e +DIST exceptiongroup-1.1.3.gh.tar.gz 24057 BLAKE2B c178152b92ac4079bb10614918d80f1b772f1d2c02e82fdbc19fc576c434df5f92d731116b46145ef3c3a3e57b4b899f6be11e2452a13170d27072b6b2ad74b5 SHA512 fddc52abb6b61c024c5832f6d2ed723a834c31e2bc713a3c5796581e8edbd3299d9342885cfcb5ed83ad7f7fdbb7c461ffcec354c0328a740a40d5340997d1c8 diff --git a/dev-python/exceptiongroup/exceptiongroup-1.1.3.ebuild b/dev-python/exceptiongroup/exceptiongroup-1.1.3.ebuild new file mode 100644 index 000000000000..81b215620048 --- /dev/null +++ b/dev-python/exceptiongroup/exceptiongroup-1.1.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit_scm +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/_} +DESCRIPTION="Backport of PEP 654 (exception groups)" +HOMEPAGE=" + https://github.com/agronholm/exceptiongroup/ + https://pypi.org/project/exceptiongroup/ +" +# pypi sdist does not include tests as of 1.1.1 +# https://github.com/agronholm/exceptiongroup/pull/59 +SRC_URI=" + https://github.com/agronholm/exceptiongroup/archive/${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT PSF-2.4" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV/_} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/keyutils/keyutils-0.6-r2.ebuild b/dev-python/keyutils/keyutils-0.6-r2.ebuild index d0b806e0040c..922dd698a3fc 100644 --- a/dev-python/keyutils/keyutils-0.6-r2.ebuild +++ b/dev-python/keyutils/keyutils-0.6-r2.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/sassoftware/python-keyutils/archive/refs/tags/${PV}. LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="amd64 ~arm x86" BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" DEPEND="sys-apps/keyutils" diff --git a/dev-python/peewee/Manifest b/dev-python/peewee/Manifest index ab7e14ce8e98..c71a992f9a73 100644 --- a/dev-python/peewee/Manifest +++ b/dev-python/peewee/Manifest @@ -1 +1,2 @@ DIST peewee-3.16.2.gh.tar.gz 912162 BLAKE2B d865a63fb0eeff064b6655029741291ebd002ffa428fe98f87b319874713064eed9500fb45e3710b7e1223ea2537408d51dc4a6f40b525467f074f225c05bf20 SHA512 7e507d9f2ace45c5ec482d657e7722812fae10eea9a23b12caf2611d3739bc6dc70800f21d606d5e854e3209dd6d2ff73b93f004515f6549c3bbc423bce650d8 +DIST peewee-3.16.3.gh.tar.gz 913271 BLAKE2B c243eaa0baa1289030f294141a0fa469682272b87aa9cf89cc2ff628c0f35e6824ee6215c11c12dbc992f210afbd2c9e5efebbc9efa402d92cc2de77dd574e5f SHA512 e940c0fc78c736477b2550379912587f2129bf6c11252a04188a70d260410539ef90879dcf4145466c3276130b33c85b53db80afb5503b7b76693155d5f8abbe diff --git a/dev-python/peewee/peewee-3.16.3.ebuild b/dev-python/peewee/peewee-3.16.3.ebuild new file mode 100644 index 000000000000..dab207910b33 --- /dev/null +++ b/dev-python/peewee/peewee-3.16.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="Small Python ORM" +HOMEPAGE=" + https://github.com/coleifer/peewee/ + https://pypi.org/project/peewee/ +" +SRC_URI=" + https://github.com/coleifer/peewee/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="examples +native-extensions test" +RESTRICT="!test? ( test )" + +DEPEND=" + native-extensions? ( dev-db/sqlite:3= ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs + +src_compile() { + if ! use native-extensions; then + local -x NO_SQLITE=1 + fi + + distutils-r1_src_compile +} + +python_test() { + "${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}" +} + +python_install_all() { + use examples && DOCS=( examples/ ) + distutils-r1_python_install_all +} diff --git a/dev-python/pygame/Manifest b/dev-python/pygame/Manifest index efd60f047221..6dfd9b2c9ce1 100644 --- a/dev-python/pygame/Manifest +++ b/dev-python/pygame/Manifest @@ -3,3 +3,4 @@ DIST pygame-2.2.0.gh.tar.gz 6530469 BLAKE2B 301b8decd7afe7ad44d97b086ad27209a084 DIST pygame-2.3.0.gh.tar.gz 6547956 BLAKE2B 3189dc5dda7e5fc12fe2091af304816d905a24a33f6f43070040b90bd1bac1191fe6fe1a738ccfda49b5d9b472a704962c3b6aa7d8b99bc67e15317a9df06a2b SHA512 ed93cf5f0fac67b8a03f25f514ac71bf9b9a97f4df30efca9e3225396769e7616d3ce1063e6cc6ee3f4e6f1327154a9e0ec4e81b179578118af3a140bb1543bd DIST pygame-2.4.0.r1.gh.tar.gz 6602313 BLAKE2B 9720b44f55cb0454880cd96b4f8bee77064f0b3997dc3a0aec3a6ff973356a003d37cbe89ff33b62990bc1d6ac1f815c925751031b7a8ee35ce850dee0e56d41 SHA512 78e7f9d705d611c99612fe0f1274aabfeb885798faecdf6b6bf6a3e2b8a22145db757ae5a6e5595075c47382bf2228cd2edada8f708e11042cfc7dfc4d17ef94 DIST pygame-2.5.0.gh.tar.gz 6640084 BLAKE2B affa92cacee34ab1db246e80bea0ee425985c1c2a75b5702b2368536fe4b07ffb24f5e6ef345afb3ee63e7b1eccfc275082649251791a2f34a0eba019cc327a8 SHA512 741c5d11b2b52c5bc08672fb9e7420540f20879ef67b84dd18904d317f3cce7593bf08a9e7bf9d0c6470c6bb88512c9af9eb86056e654ab32d4b33532b2bf702 +DIST pygame-2.5.1.gh.tar.gz 6854761 BLAKE2B e137f73a3bb718213ef92e938ed1b065f5568d7dd2ade6edd973bc55d06425874da0e89e3c102fad39adac25f977ac97025a0c59099702cfabeffd0d3b8f109f SHA512 d7aceb2bc6e40c5dc2d7a19fdc7af18abf021b79dd98b859975f99ec10895e1b09e11fbf17fd6ab925d3aa6c64e5b3dd56c0d857ecacc67303d92fc0efb2630c diff --git a/dev-python/pygame/pygame-2.5.0-r2.ebuild b/dev-python/pygame/pygame-2.5.0-r2.ebuild index dcb5b9540f5b..9387ffd0efd7 100644 --- a/dev-python/pygame/pygame-2.5.0-r2.ebuild +++ b/dev-python/pygame/pygame-2.5.0-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86" IUSE="examples opengl test X" RESTRICT="!test? ( test )" diff --git a/dev-python/pygame/pygame-2.5.1.ebuild b/dev-python/pygame/pygame-2.5.1.ebuild new file mode 100644 index 000000000000..46458ecf6081 --- /dev/null +++ b/dev-python/pygame/pygame-2.5.1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for SDL multimedia library" +HOMEPAGE=" + https://www.pygame.org/ + https://github.com/pygame/pygame/ + https://pypi.org/project/pygame/ +" +SRC_URI=" + https://github.com/pygame/pygame/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples opengl test X" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + media-libs/freetype + media-libs/libjpeg-turbo:= + media-libs/libpng:= + media-libs/portmidi + media-libs/sdl2-image + media-libs/sdl2-mixer + media-libs/sdl2-ttf + X? ( media-libs/libsdl2[opengl?,threads,video,X] ) + !X? ( media-libs/libsdl2[threads] ) +" +DEPEND=" + ${RDEPEND} + test? ( + media-libs/sdl2-image[gif,jpeg,png,tiff,webp] + media-libs/sdl2-mixer[mp3,vorbis,wav] + ) +" +# fontconfig used for fc-list +RDEPEND+=" + media-libs/fontconfig +" +# util-linux provides script +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + media-libs/fontconfig + sys-apps/util-linux + ) +" + +python_configure() { + PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" \ + "${EPYTHON}" "${S}"/buildconfig/config.py || die +} + +python_configure_all() { + find src_c/cython -name '*.pyx' -exec touch {} + || die + "${EPYTHON}" setup.py cython_only || die +} + +python_test() { + local -x PYTHONPATH=${BUILD_DIR}/install/lib + local -x SDL_VIDEODRIVER=dummy + local -x SDL_AUDIODRIVER=disk + script -eqc "${EPYTHON} -m pygame.tests -v" || die +} + +python_install() { + distutils-r1_python_install + + # Bug #497720 + rm -fr "${D}$(python_get_sitedir)"/pygame/{docs,examples,tests}/ || die +} + +python_install_all() { + distutils-r1_python_install_all + use examples && dodoc -r examples +} diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest index 66e9b25dd5b8..385bdc6502aa 100644 --- a/dev-python/tenacity/Manifest +++ b/dev-python/tenacity/Manifest @@ -1 +1,2 @@ DIST tenacity-8.2.2.tar.gz 40186 BLAKE2B af24fa209a0f9de0bb7ddd0d0979620fdb3a41967ea2d45c8864cc9feb3237d345b85015379228dd7714d7dd3f921e190bfdea3ba5c3fe627df804de6641894d SHA512 a1e2569dd5afdc982716f22ba7c67f7a43351e9f2dbefad30854d8655fa7600300c624b7353ea7d68aa462cbf2f33cf93e643e2868e8e197a61eb1ccf25c275e +DIST tenacity-8.2.3.tar.gz 40651 BLAKE2B c79af0a6e0ee0af52fe47579b830ee911b10bd780467eaa22308443830a29cf76583455acbe53c92805abb51686db32696e94cb83ca2ce576a5508272e016fe4 SHA512 c1e82867c0be8a0a38d05ecee04568c3c4eebff85d8c1b90713e3ca953197da7a857d8dc20083afc4fa4b92cc5e43a8aabe8022bc104394acbe6a0aba7602613 diff --git a/dev-python/tenacity/tenacity-8.2.3.ebuild b/dev-python/tenacity/tenacity-8.2.3.ebuild new file mode 100644 index 000000000000..3c82a5c201f8 --- /dev/null +++ b/dev-python/tenacity/tenacity-8.2.3.ebuild @@ -0,0 +1,40 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="General-purpose retrying library" +HOMEPAGE=" + https://github.com/jd/tenacity/ + https://pypi.org/project/tenacity/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + if ! has_version "dev-python/typeguard[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_tenacity.py::TestRetryTyping::test_retry_type_annotations + ) + fi + + epytest +} diff --git a/dev-python/time-machine/Manifest b/dev-python/time-machine/Manifest index 17a7be6d693b..1ef833da566c 100644 --- a/dev-python/time-machine/Manifest +++ b/dev-python/time-machine/Manifest @@ -1,3 +1,4 @@ DIST time-machine-2.10.0.gh.tar.gz 28770 BLAKE2B ba4ff7dd2559530e86e38d23600209f2e860a1541c9ef5536d07092678018c210ec5e0c63bc615e81b62e8179324953d023ba247c501aa94e16beb0345cacf8f SHA512 4a3120432cb6aacb1e022415094a4fb204d2f1b39c378307a0de34505d470982d81e1d2d940d0b9745c3edcd563ff55f9ab1d602bd1dea720a474fee5fa1e4af DIST time-machine-2.11.0.gh.tar.gz 28075 BLAKE2B 2eb07ac60d4014e5796fefcf5cb846d60fef1887fe01459d906a2118eddc924d60642131530f76e131080e2989f60263bda2fbcc0cc917e0f9452d16a4f640a6 SHA512 5bd5d76e2ecc392c249e86e2cfe54ee94a99a4e1cd1dd7e00b240e1299426d87a284ec270ae36aeb82acfe06d974d5aeca27ae977a480441e4daa5b852d00198 +DIST time-machine-2.12.0.gh.tar.gz 27743 BLAKE2B 4ed0c9901edb9c698b8bbba6df80d12b06f344ad6ee8f9e89577264da1f0211774c2d227d02dc1ab0ceb5b905094168d19cdebc00a91a955d216729082ecbc28 SHA512 4708cdc3aa0ec06907d0ee1219ceb074947fc962ab6f0d3606e5273f3d64ca278bb43254d924c04364b967301cf69229ced70d7b1db92b0b6dff1523cccb2f82 DIST time-machine-2.9.0.gh.tar.gz 28043 BLAKE2B 9a9a521c94b72a7464853661da791b6f57f5155ddc62ffceeb82f808903f4c337e6bf48fe8300bb4f9f5673fd175fd85038a4e80a39e8f3e096c12c27ee790ec SHA512 ecc780a72d279b49d026a8f3f89210cb4c90e02c5a517c08eadbabcb65216a24c603ace39afd76ea1e6ccdef589d5997581d0db7477bb28fe4d1e0510daf17a0 diff --git a/dev-python/time-machine/time-machine-2.12.0.ebuild b/dev-python/time-machine/time-machine-2.12.0.ebuild new file mode 100644 index 000000000000..2fc6754c18c8 --- /dev/null +++ b/dev-python/time-machine/time-machine-2.12.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Travel through time in your tests" +HOMEPAGE=" + https://github.com/adamchainz/time-machine/ + https://pypi.org/project/time-machine/ +" +SRC_URI=" + https://github.com/adamchainz/time-machine/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/types-protobuf/Manifest b/dev-python/types-protobuf/Manifest index 2a1193202bc5..9eec4c7b9cd0 100644 --- a/dev-python/types-protobuf/Manifest +++ b/dev-python/types-protobuf/Manifest @@ -1 +1 @@ -DIST types-protobuf-4.24.0.0.tar.gz 47598 BLAKE2B fe8ad6648cfc1ac527b9ef0272907d8dc9f173839c13d491952978a84e5c213509920b6e31c25e725cfc5dd33a643aa6725a08f898baf0ffb5cd1446688430ab SHA512 82f765df40db88f8ce48b557f684ad84184f7398628592726ac143e7feb0b07b7ea4d1e3c2068afbaae1bbcae10f4d85c7230e830455b6e2208839624d531aea +DIST types-protobuf-4.24.0.1.tar.gz 47648 BLAKE2B bed5e77f06ab0f051f8c93c212911727e7e94ba5142389fcdaaab051c5d955edc421760c7a6a9c144df74704fcab8f1a0648e4b9ab1e6f1c6aa3d7090d4d62d9 SHA512 af2324044890d6fa67102fd8d20335f2d39194c50667a19b15e936cdb9807e346e80cd16de311bc3b0f97e6a74d0f361987206f98e19d8c387af4bd57a66c6e7 diff --git a/dev-python/types-protobuf/types-protobuf-4.24.0.0.ebuild b/dev-python/types-protobuf/types-protobuf-4.24.0.1.ebuild index 4a7cdee67670..4a7cdee67670 100644 --- a/dev-python/types-protobuf/types-protobuf-4.24.0.0.ebuild +++ b/dev-python/types-protobuf/types-protobuf-4.24.0.1.ebuild diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest index aa382c82ce0b..a88920d06720 100644 --- a/dev-python/werkzeug/Manifest +++ b/dev-python/werkzeug/Manifest @@ -1,3 +1,4 @@ DIST werkzeug-2.3.4.gh.tar.gz 833090 BLAKE2B e9d0134fa2a1355a2ef0df0f86cca6ea0f0a0c9b6ece98a6774ceab0a284c6a899e915688cb3e2e9f6192a7943cbcf20578d1e8f2f439dd8a9ab0f3d49361bcd SHA512 1e519fc88ac4438aa4dbd623ef8afc96a630df61d25a5a28154749f5c38593edefbb32163a632a5f38fa70d8cf2f1ae93633e54cfafe72d497ab70c99f9b2478 DIST werkzeug-2.3.5.gh.tar.gz 833927 BLAKE2B f9d2a81b0b1336265094df26d8b1fd17a471ed12d47014e5dd151085dd4112c0fb4788b62d926588d07dfaf91656d7e18406f5c684766e97bab45cccadea478e SHA512 d1c1e344efaa1c5aa04c71f8007a9f10b3043bf5db2459fddae8df5186b103de2fd3f61394dacb774b57a72feed7080cde1611040e0849c97d81e6ed1ee2c4b2 DIST werkzeug-2.3.6.gh.tar.gz 833832 BLAKE2B 8bf2598ee2ff63a4515357802749f952ba68a484e52f9a488efc3e49ad54e9764334d14a7b57584c1dd610f5e7922023d6ac08d8b3cc433c4789554205e43294 SHA512 a7563eeb70b465580a136ae4e4e51afcd14d0760deedac619d469a5be85eb500fec456056371921317511c986f4f4453d1f86e408378e6062b6aa40b8365ca8f +DIST werkzeug-2.3.7.gh.tar.gz 834304 BLAKE2B 331ffe1f7f079defbd639f391522facfd98cad704da0ed92235f111f401c40b3d06c40b2e0f5c0d0ac8d798335171870a6ce221d02810a8cf3d25f480ee7f7f8 SHA512 76daba77523f486a56f945f54b9f317589d72e36458d7dce975ae597835de8936242edd6ceafa8913d00021557a9da2acfe9619be562fe7b482858daf84dfd2f diff --git a/dev-python/werkzeug/werkzeug-2.3.7.ebuild b/dev-python/werkzeug/werkzeug-2.3.7.ebuild new file mode 100644 index 000000000000..0a2e3c0c5598 --- /dev/null +++ b/dev-python/werkzeug/werkzeug-2.3.7.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=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Collection of various utilities for WSGI applications" +HOMEPAGE=" + https://palletsprojects.com/p/werkzeug/ + https://pypi.org/project/Werkzeug/ + https://github.com/pallets/werkzeug/ +" +SRC_URI=" + https://github.com/pallets/werkzeug/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}] +" +# NOTE: remove the loong mask after greenlet gains support for loong +# see https://github.com/python-greenlet/greenlet/pull/257 +BDEPEND=" + test? ( + dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xprocess[${PYTHON_USEDEP}] + >=dev-python/watchdog-2.3[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) + !hppa? ( !ia64? ( !loong? ( + $(python_gen_cond_dep ' + dev-python/greenlet[${PYTHON_USEDEP}] + ' python3_{10..11}) + ) ) ) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + "tests/test_serving.py::test_server[https]" + tests/test_serving.py::test_ssl_dev_cert + tests/test_serving.py::test_ssl_object + ) + fi + + # the default portage tempdir is too long for AF_UNIX sockets + local -x TMPDIR=/tmp + epytest -p no:django -p no:httpbin tests +} |
