[arch-commits] Commit in python-retrying/trunk (PKGBUILD)

Jelle van der Waa jelle at gemini.archlinux.org
Mon Nov 29 19:14:10 UTC 2021


    Date: Monday, November 29, 2021 @ 19:14:10
  Author: jelle
Revision: 429468

Drop python2-retrying

Modified:
  python-retrying/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++---------------------
 1 file changed, 5 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-29 19:08:54 UTC (rev 429467)
+++ PKGBUILD	2021-11-29 19:14:10 UTC (rev 429468)
@@ -1,51 +1,35 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 # Contributor: Arvedui <arvedui at posteo.de>
 
-pkgbase=python-retrying
-pkgname=(python-retrying python2-retrying)
+pkgname=python-retrying
 pkgver=1.3.3
-pkgrel=9
+pkgrel=10
 pkgdesc="A general purpose Python retyring library"
 arch=('any')
 url="https://github.com/rholder/retrying/releases"
 license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
+depends=('python-six')
+makedepends=('python-setuptools' 'python-six')
 source=("https://github.com/rholder/retrying/archive/v$pkgver.tar.gz")
 md5sums=(85ccf5a3a8b32d4091bcde8dabfce060)
 
 prepare() {
   cd "$srcdir"
-  cp -a retrying-$pkgver{,-py2}
 }
 
 build() {
   cd "$srcdir"/retrying-$pkgver
   python setup.py build
-
-  cd "$srcdir"/retrying-$pkgver-py2
-  python2 setup.py build
 }
 
 check() {
   cd "$srcdir"/retrying-$pkgver
   python setup.py test
-
-  cd "$srcdir"/retrying-$pkgver-py2
-  python2 setup.py test
 }
 
-package_python-retrying() {
-  depends=('python-six')
-
+package() {
   cd "$srcdir/retrying-$pkgver"
   python setup.py install --root="$pkgdir/" --optimize=1
 }
 
-package_python2-retrying() {
-  depends=('python2-six')
-
-  cd "$srcdir/retrying-$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