mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
python-ngs: add version 3.0.5
This commit is contained in:
parent
5e971f59ea
commit
3d9875cabd
2 changed files with 48 additions and 0 deletions
33
BioArchLinux/python-ngs/PKGBUILD
Normal file
33
BioArchLinux/python-ngs/PKGBUILD
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Maintainer: Bipin Kumar <kbipinkumar@pm.me>
|
||||||
|
|
||||||
|
pkgname=python-ngs
|
||||||
|
_source=sra-tools
|
||||||
|
pkgver=3.0.5
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="python module for NCBI NGS Language Bindings"
|
||||||
|
url="https://github.com/ncbi/sra-tools"
|
||||||
|
depends=(
|
||||||
|
'python'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'python-setuptools'
|
||||||
|
'python-wheel'
|
||||||
|
'python-build'
|
||||||
|
'python-installer'
|
||||||
|
)
|
||||||
|
license=('custom: Public Domain')
|
||||||
|
arch=('any')
|
||||||
|
source=("$_source-$pkgver.tar.gz::https://github.com/ncbi/sra-tools/archive/refs/tags/$pkgver.tar.gz")
|
||||||
|
options=(!strip) # strip isn't useful for python files and takes forever
|
||||||
|
sha256sums=('6dca9889ca9cfa83e9ce1c39bf7ae5654576fc79c4f608e902272a49573a05e0')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${srcdir}/"$_source-$pkgver"/ngs/ngs-python
|
||||||
|
python -m build --wheel --no-isolation
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${srcdir}/"$_source-$pkgver"/ngs/ngs-python
|
||||||
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||||
|
install -Dm644 ../../LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
|
||||||
|
}
|
15
BioArchLinux/python-ngs/lilac.yaml
Normal file
15
BioArchLinux/python-ngs/lilac.yaml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: kbipinkumar
|
||||||
|
email: kbipinkumar@pm.me
|
||||||
|
pre_build_script: |
|
||||||
|
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||||
|
run_cmd(['updpkgsums'])
|
||||||
|
post_build_script: |
|
||||||
|
git_pkgbuild_commit()
|
||||||
|
update_aur_repo()
|
||||||
|
update_on:
|
||||||
|
- source: github
|
||||||
|
github: ncbi/sra-tools
|
||||||
|
use_max_tag: true
|
||||||
|
- alias: python
|
Loading…
Add table
Reference in a new issue