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

Alexander Rødseth arodseth at archlinux.org
Wed Apr 22 13:08:10 UTC 2015


    Date: Wednesday, April 22, 2015 @ 15:08:10
  Author: arodseth
Revision: 131945

upgpkg: python2-memcached 1.54-1

Modified:
  python2-memcached/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++---------------
 1 file changed, 12 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-22 12:58:35 UTC (rev 131944)
+++ PKGBUILD	2015-04-22 13:08:10 UTC (rev 131945)
@@ -6,33 +6,30 @@
 
 pkgname=python2-memcached
 pkgdesc='Python interface to memcached'
-pkgver=1.53
-pkgrel=3
+pkgver=1.54
+pkgrel=1
+url='https://github.com/linsomniac/python-memcached'
+arch=('any')
+license=('PSF')
 depends=('python2')
-url='https://bugs.launchpad.net/python-memcached'
-arch=('any')
-license=('Python')
-makedepends=('python2-setuptools')
-source=("ftp://ftp.tummy.com/pub/python-memcached/python-memcached-$pkgver.tar.gz"
-        'LICENSE')
-sha256sums=('af04ea031b271a54f085166773e028fe053fc1d9a58cd8b3c3a57945990bfb48'
-            '9f3f9438250f8aa5bdcbb0dee700f237932fbda985646c61c85d2a25a2510f36')
+makedepends=('python2-setuptools' 'git')
+source=("git://github.com/linsomniac/python-memcached#tag=release-$pkgver")
+md5sums=('SKIP')
 
 prepare() {
-  cd "$srcdir/python-memcached-$pkgver"
+  cd 'python-memcached'
 
-  sed -i 's:/usr/bin/env python:#/usr/bin/python2:' memcache.py
+  sed -i 's:/env python:/python2:' memcache.py
 }
 
 package() {
-  cd "$srcdir/python-memcached-$pkgver"
+  cd 'python-memcached'
 
   python2 setup.py install --root=$pkgdir --optimize=1
-  install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
 check() {
-  cd "$srcdir/python-memcached-$pkgver"
+  cd 'python-memcached'
 
   python2 setup.py check
 }



More information about the arch-commits mailing list