[arch-commits] Commit in python-pluggy/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sun Mar 20 23:29:26 UTC 2022


    Date: Sunday, March 20, 2022 @ 23:29:25
  Author: felixonmars
Revision: 1166347

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   67 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 32 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-20 23:29:15 UTC (rev 1166346)
+++ PKGBUILD	2022-03-20 23:29:25 UTC (rev 1166347)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pluggy
-pkgver=0.13.1
-pkgrel=8
-pkgdesc="Plugin and hook calling mechanisms for python"
-arch=('any')
-url="https://github.com/pytest-dev/pluggy"
-license=('MIT')
-depends=('python-importlib-metadata')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pluggy/archive/$pkgver.tar.gz")
-sha512sums=('3269f7ad7801a70ba8aa3182c568f70e2ee88a90b6f6335be631f9737dd42fac3fb1b27c5b6fe6422de128ddcc58736f0c41ed60b7c0177126dd676b98ece301')
-
-prepare() {
-  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/pluggy-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd "$srcdir"/pluggy-$pkgver
-  python setup.py pytest
-}
-
-package() {
-  cd pluggy-$pkgver
-  python setup.py install -O1 --root "$pkgdir"
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pluggy/repos/community-any/PKGBUILD (from rev 1166346, python-pluggy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-20 23:29:25 UTC (rev 1166347)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+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/
+}



More information about the arch-commits mailing list