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

Felix Yan fyan at archlinux.org
Fri Nov 6 02:02:13 UTC 2015


    Date: Friday, November 6, 2015 @ 03:02:12
  Author: fyan
Revision: 146244

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  142 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 71 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-11-06 02:01:49 UTC (rev 146243)
+++ PKGBUILD	2015-11-06 02:02:12 UTC (rev 146244)
@@ -1,71 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-flaky
-pkgname=('python-flaky' 'python2-flaky')
-_pypiname=flaky
-pkgver=2.4.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' 'git')
-checkdepends=('python-pytest' 'python2-pytest' 'python-nose' 'python2-nose'
-              'python-genty' 'python2-genty' 'python-mock' 'python2-mock')
-source=("git+https://github.com/box/flaky.git#tag=v$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cp -a "${srcdir}/${_pypiname}"{,-py2}
-}
-
-build() {
-  cd "$srcdir/$_pypiname"
-  python setup.py build
-
-  cd "$srcdir/$_pypiname-py2"
-  python2 setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd "$srcdir/$_pypiname"
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  (
-    export PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH"
-    nosetests3 --with-flaky --exclude="pytest|test_nose_options_example" test/
-    py.test -k 'example and not nose and not options' --doctest-modules test/
-    py.test -p no:flaky test/test_flaky_pytest_plugin.py
-    nosetests3 --with-flaky --force-flaky --max-runs 2 test/test_nose_options_example.py
-    py.test --force-flaky --max-runs 2 test/test_pytest_options_example.py
-  )
-
-  cd "$srcdir/$_pypiname-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="pytest|test_nose_options_example" test/
-    py.test2 -k 'example and not nose and not options' --doctest-modules test/
-    py.test2 -p no:flaky test/test_flaky_pytest_plugin.py
-    nosetests2 --with-flaky --force-flaky --max-runs 2 test/test_nose_options_example.py
-    py.test2 --force-flaky --max-runs 2 test/test_pytest_options_example.py
-  )
-}
-
-package_python-flaky() {
-  depends=('python')
-
-  cd "$srcdir/$_pypiname"
-  python setup.py install --root="$pkgdir"/ --optimize=1
-}
-
-package_python2-flaky() {
-  depends=('python2')
-
-  cd "$srcdir/$_pypiname-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 146243, python-flaky/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-11-06 02:02:12 UTC (rev 146244)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-flaky
+pkgname=('python-flaky' 'python2-flaky')
+_pypiname=flaky
+pkgver=2.4.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' 'git')
+checkdepends=('python-pytest' 'python2-pytest' 'python-nose' 'python2-nose'
+              'python-genty' 'python2-genty' 'python-mock' 'python2-mock')
+source=("git+https://github.com/box/flaky.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a "${srcdir}/${_pypiname}"{,-py2}
+}
+
+build() {
+  cd "$srcdir/$_pypiname"
+  python setup.py build
+
+  cd "$srcdir/$_pypiname-py2"
+  python2 setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd "$srcdir/$_pypiname"
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  (
+    export PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH"
+    nosetests3 --with-flaky --exclude="pytest|test_nose_options_example" test/
+    py.test -k 'example and not nose and not options' --doctest-modules test/
+    py.test -p no:flaky test/test_flaky_pytest_plugin.py
+    nosetests3 --with-flaky --force-flaky --max-runs 2 test/test_nose_options_example.py
+    py.test --force-flaky --max-runs 2 test/test_pytest_options_example.py
+  )
+
+  cd "$srcdir/$_pypiname-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="pytest|test_nose_options_example" test/
+    py.test2 -k 'example and not nose and not options' --doctest-modules test/
+    py.test2 -p no:flaky test/test_flaky_pytest_plugin.py
+    nosetests2 --with-flaky --force-flaky --max-runs 2 test/test_nose_options_example.py
+    py.test2 --force-flaky --max-runs 2 test/test_pytest_options_example.py
+  )
+}
+
+package_python-flaky() {
+  depends=('python')
+
+  cd "$srcdir/$_pypiname"
+  python setup.py install --root="$pkgdir"/ --optimize=1
+}
+
+package_python2-flaky() {
+  depends=('python2')
+
+  cd "$srcdir/$_pypiname-py2"
+  python2 setup.py install --root="$pkgdir"/ --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list