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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 12:08:41 UTC 2020


    Date: Thursday, November 12, 2020 @ 12:08:41
  Author: foutrelis
Revision: 751681

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 12:08:37 UTC (rev 751680)
+++ PKGBUILD	2020-11-12 12:08:41 UTC (rev 751681)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pluggy
-pkgname=(python-pluggy python2-pluggy)
-pkgver=0.13.1
-pkgrel=3
-pkgdesc="Plugin and hook calling mechanisms for python"
-arch=('any')
-url="https://github.com/pytest-dev/pluggy"
-license=('MIT')
-makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-importlib-metadata'
-             'python2-importlib-metadata')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pluggy/archive/$pkgver.tar.gz")
-sha512sums=('3269f7ad7801a70ba8aa3182c568f70e2ee88a90b6f6335be631f9737dd42fac3fb1b27c5b6fe6422de128ddcc58736f0c41ed60b7c0177126dd676b98ece301')
-
-prepare() {
-  cp -a pluggy-$pkgver{,-py2}
-
-  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/pluggy-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pluggy-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/pluggy-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/pluggy-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-pluggy() {
-  depends=('python-importlib-metadata')
-
-  cd pluggy-$pkgver
-  python setup.py install -O1 --root "$pkgdir"
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pluggy() {
-  depends=('python2-importlib-metadata')
-
-  cd pluggy-$pkgver-py2
-  python2 setup.py install -O1 --root "$pkgdir"
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pluggy/repos/community-staging-any/PKGBUILD (from rev 751680, python-pluggy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 12:08:41 UTC (rev 751681)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pluggy
+pkgname=(python-pluggy python2-pluggy)
+pkgver=0.13.1
+pkgrel=4
+pkgdesc="Plugin and hook calling mechanisms for python"
+arch=('any')
+url="https://github.com/pytest-dev/pluggy"
+license=('MIT')
+makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-importlib-metadata'
+             'python2-importlib-metadata')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pluggy/archive/$pkgver.tar.gz")
+sha512sums=('3269f7ad7801a70ba8aa3182c568f70e2ee88a90b6f6335be631f9737dd42fac3fb1b27c5b6fe6422de128ddcc58736f0c41ed60b7c0177126dd676b98ece301')
+
+prepare() {
+  cp -a pluggy-$pkgver{,-py2}
+
+  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/pluggy-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pluggy-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/pluggy-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/pluggy-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-pluggy() {
+  depends=('python-importlib-metadata')
+
+  cd pluggy-$pkgver
+  python setup.py install -O1 --root "$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pluggy() {
+  depends=('python2-importlib-metadata')
+
+  cd pluggy-$pkgver-py2
+  python2 setup.py install -O1 --root "$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list