[arch-commits] Commit in python-monotonic/repos (community-any community-any/PKGBUILD)

Lukas Fleischer lfleischer at archlinux.org
Sat Jun 17 10:03:56 UTC 2017


    Date: Saturday, June 17, 2017 @ 10:03:49
  Author: lfleischer
Revision: 237865

archrelease: copy trunk to community-any

Added:
  python-monotonic/repos/community-any/
  python-monotonic/repos/community-any/PKGBUILD
    (from rev 237864, python-monotonic/trunk/PKGBUILD)

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

Copied: python-monotonic/repos/community-any/PKGBUILD (from rev 237864, python-monotonic/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2017-06-17 10:03:49 UTC (rev 237865)
@@ -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