mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
python-*: Add python-biosequences, Fix python-biotite typo and Polish others (#151)
* biotite: fix typo error * python-plotnine: Polish PKGBUILD * python-biotite: Polish PKGBUILD * python-mizani: Polish PKGBUILD * python-biosequences: Add python-biosequences
This commit is contained in:
parent
313612a27f
commit
7474724052
6 changed files with 42 additions and 4 deletions
25
BioArchLinux/python-biosequences/PKGBUILD
Normal file
25
BioArchLinux/python-biosequences/PKGBUILD
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Maintainer: Kiri <kiri@vern.cc>
|
||||||
|
|
||||||
|
pkgname='python-biosequences'
|
||||||
|
_module=BioSequences
|
||||||
|
pkgver=1.1.5
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Tools to analysis biology sequence"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/Dragon-GCS/BioSequence"
|
||||||
|
license=('GPL')
|
||||||
|
depends=(python)
|
||||||
|
makedepends=(python-setuptools)
|
||||||
|
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module}-$pkgver.tar.gz")
|
||||||
|
sha256sums=('288283bb56860871648fda6c7557acd34ce95cb6f4bb362ab4bf60da916a21f2')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/${_module}-${pkgver}"
|
||||||
|
python setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/${_module}-${pkgver}"
|
||||||
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-biosequences/LICENSE"
|
||||||
|
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||||
|
}
|
13
BioArchLinux/python-biosequences/lilac.yaml
Normal file
13
BioArchLinux/python-biosequences/lilac.yaml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
maintainers:
|
||||||
|
- github: kiri2002
|
||||||
|
email: kiri@vern.cc
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
pre_build_script: |
|
||||||
|
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||||
|
run_cmd(['updpkgsums'])
|
||||||
|
post_build_script: |
|
||||||
|
git_pkgbuild_commit()
|
||||||
|
update_on:
|
||||||
|
- source: pypi
|
||||||
|
pypi: BioSequences
|
||||||
|
- alias: python
|
|
@ -18,7 +18,7 @@ makedepends=(python-build
|
||||||
python-wheel
|
python-wheel
|
||||||
python-oldest-supported-numpy
|
python-oldest-supported-numpy
|
||||||
cython)
|
cython)
|
||||||
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module/-/_}-$pkgver.tar.gz")
|
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module}-$pkgver.tar.gz")
|
||||||
sha256sums=('07442d02e1de16c3c350e2a808d43f67e0f2f61dd92e7281f000974dc63de09f')
|
sha256sums=('07442d02e1de16c3c350e2a808d43f67e0f2f61dd92e7281f000974dc63de09f')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -8,7 +8,7 @@ pre_build_script: |
|
||||||
post_build_script: |
|
post_build_script: |
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
repo_depends:
|
repo_depends:
|
||||||
python-oldest-supported-numpy
|
- python-oldest-supported-numpy
|
||||||
update_on:
|
update_on:
|
||||||
- source: pypi
|
- source: pypi
|
||||||
pypi: biotite
|
pypi: biotite
|
||||||
|
|
|
@ -17,7 +17,7 @@ makedepends=(python-build
|
||||||
python-installer
|
python-installer
|
||||||
python-setuptools-scm
|
python-setuptools-scm
|
||||||
python-wheel)
|
python-wheel)
|
||||||
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module/-/_}-$pkgver.tar.gz")
|
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module}-$pkgver.tar.gz")
|
||||||
sha256sums=('1d481a4dc673caa9b7cfdc6505b9401f0e9a9f43434d748df0678a1a4017b0e2')
|
sha256sums=('1d481a4dc673caa9b7cfdc6505b9401f0e9a9f43434d748df0678a1a4017b0e2')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -20,7 +20,7 @@ depends=(python
|
||||||
python-wheel)
|
python-wheel)
|
||||||
makedepends=(python-build
|
makedepends=(python-build
|
||||||
python-installer)
|
python-installer)
|
||||||
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module/-/_}-$pkgver.tar.gz")
|
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module}-$pkgver.tar.gz")
|
||||||
sha256sums=('be852c6e50e331ad250151dc4120f269ee9ae5e795f67030f7794718b502592a')
|
sha256sums=('be852c6e50e331ad250151dc4120f269ee9ae5e795f67030f7794718b502592a')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue