[arch-commits] Commit in python-xmlsec/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 07:27:53 UTC 2019


    Date: Monday, November 4, 2019 @ 07:27:52
  Author: felixonmars
Revision: 523502

archrelease: copy trunk to community-staging-x86_64

Added:
  python-xmlsec/repos/community-staging-x86_64/
  python-xmlsec/repos/community-staging-x86_64/PKGBUILD
    (from rev 523501, python-xmlsec/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-xmlsec/repos/community-staging-x86_64/PKGBUILD (from rev 523501, python-xmlsec/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-11-04 07:27:52 UTC (rev 523502)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-xmlsec
+pkgver=1.3.6
+pkgrel=2
+pkgdesc="Python bindings for the XML Security Library"
+url="https://github.com/mehcode/python-xmlsec"
+license=('MIT')
+arch=('x86_64')
+depends=('python-pkgconfig' 'python-lxml' 'xmlsec')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mehcode/python-xmlsec/archive/$pkgver.tar.gz")
+sha512sums=('ccfbe4c8266a5340f67331eac35174ae2cc175ce32ea8482c8b9757275466f058a5977ce62f39bce3c3abeda28988455c93302362c7f219d7b88b44ef245e972')
+
+build() {
+  cd python-xmlsec-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-xmlsec-$pkgver
+  python setup.py pytest || warning "https://github.com/mehcode/python-xmlsec/issues/84"
+}
+
+package() {
+  cd python-xmlsec-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list