From d93e7ab096840eb29da40552b1d456c7ff5ca89a Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 22 Feb 2025 06:54:46 +0000 Subject: Adding metadata --- dev-python/addict/addict-2.4.0.ebuild | 2 +- dev-python/cheetah3/Manifest | 1 + dev-python/cheetah3/cheetah3-3.4.0.ebuild | 44 +++++++++++++ dev-python/cogapp/cogapp-3.4.1.ebuild | 2 +- .../readability-lxml/readability-lxml-0.8.1.ebuild | 7 +- dev-python/scipy/scipy-1.14.1.ebuild | 10 ++- dev-python/scipy/scipy-1.15.0.ebuild | 8 +++ dev-python/scipy/scipy-1.15.1.ebuild | 8 +++ dev-python/scipy/scipy-1.15.2.ebuild | 8 +++ dev-python/zstandard/zstandard-0.23.0-r1.ebuild | 77 ++++++++++++++++++++++ dev-python/zstandard/zstandard-0.23.0.ebuild | 76 --------------------- 11 files changed, 160 insertions(+), 83 deletions(-) create mode 100644 dev-python/cheetah3/cheetah3-3.4.0.ebuild create mode 100644 dev-python/zstandard/zstandard-0.23.0-r1.ebuild delete mode 100644 dev-python/zstandard/zstandard-0.23.0.ebuild (limited to 'dev-python') diff --git a/dev-python/addict/addict-2.4.0.ebuild b/dev-python/addict/addict-2.4.0.ebuild index 1015ccf15f3f..bf53f57f1276 100644 --- a/dev-python/addict/addict-2.4.0.ebuild +++ b/dev-python/addict/addict-2.4.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} python3_13t ) +PYTHON_COMPAT=( python3_{11..13} python3_13t ) inherit distutils-r1 diff --git a/dev-python/cheetah3/Manifest b/dev-python/cheetah3/Manifest index a95572b816d3..633ade12e434 100644 --- a/dev-python/cheetah3/Manifest +++ b/dev-python/cheetah3/Manifest @@ -1 +1,2 @@ DIST cheetah3-3.3.3.gh.tar.gz 315249 BLAKE2B f5dc748c49adbddffb0339069f800583739bffce8085c3abb80080d14d051a334e6b7d1b8ced218218334cae6cc000877570f3ab7c1ef0d760de36bf956f9c2e SHA512 638ee6ca0d37b86cfa93f8fc0da4c259da639c3b107c8810201e4bed30ca4674b5e546abc1d8f716d1bba7d1c72d51f559894a90580fa02f1409f7a73a246001 +DIST cheetah3-3.4.0.gh.tar.gz 318357 BLAKE2B 5bb67484c4907f0a831eaa79d755ba252abc3ed70a14a7f87620cc8748f7226cc112b66cc1ce19759d5aa6653e8ce2ad0acd4604a0ca2a92c249e095ae6522ba SHA512 1984165dc001c5982f39bdee9ef1364ebb794a028bfebcbead6af9834abe6506f253b0bc18919c9b95b55130dd71232fac3830aed8c19219852a56f007ad45e7 diff --git a/dev-python/cheetah3/cheetah3-3.4.0.ebuild b/dev-python/cheetah3/cheetah3-3.4.0.ebuild new file mode 100644 index 000000000000..47d8105a131d --- /dev/null +++ b/dev-python/cheetah3/cheetah3-3.4.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 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_{9,10,11,12,13} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="Python-powered template engine and code generator" +HOMEPAGE=" + https://cheetahtemplate.org/ + https://github.com/CheetahTemplate3/Cheetah3/ + https://pypi.org/project/Cheetah3/ +" +SRC_URI=" + https://github.com/CheetahTemplate3/Cheetah3/archive/${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/markdown[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} +" + +DOCS=( ANNOUNCE.rst README.rst ) + +python_test() { + # the package can't handle TMPDIR with hyphens + # https://github.com/CheetahTemplate3/cheetah3/issues/53 + local -x TMPDIR=/tmp + + "${EPYTHON}" Cheetah/Tests/Test.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/cogapp/cogapp-3.4.1.ebuild b/dev-python/cogapp/cogapp-3.4.1.ebuild index fbcc5c924253..cec23f6681a2 100644 --- a/dev-python/cogapp/cogapp-3.4.1.ebuild +++ b/dev-python/cogapp/cogapp-3.4.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{{10..13},13t} ) +PYTHON_COMPAT=( python3_{{11..13},13t} ) inherit distutils-r1 pypi diff --git a/dev-python/readability-lxml/readability-lxml-0.8.1.ebuild b/dev-python/readability-lxml/readability-lxml-0.8.1.ebuild index 43b916ca6341..fcbe1eb1be61 100644 --- a/dev-python/readability-lxml/readability-lxml-0.8.1.ebuild +++ b/dev-python/readability-lxml/readability-lxml-0.8.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2024 Gentoo Authors +# Copyright 2019-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,15 +26,14 @@ RDEPEND=" dev-python/lxml-html-clean[${PYTHON_USEDEP}] || ( dev-python/chardet[${PYTHON_USEDEP}] - ( $(python_gen_cond_dep \ - 'dev-python/faust-cchardet[${PYTHON_USEDEP}]' python3_{8..10}) ) + dev-python/faust-cchardet[${PYTHON_USEDEP}] ) " BDEPEND=" test? ( dev-python/chardet[${PYTHON_USEDEP}] $(python_gen_cond_dep \ - 'dev-python/timeout-decorator[${PYTHON_USEDEP}]' python3_{8..11}) + 'dev-python/timeout-decorator[${PYTHON_USEDEP}]' python3_11) ) " diff --git a/dev-python/scipy/scipy-1.14.1.ebuild b/dev-python/scipy/scipy-1.14.1.ebuild index 0c1fa09f7861..0c88f9ce49d9 100644 --- a/dev-python/scipy/scipy-1.14.1.ebuild +++ b/dev-python/scipy/scipy-1.14.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -45,6 +45,9 @@ LICENSE="BSD LGPL-2" SLOT="0" IUSE="doc +fortran test-rust" +# pythran is needed in both BDEPEND (for /usr/bin/pythran) and in DEPEND +# to actually compile code generated by pythran (headers and such needed). +# # umfpack is technically optional but it's preferred to have it available. DEPEND=" >=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}] @@ -57,6 +60,11 @@ RDEPEND=" ${DEPEND} dev-python/pillow[${PYTHON_USEDEP}] " +DEPEND+=" + fortran? ( + >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}] + ) +" BDEPEND=" dev-lang/swig >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] diff --git a/dev-python/scipy/scipy-1.15.0.ebuild b/dev-python/scipy/scipy-1.15.0.ebuild index 57f8b48390a2..7efa1a801c55 100644 --- a/dev-python/scipy/scipy-1.15.0.ebuild +++ b/dev-python/scipy/scipy-1.15.0.ebuild @@ -45,6 +45,9 @@ LICENSE="BSD LGPL-2" SLOT="0" IUSE="doc +fortran test-rust" +# pythran is needed in both BDEPEND (for /usr/bin/pythran) and in DEPEND +# to actually compile code generated by pythran (headers and such needed). +# # umfpack is technically optional but it's preferred to have it available. DEPEND=" >=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}] @@ -57,6 +60,11 @@ RDEPEND=" ${DEPEND} dev-python/pillow[${PYTHON_USEDEP}] " +DEPEND+=" + fortran? ( + >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}] + ) +" BDEPEND=" dev-lang/swig >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] diff --git a/dev-python/scipy/scipy-1.15.1.ebuild b/dev-python/scipy/scipy-1.15.1.ebuild index 58c99757bf7a..1c9f77094875 100644 --- a/dev-python/scipy/scipy-1.15.1.ebuild +++ b/dev-python/scipy/scipy-1.15.1.ebuild @@ -45,6 +45,9 @@ LICENSE="BSD LGPL-2" SLOT="0" IUSE="doc +fortran test-rust" +# pythran is needed in both BDEPEND (for /usr/bin/pythran) and in DEPEND +# to actually compile code generated by pythran (headers and such needed). +# # umfpack is technically optional but it's preferred to have it available. DEPEND=" >=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}] @@ -57,6 +60,11 @@ RDEPEND=" ${DEPEND} dev-python/pillow[${PYTHON_USEDEP}] " +DEPEND+=" + fortran? ( + >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}] + ) +" BDEPEND=" dev-lang/swig >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] diff --git a/dev-python/scipy/scipy-1.15.2.ebuild b/dev-python/scipy/scipy-1.15.2.ebuild index 579a9704865b..c9e17b155dea 100644 --- a/dev-python/scipy/scipy-1.15.2.ebuild +++ b/dev-python/scipy/scipy-1.15.2.ebuild @@ -45,6 +45,9 @@ LICENSE="BSD LGPL-2" SLOT="0" IUSE="doc +fortran test-rust" +# pythran is needed in both BDEPEND (for /usr/bin/pythran) and in DEPEND +# to actually compile code generated by pythran (headers and such needed). +# # umfpack is technically optional but it's preferred to have it available. DEPEND=" >=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}] @@ -57,6 +60,11 @@ RDEPEND=" ${DEPEND} dev-python/pillow[${PYTHON_USEDEP}] " +DEPEND+=" + fortran? ( + >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}] + ) +" BDEPEND=" dev-lang/swig >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] diff --git a/dev-python/zstandard/zstandard-0.23.0-r1.ebuild b/dev-python/zstandard/zstandard-0.23.0-r1.ebuild new file mode 100644 index 000000000000..e4b8373ad68d --- /dev/null +++ b/dev-python/zstandard/zstandard-0.23.0-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +MY_P=python-zstandard-${PV} +DESCRIPTION="Zstandard Bindings for Python" +HOMEPAGE=" + https://github.com/indygreg/python-zstandard/ + https://pypi.org/project/zstandard/ +" +SRC_URI=" + https://github.com/indygreg/python-zstandard/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +# TODO: figure out why zstd-1.5.7 breaks their hacky awful CFFI thingy +DEPEND=" + zstd/zstd.c || die + # it does random preprocessing on that, so we can't use #include + local f + for f in zdict.h zstd.h; do + cp "${ESYSROOT}/usr/include/${f}" "zstd/${f}" || die + done + sed -i -e '/include_dirs/a libraries=["zstd"],' make_cffi.py || die + + distutils-r1_src_prepare + + DISTUTILS_ARGS=( + --no-c-backend + ) +} + +python_test() { + local EPYTEST_DESELECT=( + # unreliable, fails on x86 + tests/test_data_structures.py::TestCompressionParameters::test_estimated_compression_context_size + # check for bundled zstd version, fails on other system zstd + tests/test_module_attributes.py::TestModuleAttributes::test_version + ) + + rm -rf zstandard || die + epytest +} diff --git a/dev-python/zstandard/zstandard-0.23.0.ebuild b/dev-python/zstandard/zstandard-0.23.0.ebuild deleted file mode 100644 index 710a83891eef..000000000000 --- a/dev-python/zstandard/zstandard-0.23.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -MY_P=python-zstandard-${PV} -DESCRIPTION="Zstandard Bindings for Python" -HOMEPAGE=" - https://github.com/indygreg/python-zstandard/ - https://pypi.org/project/zstandard/ -" -SRC_URI=" - https://github.com/indygreg/python-zstandard/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -DEPEND=" - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} - $(python_gen_cond_dep ' - >=dev-python/cffi-1.14.0-r2:=[${PYTHON_USEDEP}] - ' 'python*') -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # the C backend is repeatedly broken, so force CFFI instead - sed -e '/PYTHON_ZSTANDARD_IMPORT_POLICY/s:default:cffi:' \ - -i zstandard/__init__.py || die - # unbundle zstd - rm zstd/* || die - > zstd/zstd.c || die - # it does random preprocessing on that, so we can't use #include - local f - for f in zdict.h zstd.h; do - cp "${ESYSROOT}/usr/include/${f}" "zstd/${f}" || die - done - sed -i -e '/include_dirs/a libraries=["zstd"],' make_cffi.py || die - - distutils-r1_src_prepare - - DISTUTILS_ARGS=( - --no-c-backend - ) -} - -python_test() { - local EPYTEST_DESELECT=( - # unreliable, fails on x86 - tests/test_data_structures.py::TestCompressionParameters::test_estimated_compression_context_size - # check for bundled zstd version, fails on other system zstd - tests/test_module_attributes.py::TestModuleAttributes::test_version - ) - - rm -rf zstandard || die - epytest -} -- cgit v1.3