Date: Tuesday, January 31, 2023 @ 20:12:29
  Author: felixonmars
Revision: 1391526

upgpkg: python-pluggy 1.0.0-2

Modified:
  python-pluggy/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 20:12:12 UTC (rev 1391525)
+++ PKGBUILD    2023-01-31 20:12:29 UTC (rev 1391526)
@@ -2,31 +2,30 @@
 
 pkgname=python-pluggy
 pkgver=1.0.0
-pkgrel=1
+_commit=4259fdd799d64f953631e47ddcb69c3074a15c13
+pkgrel=2
 pkgdesc="Plugin and hook calling mechanisms for python"
 arch=('any')
 url="https://github.com/pytest-dev/pluggy";
 license=('MIT')
 depends=('python')
-makedepends=('python-setuptools-scm')
+makedepends=('git' 'python-setuptools-scm')
 checkdepends=('python-pytest')
-source=("https://github.com/pytest-dev/pluggy/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('88f1180d2607115d6516cba07fa7c1f0e284d1e16fb7ed42c4a05d5d2b0dc1419d2bdbdadc34e2eb7f6b0cc9fc97715c6b184542c01f6bc33242a872c46d7903')
+source=("git+https://github.com/pytest-dev/pluggy.git#commit=$_commit";)
+sha512sums=('SKIP')
 
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
 build() {
-  cd pluggy-$pkgver
+  cd pluggy
   python setup.py build
 }
 
 check() {
-  cd pluggy-$pkgver
+  cd pluggy
   PYTHONPATH="$PWD"/src pytest
 }
 
 package() {
-  cd pluggy-$pkgver
+  cd pluggy
   python setup.py install -O1 --root "$pkgdir"
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }

Reply via email to