diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-12 13:24:41 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-12 13:24:41 +0000 |
| commit | 0254e0fb0a63203a9afa9f65e260f0ad6707eb11 (patch) | |
| tree | 195b94c4b06a0c11758d5312dd758bcc85e8c158 /dev-python | |
| parent | 6ce50a42b168f22fed1dde1d94fcd2871efc6465 (diff) | |
| download | baldeagleos-repo-0254e0fb0a63203a9afa9f65e260f0ad6707eb11.tar.gz baldeagleos-repo-0254e0fb0a63203a9afa9f65e260f0ad6707eb11.tar.xz baldeagleos-repo-0254e0fb0a63203a9afa9f65e260f0ad6707eb11.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
37 files changed, 805 insertions, 9 deletions
diff --git a/dev-python/a2wsgi/a2wsgi-1.7.0.ebuild b/dev-python/a2wsgi/a2wsgi-1.7.0.ebuild index e57eb7f00572..b288c86ac82b 100644 --- a/dev-python/a2wsgi/a2wsgi-1.7.0.ebuild +++ b/dev-python/a2wsgi/a2wsgi-1.7.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/boolean-py/boolean-py-4.0.ebuild b/dev-python/boolean-py/boolean-py-4.0.ebuild index 586ec5ebeec0..c177e6083c94 100644 --- a/dev-python/boolean-py/boolean-py-4.0.ebuild +++ b/dev-python/boolean-py/boolean-py-4.0.ebuild @@ -22,6 +22,6 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest diff --git a/dev-python/cairocffi/Manifest b/dev-python/cairocffi/Manifest index f0da0504af18..d10ed0156653 100644 --- a/dev-python/cairocffi/Manifest +++ b/dev-python/cairocffi/Manifest @@ -1 +1,2 @@ DIST cairocffi-1.5.1.tar.gz 86924 BLAKE2B 51bbd85ed486d8a324255d7b328fc44490097f0eeb0568d0e9436350e627ee2da7770323d0cfa547da2f007dc097327962d80d0a9a96a2f119bac0bb4aa4d7f4 SHA512 58b33e921866a3db7dfa464514f935f7c615ae3463b852d888e9d221256e91efaa7639001781999bdf68619a725a90de06300973f9e635c7974e8c48729705dc +DIST cairocffi-1.6.0.tar.gz 86649 BLAKE2B 1ffea1196f9c833f43bfb7e826a634748c3aad47e3b0adbaaf410be74a2e76aa803aa025cf7e0001dafa03cf6425c91614516881c788e1ca740351051b119bb2 SHA512 d46602231f443d8a0b3d46a7e63bb9c8daaee6c24e1c65b071c8b6d22cb96abec7e6c08d38c072f54d223e247e80cef4a562590818e01c8f0b5357bd9c2f29d9 diff --git a/dev-python/cairocffi/cairocffi-1.6.0.ebuild b/dev-python/cairocffi/cairocffi-1.6.0.ebuild new file mode 100644 index 000000000000..8a3108eb4b2b --- /dev/null +++ b/dev-python/cairocffi/cairocffi-1.6.0.ebuild @@ -0,0 +1,51 @@ +# 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 pypi virtualx + +DESCRIPTION="CFFI-based drop-in replacement for Pycairo" +HOMEPAGE=" + https://github.com/Kozea/cairocffi/ + https://pypi.org/project/cairocffi/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] + x11-libs/cairo:0=[X,xcb(+)] + x11-libs/gdk-pixbuf[jpeg] +" +RDEPEND=" + ${DEPEND} + $(python_gen_cond_dep ' + >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}] + ' 'python*') +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}] + ' 'python*') + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pikepdf[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${PN}-0.8.0-tests.patch +) + +src_test() { + virtx distutils-r1_src_test +} diff --git a/dev-python/cerberus/cerberus-1.3.4-r1.ebuild b/dev-python/cerberus/cerberus-1.3.4-r1.ebuild index 9873ee2f118d..b6256b6e70f4 100644 --- a/dev-python/cerberus/cerberus-1.3.4-r1.ebuild +++ b/dev-python/cerberus/cerberus-1.3.4-r1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="ISC" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" PATCHES=( "${FILESDIR}"/${PN}-1.3.2_no-pytest-runner.patch diff --git a/dev-python/cssutils/Manifest b/dev-python/cssutils/Manifest index 9c0cbc26e75e..89724ac003fb 100644 --- a/dev-python/cssutils/Manifest +++ b/dev-python/cssutils/Manifest @@ -1,2 +1,3 @@ DIST cssutils-2.6.0.tar.gz 723259 BLAKE2B 6548e87c78fe6b850b98989521c27cebd4170939517edca895c2787c1367e1c6dc94308355f7dd2e1dee7194f88bd025b72c801cd9b90f8a08ab244f6a4e890e SHA512 95ce26cc4816e7750fc0f1e0c4ac60f176e3c7b3ea1871440bf937d442e0f8626f9e4c75622c0ea3a84d68ceb4b768544e9642936beb87eff1b55117ce47b311 DIST cssutils-2.7.0.tar.gz 724282 BLAKE2B db2b56bc919d266b6f5f3c334c424748b94dc754a7734af3d09551918bff669fcc16b2da4466ebd22439b8056084126cd90c49b1282613ce2242dfdba251d4c9 SHA512 378ae1f263dcc2fc3f523e1e33977ebb5b46a16cf642aa067ea97f2293d94932dea1cddd825562041145995b6d899b8912add6055425b47c3baba97db05a2dab +DIST cssutils-2.7.1.tar.gz 724365 BLAKE2B 352525fbc782280dd026ffcd88152cd77ba2bbe0aa57b4dd41ff40f27b5256cc1ccecf038970da0b07d08b0780b5d161b18aecc4343972a335d1bafd97ee1f51 SHA512 719b1b0866dd51e9b464659d861caa5eadfb1821b902824064fbf7843b6a2f5cfceb33f1deb2b7aa5dfc3306c94e8e86441aa014ec0c5bf133d5b1c13463b2db diff --git a/dev-python/cssutils/cssutils-2.7.1.ebuild b/dev-python/cssutils/cssutils-2.7.1.ebuild new file mode 100644 index 000000000000..a6189e42daba --- /dev/null +++ b/dev-python/cssutils/cssutils-2.7.1.ebuild @@ -0,0 +1,49 @@ +# 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="A CSS Cascading Style Sheets library" +HOMEPAGE=" + https://pypi.org/project/cssutils/ + https://github.com/jaraco/cssutils/ +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/cssselect[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.1[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib-resources[${PYTHON_USEDEP}] + ' 3.8) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # network + encutils/__init__.py::encutils + cssutils/tests/test_parse.py::TestCSSParser::test_parseUrl + examples/website.py::examples.website.logging + ) + local EPYTEST_IGNORE=( + # path mismatch with "parse" package + examples/parse.py + ) + + epytest +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 3adbb4f95d0a..299a164153a0 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -5,3 +5,4 @@ DIST hypothesis-6.75.7.gh.tar.gz 9371718 BLAKE2B 9b0c9f4589be2c81fdb79a1157fcf38 DIST hypothesis-6.75.9.gh.tar.gz 9372102 BLAKE2B 9588536fade56f4f87f54a0dfd7c911934f08aad71f31785210d99dfb8060bf9719a3bc3e9a0dcd647261a4a1927d5b7cb1cab8135dd9b97ebb321d79a23946e SHA512 29dfd1e9ff1087080a8dcd9c0c25c5e01c79839ac736d20f3eb31b1173b702e31c6b7d777c03f8f5674ec13e9bdc51aab6be8b1d20d067a30508914bcf61e8f1 DIST hypothesis-6.76.0.gh.tar.gz 9373576 BLAKE2B ed580296f163f9808597aa3a7b2ceaf1ea43431a9049ffdba229dc0f7886c8ee42829c45c98cc8ec0aae7d1f41f455f7ffd818beb1a956498ac4d676cd72b678 SHA512 2e46762a3bcc595c92eb57e65b2c7ef07062df1c393033efd2cb6b3c774ecbbe41f672e7b6c63ca0e8afb732c0f5308dddd6908bc2f43eab5c0713a6d688d5f4 DIST hypothesis-6.77.0.gh.tar.gz 9376438 BLAKE2B 2c80427a43481fbc837042c8481e56f1186fa9026c15902f489b1d26cda216f33df6da2025e37d8b37676047d7a8be1f0aea686ec0d2d18178d14e5e8f08f24c SHA512 17c1a0d1b00c0bd9a4373c5cafa7f58f4f6c85a85a107f4afff7064b52280a21210502c555291a580c81c1085f7c5fdd9db91391b29b2af6e476c83f4838fe1a +DIST hypothesis-6.78.1.gh.tar.gz 9376599 BLAKE2B c0998212067e947af71f17aa5f76609ed71cf57cf4d71418329ec92ca663b202bc3c8d09936e147304744d81d01f9ba0ae5f5cf369fe04cbcb95c351a3a6cd06 SHA512 5491dfce1a8a25288aca345a6a6f8b88557b3dc2a08773ee2aa10d133d9b44b9bddb4d7584ac99046a006f3d9fb85713b6b38f5cc635ddc437c8fb4bbe58a866 diff --git a/dev-python/hypothesis/hypothesis-6.78.1.ebuild b/dev-python/hypothesis/hypothesis-6.78.1.ebuild new file mode 100644 index 000000000000..5adfa14c0a19 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.78.1.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_IGNORE=() + local EPYTEST_DESELECT=( + # these tests can randomly fail with RecursionError when run + # in parallel + # https://github.com/HypothesisWorks/hypothesis/issues/3671 + hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types + hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types_with_defaults + ) + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + python3.12) + EPYTEST_DESELECT+=( + hypothesis-python/tests/cover/test_lookup.py + hypothesis-python/tests/cover/test_type_lookup.py + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/imageio/Manifest b/dev-python/imageio/Manifest index bf4276a8d9fd..34d79c74cd4a 100644 --- a/dev-python/imageio/Manifest +++ b/dev-python/imageio/Manifest @@ -4,5 +4,6 @@ DIST imageio-2.28.1.gh.tar.gz 408022 BLAKE2B f2ee9f9e7daa875393c0f3fe11539cb50bc DIST imageio-2.29.0.gh.tar.gz 410455 BLAKE2B 537f732383b7fa90b07c66c37c1f4f4d6f8934df990730b35c2232088f6a177c971247551c8019c9f4d5ee0b70fd0a7af308530368f2a29a01675585d8119bfd SHA512 3214274ead4b84a88a3bf40eb6e6ae4b0b7fa2819ae87ff3aa2cf9b19b3c57b6217d88bf9a81609ea746ac534061642164c9c5780388a6f6c7c6f4431459d0a5 DIST imageio-2.30.0.gh.tar.gz 410664 BLAKE2B d577b7031228528545575f605c76bf504ad035bb87057917e1761e55a4975a3b6a051787f494374c49db2e7a727a5c39cbb41753c1a92fcbc8d78dd2b28bc584 SHA512 a72e64a0240b72e56b6172dded67754890ffeda9b67f5740467e51bc9fa019b4c987baad0545c04ddcba8151f9484c49064d826e73fa03772dcf082eee7b514c DIST imageio-2.31.0.gh.tar.gz 411278 BLAKE2B b07b1196e2a8a7905e8017f55609049e3bc34af553d8c92070f4ecd0633aacbd63eb38e3c0bd9e7112e79155d2a10b1e213b652cde3ff0634116429eec8e946b SHA512 1a410b8968ecb22be3a896cb93c749f1b690fbbd001719482fb6991cea639de8953a985a2ca99411687cbdafac4d39c4cd0613620ce95db660ce4ed4d28ec8fa +DIST imageio-2.31.1.gh.tar.gz 411419 BLAKE2B 4167e073daeb4a05cc88cfca78764468d33cb7d3d0ae8a75f43bb40312b44c1e5b0cd1416203addb853a8ada744ff97bdec3dc42685d6aec0ee8e4be839d8490 SHA512 8fa322816ddc041bb84a0b6ac9282fffdfb3894f3594e36c554cec9ae8d0898a7b005b9d43e7b4065fc6ca71301b63e95e46cb0a73ebedbd9004bca0146b535d DIST imageio-chelsea.png 221294 BLAKE2B 58537d7a1678fa5be4cc899e5bacd925bfc180eb4ae691330a53749a49ff544e979609b529ed27e5c1fc9efe4bc050ca1ce49b777f4016fb1d66affd926ef9d3 SHA512 48470cdb843eed4dfa6673811c09c5aac9869ee23dd36be0c6b653d9f108d61d21b148c2a4435aaa6604887ba030e5bbc5e35d378da876366445dfc2d0ba4e27 DIST imageio-cockatoo.mp4 728751 BLAKE2B 45b22cd517c1cb7c0cd12f8865facaca6a847047aea716e49633cf2b1dc13826f94787c8a8f9dd5f48c6a896f5d37794c0058da1bde9e1469f196916476dbfa2 SHA512 e9cb7c25de8019c59ba4090cf10ab29f2b5d62ada37a877081ca07d2ecfe010036222ae843b41bbcc843130d97fa5e14421de252639e9481df1d1c27b19add49 diff --git a/dev-python/imageio/imageio-2.31.1.ebuild b/dev-python/imageio/imageio-2.31.1.ebuild new file mode 100644 index 000000000000..9b520b19207c --- /dev/null +++ b/dev-python/imageio/imageio-2.31.1.ebuild @@ -0,0 +1,82 @@ +# 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 + +BIN_COMMIT=224074bca448815e421a59266864c23041531a42 +DESCRIPTION="Python library for reading and writing image data" +HOMEPAGE=" + https://imageio.readthedocs.io/en/stable/ + https://github.com/imageio/imageio/ + https://pypi.org/project/imageio/ +" +SRC_URI=" + https://github.com/imageio/imageio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/imageio/imageio-binaries/raw/${BIN_COMMIT}/images/chelsea.png + -> ${PN}-chelsea.png + https://github.com/imageio/imageio-binaries/raw/${BIN_COMMIT}/images/cockatoo.mp4 + -> ${PN}-cockatoo.mp4 + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +# over 50% of tests rely on Internet +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=dev-python/numpy-1.20.0[${PYTHON_USEDEP}] + >=dev-python/pillow-8.3.2[${PYTHON_USEDEP}] + media-libs/freeimage +" +# requests for fsspec[github] +BDEPEND=" + test? ( + dev-python/fsspec[${PYTHON_USEDEP}] + dev-python/imageio-ffmpeg[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tifffile[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # block silently downloading vulnerable libraries from the Internet + "${FILESDIR}"/imageio-2.22.0-block-download.patch + ) + + if use test; then + mkdir -p "${HOME}"/.imageio/images || die + local i + for i in chelsea.png cockatoo.mp4; do + cp "${DISTDIR}/${PN}-${i}" "${HOME}/.imageio/images/${i}" || die + done + fi + + distutils-r1_src_prepare +} + +EPYTEST_DESELECT=( + # Fails because of system installed freeimage + tests/test_core.py::test_findlib2 + # Tries to download ffmpeg binary ?! + tests/test_ffmpeg.py::test_get_exe_installed + # blocked by our patch + tests/test_core.py::test_fetching + tests/test_core.py::test_request + # known broken + # https://github.com/imageio/imageio/issues/890 + tests/test_freeimage.py::test_exr_write +) diff --git a/dev-python/jellyfish/files/jellyfish-0.11.2-maturin-1.patch b/dev-python/jellyfish/files/jellyfish-0.11.2-maturin-1.patch new file mode 100644 index 000000000000..b05b3c2d04da --- /dev/null +++ b/dev-python/jellyfish/files/jellyfish-0.11.2-maturin-1.patch @@ -0,0 +1,33 @@ +From 2ebc2c647eafce3036d12814b0247cdd55e0be4d Mon Sep 17 00:00:00 2001 +From: Martino Mensio <martino.mensio@open.ac.uk> +Date: Tue, 11 Apr 2023 00:19:05 +0200 +Subject: [PATCH] fixed python 3.11 on musllinux (#184) + +--- + Cargo.toml | 3 --- + pyproject.toml | 1 + + 2 files changed, 1 insertion(+), 3 deletions(-) + +diff --git a/Cargo.toml b/Cargo.toml +index d28cc66..b8e68c6 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -9,9 +9,6 @@ license = "MIT" + readme = "README.md" + + +-[package.metadata.maturin] +-name = "jellyfish._rustyfish" +- + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + [lib] + name = "jellyfish" +diff --git a/pyproject.toml b/pyproject.toml +index b11cea5..08e1912 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -24,3 +24,4 @@ repository = "https://github.com/jamesturk/jellyfish/" + [tool.maturin] + features = ["pyo3/extension-module", "python"] + python-source = "python" ++module-name = "jellyfish._rustyfish" diff --git a/dev-python/jellyfish/jellyfish-0.11.1.ebuild b/dev-python/jellyfish/jellyfish-0.11.1-r1.ebuild index 22134f7be341..7c8b6de3d3aa 100644 --- a/dev-python/jellyfish/jellyfish-0.11.1.ebuild +++ b/dev-python/jellyfish/jellyfish-0.11.1-r1.ebuild @@ -3,6 +3,7 @@ EAPI=8 +DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin PYTHON_COMPAT=( python3_{7,8,9,10,11} ) @@ -74,3 +75,7 @@ KEYWORDS="amd64 ~ppc64 ~riscv x86" QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/jellyfish/_rustyfish.*.so" distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/${PN}-0.11.2-maturin-1.patch" +) diff --git a/dev-python/jellyfish/jellyfish-0.11.2.ebuild b/dev-python/jellyfish/jellyfish-0.11.2-r1.ebuild index 2b3a93a3b266..4d88526a1903 100644 --- a/dev-python/jellyfish/jellyfish-0.11.2.ebuild +++ b/dev-python/jellyfish/jellyfish-0.11.2-r1.ebuild @@ -79,3 +79,7 @@ KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/jellyfish/_rustyfish.*.so" distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/${P}-maturin-1.patch" +) diff --git a/dev-python/json-rpc/Manifest b/dev-python/json-rpc/Manifest index 5beb3f624fdf..45c84798506f 100644 --- a/dev-python/json-rpc/Manifest +++ b/dev-python/json-rpc/Manifest @@ -1 +1,2 @@ DIST json-rpc-1.14.0.tar.gz 28789 BLAKE2B 7d5c0677452481e39be2698a1d303eb0677dd31f0861aac5b0ddfe850aea6f612ce5cf07f85df8d3b02b29a3d31c5249f49138603d6842b1ca56e8dc0ddcf668 SHA512 01e6a27509eb694d26b64b634a17fd2d36124f1602469293541f4f48b9de8046dcd5dccdc2a6f3e413c47eac4ed245495ce3e4c41fab42074a13e11f52a5c79e +DIST json-rpc-1.15.0.tar.gz 28854 BLAKE2B e9883171f7d63b9d198d5f3f0155609397a84a5f97f5c2b0b20535615067e8d5941357e6293f1917aeec5193c4e4d30a9d930807d2de8f02c87ea45967a507e1 SHA512 5d6d0dbbbbcfa6a63fe20d78726c42449f60eb6fc1c08939ecf8e9a9ee487850f975df06f71b17b0545e7f2f8f6a971642a01f85bbd01c46b66df6f1b2c2f327 diff --git a/dev-python/json-rpc/json-rpc-1.15.0.ebuild b/dev-python/json-rpc/json-rpc-1.15.0.ebuild new file mode 100644 index 000000000000..96c323132cf2 --- /dev/null +++ b/dev-python/json-rpc/json-rpc-1.15.0.ebuild @@ -0,0 +1,39 @@ +# 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="JSON-RPC transport implementation for python" +HOMEPAGE=" + https://github.com/pavlov99/json-rpc/ + https://pypi.org/project/json-rpc/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/flask[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + # bundled, sigh. + rm jsonrpc/six.py || die + sed -i -e 's:from . import six:import six:' jsonrpc/*.py || die +} diff --git a/dev-python/jsonschema-spec/Manifest b/dev-python/jsonschema-spec/Manifest index d769edd21b00..f7924f09a0c9 100644 --- a/dev-python/jsonschema-spec/Manifest +++ b/dev-python/jsonschema-spec/Manifest @@ -1,2 +1,3 @@ DIST jsonschema-spec-0.1.4.gh.tar.gz 30903 BLAKE2B eae7ba8b811dfd14d9b2e33d3355bf8c98e088b1a8fa3314300dcc7edae31727cc5a01d0a06af412b8c7d59eca69ba816f6eb2683e997719fd300a3445e96cfd SHA512 6b3d1710fdd8c43a0f38d0687c95e4e70c55df964dc597e4a00abad3459610829bd90190b21c512c70d46498d98b80ecc2422eb73d7822539841ff10bc7c2c4f DIST jsonschema-spec-0.1.5.gh.tar.gz 36035 BLAKE2B 4e6019fb1c7f5e85a03488e00ef080798bc6e3e06999d9c9c931072c640fd74b5125882e43dca26bad1acc3bdacb06a26f2c95dff25339e3f8b785d759085a49 SHA512 c76b15a3ead9498696c80cf7a378a675194837f04cd88d81be5213a38cde8177d5e8f7866d007648b7013db74d1057b700b027a79bcd893b0d493269abcd621d +DIST jsonschema-spec-0.1.6.gh.tar.gz 36043 BLAKE2B e85cad336d6b5ed11d6a51c8fab2c28826f6a9836ad50d2423b23bef047c338307d3e9430f1d151dbaf7a92574c9899dbfd016c570456996250e8d7634373313 SHA512 78ea06a78fd25006d270e2c5033645133ee79b0f45cbfc54e250d4225a36beac59cf9aa92f15fd51bd101fac20fee990d693ab91d8343cd6a298d71735c80884 diff --git a/dev-python/jsonschema-spec/jsonschema-spec-0.1.6.ebuild b/dev-python/jsonschema-spec/jsonschema-spec-0.1.6.ebuild new file mode 100644 index 000000000000..0604d6495a5c --- /dev/null +++ b/dev-python/jsonschema-spec/jsonschema-spec-0.1.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="JSONSchema Spec with object-oriented paths" +HOMEPAGE=" + https://pypi.org/project/jsonschema-spec/ + https://github.com/p1c2u/jsonschema-spec/ +" +SRC_URI=" + https://github.com/p1c2u/jsonschema-spec/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + <dev-python/jsonschema-4.18[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.0.0[${PYTHON_USEDEP}] + dev-python/pathable[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + dev-python/pathable[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/--cov/d' -i pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/license-expression/license-expression-30.1.1.ebuild b/dev-python/license-expression/license-expression-30.1.1.ebuild index 951701533c86..9c0b82e12df3 100644 --- a/dev-python/license-expression/license-expression-30.1.1.ebuild +++ b/dev-python/license-expression/license-expression-30.1.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/boolean-py-4.0[${PYTHON_USEDEP}] diff --git a/dev-python/python-miniupnpc/Manifest b/dev-python/miniupnpc/Manifest index 6f8bb1688fd0..d3a8e9d2df1e 100644 --- a/dev-python/python-miniupnpc/Manifest +++ b/dev-python/miniupnpc/Manifest @@ -1,2 +1,4 @@ DIST miniupnpc-2.2.4.tar.gz 102932 BLAKE2B ebfea3fe978280825b7beefb8fe799685a72b0a74c589f5f55c7fde3d8c0d4bbb3d50fa0ff3aed554fa1e24ada0a1ab578328373f0295020415998fe35cde0a0 SHA512 f6515bda86405114016474fef6332c0c09a56b9293cf4391113f549444bab67e7d031af7b94dacff5e7c96d6508527204498c00fb67d6067685ef606b2152595 DIST miniupnpc-2.2.4.tar.gz.sig 543 BLAKE2B 14a1a1979e2d248bb721c66db3e28c1d6f970477e94235bdfa77763d5f9d4c0da42b23d026e861f48cc34a17e009bf8c57aacc648435ec9e31c3c4b6c3347ffb SHA512 476d1a6cfc519f82461bf4d516f73d40cc3ef27886da68d2e805a24d9c4609c53566e258bd2b622e7716f43c81c14bc0f01b189d23b46b87afc3c76d4e6fa23e +DIST miniupnpc-2.2.5.tar.gz 103654 BLAKE2B 9cd3fee7bb4934610d57340d29ef61bbca8a94e230a0d35a26cfe4eec347f6807f7d5ab6edb38354ec82aa11bb7a83869169b3c322931f96a1e3a4dd6eec123c SHA512 32d362c43cf5c9f6c1546d85c2dd780f9701f3137bc78471b3670c4c0862b7fc4f081e6cb6fd14e5c0d3ec0602714756959491688998335c8a7b324e6c53aa2f +DIST miniupnpc-2.2.5.tar.gz.sig 543 BLAKE2B ea7b5c254684f52485bc18ad4820c41e7c70a4eb5e552cb5f9d937a4927c9655a4fb959d32930299f1f863d4dbb5894ce76d693ce5a9996a44180038a02a0d5a SHA512 b23d35610d41c9dfc5af78de5329e9c28976685435bdff041759ab6e9f54154e7a082bcd313c682141fda8ba1e1c3b246e49109ad9a5323f003528d0ba71f880 diff --git a/dev-python/python-miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch b/dev-python/miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch index 6fbb17e60e9f..6fbb17e60e9f 100644 --- a/dev-python/python-miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch +++ b/dev-python/miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch diff --git a/dev-python/python-miniupnpc/metadata.xml b/dev-python/miniupnpc/metadata.xml index 4207c6f887e3..4207c6f887e3 100644 --- a/dev-python/python-miniupnpc/metadata.xml +++ b/dev-python/miniupnpc/metadata.xml diff --git a/dev-python/python-miniupnpc/python-miniupnpc-2.2.4.ebuild b/dev-python/miniupnpc/miniupnpc-2.2.4.ebuild index 8e24a22bc897..8e24a22bc897 100644 --- a/dev-python/python-miniupnpc/python-miniupnpc-2.2.4.ebuild +++ b/dev-python/miniupnpc/miniupnpc-2.2.4.ebuild diff --git a/dev-python/miniupnpc/miniupnpc-2.2.5.ebuild b/dev-python/miniupnpc/miniupnpc-2.2.5.ebuild new file mode 100644 index 000000000000..5282ad38ac93 --- /dev/null +++ b/dev-python/miniupnpc/miniupnpc-2.2.5.ebuild @@ -0,0 +1,52 @@ +# 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 verify-sig + +MY_P=${P/python-} +DESCRIPTION="Python bindings for UPnP client library" +HOMEPAGE=" + http://miniupnp.free.fr/ + https://miniupnp.tuxfamily.org/ + https://github.com/miniupnp/miniupnp/ +" +SRC_URI=" + https://miniupnp.tuxfamily.org/files/${MY_P}.tar.gz + verify-sig? ( + https://miniupnp.tuxfamily.org/files/${MY_P}.tar.gz.sig + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND=" + >=net-libs/miniupnpc-${PV}:0= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + verify-sig? ( sec-keys/openpgp-keys-miniupnp ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc + +PATCHES=( + "${FILESDIR}"/miniupnpc-2.2.3-shared-lib.patch +) + +# DOCS are installed by net-libs/miniupnpc. +DOCS=() + +# Example test command: +# python -c 'import miniupnpc; u = miniupnpc.UPnP(); u.discover(); u.selectigd(); print(u.externalipaddress())' diff --git a/dev-python/nbconvert/nbconvert-7.3.1.ebuild b/dev-python/nbconvert/nbconvert-7.3.1-r1.ebuild index d1d397f2fe61..0da24963fe1c 100644 --- a/dev-python/nbconvert/nbconvert-7.3.1.ebuild +++ b/dev-python/nbconvert/nbconvert-7.3.1-r1.ebuild @@ -19,6 +19,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +# <mistune-3 for https://github.com/jupyter/nbconvert/pull/1820 (bug #908377) RDEPEND=" dev-python/beautifulsoup4[${PYTHON_USEDEP}] dev-python/bleach[${PYTHON_USEDEP}] @@ -30,7 +31,7 @@ RDEPEND=" >=dev-python/jupyter-core-4.7[${PYTHON_USEDEP}] dev-python/jupyterlab-pygments[${PYTHON_USEDEP}] >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] - >=dev-python/mistune-2.0.2[${PYTHON_USEDEP}] + <dev-python/mistune-3[${PYTHON_USEDEP}] >=dev-python/nbclient-0.5.0[${PYTHON_USEDEP}] >=dev-python/nbformat-5.1[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/nbconvert/nbconvert-7.4.0.ebuild b/dev-python/nbconvert/nbconvert-7.4.0-r1.ebuild index 25135d9bacd2..4ddeded38050 100644 --- a/dev-python/nbconvert/nbconvert-7.4.0.ebuild +++ b/dev-python/nbconvert/nbconvert-7.4.0-r1.ebuild @@ -19,6 +19,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +# <mistune-3 for https://github.com/jupyter/nbconvert/pull/1820 (bug #908377) RDEPEND=" dev-python/beautifulsoup4[${PYTHON_USEDEP}] dev-python/bleach[${PYTHON_USEDEP}] @@ -30,7 +31,7 @@ RDEPEND=" >=dev-python/jupyter-core-4.7[${PYTHON_USEDEP}] dev-python/jupyterlab-pygments[${PYTHON_USEDEP}] >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] - >=dev-python/mistune-2.0.2[${PYTHON_USEDEP}] + <dev-python/mistune-3[${PYTHON_USEDEP}] >=dev-python/nbclient-0.5.0[${PYTHON_USEDEP}] >=dev-python/nbformat-5.1[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/numpy/files/numpy-1.24.3-fix-c++-linkage.patch b/dev-python/numpy/files/numpy-1.24.3-fix-c++-linkage.patch new file mode 100644 index 000000000000..ae7d5ba0ea49 --- /dev/null +++ b/dev-python/numpy/files/numpy-1.24.3-fix-c++-linkage.patch @@ -0,0 +1,25 @@ +https://bugs.gentoo.org/893962 +https://github.com/numpy/numpy/issues/23122 +https://github.com/numpy/numpy/pull/23601 + +From 0a0240bcdad5daa0b84781719b3f8a002ef0f82b Mon Sep 17 00:00:00 2001 +From: Ralf Gommers <ralf.gommers@gmail.com> +Date: Sun, 16 Apr 2023 22:23:38 +0100 +Subject: [PATCH] BLD: use the C++ linker to link `_multiarray_umath.so` + +This gets rid of undefined symbol issues for `assert`. + +Closes gh-23122 +Closes gh-23595 +--- a/numpy/core/setup.py ++++ b/numpy/core/setup.py +@@ -1010,9 +1010,6 @@ def generate_umath_doc_header(ext, build_dir): + svml_objs.sort() + + config.add_extension('_multiarray_umath', +- # Forcing C language even though we have C++ sources. +- # It forces the C linker and don't link C++ runtime. +- language = 'c', + sources=multiarray_src + umath_src + + common_src + + [generate_config_h, diff --git a/dev-python/numpy/numpy-1.24.3-r1.ebuild b/dev-python/numpy/numpy-1.24.3-r1.ebuild new file mode 100644 index 000000000000..3ee79b8158af --- /dev/null +++ b/dev-python/numpy/numpy-1.24.3-r1.ebuild @@ -0,0 +1,176 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +FORTRAN_NEEDED=lapack + +inherit distutils-r1 flag-o-matic fortran-2 multiprocessing pypi +inherit toolchain-funcs + +DOC_PV=${PV} +DESCRIPTION="Fast array and numerical python library" +HOMEPAGE=" + https://numpy.org/ + https://github.com/numpy/numpy/ + https://pypi.org/project/numpy/ +" + +LICENSE="BSD" +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 ~x64-solaris" +IUSE="lapack" + +RDEPEND=" + lapack? ( + >=virtual/cblas-3.8 + >=virtual/lapack-3.8 + ) +" +BDEPEND=" + ${RDEPEND} + <dev-python/cython-3[${PYTHON_USEDEP}] + >=dev-python/cython-0.29.30[${PYTHON_USEDEP}] + lapack? ( + virtual/pkgconfig + ) + test? ( + $(python_gen_cond_dep ' + >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] + ' 'python*') + dev-python/charset_normalizer[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/numpy-1.22.0-no-hardcode-blasv2.patch + "${FILESDIR}"/numpy-1.24.3-fix-c++-linkage.patch +) + +distutils_enable_tests pytest + +python_prepare_all() { + # Allow use with setuptools 60.x + # See numpy-1.22.1-revert-setuptools-upper-bound.patch for details + export SETUPTOOLS_USE_DISTUTILS=stdlib + + if use lapack; then + local incdir="${EPREFIX}"/usr/include + local libdir="${EPREFIX}"/usr/$(get_libdir) + cat >> site.cfg <<-EOF || die + [blas] + include_dirs = ${incdir} + library_dirs = ${libdir} + blas_libs = cblas,blas + [lapack] + library_dirs = ${libdir} + lapack_libs = lapack + EOF + else + export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None + fi + + export CC="$(tc-getCC) ${CFLAGS}" + + append-flags -fno-strict-aliasing + + # See progress in http://projects.scipy.org/scipy/numpy/ticket/573 + # with the subtle difference that we don't want to break Darwin where + # -shared is not a valid linker argument + if [[ ${CHOST} != *-darwin* ]]; then + append-ldflags -shared + fi + + # only one fortran to link with: + # linking with cblas and lapack library will force + # autodetecting and linking to all available fortran compilers + append-fflags -fPIC + if use lapack; then + NUMPY_FCONFIG="config_fc --noopt --noarch" + # workaround bug 335908 + [[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95" + fi + + # don't version f2py, we will handle it. + sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + local -x MAKEOPTS=-j1 #660754 + + distutils-r1_python_compile ${NUMPY_FCONFIG} +} + +python_test() { + local EPYTEST_DESELECT=( + # very disk- and memory-hungry + numpy/lib/tests/test_histograms.py::TestHistogram::test_big_arrays + numpy/lib/tests/test_io.py::test_large_zip + + # precision problems + numpy/core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals + + # runs the whole test suite recursively, that's just crazy + numpy/core/tests/test_mem_policy.py::test_new_policy + + # very slow, unlikely to be practically useful + numpy/typing/tests/test_typing.py + ) + + if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then + # Degenerate case. arm32 chroot on arm64. + # bug #774108 + EPYTEST_DESELECT+=( + numpy/core/tests/test_cpu_features.py::Test_ARM_Features::test_features + ) + fi + + if use x86 ; then + EPYTEST_DESELECT+=( + # https://github.com/numpy/numpy/issues/18388 + numpy/core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow + # https://github.com/numpy/numpy/issues/18387 + numpy/random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto + # more precision problems + numpy/core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 + ) + fi + + case "${ABI}" in + alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) + EPYTEST_DESELECT+=( + # too large for 32-bit platforms + numpy/core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array + ) + ;; + *) + ;; + esac + + distutils_install_for_testing --single-version-externally-managed \ + --record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG} + + cd "${TEST_DIR}/lib" || die + epytest -k "not _fuzz" -n "$(makeopts_jobs)" +} + +python_install() { + # https://github.com/numpy/numpy/issues/16005 + local mydistutilsargs=( build_src ) + distutils-r1_python_install ${NUMPY_FCONFIG} + python_optimize +} + +python_install_all() { + local DOCS=( LICENSE.txt README.md THANKS.txt ) + distutils-r1_python_install_all +} diff --git a/dev-python/openapi-spec-validator/Manifest b/dev-python/openapi-spec-validator/Manifest index c9f626e1bfa8..ee8389786b3d 100644 --- a/dev-python/openapi-spec-validator/Manifest +++ b/dev-python/openapi-spec-validator/Manifest @@ -1 +1,2 @@ DIST openapi_spec_validator-0.5.6.tar.gz 33031 BLAKE2B a884ceb915f232232406bd880a7eef9e588e1a42ac9a78c2e23f91cbd71e9af471c764550a9dd214ef68ec24ede7ab0ba4624429e4fd8133011489d0039aeae7 SHA512 ea1e810ecf49ff3d237e3368cd2cbcc6b733e9657f101759860ef16d3e2f14c97ccfe52fae2897d12a50c803d709d61d7ef8b40b288e5f73265da9ac5c88280b +DIST openapi_spec_validator-0.5.7.tar.gz 33722 BLAKE2B 71096a996d335b60d6646d96390e580952a1e27829aa807c4b333ee11a7925bc1bc10f4440c79fc6d4a8321dfd3bab9ec86bf79bef6c7139835b7f8035cbc061 SHA512 63dafc0bc459d8ad097d0a98a3d23e67ae37c0004ce6d53ad999b037f2a6743c95e13ae22920403368c37f8877665c104ac20e1f58532cffd8df54c800a6cf7d diff --git a/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.7.ebuild b/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.7.ebuild new file mode 100644 index 000000000000..f724fbe335fe --- /dev/null +++ b/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.7.ebuild @@ -0,0 +1,52 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator" +HOMEPAGE=" + https://github.com/python-openapi/openapi-spec-validator/ + https://pypi.org/project/openapi-spec-validator/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + <dev-python/jsonschema-4.18[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.0.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-spec-0.1.1[${PYTHON_USEDEP}] + >=dev-python/lazy-object-proxy-1.7.1[${PYTHON_USEDEP}] + <dev-python/openapi-schema-validator-0.5[${PYTHON_USEDEP}] + >=dev-python/openapi-schema-validator-0.3.2[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/integration/test_shortcuts.py::TestPetstoreV2Example + tests/integration/test_shortcuts.py::TestApiV2WithExampe + tests/integration/test_shortcuts.py::TestPetstoreV2ExpandedExample + tests/integration/test_shortcuts.py::TestPetstoreExample + tests/integration/test_shortcuts.py::TestRemoteValidatev2SpecUrl + tests/integration/test_shortcuts.py::TestRemoteValidatev30SpecUrl + tests/integration/test_shortcuts.py::TestApiWithExample + tests/integration/test_shortcuts.py::TestPetstoreExpandedExample + tests/integration/test_validate.py::TestPetstoreExample + tests/integration/test_validate.py::TestApiWithExample + tests/integration/test_validate.py::TestPetstoreExpandedExample + tests/integration/validation/test_validators.py +) + +src_prepare() { + sed -i -e '/--cov/d' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/pdm-pep517/pdm-pep517-1.1.4.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.1.4.ebuild index c4459a069d63..ab2a842340ff 100644 --- a/dev-python/pdm-pep517/pdm-pep517-1.1.4.ebuild +++ b/dev-python/pdm-pep517/pdm-pep517-1.1.4.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}] diff --git a/dev-python/prettytable/Manifest b/dev-python/prettytable/Manifest index 650e3f44abf8..264935b2789c 100644 --- a/dev-python/prettytable/Manifest +++ b/dev-python/prettytable/Manifest @@ -1,2 +1,3 @@ DIST prettytable-3.3.0.tar.gz 54305 BLAKE2B 4d131c16b6c6a0fd64aae1f9f54e286bf27b562888af56a6944d192a24c05d6138c3bdb8f298dcc060db7609d72b8d86ab9664bf6bcf43cd2105bdd433bae3cf SHA512 e190717e2ea89e8faddc7015fd5118e0d93ac5f5318641ce5960b22b4ea3740ff12c4d15812b33655252f258c96f9e848f554d1e678d39761c28025ba7772609 DIST prettytable-3.7.0.tar.gz 47169 BLAKE2B cc749c6a42ad45359ccb6195378526d7c6da1be932770090cdcee565606131eaa1f83a01732781e3cf39719b4cb42824865b4855e5432e7517cbead139361e2d SHA512 4fe83cfc7f3fa4031191e0c9b4a70eb550c189a0921d3f85d1be5b8fce8c917034f8039861577a447b6705c4bbe49f6b18698605ffdef80e2f9bc81dafabeefe +DIST prettytable-3.8.0.tar.gz 47735 BLAKE2B df31c77eaa4c0b4e7dc5845255383c13d5eff23c7fb8743c4cdd9f726229c84d98a0b4e66e8d42ec4d3e2d43db703d55706705d2e79c4ae8682b7b8b794217a4 SHA512 4719f16e98d4e7b89d8a7f6b2e1d15fd2c44410e5c9edc29a4dbb8ef2899eccff524932afe179bea7a6bbe607a809274b805e76e9ef2e3bf2c77f054635f8f04 diff --git a/dev-python/prettytable/prettytable-3.8.0.ebuild b/dev-python/prettytable/prettytable-3.8.0.ebuild new file mode 100644 index 000000000000..8e2c4ca99de5 --- /dev/null +++ b/dev-python/prettytable/prettytable-3.8.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Easily displaying tabular data in a visually appealing ASCII table format" +HOMEPAGE=" + https://github.com/jazzband/prettytable/ + https://pypi.org/project/prettytable/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/wcwidth[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/symengine/symengine-0.10.0.ebuild b/dev-python/symengine/symengine-0.10.0.ebuild index e6c8f28b2967..88deec49123b 100644 --- a/dev-python/symengine/symengine-0.10.0.ebuild +++ b/dev-python/symengine/symengine-0.10.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv ~x86" BDEPEND=" dev-util/cmake diff --git a/dev-python/ujson/Manifest b/dev-python/ujson/Manifest index 8ab239fbbb44..77d8f87de2b2 100644 --- a/dev-python/ujson/Manifest +++ b/dev-python/ujson/Manifest @@ -1 +1,2 @@ DIST ujson-5.7.0.tar.gz 7152625 BLAKE2B 363fd77be3e2f8fb42a70db744ab4da12c0c8383103983b3555cee237497837abfcef102b19a51c0fa118fedd7847c568607c058f1d2cea76858a6bd89a226da SHA512 e18a1608a7fe79030e3ff307c9e95a0e238cd5049ee791eddbc07efa55853475d053268b80a8765023639ae8ff39f82b4ae2c04e82fc7dc5f3192a5134ec0757 +DIST ujson-5.8.0.tar.gz 7154530 BLAKE2B 8eef1b2e03fa4a99dccc9d5fba8c1436d8e11b419e7f4c8d382bf5a2250477c99a1f0ff7f9e548ca5a50217a5964dafc953ab3cdb66b784ef1dea129ec1c2b6a SHA512 258e5527bda8b9fb3bea03f97d5db752ae06183337610975fc28f928817b430ae7a1867932ee7b0a0ccd6b825e2c5a104d7ce78c1e3405ed5679a2a70a5804c3 diff --git a/dev-python/ujson/ujson-5.8.0.ebuild b/dev-python/ujson/ujson-5.8.0.ebuild new file mode 100644 index 000000000000..b1c880183604 --- /dev/null +++ b/dev-python/ujson/ujson-5.8.0.ebuild @@ -0,0 +1,41 @@ +# 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 pypi + +DESCRIPTION="Ultra fast JSON encoder and decoder for Python" +HOMEPAGE=" + https://github.com/ultrajson/ultrajson/ + https://pypi.org/project/ujson/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + dev-libs/double-conversion:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + export UJSON_BUILD_DC_INCLUDES="${EPREFIX}/usr/include/double-conversion" + export UJSON_BUILD_DC_LIBS="-ldouble-conversion" + export UJSON_BUILD_NO_STRIP=1 +} diff --git a/dev-python/uvicorn/uvicorn-0.22.0.ebuild b/dev-python/uvicorn/uvicorn-0.22.0.ebuild index 89cc36ab3f90..8bd8bbb599f1 100644 --- a/dev-python/uvicorn/uvicorn-0.22.0.ebuild +++ b/dev-python/uvicorn/uvicorn-0.22.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" |
