summaryrefslogtreecommitdiff
path: root/pcr/python2-stdnum
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-07-09 22:01:40 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-07-09 22:01:40 -0500
commitfc2abfcac970bf3e01bf4f4bd34d4ccb11611ec6 (patch)
treee3b4ce4f39389dd37b1cfb0180ba6c19d4fbdbfb /pcr/python2-stdnum
parent6688cc79567d7a4c802a5b10394e28a6cc1a3ba3 (diff)
python2-stdnum-1.1-1: updating version
Diffstat (limited to 'pcr/python2-stdnum')
-rw-r--r--pcr/python2-stdnum/PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/pcr/python2-stdnum/PKGBUILD b/pcr/python2-stdnum/PKGBUILD
new file mode 100644
index 000000000..c8453316e
--- /dev/null
+++ b/pcr/python2-stdnum/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer (Arch): Alex Merry <dev@randomguy3.me.uk>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname=python2-stdnum
+pkgver=1.1
+pkgrel=1
+pkgdesc='Aims to provide functions to handle, parse and validate standard numbers, e.g. IBAN, EAN, ISBN'
+arch=(any)
+url="http://arthurdejong.org/python-stdnum/"
+license=('LGPL2.1')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("http://arthurdejong.org/python-stdnum/python-stdnum-${pkgver}.tar.gz")
+md5sums=('c799e21f1adc8b0d17715baa871fd598')
+
+package() {
+ cd "$srcdir/python-stdnum-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}