python-xmldiff: update to 2.2.

closes #3921

Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>
This commit is contained in:
prspkt 2018-10-18 23:28:44 +03:00 committed by maxice8
parent 6417310d00
commit d268946b5c
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
1 changed files with 8 additions and 7 deletions

View File

@ -1,22 +1,22 @@
# Template file for 'xmldiff'
# Template file for 'python-xmldiff'
pkgname=python-xmldiff
version=1.1.1
version=2.2
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"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-lxml python-six python-setuptools"
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
checksum=aad7b8b00a49eeef7cd69757b2c548b88d4d7c584b95ac4ea9c0f08e167bc5a0
replaces="xmldiff>=0"
alternatives="xmldiff:xmldiff:/usr/bin/xmldiff2"
xmldiff_package() {
noarch=yes
@ -28,8 +28,9 @@ xmldiff_package() {
python3-xmldiff_package() {
noarch=yes
pycompile_module="xmldiff"
depends="python3-future python3-lxml python3-six"
depends="python3-lxml python3-six python3-setuptools"
short_desc="${short_desc/Python2/Python3}"
alternatives="xmldiff:xmldiff:/usr/bin/xmldiff3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*