From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- dev-python/pyx/Manifest | 6 +-- dev-python/pyx/metadata.xml | 4 ++ dev-python/pyx/pyx-0.15.ebuild | 88 -------------------------------------- dev-python/pyx/pyx-0.15_p1.ebuild | 90 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 97 insertions(+), 91 deletions(-) delete mode 100644 dev-python/pyx/pyx-0.15.ebuild create mode 100644 dev-python/pyx/pyx-0.15_p1.ebuild (limited to 'dev-python/pyx') diff --git a/dev-python/pyx/Manifest b/dev-python/pyx/Manifest index 68d379abb3a5..83a858368a88 100644 --- a/dev-python/pyx/Manifest +++ b/dev-python/pyx/Manifest @@ -1,5 +1,5 @@ AUX pyx-0.14.1-unicode-latex.patch 600 BLAKE2B d7e2b4804731372b8b149b8e50ed6163297e60548c479aad8d796df4630f87e3df7e28379c6e88158e135f1b2e1eddcc712828efdd3fdcae501681bdf5e602f0 SHA512 f2a6af35aeddcd10d936a9ced93f708606bccb9f249bb45c6cf86111744f7efad9c08e9ce9e41d63b04345069e973e2ae69df5a2b004535bb0fac09dbee3dc90 DIST W3C_SVG_11_TestSuite.tar.gz 14651624 BLAKE2B 680059d8b20775725cebb3aed4444acbc3222fde880ba93ee5186c99fc12afa8df2c790bdacbcd6e5ff4ab00e697d8317a9a6ae3039b8b2f02cf7774a18ca533 SHA512 e28e3996284c3f3e423e2b6957cddea71980bcb781d4180894e08f37a7ecce9c6021917329d6d433dcba792cbabb15c7cd503076e616ba5189193a5c554374ca -DIST pyx-0.15.gh.tar.gz 875286 BLAKE2B 49d36e1c0df3ee47a895279d7f296194324cf1582bb7db0259bcd01c9b17c4d0903c25fef10c7a22635fac62dc6378ffbece200eac99f75bb3ce81d48a71a0d1 SHA512 a7debff01f8055455855f4cac5a08d00c22d20d7918bd7341d2af83844223ae8bb23bbbe92149403656e18ffb8861e8568dfdcb59cc01c55ec60e63b62a8825a -EBUILD pyx-0.15.ebuild 2101 BLAKE2B 96ae821b8ed0b2decdd83d8e161acfd1042eede9ae5b2a6942ce97d4429df932c41614afe454d7f4b12ce21201e5a49d2954e570c846345036b0680bbbf62cd2 SHA512 f83c165ad41c470659b3d60de980cb626d5dee57428e64602ee6c06c55716c4a00082a195b19161e8094023d27022c5a63b93ff34e298a484661a27775ba5532 -MISC metadata.xml 698 BLAKE2B 4932dd660d490e02e5129236ade8f54e6b62da7a785cde853a7d85b6b8686da100a3d1ea6f515fb87cdde040a2affbfb0a8034038c7e4b0a9b384576afc134b4 SHA512 002d4f9eec26d792ff59fe4772344c573dbd2615d9dd09ab3fb6109948a9ae33858db8bb6b2b79970bd5a19326f6bddc1e3969d656f684c7cddb7fb581c54ecd +DIST pyx-0.15_p1.tar.bz2 746171 BLAKE2B 5b2325c7bb279e4f6425f0ba7f3808b7e540c7455738c617efdf1ad9d383a466d1b67b90e20e0bdbfa7d2fc56f1c80a4ae2badc5ef78f63ec410370d516f4ab3 SHA512 97809a38029011735d2cdea8f7e8326890d748d4159f44379f89c396b7ea4d2a026ca3370bb069974b07215da91a47b9334d8dd1f7db954c2dd272122bde8ff0 +EBUILD pyx-0.15_p1.ebuild 2116 BLAKE2B 7ca45986128d0f817b8f14529fa702dbced71aafb92dc3e72123ebb6951dc5de8db55c53381a23984847da82ca949e2ca6e27b079dea53881bd871e9ecb8bbb1 SHA512 40d5e3d0a5199fa254eb90796b8debf4ec0818b52fbb741b68afd4c70ddfb797466ed982bfa1e7472e5bb4a1bb467eac81821482390b81d3fbd7e6666996682d +MISC metadata.xml 805 BLAKE2B f8d20858aeafdb2ccaee5dfc3875e1ca206b2e38c566b71db723754ccde1c00b9db1e8b1da758214692e2c87f152ae1df94ecef99fb8b4ff97444b6ae9551e79 SHA512 44f7bf6e5ec2e9314fdd7171971c7debd79349732ce6c3aeff6e4b6d05e253a83c52c19fd4a41ac6ae59189cc95946abf90154bdfa9ddb92faa587cb897e943f diff --git a/dev-python/pyx/metadata.xml b/dev-python/pyx/metadata.xml index 142b34083be4..59b5a28379eb 100644 --- a/dev-python/pyx/metadata.xml +++ b/dev-python/pyx/metadata.xml @@ -1,6 +1,10 @@ + + grozin@gentoo.org + Andrey Grozin + python@gentoo.org Python diff --git a/dev-python/pyx/pyx-0.15.ebuild b/dev-python/pyx/pyx-0.15.ebuild deleted file mode 100644 index c5277d7a5fda..000000000000 --- a/dev-python/pyx/pyx-0.15.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7..9} ) - -inherit distutils-r1 - -DESCRIPTION="Python package for the generation of encapsulated PostScript figures" -HOMEPAGE=" - https://github.com/pyx-project/pyx - https://pyx-project.org/ - https://pypi.org/project/PyX/" -SRC_URI="https://github.com/pyx-project/pyx/archive/${PV}.tar.gz -> ${P}.gh.tar.gz - test? ( https://www.w3.org/Graphics/SVG/Test/20110816/archives/W3C_SVG_11_TestSuite.tar.gz )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] - virtual/tex-base - dev-texlive/texlive-basic" - -BDEPEND="${RDEPEND} - doc? ( - virtual/latex-base - $(python_gen_any_dep ' - dev-python/sphinx[latex,${PYTHON_USEDEP}] - dev-python/sphinx_selective_exclude[${PYTHON_USEDEP}] - ') - ) - test? ( - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_selective_exclude[${PYTHON_USEDEP}] - dev-python/testfixtures[${PYTHON_USEDEP}] - )" - -PATCHES=( "${FILESDIR}"/pyx-0.14.1-unicode-latex.patch ) - -python_check_deps() { - use doc || return 0 - has_version "dev-python/sphinx[latex,${PYTHON_USEDEP}]" && - has_version "dev-python/sphinx_selective_exclude[${PYTHON_USEDEP}]" -} - -src_unpack() { - unpack "${P}.gh.tar.gz" - - if use test; then - mkdir "${S}"/test/svg/suite || die - cd "${S}"/test/svg/suite || die - unpack W3C_SVG_11_TestSuite.tar.gz - fi -} - -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" - # stop test suite from downloading files - sed -i \ - -e '/suite:/,$d' test/svg/Makefile || die - 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_test() { - emake -C test -} - -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/pyx/pyx-0.15_p1.ebuild b/dev-python/pyx/pyx-0.15_p1.ebuild new file mode 100644 index 000000000000..d2a3f69e6665 --- /dev/null +++ b/dev-python/pyx/pyx-0.15_p1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2022 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_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Python package for the generation of encapsulated PostScript figures" +HOMEPAGE=" + https://github.com/pyx-project/pyx + https://pyx-project.org/ + https://pypi.org/project/PyX/" +# git 0f28343 +SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.bz2 + test? ( https://www.w3.org/Graphics/SVG/Test/20110816/archives/W3C_SVG_11_TestSuite.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +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}] + ') + ) + test? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_selective_exclude[${PYTHON_USEDEP}] + dev-python/testfixtures[${PYTHON_USEDEP}] + )" + +PATCHES=( "${FILESDIR}"/pyx-0.14.1-unicode-latex.patch ) + +python_check_deps() { + use doc || return 0 + has_version "dev-python/sphinx[latex,${PYTHON_USEDEP}]" && + has_version "dev-python/sphinx_selective_exclude[${PYTHON_USEDEP}]" +} + +src_unpack() { + unpack "${P}.tar.bz2" + + if use test; then + mkdir "${S}"/test/svg/suite || die + cd "${S}"/test/svg/suite || die + unpack W3C_SVG_11_TestSuite.tar.gz + fi +} + +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" + # stop test suite from downloading files + sed -i \ + -e '/suite:/,$d' test/svg/Makefile || die + 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_test() { + emake -C test +} + +python_install_all() { + use doc && dodoc manual/_build/latex/manual.pdf faq/_build/latex/pyxfaq.pdf + distutils-r1_python_install_all +} -- cgit v1.2.3