[arch-commits] Commit in python-flaky/repos/community-staging-any (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 23:26:00 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:26:00
  Author: foutrelis
Revision: 1062984

archrelease: copy trunk to community-staging-any

Added:
  python-flaky/repos/community-staging-any/PKGBUILD
    (from rev 1062983, python-flaky/trunk/PKGBUILD)
Deleted:
  python-flaky/repos/community-staging-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 23:25:58 UTC (rev 1062983)
+++ PKGBUILD	2021-12-02 23:26:00 UTC (rev 1062984)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-flaky
-pkgver=3.7.0
-pkgrel=5
-pkgdesc='Plugin for nose or py.test that automatically reruns flaky tests'
-arch=('any')
-license=('Apache')
-url='https://github.com/box/flaky'
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-nose' 'python-genty' 'python-mock')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/box/flaky/archive/v$pkgver.tar.gz")
-sha512sums=('20ec44c721aa68aad07b5669a3b23b7551380ef5cddecf9cc6197bbf78c5b1a823887046394aa6c4a66011e1a31c78b02c3cc89e96775498b600f20211ce7b99')
-
-build() {
-  cd "$srcdir"/flaky-$pkgver
-  python setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd "$srcdir"/flaky-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  (
-    export PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH"
-    nosetests3 --with-flaky --exclude="test_nose_options_example" test/test_nose/
-    py.test -k 'example and not options' --doctest-modules test/test_pytest/
-    py.test -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py
-    nosetests3 --with-flaky --force-flaky --max-runs 2 test/test_nose/test_nose_options_example.py
-    py.test --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py
-  )
-}
-
-package() {
-  cd "$srcdir"/flaky-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-flaky/repos/community-staging-any/PKGBUILD (from rev 1062983, python-flaky/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 23:26:00 UTC (rev 1062984)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flaky
+pkgver=3.7.0
+pkgrel=6
+pkgdesc='Plugin for nose or py.test that automatically reruns flaky tests'
+arch=('any')
+license=('Apache')
+url='https://github.com/box/flaky'
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-nose' 'python-genty' 'python-mock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/box/flaky/archive/v$pkgver.tar.gz")
+sha512sums=('20ec44c721aa68aad07b5669a3b23b7551380ef5cddecf9cc6197bbf78c5b1a823887046394aa6c4a66011e1a31c78b02c3cc89e96775498b600f20211ce7b99')
+
+build() {
+  cd "$srcdir"/flaky-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd "$srcdir"/flaky-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  (
+    export PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH"
+    nosetests3 --with-flaky --exclude="test_nose_options_example" test/test_nose/
+    py.test -k 'example and not options' --doctest-modules test/test_pytest/
+    py.test -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py
+    nosetests3 --with-flaky --force-flaky --max-runs 2 test/test_nose/test_nose_options_example.py
+    py.test --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py
+  )
+}
+
+package() {
+  cd "$srcdir"/flaky-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list