diff options
author | Guillaume Horel | 2019-08-12 13:24:42 -0400 |
---|---|---|
committer | Guillaume Horel | 2019-08-12 13:24:42 -0400 |
commit | e3bfa76cc2e8b337c946f1fbe0d61dac1b5b9baa (patch) | |
tree | aaddd3302651d6c1345301692d7cdb8d658a0f40 | |
download | aur-e3bfa76cc2e8b337c946f1fbe0d61dac1b5b9baa.tar.gz |
initial import
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..58749fd3b920 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-xmldiff + pkgdesc = A libray and command line utility for diffing xml + pkgver = 2.3 + pkgrel = 1 + url = https://xmldiff.readthedocs.io + arch = any + license = BSD + makedepends = python-setuptools + depends = python + source = https://pypi.org/packages/source/x/xmldiff/xmldiff-2.3.tar.gz + sha256sums = 2727f62ab590c1fc834e86033988a76a86a67f5a78196584049b7a722bd94466 + +pkgname = python-xmldiff + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a4f437fd96da --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Guillaume Horel <guillaume.horel@gmail.com> +pkgname=('python-xmldiff') +_pkgname='xmldiff' +pkgver='2.3' +pkgrel=1 +pkgdesc="A libray and command line utility for diffing xml" +url="https://xmldiff.readthedocs.io" +checkdepends=() +depends=('python') +makedepends=('python-setuptools') +optdepends=() +license=('BSD') +arch=('any') +source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz") +sha256sums=('2727f62ab590c1fc834e86033988a76a86a67f5a78196584049b7a722bd94466') + +check() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py test +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 + install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" +} |