[arch-commits] Commit in python-pytest-verbose-parametrize/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 17:57:13 UTC 2020
Date: Thursday, November 12, 2020 @ 17:57:13
Author: foutrelis
Revision: 752887
archrelease: copy trunk to community-staging-any
Added:
python-pytest-verbose-parametrize/repos/community-staging-any/PKGBUILD
(from rev 752886, python-pytest-verbose-parametrize/trunk/PKGBUILD)
Deleted:
python-pytest-verbose-parametrize/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 17:57:09 UTC (rev 752886)
+++ PKGBUILD 2020-11-12 17:57:13 UTC (rev 752887)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pytest-verbose-parametrize
-pkgname=python-pytest-verbose-parametrize
-pkgver=1.7.0
-pkgrel=2
-pkgdesc="Pytest parametrize hook to generate ids for parametrized tests"
-arch=('any')
-url="https://github.com/man-group/pytest-plugins/tree/master/pytest-verbose-parametrize"
-license=('MIT')
-depends=('python-pytest' 'python-six')
-makedepends=('python-setuptools')
-checkdepends=('python-coverage' 'python-mock' 'python-pytest-virtualenv')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('ac81cdf002d60b4af916c4beb4c832c9c39dc9dcfa3eea7385b093f9ea18391cbf968a4e908abdb23523a7cb1e294dce2017083414e61eef6762f157319e2cf4')
-
-prepare() {
- mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- export PYTHONPATH="build:${PYTHONPATH}"
- pytest -v -k 'not test_handles_apparent_duplicates and not test_truncates_long_ids'
-}
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -vDm 644 {CHANGES,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: python-pytest-verbose-parametrize/repos/community-staging-any/PKGBUILD (from rev 752886, python-pytest-verbose-parametrize/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 17:57:13 UTC (rev 752887)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pytest-verbose-parametrize
+pkgname=python-pytest-verbose-parametrize
+pkgver=1.7.0
+pkgrel=3
+pkgdesc="Pytest parametrize hook to generate ids for parametrized tests"
+arch=('any')
+url="https://github.com/man-group/pytest-plugins/tree/master/pytest-verbose-parametrize"
+license=('MIT')
+depends=('python-pytest' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-coverage' 'python-mock' 'python-pytest-virtualenv')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('ac81cdf002d60b4af916c4beb4c832c9c39dc9dcfa3eea7385b093f9ea18391cbf968a4e908abdb23523a7cb1e294dce2017083414e61eef6762f157319e2cf4')
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ export PYTHONPATH="build:${PYTHONPATH}"
+ pytest -v -k 'not test_handles_apparent_duplicates and not test_truncates_long_ids'
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 {CHANGES,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list