[arch-commits] Commit in python-memcached/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Jun 30 18:36:44 UTC 2018


    Date: Saturday, June 30, 2018 @ 18:36:43
  Author: felixonmars
Revision: 349038

archrelease: copy trunk to community-staging-any

Added:
  python-memcached/repos/community-staging-any/
  python-memcached/repos/community-staging-any/PKGBUILD
    (from rev 349037, python-memcached/trunk/PKGBUILD)

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

Copied: python-memcached/repos/community-staging-any/PKGBUILD (from rev 349037, python-memcached/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-06-30 18:36:43 UTC (rev 349038)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at aur.archlinux.org>
+# Contributor: Nathan Jones <nathanj at insightbb.com>
+
+pkgbase=python-memcached
+pkgname=(python2-memcached python-memcached)
+pkgver=1.59
+pkgrel=2
+url='https://github.com/linsomniac/python-memcached'
+arch=('any')
+license=('PSF')
+makedepends=('python2-setuptools' 'git' 'python2-six' 'python-six' 'python-setuptools')
+source=("git://github.com/linsomniac/python-memcached#tag=$pkgver")
+md5sums=('SKIP')
+
+package_python2-memcached() {
+  pkgdesc='Python2 interface to memcached'
+  depends=('python2-six')
+
+  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