Date: Wednesday, April 5, 2023 @ 18:58:25
  Author: felixonmars
Revision: 1437910

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pluggy/repos/community-staging-any/PKGBUILD (from rev 1437909, 
python-pluggy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-05 18:58:25 UTC (rev 1437910)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pluggy
+pkgver=1.0.0
+_commit=4259fdd799d64f953631e47ddcb69c3074a15c13
+pkgrel=3
+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/
+}

Reply via email to