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

Jelle van der Waa jelle at archlinux.org
Wed May 13 09:55:45 UTC 2020


    Date: Wednesday, May 13, 2020 @ 09:55:44
  Author: jelle
Revision: 627595

Remove unused python2 module

Modified:
  python-memcached/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++------------------------
 1 file changed, 6 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-13 09:51:59 UTC (rev 627594)
+++ PKGBUILD	2020-05-13 09:55:44 UTC (rev 627595)
@@ -3,41 +3,23 @@
 # Contributor: Geoffroy Carrier <geoffroy.carrier at aur.archlinux.org>
 # Contributor: Nathan Jones <nathanj at insightbb.com>
 
-pkgbase=python-memcached
-pkgname=(python2-memcached python-memcached)
+pkgname=python-memcached
 pkgver=1.59
-pkgrel=4
+pkgrel=5
 url='https://github.com/linsomniac/python-memcached'
 arch=('any')
 license=('PSF')
-makedepends=('python2-setuptools' 'git' 'python2-six' 'python-six' 'python-setuptools')
+pkgdesc='Python interface to memcached'
+depends=('python-six')
+makedepends=('git' 'python-setuptools')
 source=("git://github.com/linsomniac/python-memcached#tag=$pkgver")
 md5sums=('SKIP')
 
-package_python2-memcached() {
-  pkgdesc='Python2 interface to memcached'
-  depends=('python2-six')
-
+package() {
   cd 'python-memcached'
 
-  python2 setup.py install --root=$pkgdir --optimize=1
-}
-
-package_python-memcached() {
-  pkgdesc='Python interface to memcached'
-  depends=('python-six')
-
-  cd 'python-memcached'
-
   python3 setup.py install --root=$pkgdir --optimize=1
 }
 
-check() {
-  cd 'python-memcached'
-
-  python2 setup.py check
-  python3 setup.py check
-}
-
 # getver: raw.githubusercontent.com/linsomniac/python-memcached/master/ChangeLog
 # vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list