mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
pyaxmlparser: upgrade, add examples and tests
fix licence add upstream in metadata remove fix for man, fixed in upstream
This commit is contained in:
parent
23d5c82b71
commit
08b1ac6ae9
3 changed files with 18 additions and 9 deletions
|
|
@ -1 +1 @@
|
||||||
DIST pyaxmlparser-0.3.26.tar.gz 94087 BLAKE2B fcacf2240752eda42a71d5a4ed2dc1109c47b8e95ca79d0422a299e5db10f9daebeceff6f58db242974832e3206b8d79cf3674710b826eb483562f4377438748 SHA512 e81262bdad7084161d7d0858ffd4cf3e5ac3ed78172d9e5f67ff36f105a6f1567013d5fb66c5ad704b3c2c330c1d3ef1a55d059161de3424c0555759f0e4c7b8
|
DIST pyaxmlparser-0.3.31.gh.tar.gz 284432 BLAKE2B 91a529d4fbc44ee9bec3ca9735e59625ff9c9d78c480ab527fac7d46211cce3267e27ce957191db5aa58c3619a152ee3060f56dc8ae7358f9d698eb6551f3c0b SHA512 db421ef8666785993261803dda917f47af10906b620b729e12fdcb6bfb41405f8e219373600ed4d8210a2618bdb05fd1788c958568bcf434a69be53bc87cb6cf
|
||||||
|
|
|
||||||
|
|
@ -5,4 +5,8 @@
|
||||||
<email>unknown@pentoo.ch</email>
|
<email>unknown@pentoo.ch</email>
|
||||||
<name>Author Unknown</name>
|
<name>Author Unknown</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">appknox/pyaxmlparser</remote-id>
|
||||||
|
<remote-id type="pypi">pyaxmlparser</remote-id>
|
||||||
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
@ -9,12 +9,12 @@ inherit distutils-r1
|
||||||
|
|
||||||
DESCRIPTION="Parser for Android XML file and get Application Name without using Androguard"
|
DESCRIPTION="Parser for Android XML file and get Application Name without using Androguard"
|
||||||
HOMEPAGE="https://github.com/appknox/pyaxmlparser"
|
HOMEPAGE="https://github.com/appknox/pyaxmlparser"
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
SRC_URI="https://github.com/appknox/pyaxmlparser/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||||
|
|
||||||
LICENSE="MIT"
|
LICENSE="Apache-2.0"
|
||||||
KEYWORDS="amd64 ~arm64 x86"
|
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE=""
|
KEYWORDS="amd64 ~arm64 x86"
|
||||||
|
IUSE="examples"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
dev-python/lxml[${PYTHON_USEDEP}]
|
dev-python/lxml[${PYTHON_USEDEP}]
|
||||||
|
|
@ -23,7 +23,12 @@ RDEPEND="
|
||||||
"
|
"
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
src_prepare() {
|
distutils_enable_tests pytest
|
||||||
sed -i 's#man/man1#share/man/man1#' setup.py
|
|
||||||
default
|
python_install_all() {
|
||||||
|
if use examples; then
|
||||||
|
dodoc -r examples
|
||||||
|
docompress -x /usr/share/doc/${PF}/examples
|
||||||
|
fi
|
||||||
|
distutils-r1_python_install_all
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue