[arch-commits] Commit in python-pytest-runner/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Feb 2 10:22:17 UTC 2017
Date: Thursday, February 2, 2017 @ 10:22:16
Author: felixonmars
Revision: 209684
archrelease: copy trunk to community-any
Added:
python-pytest-runner/repos/community-any/PKGBUILD
(from rev 209683, python-pytest-runner/trunk/PKGBUILD)
Deleted:
python-pytest-runner/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-02 10:21:52 UTC (rev 209683)
+++ PKGBUILD 2017-02-02 10:22:16 UTC (rev 209684)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-runner
-pkgname=('python-pytest-runner' 'python2-pytest-runner')
-pkgver=2.10.1
-pkgrel=1
-pkgdesc="Invoke py.test as distutils command with dependency resolution"
-arch=('any')
-license=('MIT')
-url="https://github.com/pytest-dev/pytest-runner"
-makedepends=('python-pytest' 'python2-pytest' 'python-setuptools-scm' 'python2-setuptools-scm' 'git')
-source=("git+https://github.com/pytest-dev/pytest-runner.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
- cp -a pytest-runner{,-py2}
-}
-
-build() {
- cd "$srcdir"/pytest-runner
- python setup.py build
-
- cd "$srcdir"/pytest-runner-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/pytest-runner
- python setup.py egg_info
- PYTHONPATH="$PWD" pytest
-
- cd "$srcdir"/pytest-runner-py2
- python2 setup.py egg_info
- PYTHONPATH="$PWD" pytest2
-}
-
-package_python-pytest-runner() {
- depends=('python-pytest')
-
- cd pytest-runner
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pytest-runner() {
- depends=('python2-pytest')
-
- cd pytest-runner-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-pytest-runner/repos/community-any/PKGBUILD (from rev 209683, python-pytest-runner/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-02-02 10:22:16 UTC (rev 209684)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-runner
+pkgname=('python-pytest-runner' 'python2-pytest-runner')
+pkgver=2.11
+pkgrel=1
+pkgdesc="Invoke py.test as distutils command with dependency resolution"
+arch=('any')
+license=('MIT')
+url="https://github.com/pytest-dev/pytest-runner"
+makedepends=('python-pytest' 'python2-pytest' 'python-setuptools-scm' 'python2-setuptools-scm' 'git')
+source=("git+https://github.com/pytest-dev/pytest-runner.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+ cp -a pytest-runner{,-py2}
+}
+
+build() {
+ cd "$srcdir"/pytest-runner
+ python setup.py build
+
+ cd "$srcdir"/pytest-runner-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/pytest-runner
+ python setup.py egg_info
+ PYTHONPATH="$PWD" pytest
+
+ cd "$srcdir"/pytest-runner-py2
+ python2 setup.py egg_info
+ PYTHONPATH="$PWD" pytest2
+}
+
+package_python-pytest-runner() {
+ depends=('python-pytest')
+
+ cd pytest-runner
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pytest-runner() {
+ depends=('python2-pytest')
+
+ cd pytest-runner-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list