[arch-commits] Commit in python-monotonic/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 16:12:59 UTC 2019


    Date: Friday, October 25, 2019 @ 16:12:57
  Author: foutrelis
Revision: 519418

archrelease: copy trunk to community-staging-any

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

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

Copied: python-monotonic/repos/community-staging-any/PKGBUILD (from rev 519416, python-monotonic/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 16:12:57 UTC (rev 519418)
@@ -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.5
+pkgrel=3
+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=("$_pkgname-$pkgver.tar.gz::https://github.com/atdt/monotonic/archive/$pkgver.tar.gz")
+sha512sums=('acee69916a82059a027e7bcc03c58deb5ce773a1aff45938699cf09c3ab49b7827c2c01b431593ed76ae49009728c3d52923267eccfc7e15390f8730351a39e2')
+
+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