blob: 193d84e59c752efe17f523cd94a0a81dc52a623f (
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
30
31
32
33
34
35
36
|
# Maintainer: Bipin Kumar <kbipinkumar@pm.me>
pkgname=cutadapt
_name=cutadapt
pkgver=5.0
pkgrel=1
pkgdesc='Remove adapter sequences from high-throughput sequencing reads. doi:10.14806/ej.17.1.200'
arch=('x86_64')
url="https://github.com/marcelm/cutadapt"
license=('MIT')
depends=(
'python'
'python-xopen'
'python-dnaio'
)
makedepends=(
'cython'
'python-build'
'python-installer'
'python-wheel'
'python-setuptools'
'python-setuptools-scm'
)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('cd66872b6635c068cf223f72fb0cc93b2454088a3e807a550bb36f717d25ae29')
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 "$srcdir/$_name-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
}
|