blob: dae5ebca7be44ca6856913d06fcf00a32dd595af (
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
28
29
|
# Maintainer: Xyne <xyne at archlinux dot org>
_name=cmapPy
_pkgname=python-${_name,,}
pkgname=$_pkgname-git
pkgver=3.3.0.r128.g69f51c0
pkgrel=2
pkgdesc='Tools for interacting with .gctx and .gct and other Connectivity Map resources.'
url='https://github.com/cmap/${_name}'
arch=('any')
license=('BSD')
depends=('python' 'python-numpy' 'python-pandas' 'python-h5py' 'python-requests')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=(${_name}::git+https://github.com/cmap/${_name})
sha512sums=('SKIP')
pkgver() {
cd "$_name"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package ()
{
cd "$_name"
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}
# vim: ts=2 sw=2 et:
|