mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
python-toytree: init for ipyrad
This commit is contained in:
parent
c135abe471
commit
2c0a964cfe
2 changed files with 39 additions and 0 deletions
23
BioArchLinux/python-toytree/PKGBUILD
Normal file
23
BioArchLinux/python-toytree/PKGBUILD
Normal file
|
@ -0,0 +1,23 @@
|
|||
pkgname='python-toytree'
|
||||
name=toytree
|
||||
pkgver='3.0.8'
|
||||
pkgrel=0
|
||||
pkgdesc="A minimalist tree plotting library using toyplot graphs."
|
||||
url="https://github.com/eaton-lab/toytree"
|
||||
depends=('python' 'python-numpy' 'python-scipy' 'python-pandas' 'python-requests' 'python-loguru' 'ghostscript'
|
||||
'python-toyplot')
|
||||
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-flit-core')
|
||||
license=('BSD-3-Clause')
|
||||
arch=('any')
|
||||
source=("https://pypi.io/packages/source/${name::1}/${name}/${name}-${pkgver}.tar.gz")
|
||||
sha256sums=('abdecb0c264e3f695cf560eea16076eee8ef79c900f69edebac7fb0b27fc0c0b')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${name}-${pkgver}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${name}-${pkgver}"
|
||||
python -m installer --destdir="${pkgdir}" dist/*.whl
|
||||
}
|
16
BioArchLinux/python-toytree/lilac.yaml
Normal file
16
BioArchLinux/python-toytree/lilac.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
pre_build_script: |
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
post_build_script: |
|
||||
git_pkgbuild_commit()
|
||||
repo_depends:
|
||||
- python-toytree
|
||||
update_on:
|
||||
- source: pypi
|
||||
pypi: toytree
|
||||
prefix: 'v'
|
||||
- alias: python
|
Loading…
Add table
Reference in a new issue