summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4bc5f927213a0dc76e536e318d7ca5be8fb644d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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')
depends=('python-logging-helper')
source=("https://pypi.io/packages/source/t/timingsutil/timingsutil-${pkgver}.tar.gz")
sha256sums=('6978c73bfeb81cedd2eab4be1600aab8f8b7f323597552523c2dfadd29f28367')

prepare() {
  cd "${srcdir}"/timingsutil-$pkgver
}

build() {
  cd "${srcdir}"/timingsutil-$pkgver
  python setup.py build
}

package() {
  cd "${srcdir}/timingsutil-$pkgver"
  python setup.py install --root=${pkgdir} --optimize=1
}