Date: Thursday, April 6, 2023 @ 13:45:35
  Author: felixonmars
Revision: 1438989

archrelease: copy trunk to community-staging-any

Added:
  python-wilderness/repos/community-staging-any/
  python-wilderness/repos/community-staging-any/PKGBUILD
    (from rev 1438987, python-wilderness/trunk/PKGBUILD)

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

Copied: python-wilderness/repos/community-staging-any/PKGBUILD (from rev 
1438987, python-wilderness/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 13:45:35 UTC (rev 1438989)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-wilderness
+pkgver=0.1.9
+pkgrel=4
+pkgdesc="Easy multi-level command line applications with man pages"
+url="https://github.com/GjjvdBurg/wilderness";
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+checkdepends=('man-db')
+source=("https://github.com/GjjvdBurg/wilderness/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('2073fb3f5d6ffada132235a1c1691d6d03f6be56531c3a38f09db08b6361e91ea87b662e569d319c8dbbe69a5500cb1708c5509cd6a28f85a0dfdf4a58c30ba6')
+
+build() {
+  cd wilderness-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd wilderness-$pkgver
+  python -m unittest discover
+}
+
+package() {
+  cd wilderness-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to