[arch-commits] Commit in python-pytest-sugar/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jul 8 17:57:02 UTC 2020


    Date: Wednesday, July 8, 2020 @ 17:57:02
  Author: felixonmars
Revision: 661750

archrelease: copy trunk to community-any

Added:
  python-pytest-sugar/repos/community-any/PKGBUILD
    (from rev 661749, python-pytest-sugar/trunk/PKGBUILD)
Deleted:
  python-pytest-sugar/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   79 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 38 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-08 17:56:47 UTC (rev 661749)
+++ PKGBUILD	2020-07-08 17:57:02 UTC (rev 661750)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-sugar
-pkgver=0.9.3
-_commit=2764da41c431f6f32ade45b2de0310010117efd7
-pkgrel=1
-pkgdesc='A plugin for py.test that changes the default look and feel of py.test'
-arch=('any')
-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')
-
-prepare() {
-  mv pytest-sugar-{$_commit,$pkgver}
-}
-
-build() {
-  cd "$srcdir"/pytest-sugar-$pkgver
-  python setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd "$srcdir"/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
-}
-
-package() {
-  cd pytest-sugar-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pytest-sugar/repos/community-any/PKGBUILD (from rev 661749, python-pytest-sugar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-08 17:57:02 UTC (rev 661750)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-sugar
+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')
+license=('BSD')
+url='https://github.com/Frozenball/pytest-sugar'
+depends=('python-pytest' 'python-termcolor')
+source=("https://github.com/Frozenball/pytest-sugar/archive/$_commit/$pkgname-$_commit.tar.gz")
+sha512sums=('006772eeacd4cccec0fbe7dd615f4a24b30bda935a7c7a91551173e5c4053bc4316a9c22f859c29ed2314ba5a2e81d0956fe5f1ccdd5fb9ca70e68354d30371d')
+
+prepare() {
+  mv pytest-sugar-{$_commit,$pkgver}
+}
+
+build() {
+  cd pytest-sugar-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd pytest-sugar-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" pytest
+}
+
+package() {
+  cd pytest-sugar-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list