python-dendropy: init

This commit is contained in:
Kuoi 2022-08-30 21:20:06 +01:00
parent 977724fc65
commit ef23a3c4dd
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,23 @@
pkgname=python-dendropy
_module='DendroPy'
pkgver='4.5.2'
pkgrel=1
pkgdesc="A Python library for phylogenetics and phylogenetic computing: reading, writing, simulation, processing and manipulation of phylogenetic trees (phylogenies) and characters."
url="http://packages.python.org/DendroPy/"
depends=('python')
makedepends=('python-setuptools')
license=('BSD')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('3e5d2522170058ebc8d1ee63a7f2d25b915e34957dc02693ebfdc15f347a0101')
build() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py build
}
package() {
depends+=()
cd "${srcdir}/${_module}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}

View file

@ -0,0 +1,13 @@
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
build_prefix: extra-x86_64
post_build_script: |
git_add_files('PKGBUILD')
git_commit()
update_aur_repo()
update_on:
- source: regex
url: "https://pypi.org/project/DendroPy/"
regex: 'DendroPy (\d+.\d+.\d+)'
- alias: python