Date: Thursday, April 6, 2023 @ 18:31:01
  Author: felixonmars
Revision: 472843

archrelease: copy trunk to staging-any

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

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

Copied: python-anytree/repos/staging-any/PKGBUILD (from rev 472842, 
python-anytree/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD                                (rev 0)
+++ staging-any/PKGBUILD        2023-04-06 18:31:01 UTC (rev 472843)
@@ -0,0 +1,30 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+
+pkgname=python-anytree
+pkgver=2.8.0
+pkgrel=6
+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"
+}

Reply via email to