[arch-commits] Commit in (4 files)

Kpcyrd kpcyrd at archlinux.org
Mon Dec 9 03:03:45 UTC 2019


    Date: Monday, December 9, 2019 @ 03:03:45
  Author: kpcyrd
Revision: 536382

addpkg: python-mt-940 4.19.0-2

Added:
  python-mt-940/
  python-mt-940/repos/
  python-mt-940/trunk/
  python-mt-940/trunk/PKGBUILD

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

Added: python-mt-940/trunk/PKGBUILD
===================================================================
--- python-mt-940/trunk/PKGBUILD	                        (rev 0)
+++ python-mt-940/trunk/PKGBUILD	2019-12-09 03:03:45 UTC (rev 536382)
@@ -0,0 +1,29 @@
+# Maintainer: kpcyrd <git at rxv.cc>
+
+_pyname="mt940"
+pkgname="python-mt-940"
+pkgver="4.19.0"
+pkgrel=2
+pkgdesc="A library to parse MT940 files and returns smart Python collections for statistics and manipulation"
+arch=(any)
+url="https://github.com/WoLpH/mt940"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/WoLpH/mt940/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('6632bdf89b8acd44dab8861b88ec7b1976ca6a718acec28946385b7cc99147e7937d09e099c35383d1741c2fb05e2796e573327dbf06bd4b266da35a0cc00298')
+b2sums=('647f6e9f4469da8a52bfea1ecb7491e4972ffb6c4612a9f259a2bb717707b04e66f4096fbebe7d165d2eb60279ee3493078bd6499a3d07dbd05c1ddb7e0a0d3f')
+
+build() {
+  cd "${_pyname}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${_pyname}-${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