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

Felix Yan felixonmars at archlinux.org
Wed Nov 15 08:03:48 UTC 2017


    Date: Wednesday, November 15, 2017 @ 08:03:45
  Author: felixonmars
Revision: 266830

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-15 08:03:15 UTC (rev 266829)
+++ PKGBUILD	2017-11-15 08:03:45 UTC (rev 266830)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pluggy
-pkgname=(python-pluggy python2-pluggy)
-pkgver=0.5.2
-pkgrel=1
-pkgdesc="Plugin and hook calling mechanisms for python"
-arch=('any')
-url="https://www.pluggypayments.com/docs/python"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("https://pypi.io/packages/source/p/pluggy/pluggy-$pkgver.tar.gz")
-sha512sums=('850b1a7b9e55d46d5deb16b8bc71e3f9d6c26b78fe34379b295a9780f3da8abb3c44f524f175d0392b61fc2d36d66d156db3f499a3c1666e2ff3e3c6344153cb')
-
-prepare() {
-  cp -a pluggy-$pkgver{,-py2}
-}
-
-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')
-
-  cd pluggy-$pkgver
-  python setup.py install -O1 --root "$pkgdir"
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pluggy() {
-  depends=('python2')
-
-  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-any/PKGBUILD (from rev 266829, python-pluggy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-15 08:03:45 UTC (rev 266830)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pluggy
+pkgname=(python-pluggy python2-pluggy)
+pkgver=0.5.2.20171114
+_commit=607862cac33f62826e2ee710e3e5a71bd794af4a
+pkgrel=1
+pkgdesc="Plugin and hook calling mechanisms for python"
+arch=('any')
+url="https://www.pluggypayments.com/docs/python"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$_commit::https://github.com/pytest-dev/pluggy/archive/$_commit.tar.gz")
+sha512sums=('697927dde4da0c0faf9c7de1342b9c452667e481b40f9bbef836064cfc37ef917c64fcf2ca158a6cc00a12853387d6c0adec708a3ccbfe789da480fcae6fd566')
+
+prepare() {
+  mv pluggy-{$_commit,$pkgver}
+  cp -a pluggy-$pkgver{,-py2}
+}
+
+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')
+
+  cd pluggy-$pkgver
+  python setup.py install -O1 --root "$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pluggy() {
+  depends=('python2')
+
+  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