blob: 88546051d74187f9f45452ac8611928a5de399b6 (
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
|
# Maintainer: Jurica Bradaric <jbradaric@gmail.com>
pkgname=python2-profilehooks
pkgver=1.11.0
pkgrel=1
pkgdesc="Decorators for profiling/timing/tracing individual functions"
arch=(any)
url="http://mg.pov.lt/profilehooks"
license=('custom:MIT')
depends=('python2')
makedepends=('python2' 'python2-setuptools')
source=("https://files.pythonhosted.org/packages/cf/71/3851700846f54fade72f1f8ec6744693632b388d38019eddfa767407b6c2/profilehooks-1.11.0.tar.gz"
"LICENSE")
sha256sums=('af2c9f526ec5ff52689c2776df89cf850be1ecfbd707c76339e4af2c6789e011'
'782297002c4e5baa591d289916113b39d8ae046e41855e6beb1266f26f9ec82a')
build() {
cd "${srcdir}/profilehooks-${pkgver}"
python2 setup.py build
}
package() {
cd "${srcdir}/profilehooks-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|