[arch-commits] Commit in python-flaky/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Aug 7 06:24:14 UTC 2019
Date: Wednesday, August 7, 2019 @ 06:24:14
Author: felixonmars
Revision: 498127
archrelease: copy trunk to community-any
Added:
python-flaky/repos/community-any/PKGBUILD
(from rev 498126, python-flaky/trunk/PKGBUILD)
Deleted:
python-flaky/repos/community-any/PKGBUILD
----------+
PKGBUILD | 138 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 69 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-07 06:24:01 UTC (rev 498126)
+++ PKGBUILD 2019-08-07 06:24:14 UTC (rev 498127)
@@ -1,69 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-flaky
-pkgname=('python-flaky' 'python2-flaky')
-pkgver=3.6.0
-pkgrel=1
-pkgdesc='Plugin for nose or py.test that automatically reruns flaky tests'
-arch=('any')
-license=('Apache')
-url='https://github.com/box/flaky'
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest' 'python-nose' 'python2-nose'
- 'python-genty' 'python2-genty' 'python-mock' 'python2-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/box/flaky/archive/v$pkgver.tar.gz")
-sha512sums=('d1a7cd6f3e87adb85737b0fbbe238367dcc4e5d766c98bf8f2169e72445e5617bc8ecc348b1c14fb5ff3b1e0856d382c62f70fb784d7c6666afd5cad62461180')
-
-prepare() {
- cp -a flaky-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/flaky-$pkgver
- python setup.py build
-
- cd "$srcdir"/flaky-$pkgver-py2
- python2 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
- )
-
- cd "$srcdir"/flaky-$pkgver-py2
- python2 setup.py install --root="$PWD/tmp_install" --optimize=1
- (
- export PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH"
- nosetests2 --with-flaky --exclude="test_nose_options_example" test/test_nose/
- py.test2 -k 'example and not options' --doctest-modules test/test_pytest/
- py.test2 -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py
- nosetests2 --with-flaky --force-flaky --max-runs 2 test/test_nose/test_nose_options_example.py
- py.test2 --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py
- )
-}
-
-package_python-flaky() {
- depends=('python')
-
- cd "$srcdir"/flaky-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-flaky() {
- depends=('python2')
-
- cd "$srcdir"/flaky-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-flaky/repos/community-any/PKGBUILD (from rev 498126, python-flaky/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-07 06:24:14 UTC (rev 498127)
@@ -0,0 +1,69 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-flaky
+pkgname=('python-flaky' 'python2-flaky')
+pkgver=3.6.1
+pkgrel=1
+pkgdesc='Plugin for nose or py.test that automatically reruns flaky tests'
+arch=('any')
+license=('Apache')
+url='https://github.com/box/flaky'
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest' 'python2-pytest' 'python-nose' 'python2-nose'
+ 'python-genty' 'python2-genty' 'python-mock' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/box/flaky/archive/v$pkgver.tar.gz")
+sha512sums=('7b9351e1d71ff56a77987e72e96d5dcda12b06bb29b5b1583a10b3d56ef50da94edc6a164107cc77fe51b018066af2c74ec60bf1cac9c53e3003a290b3e475f3')
+
+prepare() {
+ cp -a flaky-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/flaky-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/flaky-$pkgver-py2
+ python2 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
+ )
+
+ cd "$srcdir"/flaky-$pkgver-py2
+ python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+ (
+ export PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH"
+ nosetests2 --with-flaky --exclude="test_nose_options_example" test/test_nose/
+ py.test2 -k 'example and not options' --doctest-modules test/test_pytest/
+ py.test2 -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py
+ nosetests2 --with-flaky --force-flaky --max-runs 2 test/test_nose/test_nose_options_example.py
+ py.test2 --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py
+ )
+}
+
+package_python-flaky() {
+ depends=('python')
+
+ cd "$srcdir"/flaky-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-flaky() {
+ depends=('python2')
+
+ cd "$srcdir"/flaky-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list