Date: Friday, April 7, 2023 @ 05:55:19
  Author: felixonmars
Revision: 1440687

archrelease: copy trunk to community-staging-any

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

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

Copied: python-sepaxml/repos/community-staging-any/PKGBUILD (from rev 1440685, 
python-sepaxml/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-07 05:55:19 UTC (rev 1440687)
@@ -0,0 +1,34 @@
+# Maintainer: kpcyrd <[email protected]>
+
+pkgname=python-sepaxml
+pkgver=2.6.0
+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=('6a04955a74405a73c07ef0bbb253451b242106517d57a69e9e362d4236567f50f469d1a4156cd31732a081d79cefe030b53821b2c9d3a15d6afb1bcd36419995')
+b2sums=('a0e530cfc5bff6ad364484bc4c78009fc857bb32c761bdbe0e41120cbe1e68c8b3af967900c13682a39d05630464521c57433e89745789e1a3965902fe7cc4f6')
+
+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:

Reply via email to