Date: Tuesday, January 31, 2023 @ 20:12:40
Author: felixonmars
Revision: 1391527
archrelease: copy trunk to community-any
Added:
python-pluggy/repos/community-any/PKGBUILD
(from rev 1391526, python-pluggy/trunk/PKGBUILD)
Deleted:
python-pluggy/repos/community-any/PKGBUILD
----------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-31 20:12:29 UTC (rev 1391526)
+++ PKGBUILD 2023-01-31 20:12:40 UTC (rev 1391527)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pluggy
-pkgver=1.0.0
-pkgrel=1
-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')
-checkdepends=('python-pytest')
-source=("https://github.com/pytest-dev/pluggy/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('88f1180d2607115d6516cba07fa7c1f0e284d1e16fb7ed42c4a05d5d2b0dc1419d2bdbdadc34e2eb7f6b0cc9fc97715c6b184542c01f6bc33242a872c46d7903')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd pluggy-$pkgver
- python setup.py build
-}
-
-check() {
- cd pluggy-$pkgver
- PYTHONPATH="$PWD"/src pytest
-}
-
-package() {
- cd pluggy-$pkgver
- python setup.py install -O1 --root "$pkgdir"
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-pluggy/repos/community-any/PKGBUILD (from rev 1391526,
python-pluggy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-31 20:12:40 UTC (rev 1391527)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pluggy
+pkgver=1.0.0
+_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=('git' 'python-setuptools-scm')
+checkdepends=('python-pytest')
+source=("git+https://github.com/pytest-dev/pluggy.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd pluggy
+ python setup.py build
+}
+
+check() {
+ cd pluggy
+ PYTHONPATH="$PWD"/src pytest
+}
+
+package() {
+ cd pluggy
+ python setup.py install -O1 --root "$pkgdir"
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}