mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
app-text/dblatex: Drop oldstable 0.3.11
Bug: https://bugs.gentoo.org/766183 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Transform DocBook using TeX macros"
|
||||
HOMEPAGE="http://dblatex.sourceforge.net/"
|
||||
SRC_URI="https://downloads.sourceforge.net/project/dblatex/dblatex/${P}/${P}py3.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
IUSE="inkscape"
|
||||
|
||||
RDEPEND="
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
dev-libs/kpathsea
|
||||
dev-libs/libxslt
|
||||
dev-libs/libxslt
|
||||
dev-texlive/texlive-fontutils
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-mathscience
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-xetex
|
||||
gnome-base/librsvg
|
||||
media-gfx/imagemagick
|
||||
media-gfx/transfig
|
||||
inkscape? ( media-gfx/inkscape )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}py3"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-path-logging.patch"
|
||||
"${FILESDIR}/${P}-setup.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# Manual page is precomressed, but we will use our own compression later.
|
||||
gunzip docs/manpage/dblatex.1.gz || die
|
||||
# If we dont have inkscape we need to use an alternative SVG converter
|
||||
use inkscape || eapply "${FILESDIR}/${P}-no-inkscape-dependency.patch"
|
||||
# We need to fix version information in the docs and some metadata
|
||||
grep -l -I -R "0.3.11py3" | xargs -n1 sed -i -e "s/${PV}py3/${PV}/" || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
# Move package documentation to a folder name containing version number
|
||||
mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
|
||||
}
|
||||
Reference in New Issue
Block a user