summaryrefslogtreecommitdiff
path: root/dev-python/pyx
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-04-30 01:35:48 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-04-30 01:35:48 +0000
commit82a8209ffe658ed3edd730cebfa27cb917c20af3 (patch)
treefe7f72c79e4342302f78329f309a7b0639c969e7 /dev-python/pyx
parent33c7885bf8e042ef21deccb59d5e83ba9f2138f1 (diff)
downloadbaldeagleos-repo-82a8209ffe658ed3edd730cebfa27cb917c20af3.tar.gz
baldeagleos-repo-82a8209ffe658ed3edd730cebfa27cb917c20af3.tar.xz
baldeagleos-repo-82a8209ffe658ed3edd730cebfa27cb917c20af3.zip
Adding metadata
Diffstat (limited to 'dev-python/pyx')
-rw-r--r--dev-python/pyx/pyx-0.16-r1.ebuild68
1 files changed, 0 insertions, 68 deletions
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
-}