[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Sun Jul 22 05:53:25 UTC 2018


    Date: Sunday, July 22, 2018 @ 05:53:25
  Author: felixonmars
Revision: 362737

addpkg: python-xmlsec 1.3.3-1

Added:
  python-xmlsec/
  python-xmlsec/repos/
  python-xmlsec/trunk/
  python-xmlsec/trunk/PKGBUILD

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

Added: python-xmlsec/trunk/PKGBUILD
===================================================================
--- python-xmlsec/trunk/PKGBUILD	                        (rev 0)
+++ python-xmlsec/trunk/PKGBUILD	2018-07-22 05:53:25 UTC (rev 362737)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-xmlsec
+pkgver=1.3.3
+pkgrel=1
+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=('501c1a5e7e7d28f9838914bacc77765346dfa4a97ad1772a4d0c62882796da37c819d329c46fcf16c1f9d64c62e175368208e51d74f267bf5764b70f724ecea2')
+
+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
+}


Property changes on: python-xmlsec/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list