Date: Wednesday, December 8, 2021 @ 05:53:55 Author: felixonmars Revision: 1065622
archrelease: copy trunk to community-staging-any Added: python-xmlschema/repos/community-staging-any/PKGBUILD (from rev 1065621, python-xmlschema/trunk/PKGBUILD) Deleted: python-xmlschema/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-08 05:53:45 UTC (rev 1065621) +++ PKGBUILD 2021-12-08 05:53:55 UTC (rev 1065622) @@ -1,35 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-xmlschema -pkgver=1.2.5 -pkgrel=2 -pkgdesc="An XML Schema validator and decoder" -url="https://github.com/sissaschool/xmlschema" -license=('MIT') -arch=('any') -depends=('python-elementpath') -makedepends=('python-pip') -checkdepends=('python-lxml') -source=("$pkgname-$pkgver.tar.gz::https://github.com/sissaschool/xmlschema/archive/v$pkgver.tar.gz") -sha512sums=('086c0b1544b492807edd2b1ea0ac791d55d118834846efd57fbbfb6b7d5244529150ffa3c1074de85a7c030c6b33721f41743e9a1cd672e24e92ce0a3dfd662d') - -prepare() { - sed -i 's/~=/>=/' xmlschema-$pkgver/setup.py -} - -build() { - cd xmlschema-$pkgver - python setup.py build -} - -check() { - cd xmlschema-$pkgver - PYTHONPATH="$PWD/build/lib" python -m unittest -} - -package() { - cd xmlschema-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ -} Copied: python-xmlschema/repos/community-staging-any/PKGBUILD (from rev 1065621, python-xmlschema/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-08 05:53:55 UTC (rev 1065622) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-xmlschema +pkgver=1.9.0 +pkgrel=1 +pkgdesc="An XML Schema validator and decoder" +url="https://github.com/sissaschool/xmlschema" +license=('MIT') +arch=('any') +depends=('python-elementpath') +makedepends=('python-pip') +checkdepends=('python-lxml') +source=("$pkgname-$pkgver.tar.gz::https://github.com/sissaschool/xmlschema/archive/v$pkgver.tar.gz") +sha512sums=('dc0ca98969e4ff480f5e89560174cea098f578ce8d2d09cac10af4c112380661d195ae2b36cc246a3bb813a130660e3e83ab3d17da193ea5665ee6e6d944d0d0') + +prepare() { + sed -i 's/~=/>=/' xmlschema-$pkgver/setup.py +} + +build() { + cd xmlschema-$pkgver + python setup.py build +} + +check() { + cd xmlschema-$pkgver + PYTHONPATH="$PWD/build/lib" python -m unittest +} + +package() { + cd xmlschema-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +}