diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-09-21 18:52:37 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-09-21 18:52:37 +0000 |
| commit | e39b2a9c1304e235c41cc68798aab341eb850f1b (patch) | |
| tree | 207b4751aec38e735c52a5c8c944ebf8a3c93879 /dev-python | |
| parent | 2ce87fedd92512ece9d03a4c664d0753faf9e088 (diff) | |
| download | baldeagleos-repo-e39b2a9c1304e235c41cc68798aab341eb850f1b.tar.gz baldeagleos-repo-e39b2a9c1304e235c41cc68798aab341eb850f1b.tar.xz baldeagleos-repo-e39b2a9c1304e235c41cc68798aab341eb850f1b.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
16 files changed, 46 insertions, 104 deletions
diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 764cd411b7bf..4d1bc3f24027 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -1,7 +1,5 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6 -DIST llvm-project-15.0.0.src.tar.xz 112062796 BLAKE2B 947917b6c75cbd8882133dc01f57013523274962371ac5ae4a22b010f8a7d5d31288c1d9847bf19ba919fa3110fe34a8ff937107fe19bd064ed87bf4d08d8a51 SHA512 e5aacbe7574dcec62017cc03c9fa2ee4cf075125a3d6c3975c38f06e91adcebb1ff92bcf40c6dd67db087813c60b15a04f1424c713d751199518b58025ce87fc -DIST llvm-project-15.0.0.src.tar.xz.sig 438 BLAKE2B 8eb12c259f94d8f867a31dbe05128adc1f9cc7ec8bcbdbe1738d2fad461f5d214e674f080f7f29b639a7a75f9c5b56c0f959f538697d647b94b97dc56b036e5f SHA512 4096464a46e07575b7cff448ff8bbc38fe972505f366b744419a06339cf32b93266b0fae5390879859041ce6710e4b675ed3ea7561d6a817623d7ece0e969661 DIST llvm-project-15.0.1.src.tar.xz 112068688 BLAKE2B 8fd6690445f7cbc8b47a7c1dd1f2c4fbc39f9a97f9d4a0015d466726454b090b0d1ff9b0d926eba7065e84782901687f74e6540a36dc6656a93f3c92c7bc7e06 SHA512 cef84bc173118a30db3ece5e5c6f874bf689c77afc40a4792fdcb7556555ac14a8e6de1dc811755405e5d162d63bc69abaecba30d220a42765160d69f0073fda DIST llvm-project-15.0.1.src.tar.xz.sig 438 BLAKE2B d8f634adab531bb19178fb27bc83b3a90c856e9402dd5af700f9af43813f68d20c21b9112dd95e9f6f10609ee51ed5aaf77edb96ca16fb93136b8aea432affd3 SHA512 cbf2570840d8dc12f6436c495a23cf9d439ee195755c01a6d1d5bcc20133599dc956dc43a0f5016698e3c9a960826f5f3c2840a73f993467e275856a67999fda DIST llvm-project-303526ef3aa211c1930be2885deae15eeeda3b18.tar.gz 167503164 BLAKE2B 143c72c58517b3e40ee74c1a0df47bfd0d0f9e71926bc8c39a007e674a08df95d0ffe05f523f97e4409b248349e13719cabbc7ac6938feebe702959e84a07243 SHA512 9aa5c86de6c6be1d26c085eb29ea283429e41330e937e5fdbd545bb3f5b996ac82cd6268701fcbbd202e89ee35f2b67e595fc595bb7383778e9ad5fd52ca10a0 diff --git a/dev-python/clang-python/clang-python-15.0.0.ebuild b/dev-python/clang-python/clang-python-15.0.0.ebuild deleted file mode 100644 index e347899e1291..000000000000 --- a/dev-python/clang-python/clang-python-15.0.0.ebuild +++ /dev/null @@ -1,47 +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 llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang-python/clang-python-15.0.1.9999.ebuild b/dev-python/clang-python/clang-python-15.0.1.9999.ebuild index 04eb349df22e..63106cbd0017 100644 --- a/dev-python/clang-python/clang-python-15.0.1.9999.ebuild +++ b/dev-python/clang-python/clang-python-15.0.1.9999.ebuild @@ -29,12 +29,18 @@ RDEPEND=" " BDEPEND=" ${PYTHON_DEPS} + test? ( + sys-devel/clang:${PV%%.*} + ) " LLVM_COMPONENTS=( clang/bindings/python ) llvm.org_set_globals python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${PV%%.*}/$(get_libdir) "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" } diff --git a/dev-python/clang-python/clang-python-15.0.1.ebuild b/dev-python/clang-python/clang-python-15.0.1.ebuild index e347899e1291..dd04f9fcf59a 100644 --- a/dev-python/clang-python/clang-python-15.0.1.ebuild +++ b/dev-python/clang-python/clang-python-15.0.1.ebuild @@ -29,12 +29,18 @@ RDEPEND=" " BDEPEND=" ${PYTHON_DEPS} + test? ( + sys-devel/clang:${PV%%.*} + ) " LLVM_COMPONENTS=( clang/bindings/python ) llvm.org_set_globals python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${PV%%.*}/$(get_libdir) "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" } diff --git a/dev-python/clang-python/clang-python-16.0.0.9999.ebuild b/dev-python/clang-python/clang-python-16.0.0.9999.ebuild index 04eb349df22e..63106cbd0017 100644 --- a/dev-python/clang-python/clang-python-16.0.0.9999.ebuild +++ b/dev-python/clang-python/clang-python-16.0.0.9999.ebuild @@ -29,12 +29,18 @@ RDEPEND=" " BDEPEND=" ${PYTHON_DEPS} + test? ( + sys-devel/clang:${PV%%.*} + ) " LLVM_COMPONENTS=( clang/bindings/python ) llvm.org_set_globals python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${PV%%.*}/$(get_libdir) "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" } diff --git a/dev-python/clang-python/clang-python-16.0.0_pre20220918.ebuild b/dev-python/clang-python/clang-python-16.0.0_pre20220918.ebuild index 04eb349df22e..63106cbd0017 100644 --- a/dev-python/clang-python/clang-python-16.0.0_pre20220918.ebuild +++ b/dev-python/clang-python/clang-python-16.0.0_pre20220918.ebuild @@ -29,12 +29,18 @@ RDEPEND=" " BDEPEND=" ${PYTHON_DEPS} + test? ( + sys-devel/clang:${PV%%.*} + ) " LLVM_COMPONENTS=( clang/bindings/python ) llvm.org_set_globals python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${PV%%.*}/$(get_libdir) "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" } diff --git a/dev-python/ensurepip-pip/ensurepip-pip-22.2.2.ebuild b/dev-python/ensurepip-pip/ensurepip-pip-22.2.2.ebuild index 2e3c44ceb486..6ca917f08b4b 100644 --- a/dev-python/ensurepip-pip/ensurepip-pip-22.2.2.ebuild +++ b/dev-python/ensurepip-pip/ensurepip-pip-22.2.2.ebuild @@ -15,7 +15,7 @@ S=${DISTDIR} LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" !<dev-python/ensurepip-wheels-100 diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-65.2.0.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-65.2.0.ebuild index f6aea6f57e20..ab1e43cc86ea 100644 --- a/dev-python/ensurepip-setuptools/ensurepip-setuptools-65.2.0.ebuild +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-65.2.0.ebuild @@ -15,7 +15,7 @@ S=${DISTDIR} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" !<dev-python/ensurepip-wheels-100 diff --git a/dev-python/ensurepip-wheels/ensurepip-wheels-100.ebuild b/dev-python/ensurepip-wheels/ensurepip-wheels-100.ebuild index d824504dba11..ac5078255486 100644 --- a/dev-python/ensurepip-wheels/ensurepip-wheels-100.ebuild +++ b/dev-python/ensurepip-wheels/ensurepip-wheels-100.ebuild @@ -8,7 +8,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" LICENSE="metapackage" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/ensurepip-pip diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 764cd411b7bf..4d1bc3f24027 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -1,7 +1,5 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6 -DIST llvm-project-15.0.0.src.tar.xz 112062796 BLAKE2B 947917b6c75cbd8882133dc01f57013523274962371ac5ae4a22b010f8a7d5d31288c1d9847bf19ba919fa3110fe34a8ff937107fe19bd064ed87bf4d08d8a51 SHA512 e5aacbe7574dcec62017cc03c9fa2ee4cf075125a3d6c3975c38f06e91adcebb1ff92bcf40c6dd67db087813c60b15a04f1424c713d751199518b58025ce87fc -DIST llvm-project-15.0.0.src.tar.xz.sig 438 BLAKE2B 8eb12c259f94d8f867a31dbe05128adc1f9cc7ec8bcbdbe1738d2fad461f5d214e674f080f7f29b639a7a75f9c5b56c0f959f538697d647b94b97dc56b036e5f SHA512 4096464a46e07575b7cff448ff8bbc38fe972505f366b744419a06339cf32b93266b0fae5390879859041ce6710e4b675ed3ea7561d6a817623d7ece0e969661 DIST llvm-project-15.0.1.src.tar.xz 112068688 BLAKE2B 8fd6690445f7cbc8b47a7c1dd1f2c4fbc39f9a97f9d4a0015d466726454b090b0d1ff9b0d926eba7065e84782901687f74e6540a36dc6656a93f3c92c7bc7e06 SHA512 cef84bc173118a30db3ece5e5c6f874bf689c77afc40a4792fdcb7556555ac14a8e6de1dc811755405e5d162d63bc69abaecba30d220a42765160d69f0073fda DIST llvm-project-15.0.1.src.tar.xz.sig 438 BLAKE2B d8f634adab531bb19178fb27bc83b3a90c856e9402dd5af700f9af43813f68d20c21b9112dd95e9f6f10609ee51ed5aaf77edb96ca16fb93136b8aea432affd3 SHA512 cbf2570840d8dc12f6436c495a23cf9d439ee195755c01a6d1d5bcc20133599dc956dc43a0f5016698e3c9a960826f5f3c2840a73f993467e275856a67999fda DIST llvm-project-303526ef3aa211c1930be2885deae15eeeda3b18.tar.gz 167503164 BLAKE2B 143c72c58517b3e40ee74c1a0df47bfd0d0f9e71926bc8c39a007e674a08df95d0ffe05f523f97e4409b248349e13719cabbc7ac6938feebe702959e84a07243 SHA512 9aa5c86de6c6be1d26c085eb29ea283429e41330e937e5fdbd545bb3f5b996ac82cd6268701fcbbd202e89ee35f2b67e595fc595bb7383778e9ad5fd52ca10a0 diff --git a/dev-python/lit/lit-15.0.0.ebuild b/dev-python/lit/lit-15.0.0.ebuild deleted file mode 100644 index b944deb27c4c..000000000000 --- a/dev-python/lit/lit-15.0.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# 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 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from sys-devel/llvm) - -src_prepare() { - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/ntlm-auth/ntlm-auth-1.5.0.ebuild b/dev-python/ntlm-auth/ntlm-auth-1.5.0.ebuild index 17e57cb2f1d8..03166003c5e7 100644 --- a/dev-python/ntlm-auth/ntlm-auth-1.5.0.ebuild +++ b/dev-python/ntlm-auth/ntlm-auth-1.5.0.ebuild @@ -18,5 +18,6 @@ KEYWORDS="~amd64 ~riscv ~x86" RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-python/requests[${PYTHON_USEDEP}] )" distutils_enable_tests pytest diff --git a/dev-python/pikepdf/pikepdf-5.5.0.ebuild b/dev-python/pikepdf/pikepdf-5.5.0.ebuild index 4486598c3710..88c55c0341c0 100644 --- a/dev-python/pikepdf/pikepdf-5.5.0.ebuild +++ b/dev-python/pikepdf/pikepdf-5.5.0.ebuild @@ -38,6 +38,7 @@ RDEPEND=" BDEPEND=" >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] >=dev-python/setuptools_scm-7.0.5[${PYTHON_USEDEP}] + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' 3.8 3.9 3.10) diff --git a/dev-python/retworkx/retworkx-0.11.0.ebuild b/dev-python/retworkx/retworkx-0.11.0-r1.ebuild index 5d9797882637..f38fa0c3c323 100644 --- a/dev-python/retworkx/retworkx-0.11.0.ebuild +++ b/dev-python/retworkx/retworkx-0.11.0-r1.ebuild @@ -85,17 +85,17 @@ LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 MIT" SLOT="0" KEYWORDS="~amd64" -BDEPEND="dev-python/setuptools-rust +BDEPEND="dev-python/setuptools-rust[${PYTHON_USEDEP}] test? ( dev-python/fixtures[${PYTHON_USEDEP}] - >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] + dev-python/graphviz[${PYTHON_USEDEP}] >=dev-python/networkx-2.5[${PYTHON_USEDEP}] dev-python/stestr[${PYTHON_USEDEP}] + >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] media-gfx/graphviz[gts] - dev-python/graphviz[${PYTHON_USEDEP}] )" -RDEPEND=">=dev-python/numpy-1.16.0" +RDEPEND=">=dev-python/numpy-1.16.0[${PYTHON_USEDEP}]" # Libraries built with rust do not use CFLAGS and LDFLAGS. QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/retworkx/retworkx.*\\.so" diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild index a83fbbc7d1cb..e540fa1201f7 100644 --- a/dev-python/scipy/scipy-1.9.9999.ebuild +++ b/dev-python/scipy/scipy-1.9.9999.ebuild @@ -84,7 +84,7 @@ distutils_enable_tests pytest src_unpack() { default - if use doc; then + if [[ ${PV} != *9999 ]] && use doc; then unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die fi } @@ -96,9 +96,10 @@ python_test() { } python_install_all() { - use doc && \ - local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \ + if [[ ${PV} != *9999 ]] && use doc; then + local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) local HTML_DOCS=( "${WORKDIR}"/html/. ) + fi distutils-r1_python_install_all } diff --git a/dev-python/subprocess-tee/subprocess-tee-0.3.5.ebuild b/dev-python/subprocess-tee/subprocess-tee-0.3.5.ebuild index 8ea46fd421fd..8b31cd29800c 100644 --- a/dev-python/subprocess-tee/subprocess-tee-0.3.5.ebuild +++ b/dev-python/subprocess-tee/subprocess-tee-0.3.5.ebuild @@ -4,6 +4,8 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10} ) +DISTUTILS_USE_PEP517=setuptools + inherit distutils-r1 DESCRIPTION="subprocess.run replacement with tee(1)-like output" @@ -24,11 +26,17 @@ BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}] test-full? ( app-admin/ansible-molecule ) )" +# With the exception of a handful of extra lines this is literally the same test suite +# as test_console.py from dev-python/enrich, which is currently known to fail (Bug #865497). +EPYTEST_DESELECT=( + src/subprocess_tee/test/test_rich.py +) + distutils_enable_tests pytest python_test() { if ! use test-full; then - local -x EPYTEST_DESELECT=( "src/${PN/-/_}/test/test_func.py::test_molecule" ) + EPYTEST_DESELECT+=( "src/${PN/-/_}/test/test_func.py::test_molecule" ) fi distutils-r1_python_test } |
