Date: Thursday, April 6, 2023 @ 12:18:49
  Author: felixonmars
Revision: 1438665

archrelease: copy trunk to community-staging-any

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

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

Copied: python-whatever/repos/community-staging-any/PKGBUILD (from rev 1438662, 
python-whatever/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 12:18:49 UTC (rev 1438665)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-whatever
+pkgver=0.7
+_commit=7f2cab8e8dfe50e0696b149c68b1c3fff7b70094
+pkgrel=3
+pkgdesc='Easy way to make anonymous functions by partial application of 
operators'
+arch=('any')
+license=('BSD')
+url='https://github.com/Suor/whatever'
+depends=('python')
+makedepends=('git' 'python-setuptools')
+checkdepends=('python-pytest')
+source=("git+https://github.com/Suor/whatever.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+build() {
+  cd whatever
+  python setup.py build
+}
+
+check() {
+  cd whatever
+  pytest
+}
+
+package() {
+  cd whatever
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to