diff options
Diffstat (limited to 'dev-python')
19 files changed, 54 insertions, 436 deletions
diff --git a/dev-python/confusable-homoglyphs/confusable-homoglyphs-3.3.1.ebuild b/dev-python/confusable-homoglyphs/confusable-homoglyphs-3.3.1.ebuild index c5aa48d03ea8..a64abe856ced 100644 --- a/dev-python/confusable-homoglyphs/confusable-homoglyphs-3.3.1.ebuild +++ b/dev-python/confusable-homoglyphs/confusable-homoglyphs-3.3.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" dev-python/click[${PYTHON_USEDEP}] diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-5.1.0.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-5.1.0.ebuild index a8dbdabeb4c9..a66aa072be14 100644 --- a/dev-python/django-debug-toolbar/django-debug-toolbar-5.1.0.ebuild +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-5.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/django-registration/django-registration-5.2.1.ebuild b/dev-python/django-registration/django-registration-5.2.1.ebuild index 9cb0feab6730..bcd57bff5baa 100644 --- a/dev-python/django-registration/django-registration-5.2.1.ebuild +++ b/dev-python/django-registration/django-registration-5.2.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" >=dev-python/confusable-homoglyphs-3.0[${PYTHON_USEDEP}] diff --git a/dev-python/gpep517/Manifest b/dev-python/gpep517/Manifest index 56e088517026..a46f1aa4534a 100644 --- a/dev-python/gpep517/Manifest +++ b/dev-python/gpep517/Manifest @@ -1 +1,2 @@ DIST gpep517-17.gh.tar.gz 24403 BLAKE2B 51273a2e5ea0154d3e7d974f31b31a96dfa087d8bb3a49d89960568b02632fe104e62a4217a2295ef3dcc69f86f875c4e9de1220f3ef15fbff59a44bebcaac33 SHA512 cadf5b2fbd8c00eba928c3d8c893711516f66acc9bf74fc4ad9f0261021f8f6b7c4853035e6b916deba215ecf2f1e567d82161a74b69313b7e0f296e83e75c84 +DIST gpep517-18.gh.tar.gz 28211 BLAKE2B ae5409733a96248b763e33982844866e9ba3b556b9fe0b2f4503cc052015ea7b712a3041e449ba26f8ddcfb8973f963d3c240b1e4a2e5229b3c64702ad5a19bf SHA512 7fb8feda99ac023b006ddfe77f5b71d7837e013088da0da5afeaeecd139f365487ec6c2d17603a34d4694220be12eebda54391bdc6e987b6eae633449acce97a diff --git a/dev-python/gpep517/gpep517-18.ebuild b/dev-python/gpep517/gpep517-18.ebuild new file mode 100644 index 000000000000..6c16c466fc20 --- /dev/null +++ b/dev-python/gpep517/gpep517-18.ebuild @@ -0,0 +1,48 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=no +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A backend script to aid installing Python packages in Gentoo" +HOMEPAGE=" + https://pypi.org/project/gpep517/ + https://github.com/projg2/gpep517/ +" +SRC_URI=" + https://github.com/projg2/gpep517/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/installer-0.5.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}] + ' 3.10) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o tmp_path_retention_policy=all +} + +python_install() { + python_domodule gpep517 + python_newscript - gpep517 <<-EOF + #!${EPREFIX}/usr/bin/python + import sys + from gpep517.__main__ import main + sys.exit(main()) + EOF +} diff --git a/dev-python/opentelemetry-api/opentelemetry-api-1.32.1.ebuild b/dev-python/opentelemetry-api/opentelemetry-api-1.32.1-r1.ebuild index 0d91042ac109..1155cafc062e 100644 --- a/dev-python/opentelemetry-api/opentelemetry-api-1.32.1.ebuild +++ b/dev-python/opentelemetry-api/opentelemetry-api-1.32.1-r1.ebuild @@ -41,7 +41,7 @@ src_prepare() { default # Unnecessary restriction - sed -i -e '/importlib-metadata/s:, <= [0-9.]*::' pyproject.toml || die + sed -i -e '/importlib-metadata/s:, < [0-9.]*::' pyproject.toml || die } python_test() { diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index defe747c57c6..81ff16c5953f 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1,3 +1,2 @@ DIST pikepdf-9.5.2.tar.gz 2916549 BLAKE2B 821fe21cb2ef471ab7313e2dab371f0a5290659225647ca4059995af9112e4f5425e0a9e11f9691dc2da9786beeffb2abc33ec374bb97b3fe1f25bd6feba042a SHA512 ac7c33c7cd23e34eb1bd518aae7167285cca6cc710e37f05cac03512666777848a2ad3d17a72654832564a8521e69ea0d124c70c61aca0bed7123475bf03a359 -DIST pikepdf-9.6.0.tar.gz 2917429 BLAKE2B 2186070ab65d871803fe6a6c033e71772a9c42a7edf8d253136dadf707e38325f7f488ecf68d3ad5a7d24a4bb558fe05532e9251da9e5243a2f1a05eae96b9c2 SHA512 e440e9e2be61dc03ed86019f578c7fdf324326996a7d3e3983192fef7808fce5e7935c1dd061a11d03a02bf3bc6b8c48d97320d0e427e42b2d1201b52f821959 DIST pikepdf-9.7.0.tar.gz 2921981 BLAKE2B 1f43bed82e73cbe5268199fc511e47f7e2c32419cbf012eecaf3d984dfe950d8a1ae085530d0cf90eee4de78cf1271c81db904787d52085d7585ef402d4ed792 SHA512 da95f966eefbed76ca163fc6ba732b82cf68abd6bb92bfcb972ca56cde60cec8e9a726fe86a11f60797694c7ac20ad69c46e5c68c99c3eef4bf9c3f0cefbacf5 diff --git a/dev-python/pikepdf/pikepdf-9.6.0.ebuild b/dev-python/pikepdf/pikepdf-9.6.0.ebuild deleted file mode 100644 index 544962b8cb6c..000000000000 --- a/dev-python/pikepdf/pikepdf-9.6.0.ebuild +++ /dev/null @@ -1,74 +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 pypi - -DESCRIPTION="Python library to work with pdf files based on qpdf" -HOMEPAGE=" - https://github.com/pikepdf/pikepdf/ - https://pypi.org/project/pikepdf/ -" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="big-endian" - -# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as -# https://qpdf.readthedocs.io/en/stable/release-notes.html. -DEPEND=" - >=app-text/qpdf-11.5.0:0= -" -RDEPEND=" - ${DEPEND} - dev-python/deprecated[${PYTHON_USEDEP}] - >=dev-python/lxml-4.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pillow-10.0.1[lcms,${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pybind11-2.12.0[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.36[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] - >=dev-python/psutil-5.9[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - !big-endian? ( - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] - ) - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) - media-libs/tiff[zlib] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - sed -e '/-n auto/d' -i pyproject.toml || die -} - -python_test() { - local EPYTEST_DESELECT=( - # fragile to system load - tests/test_image_access.py::test_random_image - tests/test_image_access.py::test_image_save_compare - tests/test_image_access.py::test_palette_nonrgb - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p timeout -} diff --git a/dev-python/pudb/Manifest b/dev-python/pudb/Manifest index 526cc71c6874..81aad729085d 100644 --- a/dev-python/pudb/Manifest +++ b/dev-python/pudb/Manifest @@ -1,2 +1 @@ -DIST pudb-2024.1.2.tar.gz 226551 BLAKE2B b89db9a56f933474cddd332a71216c73631324efc0b046044133e912bc9783c3e89d9a67e539fdc9703fd728a308a33687587c7b63427b7ca824cd425013b434 SHA512 0db7af15227c9bddd91aa685e90cef5c071f930399731681da651293a71732b2bc9e2afbd7cc5080ad51e7c54980b93afc8b8f53b054737b7a76270bf3414206 DIST pudb-2024.1.3.tar.gz 219443 BLAKE2B edfc2b8799cefc8f81eaac37e07a90b42870b6a3a6ddcc0e7aee785ea6f720fa0db0dc7b9dda6508a9a9e9718812bdf1d6729a12c2d6974f2531022dea2dd153 SHA512 da3702a1debeeae7b48012e1241be9d85f3e12714e7d37771863d8d26dabb9615c75bff9a0285647327852d9814eb3ddbc15fcb736d8f4a3f6030d71a12fd258 diff --git a/dev-python/pudb/pudb-2024.1.2.ebuild b/dev-python/pudb/pudb-2024.1.2.ebuild deleted file mode 100644 index 4135c7f25f6e..000000000000 --- a/dev-python/pudb/pudb-2024.1.2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi optfeature - -DESCRIPTION="A full-screen, console-based Python debugger" -HOMEPAGE=" - https://documen.tician.de/pudb/ - https://github.com/inducer/pudb/ - https://pypi.org/project/pudb/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - >=dev-python/urwid-2.4[${PYTHON_USEDEP}] - dev-python/urwid-readline[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -pkg_postinst() { - optfeature_header "Install the following packages for additional functionality:" - optfeature "Auto-complete support" dev-python/jedi -} diff --git a/dev-python/pyx/pyx-0.16-r1.ebuild b/dev-python/pyx/pyx-0.16-r1.ebuild deleted file mode 100644 index a49968246cc0..000000000000 --- a/dev-python/pyx/pyx-0.16-r1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -#DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="Python package for the generation of encapsulated PostScript figures" -MY_PN="PyX" -MY_P=${MY_PN}-${PV} -HOMEPAGE=" - https://github.com/pyx-project/pyx - https://pyx-project.org/ - https://pypi.org/project/PyX/" -SRC_URI="https://github.com/pyx-project/${PN}/releases/download/${PV}/${MY_P}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -RDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] - virtual/tex-base - virtual/latex-base - dev-texlive/texlive-basic" - -BDEPEND="${RDEPEND} - doc? ( - $(python_gen_any_dep ' - dev-python/sphinx[latex,${PYTHON_USEDEP}] - dev-python/sphinx-selective-exclude[${PYTHON_USEDEP}] - ') - )" - -PATCHES=( "${FILESDIR}"/pyx-0.14.1-unicode-latex.patch ) -S="${WORKDIR}"/${MY_P} - -python_check_deps() { - use doc || return 0 - python_has_version "dev-python/sphinx[latex,${PYTHON_USEDEP}]" \ - "dev-python/sphinx-selective-exclude[${PYTHON_USEDEP}]" -} - -src_prepare() { - sed -i \ - -e 's/^build_t1code=.*/build_t1code=1/' \ - -e 's/^build_pykpathsea=.*/build_pykpathsea=1/' \ - setup.cfg || die "setup.cfg fix failed" - distutils-r1_src_prepare -} - -python_compile_all() { - if use doc; then - local -x VARTEXFONTS="${T}"/fonts - emake -C "${S}"/manual latexpdf - emake -C "${S}"/faq latexpdf - fi -} - -python_install_all() { - use doc && dodoc manual/_build/latex/manual.pdf faq/_build/latex/pyxfaq.pdf - distutils-r1_python_install_all -} diff --git a/dev-python/soundfile/soundfile-0.13.1.ebuild b/dev-python/soundfile/soundfile-0.13.1.ebuild index 150b4977f319..430c6934f743 100644 --- a/dev-python/soundfile/soundfile-0.13.1.ebuild +++ b/dev-python/soundfile/soundfile-0.13.1.ebuild @@ -15,7 +15,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" dev-python/cffi[${PYTHON_USEDEP}] diff --git a/dev-python/sphinx-selective-exclude/sphinx-selective-exclude-1.0.3-r1.ebuild b/dev-python/sphinx-selective-exclude/sphinx-selective-exclude-1.0.3-r1.ebuild deleted file mode 100644 index c4e3d0a6bfe7..000000000000 --- a/dev-python/sphinx-selective-exclude/sphinx-selective-exclude-1.0.3-r1.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 pypi - -DESCRIPTION="Sphinx selective rendition extensions" -HOMEPAGE="https://github.com/pfalcon/sphinx_selective_exclude" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -PDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" - -PATCHES=( "${FILESDIR}"/${PN}-description-file.patch ) diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest index 9c68821dc8d3..e17671f1b23f 100644 --- a/dev-python/sympy/Manifest +++ b/dev-python/sympy/Manifest @@ -1,4 +1,2 @@ DIST sympy-1.13.3.gh.tar.gz 7919933 BLAKE2B 94c601e79caf87eb0f08e15ca4cb79e16bcd97d347e1fd948b6ea98b044133ea99f52032f09e290668e4485393425254ff4062ccfd3a3ac0b8afba080da6ba19 SHA512 2ae7a400d4a2d9c826cfaa165e3e1f5d9ba210c25647984d997775d4ec3d7c8f3ad3c5468d9adf141a1dceec864ca988b4f3a01fd934b923c4486ddd458670a3 DIST sympy-1.14.0.gh.tar.gz 7911587 BLAKE2B e465a65b381a21fa6d7584728a2560d13872721b48cf8f1032c610fbd7e4fdc6777064cf430dbb56273d5c715029f8daba790f99ef678476d66ba13b1b7f4aa1 SHA512 c0b382634942fa9f282667d6573f63b505412ac2049096d84bc078b3956860c806f19044447e42991ce78de114afee22c1002fb956ea0383cb27800f2a940cd1 -DIST sympy-1.14.0rc1.gh.tar.gz 7910059 BLAKE2B aee2c8c737497204be6ebceacfb516c49a027bb715975c636b76b959e4fab13a5bd2d59e516c56f9722633e3234af573a988f17bfab484bbd26f0d30ee5a8c69 SHA512 567c713eeb8cddbf8238afd46a5aba1931427e7a9834a779007c91018ae2d108ebc3f8cfba185a757109c46c2817a29d0dc04d7d419b1b619bcba52b899e3e3e -DIST sympy-1.14.0rc2.gh.tar.gz 7911399 BLAKE2B 9fde6c94963fd386eeb4eb1336c158ed505a3c30025ee5eda2634196b53f81041eeb5cca51dd776117679d0713cbf50ebb18e63b9628f514c57a0043a8f3bb80 SHA512 ed1529e00d3cb193c4b647eba3571e06c84591c301cdc1067604b24fe398607226ad6b1c0c39f85a402994302c7a89fd0af1b458456a02dfb6c4db7b2882a323 diff --git a/dev-python/sympy/sympy-1.14.0_rc1.ebuild b/dev-python/sympy/sympy-1.14.0_rc1.ebuild deleted file mode 100644 index 0a736156d823..000000000000 --- a/dev-python/sympy/sympy-1.14.0_rc1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Computer Algebra System in pure Python" -HOMEPAGE=" - https://www.sympy.org/ - https://github.com/sympy/sympy/ - https://pypi.org/project/sympy/ -" -# pypi sdist misses some files, notably top-level conftest.py, as of 1.12.1_rc1 -SRC_URI=" - https://github.com/sympy/sympy/archive/${PV/_/}.tar.gz - -> ${P/_/}.gh.tar.gz -" -S=${WORKDIR}/${P/_/} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="imaging ipython latex mathml pdf png pyglet symengine texmacs" - -RDEPEND=" - >=dev-python/mpmath-1.1.0[${PYTHON_USEDEP}] - imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) - ipython? ( - dev-python/ipython[${PYTHON_USEDEP}] - ) - latex? ( - virtual/latex-base - dev-texlive/texlive-fontsextra - png? ( app-text/dvipng ) - pdf? ( app-text/ghostscript-gpl ) - ) - mathml? ( dev-python/lxml[${PYTHON_USEDEP}] ) - pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) - symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) - texmacs? ( app-office/texmacs ) -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # require old version of antlr4, also deprecated - # https://github.com/sympy/sympy/issues/27026 - sympy/parsing/tests/test_autolev.py - sympy/parsing/tests/test_latex.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest --veryquickcheck || - die -n "Tests failed with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( AUTHORS README.md ) - - distutils-r1_python_install_all - - if use texmacs; then - exeinto /usr/libexec/TeXmacs/bin/ - doexe data/TeXmacs/bin/tm_sympy - insinto /usr/share/TeXmacs/plugins/sympy/ - doins -r data/TeXmacs/progs - fi -} diff --git a/dev-python/sympy/sympy-1.14.0_rc2.ebuild b/dev-python/sympy/sympy-1.14.0_rc2.ebuild deleted file mode 100644 index 0a736156d823..000000000000 --- a/dev-python/sympy/sympy-1.14.0_rc2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Computer Algebra System in pure Python" -HOMEPAGE=" - https://www.sympy.org/ - https://github.com/sympy/sympy/ - https://pypi.org/project/sympy/ -" -# pypi sdist misses some files, notably top-level conftest.py, as of 1.12.1_rc1 -SRC_URI=" - https://github.com/sympy/sympy/archive/${PV/_/}.tar.gz - -> ${P/_/}.gh.tar.gz -" -S=${WORKDIR}/${P/_/} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="imaging ipython latex mathml pdf png pyglet symengine texmacs" - -RDEPEND=" - >=dev-python/mpmath-1.1.0[${PYTHON_USEDEP}] - imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) - ipython? ( - dev-python/ipython[${PYTHON_USEDEP}] - ) - latex? ( - virtual/latex-base - dev-texlive/texlive-fontsextra - png? ( app-text/dvipng ) - pdf? ( app-text/ghostscript-gpl ) - ) - mathml? ( dev-python/lxml[${PYTHON_USEDEP}] ) - pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) - symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) - texmacs? ( app-office/texmacs ) -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # require old version of antlr4, also deprecated - # https://github.com/sympy/sympy/issues/27026 - sympy/parsing/tests/test_autolev.py - sympy/parsing/tests/test_latex.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest --veryquickcheck || - die -n "Tests failed with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( AUTHORS README.md ) - - distutils-r1_python_install_all - - if use texmacs; then - exeinto /usr/libexec/TeXmacs/bin/ - doexe data/TeXmacs/bin/tm_sympy - insinto /usr/share/TeXmacs/plugins/sympy/ - doins -r data/TeXmacs/progs - fi -} diff --git a/dev-python/vpython/Manifest b/dev-python/vpython/Manifest index 31bbeaa0eb44..7848c8d1bad9 100644 --- a/dev-python/vpython/Manifest +++ b/dev-python/vpython/Manifest @@ -1,2 +1 @@ -DIST vpython-7.6.4.tar.gz 4504204 BLAKE2B 941eff8f9e5ca636001785b21e914194a4a84b910b8e329a45e2c0f0857c46c7658f9d0db128b524a0b760aa04d523617b473e73438d88ffb13e6ffdcc4419fe SHA512 997a6e351e0ae86938e557029a4888a508cdd7ae6aaa25dc578a772a5bbee857edc7c4414d48a9a6a48eff1e0ba435cfd24b98c47a6286cf0bb43e48db2b57c9 DIST vpython-7.6.5.tar.gz 4533807 BLAKE2B c9eb7c243aba1e9147f7ec6529ba217ffa4acd2956c84bdb1da11e361653ced4f937545343d2daac01cd1063124f9e4ca55d9abff66c42c64d3f512e0f5e83ac SHA512 75836d113eaaf38f576ed148e33c955751da30198a40e4afeee3405209a94d70ca80166609782f079158ce430125394986750248206805bc28841820c0d868d6 diff --git a/dev-python/vpython/vpython-7.6.4-r1.ebuild b/dev-python/vpython/vpython-7.6.4-r1.ebuild deleted file mode 100644 index da1eca192e0a..000000000000 --- a/dev-python/vpython/vpython-7.6.4-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 pypi - -DESCRIPTION="VPython for Jupyter notebook" -HOMEPAGE="https://www.vpython.org/ https://pypi.org/project/vpython/" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/autobahn-18.8.2[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/jupyter[${PYTHON_USEDEP}] - dev-python/jupyter-server-proxy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -RESTRICT="test" - -distutils_enable_tests pytest diff --git a/dev-python/vpython/vpython-7.6.5.ebuild b/dev-python/vpython/vpython-7.6.5.ebuild deleted file mode 100644 index 45480fa84004..000000000000 --- a/dev-python/vpython/vpython-7.6.5.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 pypi - -DESCRIPTION="VPython for Jupyter notebook" -HOMEPAGE="https://www.vpython.org/ https://pypi.org/project/vpython/" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/autobahn-18.8.2[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/jupyter[${PYTHON_USEDEP}] - dev-python/jupyter-server-proxy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest |
