diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-02-21 01:44:37 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-02-21 01:44:37 +0000 |
| commit | 5497f0ee53bff52e5298c53bedd7ecce12001d16 (patch) | |
| tree | 0bebba06e24f10f502da7378ea5cec6c39585f53 /dev-python | |
| parent | 2a8e69e26192cd23ec4716c75927cf3b2d279e13 (diff) | |
| download | baldeagleos-repo-5497f0ee53bff52e5298c53bedd7ecce12001d16.tar.gz baldeagleos-repo-5497f0ee53bff52e5298c53bedd7ecce12001d16.tar.xz baldeagleos-repo-5497f0ee53bff52e5298c53bedd7ecce12001d16.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
36 files changed, 399 insertions, 555 deletions
diff --git a/dev-python/GitPython/GitPython-3.1.26.ebuild b/dev-python/GitPython/GitPython-3.1.27.ebuild index 915219c8a94f..bea465fd4a5b 100644 --- a/dev-python/GitPython/GitPython-3.1.26.ebuild +++ b/dev-python/GitPython/GitPython-3.1.27.ebuild @@ -3,6 +3,7 @@ EAPI=8 +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10} ) PYTHON_REQ_USE="threads(+)" diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest index ee70e38d998d..0809505e17a2 100644 --- a/dev-python/GitPython/Manifest +++ b/dev-python/GitPython/Manifest @@ -1,4 +1,4 @@ -DIST GitPython-3.1.26.gitbundle 9711896 BLAKE2B 31c06bc713cabe11f0a1cb5fe0a94dbca628cc047de3ac29d83eb97370ebe112aae813ab93717618d4382f13a63bd9cc79709e493c99f77c7d0a2a505181e869 SHA512 99ea5bf310e5edb36f02b44b07729041c683bd1eea1b7af278d6a89147a0761c04aa6eeafbd488b1c84935d00ebf47e7c6230984a8caaccdeccd8c3878b094e4 -DIST GitPython-3.1.26.tar.gz 191901 BLAKE2B 365defa1947719273319bbf8b035710b6bfcecae19d5a8f452d4667b4227f1a5bce4238ff9377b2ac97eee27de97410b19882072b5b6673ec6a75638bd9c8751 SHA512 dcaa14b5bafb6d41c0d5afd57494146b309bcd9a7c65ed4ce56f71fc6e2399640147fac7319dd91b8ea4ae1ca38d02885d5a4b64eccb043c4b8a4347e27a1ecb +DIST GitPython-3.1.27.gitbundle 9652508 BLAKE2B f81b6d94b302b1d4aec85096bb294df1a6a699eff4dd27a1d32083e73b031daf3ef58ec6aa6f98c7693ef187b21de9ea242fa37a88b1f51c0e17238dda978c5c SHA512 bf1011a765b51eb871f6b6a462c693e4e79bb0ba81103d4f268b780b86ab12112c44f74c1d68e93388d1f86c068f6c2336f33ea12dce2e0b2302c940ebb9c49f +DIST GitPython-3.1.27.tar.gz 192188 BLAKE2B 3cab995a17d8eca8d4301367b1ee7a2c3c0a46a217f6e6d89e1bb4e62b733d21cd6d9210faac49c3c905343067e819f8c37ac9cc69d9fc33ce948b63fd53714e SHA512 6f855bcfc380c1a83a97807ca8ddcc4dfe8258f3aba0790142ef41f28befff44847aec925e523eaac47fd6c0078eb6296f52bb4b7d2be7d59ad95bbeb930fe28 DIST gitdb-4.0.9.gitbundle 1461448 BLAKE2B dad9efdc4e9711361c851f4745df2e3fa3b2360ab58cffea971a854429cf3e11862a267efb5afa3d9ff7668dc6d1bb7f11aa033172238bea61a6252d0488b746 SHA512 eb71e6dd380e67a96a9dcd50a3a3c82aab8c7f85b1ca4258a92202a5e4cb5a1535363599c94ab26884b4cd755ce30694c1b193a95e5cd5199b5d4e2cf8e72818 DIST smmap-5.0.0.gitbundle 338621 BLAKE2B 58c151245a1353d482e06313beb1cfbe7aa23d30733b284b1745b562da1da4e6f9b8acd7d4b967987e8c29a0cfbe6d3b27790f4683f6cbd86fc22a1416bc1c24 SHA512 94b827cdcfaf31b726b48b7b0a9036e852683046b07430b79e59a1339079ca078129d5eb02d9009979ce86892748b700d6cd281e401ddf6b0048252e2181fe1f diff --git a/dev-python/deprecation/deprecation-2.1.0.ebuild b/dev-python/deprecation/deprecation-2.1.0.ebuild index 966474082ce3..98ea0e9eb8f6 100644 --- a/dev-python/deprecation/deprecation-2.1.0.ebuild +++ b/dev-python/deprecation/deprecation-2.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" +KEYWORDS="amd64 arm ~arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86" RDEPEND="dev-python/packaging[${PYTHON_USEDEP}]" diff --git a/dev-python/jupyter_packaging/jupyter_packaging-0.11.1.ebuild b/dev-python/jupyter_packaging/jupyter_packaging-0.11.1.ebuild index 19dfba789ea9..1d4079b14da2 100644 --- a/dev-python/jupyter_packaging/jupyter_packaging-0.11.1.ebuild +++ b/dev-python/jupyter_packaging/jupyter_packaging-0.11.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/mwparserfromhell/Manifest b/dev-python/mwparserfromhell/Manifest index 446fdbc5f8b4..d4f04abf0cc4 100644 --- a/dev-python/mwparserfromhell/Manifest +++ b/dev-python/mwparserfromhell/Manifest @@ -1,2 +1,2 @@ -DIST mwparserfromhell-0.6.2.tar.gz 152057 BLAKE2B 7b610946f1518e6ebb47c08d5df0db072a0f9b17ea5f6b6d7fde35228f498dc2c54d29b1123ff5fa4da6feac9d79235a69543b461b714e45505094443794fb6e SHA512 ea6ee55ee3df24a2d97f1fdba440e14f361092f4bb44dc510cde795c534c85aea7d505e20aa66df23aa7dcdb8f9498228e6a955e7a3f9c694f7b1606521ee958 DIST mwparserfromhell-0.6.3.tar.gz 153385 BLAKE2B 6514b70ef4af2f7e958d4dc36b7b1c7282049f5768e1b3fb6b3290eb3d90e5dcdaa4a6c7321e108271f5bb1837b4fded41b6176cecb3363e3ba0b5c8e055829f SHA512 70642fbf439df87f656f0ecba70b6465d09c440994cbc30cae0133da52195855d85f9abf4fd611d88681039e3fe732679082598dc14ec5f7a2722303299a461a +DIST mwparserfromhell-0.6.4.tar.gz 153650 BLAKE2B dedf7880f0b7b9d14158015c0603b5e345356535ca30338e6e0b54804a68d57a2c0d33204fd432ef06ae57508038ae0d4afd6e564ab176bd5fba10d72a265089 SHA512 d8716f7d973c55796c0aec424d905def70f970320f8e90ca0a16459f5251f73a1cb0bcffb7294fa0ba0741c41d37b5bc773d9bc190ebb8c72d35718b2978b7df diff --git a/dev-python/mwparserfromhell/mwparserfromhell-0.6.2.ebuild b/dev-python/mwparserfromhell/mwparserfromhell-0.6.4.ebuild index 66d94131e7df..de0cf293f197 100644 --- a/dev-python/mwparserfromhell/mwparserfromhell-0.6.2.ebuild +++ b/dev-python/mwparserfromhell/mwparserfromhell-0.6.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 2020-2021 Liguros Authors +# Copyright 2020-2022 Liguros Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10} ) inherit distutils-r1 diff --git a/dev-python/notebook/notebook-6.4.8.ebuild b/dev-python/notebook/notebook-6.4.8.ebuild index 85deca0c3571..69546d3537f1 100644 --- a/dev-python/notebook/notebook-6.4.8.ebuild +++ b/dev-python/notebook/notebook-6.4.8.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-libs/mathjax-2.4 diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index e8c0efcdb677..54d569134893 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -2,3 +2,4 @@ DIST Nuitka-0.6.19.4.tar.gz 3728051 BLAKE2B 561dd0657b0f5f7c10da18d4b78be09337c9 DIST Nuitka-0.6.19.5.tar.gz 3728119 BLAKE2B 8300356499e53185cd2b6a547b8deef818bfd2c775e8ee2517bc79d741f81af1a7745b2eac018d0df3b329b7d4719dbac71159d6efd6ef35ccff4c63daf8e4cc SHA512 bc6b7d41af7bfdeb236143640ab1dc6ea0b811f85eaf10c8d232907d53c9643be25b4c0cdc3946204d6501c7009f8e79f36b5b6318d36a6e77052d9e2c1ec986 DIST Nuitka-0.6.19.6.tar.gz 3726831 BLAKE2B d1b10f8a599898824cbc40a43dda6b88d89b8e4e8ae1d32b4458f6f5e9241e088fc2d4b6fb8e68e889abdbb2309f47cba100df78c5fe54a5b5333eb79a2143d7 SHA512 fc537b6c12c2a4f165c59f4fae39fea2894bc2f6221361dac39dc39a120a82b725e22810857c618305799b862b887e314c6dd340650e5c2029923e550143869e DIST Nuitka-0.6.19.7.tar.gz 3728926 BLAKE2B 56d497b8ef556671f3442952a3af32b9401cd5ec52bc082ace472f644a90d42f16bd3831bd430c887c6bd0fb866bf14fc37ac6662a679856801a16723e4f7401 SHA512 f1921c7717247a139ac0b8f3be9ae4f3d40b928da86fcfc671843e0e0e96184489daf3e2ff8c84f3214e4797cb7d6121c05f5d8bc3fceb0ccd85d81675ade97e +DIST Nuitka-0.7.tar.gz 3754689 BLAKE2B 28df135ff6d036c8bf27390d07ccc0bf924d39d924e9515fbf7c99a5a5a4dd837695c37cc0ef0889a8da27d277f48ada6dbcb52cc6b1a041b1f2c0a5e44ca7c5 SHA512 9732178faaf9607af0a37861b3f1eb8e64a2b7b5705351f5e82d3238713325f9dcbcb1a549a012c247cd08e3657e21a95c4d42e8fb1233d3fbb1403b09860235 diff --git a/dev-python/nuitka/nuitka-0.7.ebuild b/dev-python/nuitka/nuitka-0.7.ebuild new file mode 100644 index 000000000000..ff918172d5ef --- /dev/null +++ b/dev-python/nuitka/nuitka-0.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 flag-o-matic optfeature + +DESCRIPTION="Python to native compiler" +HOMEPAGE="https://www.nuitka.net" +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz" +S="${WORKDIR}/${P^}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~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 "${PN}/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/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 789672197da2..34dbe04b280b 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -2,3 +2,4 @@ DIST pikepdf-4.3.1.tar.gz 2348339 BLAKE2B 9b1f04a87e7e7d2dc2589eaa7db4a670e8ceda DIST pikepdf-4.4.1.tar.gz 2350630 BLAKE2B 3a0973bda758952ad4f2bbbb37061882e86cc17776ff72a5ac69950c46adfe0584f447f3dbe0ddac80d41b3b183fe31caad96dbd4c1db4c14499b449c8cdd371 SHA512 4158ff7f8e5ee6098ea73ec3bc47686b3113d941d9522ded0ffd572e624d3b1099939b5103de8eb90c73048fe8ca2be8bc5e1b3946ebe8159df877cf9633f6fa DIST pikepdf-4.5.0.tar.gz 2353720 BLAKE2B 6c15a07b686a6279d1c8bbccc1534a153ae6e809f2b1b63bf4a44f9d49f064cd8b102aa2bb50cb824689c25cc4850d84fb04355fa66dea1e0fc8582d9a2743ad SHA512 d664a192cee28143c06cd7653ba225c7fb559a6480b9fab3b87cfb5231678967af5ec1f896b8c48938cc1f1ca3ff00b1dd5a0df1807a84d17fa104a7dcd98dec DIST pikepdf-5.0.0.tar.gz 2353902 BLAKE2B f6c73372b73d303f0c17b68d8e317c0aeecf6515d720e8eb748123385f57fc49b7eba54243462864a5d6fe9b19acce85140bc3ece15695c086faec69c60ed98a SHA512 8ac3d2682b1490dc9fa4509d0db14508e3bbf001b34d5ba495eaee0d29d6a189309b6a71b3f92e620cfc3422218152edb4103e9e30cad87e4202571d23c04dfe +DIST pikepdf-5.0.1.tar.gz 2354060 BLAKE2B 0aafaa27642dc2ee5994e670cbc7c7f828027111ce6a7aeb0ff71db8a07a271a1335c60ee9cbbbdbaaf9f8403e206df2c3083cc735cf5bc7f8810b4b113d1634 SHA512 d259806303a3faed861b91cc838efb1317b0d865220708f379d9a674e4ffc0a2752be9b09bcad9950edff7fe8a1c1511c56d9348cfd8ce7c0ca8893316a3ce78 diff --git a/dev-python/pikepdf/pikepdf-5.0.1.ebuild b/dev-python/pikepdf/pikepdf-5.0.1.ebuild new file mode 100644 index 000000000000..9b67efc0592c --- /dev/null +++ b/dev-python/pikepdf/pikepdf-5.0.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=">=app-text/qpdf-10.6.2:0=" +RDEPEND="${DEPEND} + <dev-python/pillow-10[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + >=dev-python/packaging-20[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}]" +BDEPEND=" + >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-6.4[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] + test? ( + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5[${PYTHON_USEDEP}] + >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] + >=dev-python/psutil-5[${PYTHON_USEDEP}] + >=dev-python/pytest-6[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + )" + +#distutils_enable_sphinx docs \ +# dev-python/ipython \ +# dev-python/matplotlib \ +# dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/-n auto/d' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index b36ccc07a72c..bcd71171a6fd 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -1,2 +1,3 @@ DIST platformdirs-2.4.1.gh.tar.gz 20051 BLAKE2B 18fd11f7cae7c81c3615c89468d1deb3ceef3337b4a87a806b245b7bb5a4c14c0eb64fc7cfa06adc2da6150969da3a626da16c1f309f3011a9d4c5d1e4ca1d83 SHA512 d410056207506395c922ecc36c481bcc21f8dd97c69f33dc13580c74d0ea3d1aaa97284b79eed47b723f18c663038874edc5b9c4f4def06d92f1e25f7a8d76b4 DIST platformdirs-2.5.0.gh.tar.gz 20101 BLAKE2B 420e70bfef15d17f69927809580440a4a9df618be7a93299a963bef236c5f966d0abe88f7bd9bf292109e5ddeb9b87b5615171ea1c70db9c7b2934d8b11fde5d SHA512 a50acf15bc776fdb43f6875055991aa85d5ebe7a931e27c9eada42500305cc1c7892e32687f2f882e850a97748e23dc6f2777f7f54558a32d6a413e35569f6f5 +DIST platformdirs-2.5.1.gh.tar.gz 20103 BLAKE2B 78df153feabd397e6ab0d3c5edfe899f2e2685e7b287bd17c36346bc109d90ba783b5164605bda448322811312299ce65d49b85537ebd1629448c1d82f4718e5 SHA512 c0f3e79fbb41cda1f543fcb6d3a4ea0c96872d195197aa720864c1ed0efa095e633202878da9b19abfb2aded08f5c736f431b1c615ee0f21cbf1775e87b12356 diff --git a/dev-python/platformdirs/platformdirs-2.5.1.ebuild b/dev-python/platformdirs/platformdirs-2.5.1.ebuild new file mode 100644 index 000000000000..329f88ca52f6 --- /dev/null +++ b/dev-python/platformdirs/platformdirs-2.5.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021-2022 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE=" + https://pypi.org/project/platformdirs/ + https://github.com/platformdirs/platformdirs/" +SRC_URI=" + https://github.com/platformdirs/platformdirs/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/pyopengl/Manifest b/dev-python/pyopengl/Manifest index 51212db11bbb..6a39a331546b 100644 --- a/dev-python/pyopengl/Manifest +++ b/dev-python/pyopengl/Manifest @@ -1 +1,2 @@ DIST PyOpenGL-3.1.5.tar.gz 1835295 BLAKE2B fd3b3e9970b3e704b09128402b401e23c584ba20de23082d019f5ab9e1e222efdfbd2e11ecff6ee748f41bad3a5ff089c57a5c354092e2f717b13e18108de2af SHA512 5d90fc68040b4886e46ff69a59be9e3a8e31e3e1295283756db86d50a1efe681986928e18eb55d20fd2660f863653301ea483425bbe24046f55085b44f4906eb +DIST PyOpenGL-3.1.6.tar.gz 1903892 BLAKE2B 7d1109a09703a7113aa9cc02994662df77bea1da63e81a8adbdc812514b71e04bfa51dad9e48c0e0b98327e4f7deda7a8590c340a38127d38e91659f38739220 SHA512 b6f2f083df0fd7cf8f8a1077f42fa388bce94c0edde00ed6492104af8306c9925b74649cd2c222be4205b0892e7975de2f7591d0f0bcd9540eb53c0de95fec00 diff --git a/dev-python/pyopengl/pyopengl-3.1.6.ebuild b/dev-python/pyopengl/pyopengl-3.1.6.ebuild new file mode 100644 index 000000000000..ff32670ed532 --- /dev/null +++ b/dev-python/pyopengl/pyopengl-3.1.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_REQ_USE="tk?" +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 virtualx + +MY_PN="PyOpenGL" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python OpenGL bindings" +HOMEPAGE="http://pyopengl.sourceforge.net/ https://pypi.org/project/PyOpenGL/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="tk" + +RDEPEND=" + media-libs/freeglut + virtual/opengl + x11-libs/libXi + x11-libs/libXmu + tk? ( dev-tcltk/togl ) +" +DEPEND=" + ${RDEPEND} +" + +# The tests need an X server with the GLX extension. Software rendering +# under Xvfb works but only with llvmpipe, not softpipe or swr. +BDEPEND=" + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pygame[${PYTHON_USEDEP},opengl,X] + !prefix? ( + media-libs/mesa[llvm] + x11-base/xorg-server[-minimal,xorg] + ) + ) +" + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} diff --git a/dev-python/pyopengl_accelerate/Manifest b/dev-python/pyopengl_accelerate/Manifest index c4a07056dbac..fa885d3890b5 100644 --- a/dev-python/pyopengl_accelerate/Manifest +++ b/dev-python/pyopengl_accelerate/Manifest @@ -1 +1,2 @@ +DIST pyopengl-227f9c66976d9f5dadf62b9a97e6beaec84831ca.gh.tar.gz 3296655 BLAKE2B 74aca52a9566eb667a36e4e75470da8eca0d4aaa42dce246bcfc4b28e3581235ca6119efaadafa4354c915046931d30bf0b2cd2d0fffb9d87611468a34704b24 SHA512 dad3b4377708d7c7331384e0b3aa3ca69ac943bb22e4136f93b7790092e29ee4cdc254295bd9243203981834bc22a7a02163523177b7f7c581f9384d55ee13c8 DIST pyopengl-3.1.5.gh.tar.gz 3287132 BLAKE2B a1d683715f4a57c0374cac827e7bd9c93ca303ac578f50a71edff983c6bf3c32858be454bf6ac00f757c52a0adc3b7df7f03181abf69304ed3621d168f2166d8 SHA512 66a6e07b4cee4d80d5b01cd6a506b54995e499611979f8a02fef76d95d6178fe9644fa4ad794812599be0aad293424be980f4a9d47480983503e09887250560d diff --git a/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.6.ebuild b/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.6.ebuild new file mode 100644 index 000000000000..2e9df5fb593a --- /dev/null +++ b/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 + +EGIT_COMMIT="227f9c66976d9f5dadf62b9a97e6beaec84831ca" +DESCRIPTION="Accelerate module for PyOpenGL" +HOMEPAGE=" + http://pyopengl.sourceforge.net/ + https://github.com/mcfletch/pyopengl/ + https://pypi.org/project/PyOpenGL-accelerate/" +SRC_URI=" + https://github.com/mcfletch/pyopengl/archive/${EGIT_COMMIT}.tar.gz + -> pyopengl-${EGIT_COMMIT}.gh.tar.gz" +S=${WORKDIR}/pyopengl-${EGIT_COMMIT}/accelerate + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="dev-python/pyopengl[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_test() { + cd "${T}" || die + epytest "${S}"/tests +} diff --git a/dev-python/pypy-exe-bin/Manifest b/dev-python/pypy-exe-bin/Manifest index 117af9fc902d..fd2a79609e92 100644 --- a/dev-python/pypy-exe-bin/Manifest +++ b/dev-python/pypy-exe-bin/Manifest @@ -1,4 +1,4 @@ -DIST pypy-exe-7.3.5-1.amd64.xpak 13646862 BLAKE2B ac2aecdb15d5b73cbd27b8a295ef5f11895ed7f897cda93cdff96c72ad727ab7998332231a1166100126ec2252b7c5b69e6b5bbfcb3e7fcb7738f5967809f5d8 SHA512 346f7b47d0e48799edd0e00b6bf683053ccaf20e6663ddd01e5753703082035cb4079a3539981813fc54abd7f83456353c38bd733dacf782e59a6548f861d1a7 -DIST pypy-exe-7.3.5-1.x86.xpak 10297092 BLAKE2B 149672f5714959deeb790b575e7980c1281b1cf37c0853e3ddf8c150104b2da0b8d32736eacc31f67d4d522902599e64bec7427727e560d8d54bbe7c5bd9a06e SHA512 48e4858489e928d44dd8570b783623eb33ce7a1fb62b2a054cd2841ca2be8ab7dd3bbd00c3aff770c1f8dc42ef52f52da3d18c5c27ebd08d19e78bdf56081e96 DIST pypy-exe-7.3.6-1.amd64.xpak 13698534 BLAKE2B d47e70f5d982b273b31da94f4f9e35597ba79389caffb06df1b397b4de91b90fe23183afde609225155debd80acbc827ad8a7a6d52e2f2192f9fe80cc86d6af3 SHA512 500ba779dd0bb0a525bab520f5eb7155d81d386ae785b7a23d369c20345719f280b0f639d444807bd82a8a9cdadd8c85cb4ce3b31abc74e377796aa8e88c260a DIST pypy-exe-7.3.6-1.x86.xpak 10322051 BLAKE2B d15ce84560a4e0f56446b7b514c3a20ecf84de48b89e15bed4a261946f1f3b39cfd49323e600c5c186d9bdd75a900a3688c124daa5d9dba7bf0bdb82873cc3f6 SHA512 4ac83e5334666efccc7c5d59be7838032f9082055d320fa3b44b58c18c4349c4a5ebead0c9ae11b24069f80f82081f8119ec4c00287f16b80b83b21db429cddd +DIST pypy-exe-7.3.8-1.amd64.xpak 13659803 BLAKE2B 438206eb417422b749d21ba0de71611147df9d0a40b6bef12bfc068fab92e7cd39878b1f15c97b6efe3f2751b29efd2f7ee9a6d084fc405384012b3c3e327552 SHA512 2c88e383302b8c873e1dcab1d24e0fc0455f751c2e5617926e97aa2414d84a437477ab029b9ae0751c418658250f13b54cb8abc871bd543ec58e392acdf4195f +DIST pypy-exe-7.3.8-1.x86.xpak 10179209 BLAKE2B e7d32ca389ab1dd92acc848caca0fb8e965f25f0ec9b3ca433984417d5979e4742926fcd5d6566eb89e19513b6fd02adcc1c5ef3305c52db84107cf14af1010a SHA512 df6086c046e6ad1da3d4d04dbc1bd6889b0ff760e6e10d4fd85c7add22cfaa31d6873dabaa18593aadc3e52d837043b3be1fec474c829debd79612adb7b0d07a diff --git a/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.5.ebuild b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.8.ebuild index 9759ac9bb38f..42a06e9b0cb0 100644 --- a/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.5.ebuild +++ b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.8.ebuild @@ -1,6 +1,6 @@ -# Copyright 2021 Liguros Authors +# Copyright 2021-2022 Liguros Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit pax-utils @@ -20,7 +20,7 @@ S="${WORKDIR}" LICENSE="MIT" SLOT="${PV%_p*}" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" RDEPEND=">=sys-libs/zlib-1.1.3:0/1 || ( diff --git a/dev-python/pypy-exe/Manifest b/dev-python/pypy-exe/Manifest index d02ba55f2a12..dacc54da215f 100644 --- a/dev-python/pypy-exe/Manifest +++ b/dev-python/pypy-exe/Manifest @@ -1,8 +1,4 @@ DIST pypy2.7-gentoo-patches-7.3.6.tar.xz 7904 BLAKE2B 6a809f8f1fd59c18627abaf81b47fa5948d39d5ece86fa416944c1c6585ec5d43b56f4228479a6afdca9788a0ecfdc83fceb4eeea25f289c1dc0b2dbda79b882 SHA512 01fe42cdf94b559ed787e253325f7df0add62e30e77c6b6e4c0301c81ff624a31167d95b39d24d72f28441468d571112f424957de38e7f26ecdbfe0f33617296 DIST pypy2.7-gentoo-patches-7.3.8.tar.xz 7428 BLAKE2B 5362c34929e2053fc9a806e9894f35cce02ba1ebfad66cc64acc200ade4317934ee50dbc072194d19e201dea2a678abd609001ffe7e39bd6890a3b26c9d6d00e SHA512 6a7bfadac8f638e69419a6a1536af595a63bb2b4e3028da6423bd164d3df5399901b217468b1b374a5162ca8d2e5a61c4a19996f9e63109ed414a1aedcaac5d6 -DIST pypy2.7-gentoo-patches-7.3.8rc1.tar.xz 7424 BLAKE2B 931fccd3415e0da7c0fa5a228fc1fec2006a9d12d3523222fc0618a901c161df9f149d09e354029b42ca2144bdeebbd228ec6025574d87d4b630fd0750bc4919 SHA512 c193610c46d4b02d1445073f12c3285ce053f5b860584b1c39bff48d5e800c609d40ff0eb91049cdf8f4bfdb4e7bb48d7059de98785e598349022602b97e5f2c -DIST pypy2.7-gentoo-patches-7.3.8rc2.tar.xz 7424 BLAKE2B 1d0e7e86cbc08ac3dc6f10fdb887bc4b634a9ac0aeeb39962b5cca85e05122c7dd8548848933d88f62508d3d2032f5f4abe1feea6cf06976659d142d451d0ffb SHA512 62d33bd700c28cd93617d69ccbbb3651fa794378583fdf584b2030f330b3a9bf55fba7d03539baacd9faac02e5d812b481c64b9c3f25cf304d780d162e8c3840 DIST pypy2.7-v7.3.6-src.tar.bz2 21621891 BLAKE2B a2d18ae9d455747484de491df228e7f26af46fc3bc1fd1c16ceba79eba5a3a3272d48312c9da112ae9310722b5af33098f28a7dc15d7ff4760886a8c974692a2 SHA512 df914f5e1a1f5ae5c1ea11cd8e29482309af4dce041cf2ae6d7b35a35717fec903be70f56e5f1ddbc9fd370cbe29f6896d25eb2cd10c493c352c80b279070ba3 DIST pypy2.7-v7.3.8-src.tar.bz2 23279006 BLAKE2B 7b2f5bfaffb99d3444f355039f743a21016dea22cc78cd5feca05eb12ce0e5ed39dafd22a8726994d0aff789e68b506197680e7181087313d2c5cd17b674ae4d SHA512 6ff90fad998c25aec5823e61d65266c169e89cba2ee2e3b6d0864d34d69a6b9fe7ad4d591bc8b38a48c5c22ea3dd468d3188cd34e03746c258752eaa24ac3ae2 -DIST pypy2.7-v7.3.8rc1-src.tar.bz2 23267987 BLAKE2B 035aef49ff0e8b1caed24e87712364ca350fe9f51247eaf732a32458a756264a867ad1270d4edc500daba8dcf70ca8882eb7f381135961f7f48d784ffe8bc6ee SHA512 88184be129ca3698db4e04ae6d241b7c748626870400a100ee2b8bba6ae3c0508071e435adb204bd6b34642ff3c8b0b71643446a3b443cc4467d68591fd53ceb -DIST pypy2.7-v7.3.8rc2-src.tar.bz2 23272804 BLAKE2B 5ff559f603f06a44a6149dd898df3351f2de4c42219dbcf6e811e1120079e8979a3edb3c76a01a30400684bb8088eb8e15c0408b6ea0d3762eff87eca41a0021 SHA512 ab85b219d43d556d84847af116d3012706264571d6ebdc0b1242195cdc906f9a9073ce5f42e9e5b4a9d1f974fe103b64190c7f3e5b53766443a4b9b938f55d1c diff --git a/dev-python/pypy-exe/pypy-exe-7.3.8.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.8.ebuild index baae1825c07d..537878fc7d32 100644 --- a/dev-python/pypy-exe/pypy-exe-7.3.8.ebuild +++ b/dev-python/pypy-exe/pypy-exe-7.3.8.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}-src" LICENSE="MIT" SLOT="${PYPY_PV}" -KEYWORDS="" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" RDEPEND=">=sys-libs/zlib-1.1.3:0= diff --git a/dev-python/pypy-exe/pypy-exe-7.3.8_rc1.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.8_rc1.ebuild deleted file mode 100644 index baae1825c07d..000000000000 --- a/dev-python/pypy-exe/pypy-exe-7.3.8_rc1.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit check-reqs pax-utils python-any-r1 toolchain-funcs - -PYPY_PV=${PV%_p*} -MY_P=pypy2.7-v${PYPY_PV/_} -PATCHSET="pypy2.7-gentoo-patches-${PV/_}" - -DESCRIPTION="PyPy executable (build from source)" -HOMEPAGE="https://www.pypy.org/" -SRC_URI="https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz" -S="${WORKDIR}/${MY_P}-src" - -LICENSE="MIT" -SLOT="${PYPY_PV}" -KEYWORDS="" -IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" - -RDEPEND=">=sys-libs/zlib-1.1.3:0= - dev-libs/libffi:0= - virtual/libintl:0= - dev-libs/expat:0= - bzip2? ( app-arch/bzip2:0= ) - ncurses? ( sys-libs/ncurses:0= ) - !dev-python/pypy-exe-bin:${PYPY_PV}" -# don't enforce the dep on pypy with USE=low-memory since it's going -# to cause either collisions or circular dep on itself -DEPEND="${RDEPEND}" -BDEPEND=" - !low-memory? ( - || ( - dev-python/pypy - dev-lang/python:2.7 - ) - )" - -check_env() { - if use low-memory; then - if ! has_version -b dev-python/pypy && - ! has_version -b dev-python/pypy-bin - then - eerror "USE=low-memory requires a (possibly old) version of dev-python/pypy" - eerror "being installed. Please install it using e.g.:" - eerror - eerror " $ emerge -1v dev-python/pypy dev-python/pypy-exe-bin" - eerror - eerror "before attempting to build dev-python/pypy-exe[low-memory]." - die "dev-python/pypy needs to be installed for USE=low-memory" - fi - - CHECKREQS_MEMORY="1750M" - use amd64 && CHECKREQS_MEMORY="3500M" - else - CHECKREQS_MEMORY="3G" - use amd64 && CHECKREQS_MEMORY="6G" - fi - - check-reqs_pkg_pretend -} - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && check_env -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]]; then - check_env - - use low-memory && EPYTHON= - if [[ ! ${EPYTHON} || ${EPYTHON} == pypy ]] && - { has_version -b dev-python/pypy || - has_version -b dev-python/pypy-bin; } - then - einfo "Using already-installed PyPy to perform the translation." - EPYTHON=pypy - else - einfo "Using ${EPYTHON} to perform the translation. Please note that upstream" - einfo "recommends using PyPy for that. If you wish to do so, please unset" - einfo "the EPYTHON variable." - python-any-r1_pkg_setup - fi - fi -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - default -} - -src_configure() { - tc-export CC - - local jit_backend - if use jit; then - jit_backend='--jit-backend=' - - # We only need the explicit sse2 switch for x86. - # On other arches we can rely on autodetection which uses - # compiler macros. Plus, --jit-backend= doesn't accept all - # the modern values... - - if use x86; then - if use cpu_flags_x86_sse2; then - jit_backend+=x86 - else - jit_backend+=x86-without-sse2 - fi - else - jit_backend+=auto - fi - fi - - local args=( - --no-shared - $(usex jit -Ojit -O2) - - ${jit_backend} - - pypy/goal/targetpypystandalone - ) - - # Avoid linking against libraries disabled by use flags - local opts=( - bzip2:bz2 - ncurses:_minimal_curses - ) - - local opt - for opt in "${opts[@]}"; do - local flag=${opt%:*} - local mod=${opt#*:} - - args+=( - $(usex ${flag} --withmod --withoutmod)-${mod} - ) - done - - local interp=( "${EPYTHON}" ) - if use low-memory; then - interp=( env PYPY_GC_MAX_DELTA=200MB - "${EPYTHON}" --jit loop_longevity=300 ) - fi - - if [[ ${EPYTHON} != pypy ]]; then - # reuse bundled pycparser to avoid external dep - mkdir -p "${T}"/pymod/cffi || die - : > "${T}"/pymod/cffi/__init__.py || die - cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/cffi/ || die - local -x PYTHONPATH=${T}/pymod:${PYTHONPATH} - fi - - # translate into the C sources - # we're going to build them ourselves since otherwise pypy does not - # free up the unneeded memory before spawning the compiler - set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" - echo -e "\033[1m${@}\033[0m" - "${@}" || die "translation failed" -} - -src_compile() { - emake -C "${T}"/usession*-0/testing_1 -} - -src_install() { - local dest=/usr/lib/pypy2.7 - exeinto "${dest}" - newexe "${T}"/usession*-0/testing_1/pypy-c pypy-c-${PYPY_PV} - insinto "${dest}"/include/${PYPY_PV} - doins include/pypy_* - pax-mark m "${ED}${dest}/pypy-c-${PYPY_PV}" -} diff --git a/dev-python/pypy-exe/pypy-exe-7.3.8_rc2.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.8_rc2.ebuild deleted file mode 100644 index baae1825c07d..000000000000 --- a/dev-python/pypy-exe/pypy-exe-7.3.8_rc2.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit check-reqs pax-utils python-any-r1 toolchain-funcs - -PYPY_PV=${PV%_p*} -MY_P=pypy2.7-v${PYPY_PV/_} -PATCHSET="pypy2.7-gentoo-patches-${PV/_}" - -DESCRIPTION="PyPy executable (build from source)" -HOMEPAGE="https://www.pypy.org/" -SRC_URI="https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz" -S="${WORKDIR}/${MY_P}-src" - -LICENSE="MIT" -SLOT="${PYPY_PV}" -KEYWORDS="" -IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" - -RDEPEND=">=sys-libs/zlib-1.1.3:0= - dev-libs/libffi:0= - virtual/libintl:0= - dev-libs/expat:0= - bzip2? ( app-arch/bzip2:0= ) - ncurses? ( sys-libs/ncurses:0= ) - !dev-python/pypy-exe-bin:${PYPY_PV}" -# don't enforce the dep on pypy with USE=low-memory since it's going -# to cause either collisions or circular dep on itself -DEPEND="${RDEPEND}" -BDEPEND=" - !low-memory? ( - || ( - dev-python/pypy - dev-lang/python:2.7 - ) - )" - -check_env() { - if use low-memory; then - if ! has_version -b dev-python/pypy && - ! has_version -b dev-python/pypy-bin - then - eerror "USE=low-memory requires a (possibly old) version of dev-python/pypy" - eerror "being installed. Please install it using e.g.:" - eerror - eerror " $ emerge -1v dev-python/pypy dev-python/pypy-exe-bin" - eerror - eerror "before attempting to build dev-python/pypy-exe[low-memory]." - die "dev-python/pypy needs to be installed for USE=low-memory" - fi - - CHECKREQS_MEMORY="1750M" - use amd64 && CHECKREQS_MEMORY="3500M" - else - CHECKREQS_MEMORY="3G" - use amd64 && CHECKREQS_MEMORY="6G" - fi - - check-reqs_pkg_pretend -} - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && check_env -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]]; then - check_env - - use low-memory && EPYTHON= - if [[ ! ${EPYTHON} || ${EPYTHON} == pypy ]] && - { has_version -b dev-python/pypy || - has_version -b dev-python/pypy-bin; } - then - einfo "Using already-installed PyPy to perform the translation." - EPYTHON=pypy - else - einfo "Using ${EPYTHON} to perform the translation. Please note that upstream" - einfo "recommends using PyPy for that. If you wish to do so, please unset" - einfo "the EPYTHON variable." - python-any-r1_pkg_setup - fi - fi -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - default -} - -src_configure() { - tc-export CC - - local jit_backend - if use jit; then - jit_backend='--jit-backend=' - - # We only need the explicit sse2 switch for x86. - # On other arches we can rely on autodetection which uses - # compiler macros. Plus, --jit-backend= doesn't accept all - # the modern values... - - if use x86; then - if use cpu_flags_x86_sse2; then - jit_backend+=x86 - else - jit_backend+=x86-without-sse2 - fi - else - jit_backend+=auto - fi - fi - - local args=( - --no-shared - $(usex jit -Ojit -O2) - - ${jit_backend} - - pypy/goal/targetpypystandalone - ) - - # Avoid linking against libraries disabled by use flags - local opts=( - bzip2:bz2 - ncurses:_minimal_curses - ) - - local opt - for opt in "${opts[@]}"; do - local flag=${opt%:*} - local mod=${opt#*:} - - args+=( - $(usex ${flag} --withmod --withoutmod)-${mod} - ) - done - - local interp=( "${EPYTHON}" ) - if use low-memory; then - interp=( env PYPY_GC_MAX_DELTA=200MB - "${EPYTHON}" --jit loop_longevity=300 ) - fi - - if [[ ${EPYTHON} != pypy ]]; then - # reuse bundled pycparser to avoid external dep - mkdir -p "${T}"/pymod/cffi || die - : > "${T}"/pymod/cffi/__init__.py || die - cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/cffi/ || die - local -x PYTHONPATH=${T}/pymod:${PYTHONPATH} - fi - - # translate into the C sources - # we're going to build them ourselves since otherwise pypy does not - # free up the unneeded memory before spawning the compiler - set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" - echo -e "\033[1m${@}\033[0m" - "${@}" || die "translation failed" -} - -src_compile() { - emake -C "${T}"/usession*-0/testing_1 -} - -src_install() { - local dest=/usr/lib/pypy2.7 - exeinto "${dest}" - newexe "${T}"/usession*-0/testing_1/pypy-c pypy-c-${PYPY_PV} - insinto "${dest}"/include/${PYPY_PV} - doins include/pypy_* - pax-mark m "${ED}${dest}/pypy-c-${PYPY_PV}" -} diff --git a/dev-python/pypy3-exe-bin/Manifest b/dev-python/pypy3-exe-bin/Manifest index 1cca392ed82e..a6e72860e85d 100644 --- a/dev-python/pypy3-exe-bin/Manifest +++ b/dev-python/pypy3-exe-bin/Manifest @@ -2,9 +2,3 @@ DIST pypy3-exe-7.3.7-1.amd64.xpak 12149428 BLAKE2B 468fe50d8b607793438bc59179acb DIST pypy3-exe-7.3.7-1.x86.xpak 9221421 BLAKE2B fc24f93533127f48ffc5974dfd3eb4611442489aee6318ccb911a2f3e3d234bc44c659309006ffe55eb6de3a00915fa3aaf6dc50e4efb1adb668d0d38281cf3c SHA512 9322a25ad230615cc96b81448a0591f730a5d09b57c02259412d427290934074baeb48f58f3829d393137252d5cf1b3f0fdd3b50d9194d69ea3ab38fbe83abac DIST pypy3-exe-7.3.8-1.amd64.xpak 12480863 BLAKE2B 4db76687e1662a9674dcf2ac863cf837b27551874613ee94281cd0d2e701214fc65181ae54a52246d8d0cd01631e0a35fe0c044ea916a488e53aa6e8850c95c4 SHA512 dee849a1e066ef28ab1bedd37cc3a89a087f5cf44d2144862df7825880a1b6bd3238dbe94e4ca47a2009945cb716b8720bec42e32228afeaebd69d5ac6c1e077 DIST pypy3-exe-7.3.8-1.x86.xpak 9211472 BLAKE2B d0fd9fc64fb29367dfa017ac9654c699f11386f4a661cfad12cbb2b543f6ab4bf74a9f5131da3ae1307d03fce1d801d4b04c9bdd43c2ee42592e8658c91fae39 SHA512 5311a7aa24b8ea24ee408f3f0ff1efb14ca9875d36991f3e842819841d304a3df000679712b6e2d00095590bc684c262c44a4f9ad8e41fadaf0b0e0ffb0fc220 -DIST pypy3-exe-7.3.8_rc1-1.amd64.xpak 12424506 BLAKE2B 32d4c9a8f82ff1940608848cf497124bf628eebcc14f8a118819afca22b0055d010440c657c546449bd4fdc17d4d1933b5d236ab8a6e21cf1aea48a09412c3e6 SHA512 0e8c8b6d287bea00666f53f4fea7d339d5954ebca078ca3f30f0764ab8825da0655464c7c02bac26d6eca66e7915d97d8e4c1ba86e01a408eb9f0741e470f52c -DIST pypy3-exe-7.3.8_rc1-1.x86.xpak 9226302 BLAKE2B 98efa1ae5f77d0dfb7eb9189a0088177df80271bf41069e14e221e2d8bf645b65b518b8aed43903df5562f1cd9626583dada1c0e617e8ab0c4481d61adc4c8f1 SHA512 f42131ecb9fbea76f250f3f2772e21fd2e562df8c043eb480bfb8d16e837ea24bd8c5db7d70c5d5d97eb9f22c00f39216989876bd19efc76e3854025a5bbf317 -DIST pypy3-exe-7.3.8_rc1_p2-1.amd64.xpak 12426733 BLAKE2B b57e4cb06e539b79f08f6f7b17de855265f317d46d391eb35a8aaff2031146a7c3bcce6ece24f3d08eb47918c2be4ae4b10c7dd3eb35c6f1a409cf57c4db040b SHA512 ded505bdc02a467d60359cae79321a1b99c333cbfc242eef8a15d966c12d87806e16c9e9a98435b3759ac8eefd286946e0a1c32907620daa2ee35aef9385096b -DIST pypy3-exe-7.3.8_rc1_p2-1.x86.xpak 9212249 BLAKE2B 7de30c5cd8bc3d04fa9a7bac7251b5ef54b038a76a42df60f2aabade65b9b9f4b0199cda45c61dd2d775d8a2c964efbc1ded54a014242dee984b7922108df993 SHA512 b9dd7135f33a14f4f2684762a7590d77a4fb6c0711f7bc86570d031f1e7bd9abf69fbbf9f33a841eff04666af0f94d39f0c2aaebe1fefb7de846a9d115673abe -DIST pypy3-exe-7.3.8_rc2-1.amd64.xpak 12470636 BLAKE2B f1ca683973425631bdee50fa63f3d8daa92335bdb9f6fe4fcddabf89e1b84c66af53d237b12b57153e715a05b111ec6eb907d246604b524c6f601935587eecf7 SHA512 c11cbbfd6f58592afda4d80a8e0299478eadddc60718635a625bbe020a50f4e8cecd44f998cf4408356d0f284f7c6d228f8217aee5b8d098f26f41a512575524 -DIST pypy3-exe-7.3.8_rc2-1.x86.xpak 9223737 BLAKE2B 35a94c795f7e1d300e630356b6114a102ce6367989cbb3f0d3cc93257ed53f401768780daffb91450e482b8e1081367789a07777e3af6359e2aaa2abbaf726f9 SHA512 1a5db6dcf86f0ef05797b508adb68b15a22e518482c2e669a8962359189d26b2c02f1d76b28a0ba92853f5a6a338722f0f1a0dd089847a02cf0a256962c08ac9 diff --git a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8.ebuild b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8.ebuild index 9170699865c0..d55bb03c5536 100644 --- a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8.ebuild +++ b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8.ebuild @@ -21,7 +21,7 @@ S="${WORKDIR}" LICENSE="MIT" SLOT="3.9-${PV%_p*}" -KEYWORDS="" +KEYWORDS="~amd64 ~x86" RDEPEND=">=sys-libs/zlib-1.1.3:0/1 || ( diff --git a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8_rc1.ebuild b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8_rc1.ebuild deleted file mode 100644 index 9170699865c0..000000000000 --- a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8_rc1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit pax-utils - -MY_P=pypy3-exe-${PV}-1 -DESCRIPTION="PyPy3 executable (pre-built version)" -HOMEPAGE="https://www.pypy.org/" -SRC_URI=" - amd64? ( - https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy3-exe/${MY_P}.xpak - -> ${MY_P}.amd64.xpak - ) - x86? ( - https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy3-exe/${MY_P}.xpak - -> ${MY_P}.x86.xpak - )" -S="${WORKDIR}" - -LICENSE="MIT" -SLOT="3.9-${PV%_p*}" -KEYWORDS="" - -RDEPEND=">=sys-libs/zlib-1.1.3:0/1 - || ( - dev-libs/libffi-compat:7 - dev-libs/libffi:0/7 - ) - virtual/libintl:0/0 - dev-libs/expat:0/0 - app-arch/bzip2:0/1 - sys-libs/ncurses:0/6 - !dev-python/pypy-exe:${SLOT}" - -PYPY_PV=${PV%_p*} -QA_PREBUILT=" - usr/bin/pypy3.9-c-${PYPY_PV}" - -src_unpack() { - ebegin "Unpacking ${MY_P}.${ARCH}.xpak" - tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak") - eend ${?} || die "Unpacking ${MY_P} failed" -} - -src_install() { - insinto / - doins -r usr - fperms +x "/usr/bin/pypy3.9-c-${PYPY_PV}" - pax-mark m "${ED}/usr/bin/pypy3.9-c-${PYPY_PV}" -} diff --git a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8_rc1_p2.ebuild b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8_rc1_p2.ebuild deleted file mode 100644 index 9170699865c0..000000000000 --- a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8_rc1_p2.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit pax-utils - -MY_P=pypy3-exe-${PV}-1 -DESCRIPTION="PyPy3 executable (pre-built version)" -HOMEPAGE="https://www.pypy.org/" -SRC_URI=" - amd64? ( - https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy3-exe/${MY_P}.xpak - -> ${MY_P}.amd64.xpak - ) - x86? ( - https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy3-exe/${MY_P}.xpak - -> ${MY_P}.x86.xpak - )" -S="${WORKDIR}" - -LICENSE="MIT" -SLOT="3.9-${PV%_p*}" -KEYWORDS="" - -RDEPEND=">=sys-libs/zlib-1.1.3:0/1 - || ( - dev-libs/libffi-compat:7 - dev-libs/libffi:0/7 - ) - virtual/libintl:0/0 - dev-libs/expat:0/0 - app-arch/bzip2:0/1 - sys-libs/ncurses:0/6 - !dev-python/pypy-exe:${SLOT}" - -PYPY_PV=${PV%_p*} -QA_PREBUILT=" - usr/bin/pypy3.9-c-${PYPY_PV}" - -src_unpack() { - ebegin "Unpacking ${MY_P}.${ARCH}.xpak" - tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak") - eend ${?} || die "Unpacking ${MY_P} failed" -} - -src_install() { - insinto / - doins -r usr - fperms +x "/usr/bin/pypy3.9-c-${PYPY_PV}" - pax-mark m "${ED}/usr/bin/pypy3.9-c-${PYPY_PV}" -} diff --git a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8_rc2.ebuild b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8_rc2.ebuild deleted file mode 100644 index 9170699865c0..000000000000 --- a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8_rc2.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit pax-utils - -MY_P=pypy3-exe-${PV}-1 -DESCRIPTION="PyPy3 executable (pre-built version)" -HOMEPAGE="https://www.pypy.org/" -SRC_URI=" - amd64? ( - https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy3-exe/${MY_P}.xpak - -> ${MY_P}.amd64.xpak - ) - x86? ( - https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy3-exe/${MY_P}.xpak - -> ${MY_P}.x86.xpak - )" -S="${WORKDIR}" - -LICENSE="MIT" -SLOT="3.9-${PV%_p*}" -KEYWORDS="" - -RDEPEND=">=sys-libs/zlib-1.1.3:0/1 - || ( - dev-libs/libffi-compat:7 - dev-libs/libffi:0/7 - ) - virtual/libintl:0/0 - dev-libs/expat:0/0 - app-arch/bzip2:0/1 - sys-libs/ncurses:0/6 - !dev-python/pypy-exe:${SLOT}" - -PYPY_PV=${PV%_p*} -QA_PREBUILT=" - usr/bin/pypy3.9-c-${PYPY_PV}" - -src_unpack() { - ebegin "Unpacking ${MY_P}.${ARCH}.xpak" - tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak") - eend ${?} || die "Unpacking ${MY_P} failed" -} - -src_install() { - insinto / - doins -r usr - fperms +x "/usr/bin/pypy3.9-c-${PYPY_PV}" - pax-mark m "${ED}/usr/bin/pypy3.9-c-${PYPY_PV}" -} diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild b/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild new file mode 100644 index 000000000000..69f2446704ba --- /dev/null +++ b/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications" +HOMEPAGE=" + https://pypi.org/project/pytest-qt/ + https://github.com/pytest-dev/pytest-qt/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}] + dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + # warnings from other plugins cause the test output matchers to fail + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytestqt.plugin + + local EPYTEST_DESELECT=( + # requires the window to be activated; that doesn't seem + # to be possible inside Xvfb + "tests/test_basics.py::test_wait_window[waitActive-True]" + + # we are forcing a specific module via envvar, effectively + # overriding the config + tests/test_basics.py::test_qt_api_ini_config + tests/test_basics.py::test_qt_api_ini_config_with_envvar + ) + + PYTEST_QT_API="pyqt5" epytest || die + PYTEST_QT_API="pyside2" epytest || die +} diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild index 7550fcf91680..ccd3c03bc1c6 100644 --- a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild +++ b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]" BDEPEND=" @@ -30,25 +30,26 @@ BDEPEND=" distutils_enable_tests --install pytest distutils_enable_sphinx docs dev-python/sphinx_rtd_theme -python_prepare_all() { - # This show window test does not work inside the emerge env, as we cannot show windows. - # pytestqt.exceptions.TimeoutError: widget <PyQt5.QtWidgets.QWidget object at 0x7f57d8527af8> not activated in 1000 ms. - sed -i -e 's:test_wait_window:_&:' tests/test_basics.py || die - - # This is not going to work since we want to test both implementations - # and therefore pull in both and explicitly set PYTEST_QT_API - sed -i -e 's:test_qt_api_ini_config_with_envvar:_&:' \ - -e 's:test_qt_api_ini_config:_&:' \ - tests/test_basics.py || die - - distutils-r1_python_prepare_all -} - src_test() { - virtx python_foreach_impl python_test + virtx distutils-r1_src_test } python_test() { + # warnings from other plugins cause the test output matchers to fail + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytestqt.plugin + + local EPYTEST_DESELECT=( + # requires the window to be activated; that doesn't seem + # to be possible inside Xvfb + "tests/test_basics.py::test_wait_window[waitActive-True]" + + # we are forcing a specific module via envvar, effectively + # overriding the config + tests/test_basics.py::test_qt_api_ini_config + tests/test_basics.py::test_qt_api_ini_config_with_envvar + ) + distutils_install_for_testing PYTEST_QT_API="pyqt5" epytest || die if [[ "${EPYTHON}" == "python3.10" ]]; then diff --git a/dev-python/ruamel-std-pathlib/Manifest b/dev-python/ruamel-std-pathlib/Manifest index 50e7848dc418..173ee6ad4237 100644 --- a/dev-python/ruamel-std-pathlib/Manifest +++ b/dev-python/ruamel-std-pathlib/Manifest @@ -1,3 +1,4 @@ DIST ruamel-std-pathlib-0.8.0.tar.xz 19068 BLAKE2B e1709bf5af17a843a7f5aec8009c4ec337cd1a4a526315e8834924909613eb5cc50c2ae1a1acc74c97a876fa347767dce627f2dba1fb874032f0989f7ee6599e SHA512 eecbb43e3867d8ccb166a0d528b3d7cfc04ed6f2df5e2048ccec4d7fd36117ac4a3984d4143025f6b7fd51867de879fe02e5dcbc4b275fd40cab1609bcf69536 DIST ruamel-std-pathlib-0.9.0.tar.xz 19340 BLAKE2B 1ab661f3dc4cb75eed20426256f5c14fd9c3b44894c343dd55bd53dbb811eb90ea90ff8c1056b0eb4a5d186521786e22e42f8db48d8dde42885c72f34f8e3782 SHA512 ba551b3b07db87e46e059ddf17b0768283e8da49c7ea5bb252fba6ca611bb69d160fd6a3d3557eac0606b8aece5ee21aced2889609d95cfeb6f59473d72a261e DIST ruamel-std-pathlib-0.9.1.tar.xz 19408 BLAKE2B 26c5dbddec337fb5fac6992206d49ecaabf743f2b6d9836c524626b77ca772e8e97e660f8bb22fd4d6e572705ef7d5cf6a012cede315a1662d8786be4ad8eca8 SHA512 d577731c504719b650a718c98979d28442f48ca1526b653f8faeadc4720f5cff09f0554fe5b8eb1cd65c7d3106f0b9e0a4d11f1f416458df187c51f707d137b6 +DIST ruamel-std-pathlib-0.9.2.tar.xz 19948 BLAKE2B 1d8d6b4a6703c22a578320d47258bca487376945fc5442716686b05aed78ab64b32022da7fe63f454396235c5782135d173892ab99fdcb857d42369732e26f80 SHA512 71077d2c979bdd5f9d4a2467f6d4a7c0aeabb3dab3f0657411b562ada955c859da619db1e8431d8065d7610b376a961244920359471a9c1358315c02a6b621e4 diff --git a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.9.2.ebuild b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.9.2.ebuild new file mode 100644 index 000000000000..923215a5197c --- /dev/null +++ b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.9.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 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} pypy3 ) + +inherit distutils-r1 + +MY_P="${PN//-/.}-${PV}" +DESCRIPTION="Ruamel enhancements to pathlib and pathlib2" +HOMEPAGE="https://pypi.org/project/ruamel.std.pathlib/ https://sourceforge.net/p/ruamel-std-pathlib/" +# PyPI tarballs do not include tests +SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz -> ${P}.tar.xz" +S="${WORKDIR}"/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND="dev-python/namespace-ruamel[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_install() { + distutils-r1_python_install + find "${ED}" -name '*.pth' -delete || die +} diff --git a/dev-python/ubelt/Manifest b/dev-python/ubelt/Manifest index 663868663a3c..3f904c62181a 100644 --- a/dev-python/ubelt/Manifest +++ b/dev-python/ubelt/Manifest @@ -3,3 +3,4 @@ DIST ubelt-0.10.2.tar.gz 240069 BLAKE2B 34a24781264dd910e7a3afd87287f8ec9d1e4d1b DIST ubelt-0.11.0.tar.gz 251931 BLAKE2B 628c62395b38da5fe70cf5c4eaef74f411cb431ca3837aadc0bfafd28d9ba15a75850d22b317d207e79d81c7e015a7adad28fb14804c25b3e9ef1a473d5af8c2 SHA512 ae95f719238e89ece2bd8ef525d7acc72058a770ff8c0be58e27d9fd0f50b1ae978d71589474133ce1065130562cae63282c4c97f69756ce1c64ce4330a5da1e DIST ubelt-0.11.1.tar.gz 255709 BLAKE2B 4d79981c4040685bc532aba0a9d85482169672ea05b010f34ed8eaae124c3e36f68d643f1f351cb05ef1ed3434c959f864cf0f6f56b32ba48a6dbe5c195581b5 SHA512 bb5b8f9ad63a7700c3489e20efde255b03c34cc954f12ec2d889d20c5c5e771fe39e9a9ee868ad0ac5a51eddb60565c283f31a9cc1467e956a578a7d454fe61b DIST ubelt-1.0.0.tar.gz 242813 BLAKE2B 31376e56000c73db1173b930027b62c7dd465f9fc329b6016ae8678c70aaa376faa7eb1894060a663574651d517563cdbc67daf4171f3777bea368bc02d06b0a SHA512 718e52ac453cffa9192cf5aa70eb36d6aa09b75abaa0ae6e8ef861025cf92a4d0392c48e64d453f4d42a69aefc59da371e4b8cbab16410f34dee9700cae4b97c +DIST ubelt-1.0.1.tar.gz 242552 BLAKE2B da4ceb039b926f942c593563e77b42ebfb39a75bfc2953a6eadf2430bda8ebe25faeb4a00714fc110486715da15515fa316d3705d9853a7eb93320ee694d1127 SHA512 150f1c76b5814441fe0bfd50017f37ede4d463cc4e23f152ac634e7531d83f28560415ad26527cd40a7ebdab546d7edd711a1ba0c728ef63791219bf4866099c diff --git a/dev-python/ubelt/ubelt-1.0.1.ebuild b/dev-python/ubelt/ubelt-1.0.1.ebuild new file mode 100644 index 000000000000..9ccf653db9d8 --- /dev/null +++ b/dev-python/ubelt/ubelt-1.0.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 + +DESCRIPTION="A stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress" +HOMEPAGE="https://github.com/Erotemic/ubelt" +SRC_URI="https://github.com/Erotemic/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" + +DEPEND="test? ( dev-python/xdoctest[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # relies on passwd home being equal to ${HOME} + ubelt/util_path.py::userhome:0 +) diff --git a/dev-python/unidecode/Manifest b/dev-python/unidecode/Manifest index 22892a8bac05..8ab7d02338a4 100644 --- a/dev-python/unidecode/Manifest +++ b/dev-python/unidecode/Manifest @@ -1 +1,2 @@ DIST Unidecode-1.3.0.tar.gz 191814 BLAKE2B ca995b91d802eff3dc07b78359f73a5b44d0197ba522d43c7cbe36c85682c20e943214d671ac2203829196d472456f853ad0988d21fa2e568b13ef865932bed6 SHA512 98682ce5c844bfb74466d0c4c16cb74b358f50ce7fc8ca8dd56836d1b8745cb5c78692b8027ff9caf59394df6050ae2f36f888bb95ef8fc7c84cabe2a596b185 +DIST Unidecode-1.3.3.tar.gz 192050 BLAKE2B 74fe777ad25e78357499ed80f3cd9e43ef42d0a08e3b14e4916c57d43e0e296c6852722f84a3fd1c57911f7d97962cbe12043e3b68adad15d785793912ec53ed SHA512 1c42f2530fa68c56ded097a92b580a3b1c223c957711778b81dd92c8543068a76a87379db7fbe4d2dcb6a9a6c2fc2aef28ed950e0c07d411ae2891c00a8ffea7 diff --git a/dev-python/unidecode/unidecode-1.3.3.ebuild b/dev-python/unidecode/unidecode-1.3.3.ebuild new file mode 100644 index 000000000000..5c6a08536a69 --- /dev/null +++ b/dev-python/unidecode/unidecode-1.3.3.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2022 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} pypy3 ) + +inherit distutils-r1 + +MY_P=Unidecode-${PV} +DESCRIPTION="Module providing ASCII transliterations of Unicode text" +HOMEPAGE="https://pypi.org/project/Unidecode/" +SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +distutils_enable_tests unittest |
