[arch-commits] Commit in python-pytest-sugar/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jul 8 17:56:47 UTC 2020
Date: Wednesday, July 8, 2020 @ 17:56:47
Author: felixonmars
Revision: 661749
upgpkg: python-pytest-sugar 0.9.4-1
Modified:
python-pytest-sugar/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-08 16:53:15 UTC (rev 661748)
+++ PKGBUILD 2020-07-08 17:56:47 UTC (rev 661749)
@@ -1,8 +1,8 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-pytest-sugar
-pkgver=0.9.3
-_commit=2764da41c431f6f32ade45b2de0310010117efd7
+pkgver=0.9.4
+_commit=92ae9dee9f76af01a64d29de5ab07ef33fc5a15b
pkgrel=1
pkgdesc='A plugin for py.test that changes the default look and feel of py.test'
arch=('any')
@@ -9,8 +9,8 @@
license=('BSD')
url='https://github.com/Frozenball/pytest-sugar'
depends=('python-pytest' 'python-termcolor')
-source=("$pkgname-$_commit.tar.gz::https://github.com/Frozenball/pytest-sugar/archive/$_commit.tar.gz")
-sha512sums=('ea54eeb6adaff5e8548e4fffec3fc6dfb8a5e186ede77291180efe0ab445f6aab4608c7d08b753a5e15630c1f5caa0689dccca7cd4f3f734ba83a02b9c482df3')
+source=("https://github.com/Frozenball/pytest-sugar/archive/$_commit/$pkgname-$_commit.tar.gz")
+sha512sums=('006772eeacd4cccec0fbe7dd615f4a24b30bda935a7c7a91551173e5c4053bc4316a9c22f859c29ed2314ba5a2e81d0956fe5f1ccdd5fb9ca70e68354d30371d')
prepare() {
mv pytest-sugar-{$_commit,$pkgver}
@@ -17,7 +17,7 @@
}
build() {
- cd "$srcdir"/pytest-sugar-$pkgver
+ cd pytest-sugar-$pkgver
python setup.py build
}
@@ -24,12 +24,9 @@
check() {
# Hack entry points by installing it
- cd "$srcdir"/pytest-sugar-$pkgver
+ cd pytest-sugar-$pkgver
python setup.py install --root="$PWD/tmp_install" --optimize=1
- # https://github.com/Teemu/pytest-sugar/issues/180
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" py.test --deselect test_sugar.py::TestTerminalReporter::test_item_count_after_pytest_collection_modifyitems \
- --deselect test_sugar.py::TestTerminalReporter::test_collect_error \
- --deselect test_sugar.py::TestTerminalReporter::test_doctest
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" pytest
}
package() {
More information about the arch-commits
mailing list