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

Felix Yan felixonmars at archlinux.org
Thu Oct 13 06:45:53 UTC 2016


    Date: Thursday, October 13, 2016 @ 06:45:53
  Author: felixonmars
Revision: 192119

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-13 06:44:17 UTC (rev 192118)
+++ PKGBUILD	2016-10-13 06:45:53 UTC (rev 192119)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pluggy
-pkgname=(python-pluggy python2-pluggy)
-pkgver=0.3.1
-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' 'python2-pytest')
-source=("https://pypi.python.org/packages/source/p/pluggy/pluggy-$pkgver.tar.gz")
-sha512sums=('ebff28ef6d5eb78d8043fcf3860e43dd80bd800c12f6f744ae2a8757815f94034c858dbd6f4ab35dd4c609d4446aeb1783ace4f54ea6c3de6ec295ec06c7abb8')
-
-prepare() {
-  cp -a pluggy-$pkgver{,-py2}
-}
-
-build() {
-  cd pluggy-$pkgver
-  python setup.py build
-
-  cd ../pluggy-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd pluggy-$pkgver
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" py.test
-
-  cd ../pluggy-$pkgver-py2
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" py.test2
-}
-
-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 192118, python-pluggy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-13 06:45:53 UTC (rev 192119)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pluggy
+pkgname=(python-pluggy python2-pluggy)
+pkgver=0.4.0
+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.zip")
+sha512sums=('1a6e28df05751767df1ac3dfac4c29ba0367f05ae9c8c6a7f5163bb53de36f90226ed18baedeb41bc8ca23504ca61a9b32ef907d3ec3fee7512bcdf45a56d19c')
+
+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 ptr
+
+  cd "$srcdir"/pluggy-$pkgver-py2
+  python2 setup.py ptr
+}
+
+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