summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2018-02-11 14:47:58 +0100
committerMichel Zou2018-02-11 14:47:58 +0100
commit8f584f883d38dd110a9c515a669e74aa75d54fe5 (patch)
tree940c11f6141aea29f58a0ace7037c38ee0e23114
downloadaur-8f584f883d38dd110a9c515a669e74aa75d54fe5.tar.gz
init
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD40
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..80d24cf8205
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Sun Feb 11 13:47:58 UTC 2018
+pkgbase = python-timingsutil
+ pkgdesc = A collection of timing utilities
+ pkgver = 1.1.0
+ pkgrel = 1
+ url = https://bitbucket.org/daycoder/timingsutil
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ makedepends = python2-setuptools
+ source = https://pypi.io/packages/source/t/timingsutil/timingsutil-1.1.0.tar.gz
+ md5sums = 61be8f435dcafa84b452b9062c8626e0
+
+pkgname = python-timingsutil
+ depends = python-logging-helper
+
+pkgname = python2-timingsutil
+ depends = python2-logging-helper
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dafb2115e69
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+pkgbase=python-timingsutil
+pkgname=('python-timingsutil' 'python2-timingsutil')
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="A collection of timing utilities"
+url="https://bitbucket.org/daycoder/timingsutil"
+arch=(any)
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.io/packages/source/t/timingsutil/timingsutil-${pkgver}.tar.gz")
+md5sums=('61be8f435dcafa84b452b9062c8626e0')
+
+prepare() {
+ cd "${srcdir}"/timingsutil-$pkgver
+}
+
+build() {
+ cp -r "${srcdir}"/timingsutil-$pkgver "${srcdir}"/timingsutil-$pkgver-py2
+
+ cd "${srcdir}"/timingsutil-$pkgver
+ python setup.py build
+
+ cd "${srcdir}"/timingsutil-$pkgver-py2
+ python2 setup.py build
+}
+
+package_python-timingsutil() {
+ depends=('python-logging-helper')
+
+ cd "${srcdir}/timingsutil-$pkgver"
+ python setup.py install --root=${pkgdir} --optimize=1
+}
+
+package_python2-timingsutil() {
+ depends=('python2-logging-helper')
+
+ cd "${srcdir}/timingsutil-$pkgver"
+ python2 setup.py install --root=${pkgdir} --optimize=1
+}
+