[arch-commits] Commit in (4 files)

Lukas Fleischer lfleischer at archlinux.org
Sat Jun 17 10:02:31 UTC 2017


    Date: Saturday, June 17, 2017 @ 10:02:29
  Author: lfleischer
Revision: 237864

Initial import of python-monotonic

Added:
  python-monotonic/
  python-monotonic/repos/
  python-monotonic/trunk/
  python-monotonic/trunk/PKGBUILD

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

Added: python-monotonic/trunk/PKGBUILD
===================================================================
--- python-monotonic/trunk/PKGBUILD	                        (rev 0)
+++ python-monotonic/trunk/PKGBUILD	2017-06-17 10:02:29 UTC (rev 237864)
@@ -0,0 +1,29 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Kevin Houdebert <kevin at qwazerty.eu>
+# Contributor: Erhan SAHIN <erhan at ssahin.net>
+
+_pkgname=monotonic
+pkgname=('python-monotonic' 'python2-monotonic')
+pkgver=1.3
+pkgrel=2
+pkgdesc="An implementation of time.monotonic() for Python 2."
+url="https://pypi.python.org/pypi/monotonic"
+license=('Apache')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://github.com/atdt/monotonic/archive/$pkgver.tar.gz")
+sha256sums=('47fcccc18ee9f3e80c74553eb9b74579fda8b93c504689427042109039f1e4d9')
+
+package_python-monotonic() {
+  depends=('python')
+
+  cd "$srcdir/$_pkgname-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-monotonic() {
+  depends=('python2')
+
+  cd "$srcdir/$_pkgname-$pkgver"
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list