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

Jelle van der Waa jelle at archlinux.org
Sun Mar 14 20:11:23 UTC 2021


    Date: Sunday, March 14, 2021 @ 20:11:22
  Author: jelle
Revision: 891294

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-14 20:11:17 UTC (rev 891293)
+++ PKGBUILD	2021-03-14 20:11:22 UTC (rev 891294)
@@ -1,29 +0,0 @@
-# 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=6
-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
-}

Copied: python-monotonic/repos/community-any/PKGBUILD (from rev 891293, python-monotonic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-14 20:11:22 UTC (rev 891294)
@@ -0,0 +1,21 @@
+# 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
+pkgver=1.5
+pkgrel=7
+pkgdesc="An implementation of time.monotonic() for Python"
+url="https://pypi.python.org/pypi/monotonic"
+license=('Apache')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$_pkgname-$pkgver.tar.gz::https://github.com/atdt/monotonic/archive/$pkgver.tar.gz")
+sha512sums=('acee69916a82059a027e7bcc03c58deb5ce773a1aff45938699cf09c3ab49b7827c2c01b431593ed76ae49009728c3d52923267eccfc7e15390f8730351a39e2')
+
+package() {
+  cd "$srcdir/$_pkgname-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list