Date: Tuesday, January 31, 2023 @ 20:46:55
  Author: felixonmars
Revision: 1391571

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 20:46:43 UTC (rev 1391570)
+++ PKGBUILD    2023-01-31 20:46:55 UTC (rev 1391571)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-whatever
-pkgver=0.7
-pkgrel=1
-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=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://github.com/Suor/whatever/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('b3a5251cfb8e420cded4eb3fd480da66320ca47f7a4cd9c60c76c0bba7698646ab3f19d069397d660ffc67702702fed281adc113accda8ceeff65876d90916b5')
-
-build() {
-  cd whatever-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd whatever-$pkgver
-  pytest
-}
-
-package() {
-  cd whatever-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-whatever/repos/community-any/PKGBUILD (from rev 1391570, 
python-whatever/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-31 20:46:55 UTC (rev 1391571)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-whatever
+pkgver=0.7
+_commit=7f2cab8e8dfe50e0696b149c68b1c3fff7b70094
+pkgrel=2
+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