diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 20:08:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 20:08:44 +0000 |
commit | 6554f04b9a44e1ffe5d2f614201c11deed2703bd (patch) | |
tree | 4a6f98988d23282385c916fa1c677b094d10461a /dev-python/pyx | |
parent | 7c9730bcb62df7cbf8248c5db9a478aac52c60ea (diff) |
gentoo auto-resync : 17:02:2023 - 20:08:44
Diffstat (limited to 'dev-python/pyx')
-rw-r--r-- | dev-python/pyx/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyx/pyx-0.16.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/dev-python/pyx/Manifest b/dev-python/pyx/Manifest index 33930fc891dc..6bd0072ae0f2 100644 --- a/dev-python/pyx/Manifest +++ b/dev-python/pyx/Manifest @@ -1,5 +1,7 @@ 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_p1.tar.bz2 746171 BLAKE2B 5b2325c7bb279e4f6425f0ba7f3808b7e540c7455738c617efdf1ad9d383a466d1b67b90e20e0bdbfa7d2fc56f1c80a4ae2badc5ef78f63ec410370d516f4ab3 SHA512 97809a38029011735d2cdea8f7e8326890d748d4159f44379f89c396b7ea4d2a026ca3370bb069974b07215da91a47b9334d8dd1f7db954c2dd272122bde8ff0 +DIST pyx-0.16.gh.tar.gz 626703 BLAKE2B fa1f1a54e958fa4c1c3efd1df4cf744a1d591ac17671a6da4b2d2f15ae5f2a6cb6260bd1c5f189c60b0683e4f54545f5d3c0ed0c7698f14fa390396c18bf4ebd SHA512 613212a7a7d983432aab574bdccd402132da2b1ae563cb672e2766dbcda3ce91977780ab5e4097de77e6499d36537b54089327e448cf4e7855889087c3b9a9f8 EBUILD pyx-0.15_p1.ebuild 2111 BLAKE2B ad91a845028c5766c2a605258c443f4339e0105af06d98c848fe3959bde7b4daef821f0369d980f819e58ae71becd3a8dc5274973ac43e042c0809f4c9b9b4d3 SHA512 4d857d8c0a0516c7f36750316c71a7b4fe592b8bb8519e0979d7fefa82884294f28845cf8a189897c41fe43be20b0f99903c3aa07aabab2a9f570450bb37630e +EBUILD pyx-0.16.ebuild 1623 BLAKE2B b247789b881c438cba10c37738133fc8cff573711ece2164eaac2e4f0398b82edd60cc739f41aede53ba43189000f44b991c68f1066513053416d7b5ba4a76b5 SHA512 69504a4fd0f16396336a4b50b3ad27f7d7534bb4a2c2a39c2671d0721055c43b0fbbb43682e7b627045e6c58067f81666437d50a03caab3caf01b1d5da3c64f6 MISC metadata.xml 805 BLAKE2B f8d20858aeafdb2ccaee5dfc3875e1ca206b2e38c566b71db723754ccde1c00b9db1e8b1da758214692e2c87f152ae1df94ecef99fb8b4ff97444b6ae9551e79 SHA512 44f7bf6e5ec2e9314fdd7171971c7debd79349732ce6c3aeff6e4b6d05e253a83c52c19fd4a41ac6ae59189cc95946abf90154bdfa9ddb92faa587cb897e943f diff --git a/dev-python/pyx/pyx-0.16.ebuild b/dev-python/pyx/pyx-0.16.ebuild new file mode 100644 index 000000000000..3f9d45e61825 --- /dev/null +++ b/dev-python/pyx/pyx-0.16.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 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..11} ) + +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 +} |