Сравнение dblatex-0.3.11-r1 с dblatex-0.3.12-r1

/usr/portage/app-text/dblatex/dblatex-0.3.12-r1.ebuild 2023-10-09 14:52:28.872368335 +0300
3 3

  
4 4
EAPI="7"
5 5

  
6
PYTHON_COMPAT=( python3_{9,10} )
6
# Breaks installation of /usr/bin/dblatex, bug #906788
7
#DISTUTILS_USE_PEP517=setuptools
8
PYTHON_COMPAT=( python3_{9..11} )
7 9

  
8 10
inherit distutils-r1
9 11

  
10 12
DESCRIPTION="Transform DocBook using TeX macros"
11 13
HOMEPAGE="http://dblatex.sourceforge.net/"
12
SRC_URI="https://downloads.sourceforge.net/project/dblatex/dblatex/${P}/${P}py3.tar.bz2"
14
SRC_URI="https://downloads.sourceforge.net/project/dblatex/dblatex/${P}/${PN}3-${PV}.tar.bz2"
13 15

  
14 16
LICENSE="GPL-2+"
15 17
SLOT="0"
16
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
17
IUSE="inkscape"
18
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
19
IUSE="inkscape test"
20
RESTRICT="!test? ( test )"
18 21

  
19 22
RDEPEND="
20 23
	app-text/docbook-xml-dtd:4.5
......
34 37
	inkscape? ( media-gfx/inkscape )
35 38
"
36 39
DEPEND="${RDEPEND}"
40
BDEPEND="${RDEPEND}
41
	test? ( ~${CATEGORY}/${P} )"
37 42

  
38
S="${WORKDIR}/${P}py3"
43
S="${WORKDIR}/${PN}3-${PV}"
39 44

  
40 45
PATCHES=(
41
	 "${FILESDIR}/${P}-path-logging.patch"
42
	 "${FILESDIR}/${P}-setup.patch"
43
	 "${FILESDIR}/${P}-encode.patch"
46
	 "${FILESDIR}/${PN}-0.3.11-path-logging.patch"
47
	 "${FILESDIR}/${PN}-0.3.11-setup.patch"
48
	 "${FILESDIR}/${PN}-0.3.11-encode.patch"
44 49
)
45 50

  
46 51
python_prepare_all() {
47 52
	# Manual page is precomressed, but we will use our own compression later.
48 53
	gunzip docs/manpage/dblatex.1.gz || die
49 54
	# If we dont have inkscape we need to use an alternative SVG converter
50
	use inkscape || eapply "${FILESDIR}/${P}-no-inkscape-dependency.patch"
55
	use inkscape || eapply "${FILESDIR}/${PN}-0.3.11-no-inkscape-dependency.patch"
51 56
	# If we use inscape however we want to make dblatex compatible with v1.0
52
	use inkscape && eapply "${FILESDIR}/${P}-inkscape-1.0.patch"
53
	# We need to fix version information in the docs and some metadata
54
	grep -l -I -R "0.3.11py3" | xargs -n1 sed -i -e "s/${PV}py3/${PV}/" || die
57
	use inkscape && eapply "${FILESDIR}/${PN}-0.3.11-inkscape-1.0.patch"
55 58
	distutils-r1_python_prepare_all
56 59
}
57 60

  
......
60 63
	# Move package documentation to a folder name containing version number
61 64
	mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
62 65
}
66

  
67
python_test_all() {
68
	emake -C tests/mathml
69
}
Спасибо!