Date: Monday, January 30, 2023 @ 21:34:54
  Author: felixonmars
Revision: 1391321

upgpkg: python-whatever 0.7-1

Modified:
  python-whatever/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-30 21:32:59 UTC (rev 1391320)
+++ PKGBUILD    2023-01-30 21:34:54 UTC (rev 1391321)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-whatever
-pkgver=0.6
-pkgrel=5
+pkgver=0.7
+pkgrel=1
 pkgdesc='Easy way to make anonymous functions by partial application of 
operators'
 arch=('any')
 license=('BSD')
@@ -9,9 +9,9 @@
 url='https://github.com/Suor/whatever'
 depends=('python')
 makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/Suor/whatever/archive/$pkgver.tar.gz";)
-sha512sums=('f982100f0d6a8bf4c30e452a083c75f4cb2bca07e57e40ba4fd66baca752f039aea9519ffb97b3d43708df0ff5e981d0c4d03773f225106aa2f43e7770ee1975')
+checkdepends=('python-pytest')
+source=("https://github.com/Suor/whatever/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('b3a5251cfb8e420cded4eb3fd480da66320ca47f7a4cd9c60c76c0bba7698646ab3f19d069397d660ffc67702702fed281adc113accda8ceeff65876d90916b5')
 
 build() {
   cd whatever-$pkgver
@@ -20,11 +20,11 @@
 
 check() {
   cd whatever-$pkgver
-  python setup.py pytest
+  pytest
 }
 
 package() {
   cd whatever-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }

Reply via email to