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

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:48:35 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:48:35
  Author: felixonmars
Revision: 1059335

archrelease: copy trunk to community-staging-any

Added:
  python-sepaxml/repos/community-staging-any/
  python-sepaxml/repos/community-staging-any/PKGBUILD
    (from rev 1059333, python-sepaxml/trunk/PKGBUILD)

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

Copied: python-sepaxml/repos/community-staging-any/PKGBUILD (from rev 1059333, python-sepaxml/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:48:35 UTC (rev 1059335)
@@ -0,0 +1,34 @@
+# Maintainer: kpcyrd <git at rxv.cc>
+
+pkgname=python-sepaxml
+pkgver=2.4.1
+pkgrel=2
+pkgdesc="SEPA Direct Debit XML generation in python"
+arch=(any)
+url="https://github.com/raphaelm/python-sepaxml"
+license=('MIT')
+depends=('python' 'python-lxml' 'python-text-unidecode' 'python-xmlschema')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/raphaelm/python-sepaxml/archive/${pkgver}.tar.gz)
+sha512sums=('cee507bced91a7b201f07d3c06f2be0a9470d79ca1a816fec09feb78ab6d39bf31cdc7f58d24d434c8bc121d874547b308651eb1f42dba751e918bf5c7a50cfe')
+b2sums=('8e9b868dc596af06b655db3478f2470eeec98100ed84a4150b20252fe7cd95dbd34e413d3debcb723e259109cef00a037aef3522d215d05a07991698f17134e7')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  PYTHONPATH=. pytest
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
+
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list