[arch-commits] Commit in python2-pytest-runner/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Jul 24 05:18:41 UTC 2021
Date: Saturday, July 24, 2021 @ 05:18:41
Author: felixonmars
Revision: 984870
archrelease: copy trunk to community-any
Added:
python2-pytest-runner/repos/community-any/
python2-pytest-runner/repos/community-any/PKGBUILD
(from rev 984869, python2-pytest-runner/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python2-pytest-runner/repos/community-any/PKGBUILD (from rev 984869, python2-pytest-runner/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2021-07-24 05:18:41 UTC (rev 984870)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-pytest-runner
+pkgver=5.2
+pkgrel=4
+pkgdesc="Invoke py.test as distutils command with dependency resolution"
+arch=('any')
+license=('MIT')
+url="https://github.com/pytest-dev/pytest-runner"
+depends=('python2-pytest')
+makedepends=('python2-setuptools-scm')
+source=("https://github.com/pytest-dev/pytest-runner/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('0ce9c191481ab97795d0f45bdea7669cb61c3ac6aac476954d34c3e09e6fb08fd6bf73f192c014cb7ff2bd90dbfeb0f01d9a9ba7a9c6caeb371e40b42b558d63')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+ cd pytest-runner-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd pytest-runner-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list