Date: Tuesday, January 31, 2023 @ 20:24:02
Author: felixonmars
Revision: 1391543
archrelease: copy trunk to community-any
Added:
python-tenacity/repos/community-any/PKGBUILD
(from rev 1391542, python-tenacity/trunk/PKGBUILD)
Deleted:
python-tenacity/repos/community-any/PKGBUILD
----------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-31 20:23:48 UTC (rev 1391542)
+++ PKGBUILD 2023-01-31 20:24:02 UTC (rev 1391543)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-tenacity
-pkgver=8.1.0
-pkgrel=1
-pkgdesc='Retry code until it succeeeds'
-arch=('any')
-license=('Apache')
-url='https://github.com/jd/tenacity'
-depends=('python')
-optdepends=('python-tornado: for Tornado coroutines support')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-pytest-runner' 'python-tornado' 'python-typeguard')
-source=("https://github.com/jd/tenacity/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('cb81b6f6fdea4834483681544d138de6464ec94fc8464af898d3a8e9003a215aba0a3f7ce897f48e8f4948c26f1e7bc6548a16c7c7f3f784eb34e94de96223f1')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd tenacity-$pkgver
- python setup.py build
-}
-
-check() {
- cd tenacity-$pkgver
- python setup.py pytest
-}
-
-package() {
- cd tenacity-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-tenacity/repos/community-any/PKGBUILD (from rev 1391542,
python-tenacity/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-31 20:24:02 UTC (rev 1391543)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-tenacity
+pkgver=8.1.0
+_commit=014b8e6c39d0052d9bb80ad85bae9a390d1aad09
+pkgrel=2
+pkgdesc='Retry code until it succeeeds'
+arch=('any')
+license=('Apache')
+url='https://github.com/jd/tenacity'
+depends=('python')
+optdepends=('python-tornado: for Tornado coroutines support')
+makedepends=('git' 'python-setuptools-scm')
+checkdepends=('python-pytest-runner' 'python-tornado' 'python-typeguard')
+source=("git+https://github.com/jd/tenacity.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd tenacity
+ python setup.py build
+}
+
+check() {
+ cd tenacity
+ python setup.py pytest
+}
+
+package() {
+ cd tenacity
+ python setup.py install --root="$pkgdir" --optimize=1
+}