[arch-commits] Commit in python-retrying/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Mon Nov 29 22:28:07 UTC 2021


    Date: Monday, November 29, 2021 @ 22:28:07
  Author: felixonmars
Revision: 429525

archrelease: copy trunk to staging-any

Added:
  python-retrying/repos/staging-any/
  python-retrying/repos/staging-any/PKGBUILD
    (from rev 429524, python-retrying/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-retrying/repos/staging-any/PKGBUILD (from rev 429524, python-retrying/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-11-29 22:28:07 UTC (rev 429525)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arvedui <arvedui at posteo.de>
+
+pkgname=python-retrying
+pkgver=1.3.3
+pkgrel=11
+pkgdesc="A general purpose Python retyring library"
+arch=('any')
+url="https://github.com/rholder/retrying/releases"
+license=('Apache')
+depends=('python-six')
+makedepends=('python-setuptools' 'python-six')
+source=("https://github.com/rholder/retrying/archive/v$pkgver.tar.gz")
+md5sums=(85ccf5a3a8b32d4091bcde8dabfce060)
+
+prepare() {
+  cd "$srcdir"
+}
+
+build() {
+  cd "$srcdir"/retrying-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/retrying-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd "$srcdir/retrying-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list