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

Felix Yan felixonmars at archlinux.org
Tue Aug 28 07:38:45 UTC 2018


    Date: Tuesday, August 28, 2018 @ 07:38:45
  Author: felixonmars
Revision: 374859

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-28 07:38:26 UTC (rev 374858)
+++ PKGBUILD	2018-08-28 07:38:45 UTC (rev 374859)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-tenacity
-pkgname=('python-tenacity' 'python2-tenacity')
-pkgver=5.0.1
-pkgrel=1
-pkgdesc='Retry code until it succeeeds'
-arch=('any')
-license=('Apache')
-url='https://github.com/jd/tenacity'
-makedepends=('python-setuptools' 'python2-setuptools' 'python2-futures' 'python2-monotonic'
-             'python-pbr' 'python2-pbr')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-tornado' 'python2-tornado')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/jd/tenacity/archive/$pkgver.tar.gz")
-sha512sums=('b0a0ce2b6dd8cc70066ba7da4255792b9f6c2a0c636345040f7ee8201386061f2f86c3b5b931331f55ad7fd0ae63776c31cf05c437624edc88fc4e1324e5ab05')
-
-prepare() {
-  cp -a tenacity-$pkgver{,-py2}
-
-  export PBR_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/tenacity-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/tenacity-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/tenacity-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/tenacity-$pkgver-py2
-  python2 setup.py pytest --addopts '--ignore=tenacity/tests/test_asyncio.py'
-}
-
-package_python-tenacity() {
-  depends=('python-six')
-  optdepends=('python-tornado: for Tornado coroutines support')
-
-  cd tenacity-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-tenacity() {
-  depends=('python2-six' 'python2-futures' 'python2-monotonic')
-  optdepends=('python2-tornado: for Tornado coroutines support')
-
-  cd tenacity-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-tenacity/repos/community-any/PKGBUILD (from rev 374858, python-tenacity/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-28 07:38:45 UTC (rev 374859)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-tenacity
+pkgname=('python-tenacity' 'python2-tenacity')
+pkgver=5.0.2
+pkgrel=1
+pkgdesc='Retry code until it succeeeds'
+arch=('any')
+license=('Apache')
+url='https://github.com/jd/tenacity'
+makedepends=('python-setuptools' 'python2-setuptools' 'python2-futures' 'python2-monotonic'
+             'python-pbr' 'python2-pbr')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-tornado' 'python2-tornado')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/jd/tenacity/archive/$pkgver.tar.gz")
+sha512sums=('835faa4593017876d5a9e5247043c1540e75246f86021d2777603f989ef7d2fed8fe437c26172b7c042a0e33308498e771831651676bfd8be69354bb3f19ae5d')
+
+prepare() {
+  cp -a tenacity-$pkgver{,-py2}
+
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/tenacity-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/tenacity-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/tenacity-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/tenacity-$pkgver-py2
+  python2 setup.py pytest --addopts '--ignore=tenacity/tests/test_asyncio.py'
+}
+
+package_python-tenacity() {
+  depends=('python-six')
+  optdepends=('python-tornado: for Tornado coroutines support')
+
+  cd tenacity-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-tenacity() {
+  depends=('python2-six' 'python2-futures' 'python2-monotonic')
+  optdepends=('python2-tornado: for Tornado coroutines support')
+
+  cd tenacity-$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