blob: 6444f390a5e0726aad0d3146724ce64c71a0381e (
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-hdmedians
_module='hdmedians'
pkgver=0.14.1
pkgrel=1
pkgdesc="High-dimensional medians"
url="http://github.com/daleroberts/hdmedians"
depends=('python')
makedepends=('python-setuptools')
license=('GPL3')
arch=(x86_64)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/daleroberts/hdmedians/archive/v${pkgver}.tar.gz")
md5sums=('6dcf388f56a144f7e7bb5aac8c4d888e')
build() {
cd ${_module}-${pkgver}
python setup.py build
}
check() {
cd ${_module}-${pkgver}
python setup.py test || :
}
package() {
cd ${_module}-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|