summaryrefslogtreecommitdiff
path: root/pcr-testing/python-flufl-lock
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2018-09-12 08:25:54 +0000
committerbill-auger <mr.j.spam.me@gmail.com>2018-09-30 04:27:49 -0400
commit60149d4be1633dd72cba35fcfc29bcf9f117e6fd (patch)
tree3b6c121600f41edbe42ccc971d130cf69197c7e7 /pcr-testing/python-flufl-lock
parent4e8a56f5ba2fb21332825f6f00cc84725a9268b2 (diff)
add 'mailman3'
Diffstat (limited to 'pcr-testing/python-flufl-lock')
-rw-r--r--pcr-testing/python-flufl-lock/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/pcr-testing/python-flufl-lock/PKGBUILD b/pcr-testing/python-flufl-lock/PKGBUILD
new file mode 100644
index 000000000..789fe6b3b
--- /dev/null
+++ b/pcr-testing/python-flufl-lock/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: bill-auger <bill-auger@programmer.net>
+# Maintainer (AUR): Simon Hanna <simon dot hanna AT serve-me DOT info>
+
+
+pkgname=('python-flufl-lock' 'python2-flufl-lock')
+pkgver=2.4.1
+pkgrel=1
+pkgdesc="NFS-safe file locking with timeouts for POSIX systems"
+arch=(any)
+url=https://launchpad.net/flufl.lock
+license=('LGPL')
+options=(!emptydirs)
+
+makedepends=('python-setuptools' 'python2-setuptools')
+
+_upstream_name='flufl.lock'
+_release=${_upstream_name}-${pkgver}
+source=(https://pypi.python.org/packages/source/${_upstream_name:0:1}/${_upstream_name}/${_release}.tar.gz)
+sha256sums=('72639aca3ef0379aef125c7346b042691c3452152843f301801b3c2ddcac1032')
+
+
+package_python-flufl-lock()
+{
+ depends=('python')
+
+ cd "${srcdir}/${_release}"
+
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-flufl-lock()
+{
+ depends=('python2')
+
+ cd "${srcdir}/${_release}"
+
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}