Date: Thursday, May 21, 2020 @ 06:54:12
  Author: felixonmars
Revision: 631049

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-05-21 06:54:03 UTC (rev 631048)
+++ PKGBUILD    2020-05-21 06:54:12 UTC (rev 631049)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-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
-}

Copied: python-xmlsec/repos/community-x86_64/PKGBUILD (from rev 631048, 
python-xmlsec/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-05-21 06:54:12 UTC (rev 631049)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-xmlsec
+pkgver=1.3.7
+pkgrel=1
+pkgdesc="Python bindings for the XML Security Library"
+url="https://github.com/mehcode/python-xmlsec";
+license=('MIT')
+arch=('x86_64')
+depends=('python-lxml' 'xmlsec')
+makedepends=('python-pip' 'python-pkgconfig' 'python-setuptools-scm')
+checkdepends=('python-hypothesis' 'python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mehcode/python-xmlsec/archive/$pkgver.tar.gz";)
+sha512sums=('87949b445ac962e68467c9466275cb72cb17cedd7736046997e1b2f70d80c6159f5740577b7762f9f4518a1bb9c0e1553061010118d6eb688c276335532fa6d5')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd python-xmlsec-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-xmlsec-$pkgver
+  # https://github.com/mehcode/python-xmlsec/issues/84
+  python setup.py pytest || :
+}
+
+package() {
+  cd python-xmlsec-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to