blob: 3eb077889d3b7783f02356e7492fc027a014f7e3 (
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
|
# Maintainer: Charles Vejnar <first name [dot] last name [at] gmail [dot] com>
pkgname=python-pyfaidx
pkgver=0.8.1.1
pkgrel=1
pkgdesc="Efficient pythonic random access to fasta subsequences."
arch=("any")
url="https://pypi.python.org/pypi/pyfaidx"
license=("MIT")
depends=('python')
makedepends=('python-build'
'python-installer'
'python-setuptools'
'python-setuptools-scm'
'python-wheel')
source=("$pkgname-$pkgver.tar.gz::https://github.com/mdshw5/pyfaidx/archive/v$pkgver.tar.gz")
sha1sums=('b7db39565588a9774241196412bbe0cc19738407')
build() {
cd "$srcdir/pyfaidx-$pkgver"
export SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/pyfaidx-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|