[arch-commits] Commit in python2-monotonic/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Tue Apr 26 08:51:51 UTC 2016


    Date: Tuesday, April 26, 2016 @ 10:51:51
  Author: fyan
Revision: 171877

upgpkg: python2-monotonic 1.1-1

Modified:
  python2-monotonic/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-26 08:34:11 UTC (rev 171876)
+++ PKGBUILD	2016-04-26 08:51:51 UTC (rev 171877)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python2-monotonic
-pkgver=1.0
+pkgver=1.1
 pkgrel=1
 pkgdesc="An implementation of time.monotonic() for Python 2 & < 3.3"
 arch=('any')
@@ -9,13 +9,13 @@
 url='http://pypi.python.org/pypi/monotonic'
 license=('Apache')
 depends=('python2')
-makedepends=('python2-setuptools')
-source=("https://pypi.python.org/packages/source/m/monotonic/monotonic-${pkgver}.tar.gz")
-sha256sums=('47d7d045b3f2a08bffe683d761ef7f9131a2598db1cec7532a06720656cf719d')
+makedepends=('python2-setuptools' 'git')
+source=("git+https://github.com/atdt/monotonic#tag=$pkgver")
+sha256sums=('SKIP')
 
 package() {
-  cd monotonic-${pkgver}
-  python2 setup.py install --root="${pkgdir}" --optimize=1
+  cd monotonic
+  python2 setup.py install --root="$pkgdir" --optimize=1
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list