[arch-commits] Commit in python-pytest-tap/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Jul 4 21:31:37 UTC 2022
Date: Monday, July 4, 2022 @ 21:31:37
Author: arojas
Revision: 1244013
upgpkg: python-pytest-tap 3.3-1: Update to 3.3
Modified:
python-pytest-tap/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-04 21:24:52 UTC (rev 1244012)
+++ PKGBUILD 2022-07-04 21:31:37 UTC (rev 1244013)
@@ -2,8 +2,8 @@
pkgname=python-pytest-tap
_pyname=${pkgname#python-}
-pkgver=3.2
-pkgrel=2
+pkgver=3.3
+pkgrel=1
pkgdesc="Test Anything Protocol (TAP) reporting plugin for pytest."
arch=(any)
url="https://github.com/python-tap/pytest-tap"
@@ -10,15 +10,18 @@
license=('BSD')
depends=('python-pytest' 'python-tappy')
makedepends=('python-setuptools')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/python-tap/pytest-tap/archive/v${pkgver}.tar.gz)
-sha256sums=('d5040ba2e1ed5855babfd50bffeb5e877912750ab33d5c07b20c00f2f2626fed')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/python-tap/pytest-tap/archive/v${pkgver}.tar.gz
+ https://github.com/python-tap/pytest-tap/commit/4ed0138b.patch)
+sha256sums=('6f3f7895e005c19391be46dc592182d52c9368fe7c4a5bec292ba4632314ff42'
+ '459d4040ecaa5a088330c99800695c3e688b22bda6fd6b4aa8a30da85012085f')
+prepare() {
+ patch -d $_pyname-$pkgver -p1 < 4ed0138b.patch # Fix tests
+}
+
build() {
cd "${srcdir}/${_pyname}-${pkgver}"
python setup.py build
-
- # need to compile translation files when using the tarball from GitHub
- python setup.py -v compile_catalog
}
check() {
More information about the arch-commits
mailing list