[arch-commits] Commit in python-anytree/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:54:49 UTC 2020


    Date: Monday, November 9, 2020 @ 15:54:49
  Author: felixonmars
Revision: 399772

archrelease: copy trunk to staging-any

Added:
  python-anytree/repos/staging-any/
  python-anytree/repos/staging-any/PKGBUILD
    (from rev 399771, python-anytree/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-anytree/repos/staging-any/PKGBUILD (from rev 399771, python-anytree/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-11-09 15:54:49 UTC (rev 399772)
@@ -0,0 +1,30 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=python-anytree
+pkgver=2.8.0
+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=75c0198636f8997967ba00df5077cd21350f68ce  # tags/2.8.0
+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
+  rm "$pkgdir/usr/LICENSE"
+}



More information about the arch-commits mailing list