diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-10-24 13:04:12 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-10-24 13:04:12 +0000 |
| commit | 759d382494e1795a8a38391d93d94a7e455c7e52 (patch) | |
| tree | e7b8960a5527c249838c6fabbfd334c12e106dd7 /dev-python | |
| parent | 97a0dc98af662b8f43cc5e96d73658b6a7004d2a (diff) | |
| download | baldeagleos-repo-759d382494e1795a8a38391d93d94a7e455c7e52.tar.gz baldeagleos-repo-759d382494e1795a8a38391d93d94a7e455c7e52.tar.xz baldeagleos-repo-759d382494e1795a8a38391d93d94a7e455c7e52.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/denonavr/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/denonavr/denonavr-0.10.12.ebuild | 38 | ||||
| -rw-r--r-- | dev-python/dill/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/dill/dill-0.3.6.ebuild | 28 | ||||
| -rw-r--r-- | dev-python/meson-python/meson-python-0.10.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/pdm-pep517/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pdm-pep517/pdm-pep517-1.0.5.ebuild | 58 | ||||
| -rw-r--r-- | dev-python/pyicu/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyicu/pyicu-2.10.ebuild | 40 | ||||
| -rw-r--r-- | dev-python/pyproject-metadata/pyproject-metadata-0.6.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/scipy/scipy-1.9.2.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/shiboken2/shiboken2-5.15.6.ebuild | 7 | ||||
| -rw-r--r-- | dev-python/wcmatch/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/wcmatch/wcmatch-8.4.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/wcmatch/wcmatch-8.4.ebuild | 61 | ||||
| -rw-r--r-- | dev-python/zipp/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/zipp/zipp-3.10.0.ebuild | 55 |
17 files changed, 232 insertions, 69 deletions
diff --git a/dev-python/denonavr/Manifest b/dev-python/denonavr/Manifest index acf4bfd30cae..f7a0fb5c80b7 100644 --- a/dev-python/denonavr/Manifest +++ b/dev-python/denonavr/Manifest @@ -1 +1,2 @@ DIST denonavr-0.10.11.tar.gz 157622 BLAKE2B aa311eff51dbba857f529aee1a1931b3456b7c42f4710d21aff0eb6cf21718d639795d8099e8b0ad297787ba887746b265f922c19afe692cc3317291023a2df3 SHA512 19a10196019067605a2565be4ee0dc56116d6f706ca97c6754e6dc63cccc8870ee657736fd17f1959753c1c24c878e0d7a721c33212e6753dc12b5fc7dae34e0 +DIST denonavr-0.10.12.tar.gz 167623 BLAKE2B b0d12782e21cf08ba72e069e4952d2c531669de7f357af34f8aa3254cb67c80b75989f67a37281420e7dbb7929082a92327ebf1bb744539e9d2396117ff54714 SHA512 791205d4b367f05388a262935c3e24086cf1603eafc65881fa31e323e9c16c4ac6fd9f09672586fffc63a7a306556183732d71820f05e7c6c66cf17cb33af9c4 diff --git a/dev-python/denonavr/denonavr-0.10.12.ebuild b/dev-python/denonavr/denonavr-0.10.12.ebuild new file mode 100644 index 000000000000..8bb9356a6028 --- /dev/null +++ b/dev-python/denonavr/denonavr-0.10.12.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} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="Automation Library for Denon AVR receivers" +HOMEPAGE=" + https://github.com/ol-iver/denonavr/ + https://pypi.org/project/denonavr/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/asyncstdlib-3.10.2[${PYTHON_USEDEP}] + >=dev-python/attrs-21.2.0[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/httpx-0.21.0[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.11.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpx[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/dill/Manifest b/dev-python/dill/Manifest index a9584008136c..30211d4ca627 100644 --- a/dev-python/dill/Manifest +++ b/dev-python/dill/Manifest @@ -1 +1,2 @@ DIST dill-0.3.5.1.gh.tar.gz 161203 BLAKE2B 2f778f3d2792d5606f8a5d7fd7d993490592da5ade701a38a270f756d129ad49f2aa44277fcb1f69a14779fe2541e2a720dc643ebd0fad258725d5d9452c048f SHA512 3dcf5e262110031412d9dfaee5548fed80bfc4d6b404cddbc2d9a6f65e2b80fae45a622ef73768e7996d2fc9e8d2757ac04e2a73f3700c526037dbabaa8adf15 +DIST dill-0.3.6.gh.tar.gz 171608 BLAKE2B 3b0c6f20218230685c91c10edb4d9bfdbb913464903ce03c92c85ad607ab3973c61c39f9a9807d55c1d3aa3736f5de4575e5beb0784f2b17f0af850210bebd61 SHA512 921bd5122b9b90fd3426a7af5fc8ba70d09b92d740951f5db5d481abb280915d722410f174ab028134acff9a3659899c8f315242caa7a44d8e4b38dd02bb1fa3 diff --git a/dev-python/dill/dill-0.3.6.ebuild b/dev-python/dill/dill-0.3.6.ebuild new file mode 100644 index 000000000000..7a14a2925aec --- /dev/null +++ b/dev-python/dill/dill-0.3.6.ebuild @@ -0,0 +1,28 @@ +# 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="Serialize all of Python (almost)" +HOMEPAGE=" + https://github.com/uqfoundation/dill/ + https://pypi.org/project/dill/ +" +SRC_URI=" + https://github.com/uqfoundation/dill/archive/${P}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${PN}-${P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +python_test() { + "${EPYTHON}" -m dill.tests || die +} diff --git a/dev-python/meson-python/meson-python-0.10.0.ebuild b/dev-python/meson-python/meson-python-0.10.0.ebuild index a00f113cfe63..2ef6ebee3008 100644 --- a/dev-python/meson-python/meson-python-0.10.0.ebuild +++ b/dev-python/meson-python/meson-python-0.10.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ppc ppc64 ~riscv ~s390 ~x86" +KEYWORDS="~amd64 arm arm64 ppc ppc64 ~riscv ~s390 ~x86" RDEPEND=" >=dev-python/pyproject-metadata-0.6.1[${PYTHON_USEDEP}] diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest index 0cba3a1dcd2d..3e93e485cee0 100644 --- a/dev-python/pdm-pep517/Manifest +++ b/dev-python/pdm-pep517/Manifest @@ -1 +1,2 @@ DIST pdm-pep517-1.0.4.gh.tar.gz 314677 BLAKE2B dc6fad5bf6bd4aa6d9d490c6fb1df0d1a1543ae93f90ac4d53bbd515de6f6582a4fd032cc5c67aeebf71755fec6aac3b5a462a18eb08087c6a4da279e3c989ad SHA512 4edd016873c054f20efc39b8a044c2ff5dee70509c45ba1227e6982043dabb5ed0353afef4af73c88106ffe5a2c27f569077448fb27a0d58169710d2c6573c2f +DIST pdm-pep517-1.0.5.gh.tar.gz 314932 BLAKE2B 5a0adce25de4aaa1d57d859223a3632c01f31d9be947384c9a1707fcb413f0a1d1434c9c6bee868ee0c668fa89cc78ef6d4831a4a2b1150607bc5f8173e61cd9 SHA512 e5cde819476187f4ad5caaa0dddb9409fbefb241e0548fb4ad9df4722de3c7b532aba969b399afade0bfd3d774ee5cdcd3bc9ece3a5ebfb2d5a2a6f3280a6ab5 diff --git a/dev-python/pdm-pep517/pdm-pep517-1.0.5.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.0.5.ebuild new file mode 100644 index 000000000000..8f6ab5b2f4d1 --- /dev/null +++ b/dev-python/pdm-pep517/pdm-pep517-1.0.5.ebuild @@ -0,0 +1,58 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" +HOMEPAGE=" + https://pypi.org/project/pdm-pep517/ + https://github.com/pdm-project/pdm-pep517/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-pep517/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}] + dev-python/license-expression[${PYTHON_USEDEP}] + >=dev-python/packaging-21.0[${PYTHON_USEDEP}] + >=dev-python/tomli-2[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-vcs/git + ) +" +# setuptools are used to build C extensions +RDEPEND+=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + rm -r pdm/pep517/_vendor || die + find -name '*.py' -exec sed \ + -e 's:from pdm\.pep517\._vendor\.:from :' \ + -e 's:from pdm\.pep517\._vendor ::' \ + -i {} + || die + distutils-r1_src_prepare +} + +src_test() { + git config --global user.email "test@example.com" || die + git config --global user.name "Test User" || die + distutils-r1_src_test +} diff --git a/dev-python/pyicu/Manifest b/dev-python/pyicu/Manifest index d580319529e8..4d77e04ecd8b 100644 --- a/dev-python/pyicu/Manifest +++ b/dev-python/pyicu/Manifest @@ -1 +1,2 @@ +DIST pyicu-v2.10.tar.bz2 192789 BLAKE2B 824b83177b420bb78633a2d7b93bdcc781ec87ea105e7441be59547c6f56fadf292aa331decac96f095672a4d2741d709ed32dec4841b070bc056e7f0f8d65d0 SHA512 8f752ba97fc5ffc3004591826b47bd76c9b99d73a3784b2bba746cb611969a47a98971c89fe0b35dc817fd14b93b1bf0e85f4bf23986af22bcf5401485899c9e DIST pyicu-v2.9.tar.bz2 243533 BLAKE2B c2ea32f69637e2d12a57ded96b570ba7fd41c92aed4a0dea36ebe5c224b80fa8d1672251f8218e0a35d463957ab4291cff778c3e690f0763e465dc6f0a1af26d SHA512 f10025afe1a0de5a1726c3d4aaec5b10ba62064c33205117efe643185dcd3560e8971b600606e9699269cca795477bf86ed2f9e604e9c0e04bb75a86f31cd114 diff --git a/dev-python/pyicu/pyicu-2.10.ebuild b/dev-python/pyicu/pyicu-2.10.ebuild new file mode 100644 index 000000000000..77e4faff7847 --- /dev/null +++ b/dev-python/pyicu/pyicu-2.10.ebuild @@ -0,0 +1,40 @@ +# 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/-/-v} +DESCRIPTION="Python bindings for dev-libs/icu" +HOMEPAGE=" + https://gitlab.pyicu.org/main/pyicu/ + https://pypi.org/project/PyICU/ +" +SRC_URI=" + https://gitlab.pyicu.org/main/pyicu/-/archive/v${PV}/${MY_P}.tar.bz2 +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +DEPEND=" + dev-libs/icu:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-python/six[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES CREDITS README.md ) + +distutils_enable_tests pytest diff --git a/dev-python/pyproject-metadata/pyproject-metadata-0.6.1.ebuild b/dev-python/pyproject-metadata/pyproject-metadata-0.6.1.ebuild index f3eea54ff94e..687bb9cdbb6f 100644 --- a/dev-python/pyproject-metadata/pyproject-metadata-0.6.1.ebuild +++ b/dev-python/pyproject-metadata/pyproject-metadata-0.6.1.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/python-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ppc ppc64 ~riscv ~s390 ~x86" +KEYWORDS="~amd64 arm arm64 ppc ppc64 ~riscv ~s390 ~x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/scipy/scipy-1.9.2.ebuild b/dev-python/scipy/scipy-1.9.2.ebuild index af67b61fe389..fe0189004a64 100644 --- a/dev-python/scipy/scipy-1.9.2.ebuild +++ b/dev-python/scipy/scipy-1.9.2.ebuild @@ -38,7 +38,7 @@ else S="${WORKDIR}"/${MY_P} if [[ ${PV} != *rc* ]] ; then - KEYWORDS="~amd64 ~arm arm64 -hppa ppc ppc64 ~riscv ~s390 ~x86" + KEYWORDS="~amd64 arm arm64 -hppa ppc ppc64 ~riscv ~s390 ~x86" fi fi diff --git a/dev-python/shiboken2/shiboken2-5.15.6.ebuild b/dev-python/shiboken2/shiboken2-5.15.6.ebuild index cf30e21f71b1..f37c27f36bf0 100644 --- a/dev-python/shiboken2/shiboken2-5.15.6.ebuild +++ b/dev-python/shiboken2/shiboken2-5.15.6.ebuild @@ -40,10 +40,11 @@ RESTRICT="test" QT_PV="$(ver_cut 1-2):5" # Since Clang is required at both build- and runtime, BDEPEND is omitted here. +LLVM_MAX_SLOT=15 RDEPEND="${PYTHON_DEPS} >=dev-qt/qtcore-${QT_PV} - sys-devel/clang:= - sys-devel/clang-runtime:= + <sys-devel/clang-16:= + <sys-devel/clang-runtime-16:= docstrings? ( >=dev-libs/libxml2-2.6.32 >=dev-libs/libxslt-1.1.19 @@ -123,7 +124,7 @@ src_configure() { -DUSE_PYTHON_VERSION="${EPYTHON#python}" ) # CMakeLists.txt expects LLVM_INSTALL_DIR as an environment variable. - local -x LLVM_INSTALL_DIR="$(get_llvm_prefix)" + local -x LLVM_INSTALL_DIR="$(get_llvm_prefix "${LLVM_MAX_SLOT}")" cmake_src_configure } python_foreach_impl shiboken2_configure diff --git a/dev-python/wcmatch/Manifest b/dev-python/wcmatch/Manifest index 56830604ca0d..c9f68c43a050 100644 --- a/dev-python/wcmatch/Manifest +++ b/dev-python/wcmatch/Manifest @@ -1,2 +1 @@ DIST wcmatch-8.4.1.gh.tar.gz 117065 BLAKE2B 6528170503507aa9742a0e0878f7cfe2586408471acde82ffbf1011fbf48cbed6a45d580436cb6a63a54a81d1c237544a48112eb4c06f923752eb09521d7f8a5 SHA512 6bc8d59b678a40e28eee7816f3b447fe3396f52e982df8e0b5e26472b4ffd1342f58edc41850386954783e6d07f1d66d9372cc1495f048b9a542b572b1d8e20f -DIST wcmatch-8.4.gh.tar.gz 116596 BLAKE2B cdfbc243fa62f4854490510a563163f99dac09eed16248fa7a72d0a2a7b96484fab4edf3ba497e96a46dca1f734b9c1b098da4d71784775f51b48fcfa5b8a24c SHA512 92478a769be129f9997ef75a384b9978d0647bbd7f2212aa058f1438e698a0a77d069871daf20889455f6e9bb73266d4e312f29f61c704a708fa48fa565d7614 diff --git a/dev-python/wcmatch/wcmatch-8.4.1.ebuild b/dev-python/wcmatch/wcmatch-8.4.1.ebuild index 35dd4fde47fa..d693d8e4fd70 100644 --- a/dev-python/wcmatch/wcmatch-8.4.1.ebuild +++ b/dev-python/wcmatch/wcmatch-8.4.1.ebuild @@ -29,7 +29,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv x86" RDEPEND=" >=dev-python/bracex-2.1.1[${PYTHON_USEDEP}] diff --git a/dev-python/wcmatch/wcmatch-8.4.ebuild b/dev-python/wcmatch/wcmatch-8.4.ebuild deleted file mode 100644 index 02bdc49b25b6..000000000000 --- a/dev-python/wcmatch/wcmatch-8.4.ebuild +++ /dev/null @@ -1,61 +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} ) -DISTUTILS_USE_PEP517=hatchling - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - >=dev-python/mkdocs_pymdownx_material_extras-2.0 - dev-python/mkdocs-material - dev-python/mkdocs-git-revision-date-localized-plugin - dev-python/mkdocs-minify-plugin - dev-python/pyspelling -" - -inherit distutils-r1 docs - -DESCRIPTION="Wildcard/glob file name matcher" -HOMEPAGE=" - https://github.com/facelessuser/wcmatch/ - https://pypi.org/project/wcmatch/ -" -SRC_URI=" - https://github.com/facelessuser/wcmatch/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" - -RDEPEND=" - >=dev-python/bracex-2.1.1[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-vcs/git - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # tests require some files in homedir - > "${HOME}"/test1.txt || die - > "${HOME}"/test2.txt || die - - # mkdocs-git-revision-date-localized-plugin needs git repo - if use doc; then - git init || die - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - git add . || die - git commit -m 'init' || die - fi - - distutils-r1_python_prepare_all -} diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index da1c719f605a..471f5346ddf2 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1,2 +1,3 @@ +DIST zipp-3.10.0.tar.gz 15564 BLAKE2B 145374d6e2e251f588e198a0fd400542b34ff26de4e1240dd30710dc33e884ccde91ca1cc168d5f421aa4e04341c76cfb10fbf176c830ade237be39a886267ab SHA512 2e64b05eb0123eb3c3c87fbfe2da26721eb9e24142a43e794d04e5f86ab5fe4cf3e0e3e3497bfc9631ab61dd64226829772493f26e091a66148ddbdc5dfd8e51 DIST zipp-3.8.1.tar.gz 14189 BLAKE2B 768d25dab70ee1ddbb3adb829b68515631772e2e25a7617d58bf863c01d1900e22cd4001bf31b9eae3829a63cba77df070132e7932b9b4242bb8be3579a1546d SHA512 05639feb20c7e8d3480ce17a52115a85bb2f0706ee0c1b15589b7556bb914ef30a1a34fa743217694b753bb5e72095c90fab7dfee85f2dbf461347322acb4d2e DIST zipp-3.9.0.tar.gz 15118 BLAKE2B 04cfd994179ea2f09e792c3b95726262ec5f9e4b04bebb2541066bc914c39c93fda74cd597a53456afabdfa7ef90c1477cfc7c392bf59d3b31959c1d299dcaec SHA512 eaff85ab7e0775bc091b4e32281397bd8fa92d1644b368593f18a04c1a408937351606ad9cc2831cd3bce61ca59b05e7622e5d14282bc28299943ef5dd9012f9 diff --git a/dev-python/zipp/zipp-3.10.0.ebuild b/dev-python/zipp/zipp-3.10.0.ebuild new file mode 100644 index 000000000000..c609de6548ac --- /dev/null +++ b/dev-python/zipp/zipp-3.10.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" +HOMEPAGE="https://github.com/jaraco/zipp/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +BDEPEND=" + test? ( + dev-python/jaraco-functools[${PYTHON_USEDEP}] + dev-python/jaraco-itertools[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # speed tests are flaky by design + tests/test_zipp.py::TestPath::test_implied_dirs_performance +) + +src_prepare() { + # dep of disabled test + sed -i -e '/func_timeout/d' tests/test_zipp.py || die + distutils-r1_src_prepare +} + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "zipp" + version = "${PV}" + description = "Backport of pathlib-compatible object wrapper for zip files" + EOF +} |
