summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuoi2022-08-30 21:21:57 +0100
committerKuoi2022-08-30 21:21:57 +0100
commit764040b675070f2ac53763daea10714671018596 (patch)
tree98328c5dea0fe2f856fb09a188f8dab55e26b5f2
downloadaur-764040b675070f2ac53763daea10714671018596.tar.gz
init
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD23
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..c0b2b5a7be33
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-dendropy
+ pkgdesc = A Python library for phylogenetics and phylogenetic computing: reading, writing, simulation, processing and manipulation of phylogenetic trees (phylogenies) and characters.
+ pkgver = 4.5.2
+ pkgrel = 1
+ url = http://packages.python.org/DendroPy/
+ arch = any
+ license = BSD
+ makedepends = python-setuptools
+ depends = python
+ source = https://files.pythonhosted.org/packages/source/D/DendroPy/DendroPy-4.5.2.tar.gz
+ sha256sums = 3e5d2522170058ebc8d1ee63a7f2d25b915e34957dc02693ebfdc15f347a0101
+
+pkgname = python-dendropy
+ depends = python
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..db1066dc5eaf
--- /dev/null
+++ b/PKGBUILD
@@ -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
+}