summaryrefslogtreecommitdiff
path: root/pcr/python-monotonic/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-08-08 17:27:12 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-08-08 17:27:12 -0500
commit419dd3f6b68258a953a9e8aa6f023998b2672524 (patch)
treeb1ef897754430c0f5fda7784f3274928b757a326 /pcr/python-monotonic/PKGBUILD
parent7ffa319d6dc4c6de1d22ff8d96da7a81faa8723c (diff)
python-monotonic: add new package to [pcr]
Diffstat (limited to 'pcr/python-monotonic/PKGBUILD')
-rw-r--r--pcr/python-monotonic/PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/python-monotonic/PKGBUILD b/pcr/python-monotonic/PKGBUILD
new file mode 100644
index 000000000..1dd0ab98b
--- /dev/null
+++ b/pcr/python-monotonic/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer (Arch): Kevin Houdebert <kevin@qwazerty.eu>
+# Contributor (Arch): Erhan SAHIN <erhan@ssahin.net>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname=python-monotonic
+pkgver=0.3
+pkgrel=1
+pkgdesc="An implementation of time.monotonic() for Python 2 & < 3.3"
+url="https://pypi.python.org/pypi/monotonic"
+license=('Apache')
+arch=('i686' 'x86_64')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.python.org/packages/source/m/monotonic/monotonic-$pkgver.tar.gz")
+md5sums=('4d055924b13474f5ac65385b937124fe')
+
+package() {
+ cd $srcdir/monotonic-$pkgver
+ python setup.py install --root=$pkgdir --optimize=1
+}