[arch-commits] Commit in python-pytest-html/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Nov 15 16:27:02 UTC 2020
Date: Sunday, November 15, 2020 @ 16:27:02
Author: felixonmars
Revision: 754580
archrelease: copy trunk to community-staging-any
Added:
python-pytest-html/repos/community-staging-any/PKGBUILD
(from rev 754579, python-pytest-html/trunk/PKGBUILD)
Deleted:
python-pytest-html/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-15 16:26:55 UTC (rev 754579)
+++ PKGBUILD 2020-11-15 16:27:02 UTC (rev 754580)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pytest-html
-pkgname=python-pytest-html
-pkgver=2.1.1
-pkgrel=2
-pkgdesc="Plugin for generating HTML reports for pytest results"
-arch=('any')
-url="https://github.com/pytest-dev/pytest-html"
-license=('MPL2')
-depends=('python-pytest' 'python-pytest-metadata')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-ansi2html' 'python-pytest-mock'
-'python-pytest-rerunfailures' 'python-pytest-xdist')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('a35eb141d90b82e713e11b022a788adb9f097910dd267f207afdf3b6fc06f40fc6ca308e70098d7aa48d866aad8495aad25bbf566c301f789749f1791a7fa802')
-
-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_environment_xdist and not test_css'
-}
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- install -vDm 644 {CHANGES,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: python-pytest-html/repos/community-staging-any/PKGBUILD (from rev 754579, python-pytest-html/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-15 16:27:02 UTC (rev 754580)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pytest-html
+pkgname=python-pytest-html
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="Plugin for generating HTML reports for pytest results"
+arch=('any')
+url="https://github.com/pytest-dev/pytest-html"
+license=('MPL2')
+depends=('python-pytest' 'python-pytest-metadata')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-ansi2html' 'python-pytest-mock'
+'python-pytest-rerunfailures' 'python-pytest-xdist')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('1db78a0ec3114da9b2268fab37935349063d67f18a473939979499ddf8b1b228b9c879ce1fe2c1740166c63be56edbc4f8de8e9878790954426d344525dbc55f')
+
+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_environment_xdist and not test_css'
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -vDm 644 {CHANGES,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list