summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d084848ef0185d020214b9118c32a829638ed499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Tomasz Zok <tomasz dot zok at gmail dot com>
pkgname=python-eltetrado
_name=${pkgname#python-}
pkgver=1.5.20
pkgrel=1
pkgdesc="Find and classify tetrads and quadruplexes in DNA/RNA 3D structures"
arch=(any)
url=https://github.com/tzok/eltetrado
license=(MIT)
depends=(python 'python-mmcif>=0.81' 'python-numpy>=1.26.1' 'python-orjson>=3.9.10' 'python-rnapolis>=0.2.0')
makedepends=(python-setuptools)
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
sha256sums=('184881e16175beb3ffaacdb2a67b273cd3fab4117823ca8b0b3b5de65d6f6eca')

build() {
    cd "${_name}-${pkgver}"
    python setup.py build
}

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