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

Felix Yan felixonmars at archlinux.org
Tue Jan 29 20:22:50 UTC 2019


    Date: Tuesday, January 29, 2019 @ 20:22:48
  Author: felixonmars
Revision: 428435

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-29 20:22:27 UTC (rev 428434)
+++ PKGBUILD	2019-01-29 20:22:48 UTC (rev 428435)
@@ -1,56 +0,0 @@
-# $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:

Copied: python-tenacity/repos/community-any/PKGBUILD (from rev 428434, python-tenacity/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-29 20:22:48 UTC (rev 428435)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-tenacity
+pkgname=('python-tenacity' 'python2-tenacity')
+pkgver=5.0.3
+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=('19ad1885521e234103cce1e03b40290324f5c4a307b0cf7a3cf0c3f704502953432cff02dc4a676ce32241d229f91f4982fd053eee8019af813d99ae679cb199')
+
+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