[arch-commits] Commit in python-fasteners/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Jul 8 13:51:25 UTC 2018
Date: Sunday, July 8, 2018 @ 13:51:25
Author: foutrelis
Revision: 354914
archrelease: copy trunk to community-staging-any
Added:
python-fasteners/repos/community-staging-any/
python-fasteners/repos/community-staging-any/PKGBUILD
(from rev 354913, python-fasteners/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-fasteners/repos/community-staging-any/PKGBUILD (from rev 354913, python-fasteners/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-07-08 13:51:25 UTC (rev 354914)
@@ -0,0 +1,32 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Tomislav Ivek <tomislav.ivek at gmail.com>
+
+pkgname=('python-fasteners' 'python2-fasteners')
+pkgver=0.14.1
+pkgrel=6
+pkgdesc="A python package that provides useful locks."
+arch=('any')
+url="https://github.com/harlowja/fasteners"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://github.com/harlowja/fasteners/archive/$pkgver.tar.gz")
+sha512sums=('954d692b7f43563ba1413854c8dec2f5ff98757346c55aaa5f39e9aa777fb746bf4f9506beab6cfa149d5646db4b3de58d35bcef95e3128096c3346c9fd8015c')
+
+build() {
+ cd "$srcdir/fasteners-$pkgver"
+ python setup.py build
+}
+
+package_python-fasteners() {
+ depends=('python-six' 'python-monotonic')
+
+ cd "$srcdir/fasteners-$pkgver"
+ python setup.py install --optimize=1 --root=${pkgdir}
+}
+
+package_python2-fasteners() {
+ depends=('python2-six' 'python2-monotonic')
+
+ cd "$srcdir/fasteners-$pkgver"
+ python2 setup.py install --optimize=1 --root=${pkgdir}
+}
More information about the arch-commits
mailing list