python-xmldiff: update to 1.1.1.

This commit is contained in:
prspkt 2018-08-20 02:33:47 +03:00 committed by maxice8
parent 2c8f001726
commit f77e1f08d5
4 changed files with 39 additions and 21 deletions

View File

@ -0,0 +1,37 @@
# Template file for 'xmldiff'
pkgname=python-xmldiff
version=1.1.1
revision=1
noarch=yes
wrksrc="xmldiff-${version}"
build_style=python-module
pycompile_module="xmldiff"
hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
depends="python-future python-lxml python-six"
short_desc="Python2 classes to diff XML files"
maintainer="prspkt <prspkt@protonmail.com>"
license="LGPL-3.0-or-later"
homepage="https://github.com/Shoobx/xmldiff"
changelog="https://raw.githubusercontent.com/Shoobx/xmldiff/master/CHANGES.rst"
distfiles="${PYPI_SITE}/x/xmldiff/xmldiff-${version}.tar.gz"
checksum=b8dc6c36a3499e752cf5b5d2704d961be37fcf2ea5be2e4187572e18f674d053
replaces="xmldiff>=0"
xmldiff_package() {
noarch=yes
build_style=meta
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
}
python3-xmldiff_package() {
noarch=yes
pycompile_module="xmldiff"
depends="python3-future python3-lxml python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
}
}

1
srcpkgs/python3-xmldiff Symbolic link
View File

@ -0,0 +1 @@
python-xmldiff

1
srcpkgs/xmldiff Symbolic link
View File

@ -0,0 +1 @@
python-xmldiff

View File

@ -1,21 +0,0 @@
# Template file for 'xmldiff'
pkgname=xmldiff
version=0.6.10
revision=6
build_style=python2-module
hostmakedepends="python-devel unzip"
makedepends="python-devel libxslt openjade"
depends="libxslt openjade"
pycompile_module="xmldiff"
short_desc="Python classes to diff XML files"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.logilab.org/project/xmldiff/"
license="GPL-2"
distfiles="${DEBIAN_SITE}/main/x/xmldiff/xmldiff_${version}.orig.tar.gz"
checksum=83aba252df2f760c8bf008b9c5d3080911eab2d2b39c371d3b47f67abf4b4ec5
post_install() {
for f in man/*.1; do
vman $f
done
}