[arch-commits] Commit in python-pluggy/repos/community-staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jul 29 03:33:03 UTC 2018
Date: Sunday, July 29, 2018 @ 03:33:03
Author: felixonmars
Revision: 363955
archrelease: copy trunk to community-staging-any
Added:
python-pluggy/repos/community-staging-any/PKGBUILD
(from rev 363954, python-pluggy/trunk/PKGBUILD)
Deleted:
python-pluggy/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 108 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 55 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-29 03:32:55 UTC (rev 363954)
+++ PKGBUILD 2018-07-29 03:33:03 UTC (rev 363955)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pluggy
-pkgname=(python-pluggy python2-pluggy)
-pkgver=0.6.0
-pkgrel=3
-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-$pkgver.tar.gz::https://github.com/pytest-dev/pluggy/archive/$pkgver.tar.gz")
-sha512sums=('ed8fe81907c7dc476ebfbf0f7e0f902577323d64014765e7d7bfe22c2dc7e4977e1ce7ad55ce7f4e923ae23d206d6c3bcc6663de760c877fce82298cc21079db')
-
-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-staging-any/PKGBUILD (from rev 363954, python-pluggy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-29 03:33:03 UTC (rev 363955)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pluggy
+pkgname=(python-pluggy python2-pluggy)
+pkgver=0.7.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-scm' 'python2-setuptools-scm')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pluggy/archive/$pkgver.tar.gz")
+sha512sums=('0b5e905bffeeb7627fa0c20203194c5b648376605c28d00fa3299bbfba4783901bb1b49d0279cd79474bfb015e0dfb7cdb9baf1673bb6f085ba08d13534a1fa4')
+
+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')
+
+ 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