[arch-commits] Commit in python-anytree/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 16:40:29 UTC 2019
Date: Friday, October 25, 2019 @ 16:40:28
Author: felixonmars
Revision: 365687
archrelease: copy trunk to staging-any
Added:
python-anytree/repos/staging-any/
python-anytree/repos/staging-any/PKGBUILD
(from rev 365686, python-anytree/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-anytree/repos/staging-any/PKGBUILD (from rev 365686, python-anytree/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2019-10-25 16:40:28 UTC (rev 365687)
@@ -0,0 +1,29 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=python-anytree
+pkgver=2.7.2
+pkgrel=2
+pkgdesc="Powerful and Lightweight Python Tree Data Structure"
+url="https://anytree.readthedocs.io/"
+arch=(any)
+license=(Apache)
+depends=(python-six)
+makedepends=(python-setuptools git)
+_commit=0c0cfa1949f92c193d2fd660efc3a17a0272d553 # tags/2.7.2
+source=("$pkgname::git+https://github.com/c0fec0de/anytree#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+ cd $pkgname
+ python setup.py build
+}
+
+package() {
+ cd $pkgname
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list