summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichel Zou2019-03-21 17:33:44 +0100
committerMichel Zou2019-03-21 17:33:44 +0100
commit61f99dcfa7e6b1c363a4d231f301601ffdcb9c69 (patch)
tree516e0b07e9c4647e5ef67f3a8a7376297f51918c /PKGBUILD
parent8f584f883d38dd110a9c515a669e74aa75d54fe5 (diff)
downloadaur-61f99dcfa7e6b1c363a4d231f301601ffdcb9c69.tar.gz
1.6.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 6 insertions, 19 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dafb2115e69..4bc5f927213 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,40 +1,27 @@
-pkgbase=python-timingsutil
-pkgname=('python-timingsutil' 'python2-timingsutil')
-pkgver=1.1.0
+pkgname=python-timingsutil
+pkgver=1.6.0
pkgrel=1
pkgdesc="A collection of timing utilities"
url="https://bitbucket.org/daycoder/timingsutil"
arch=(any)
license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
+makedepends=('python-setuptools')
+depends=('python-logging-helper')
source=("https://pypi.io/packages/source/t/timingsutil/timingsutil-${pkgver}.tar.gz")
-md5sums=('61be8f435dcafa84b452b9062c8626e0')
+sha256sums=('6978c73bfeb81cedd2eab4be1600aab8f8b7f323597552523c2dfadd29f28367')
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')
-
+package() {
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
-}