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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 06:23:05 UTC 2019


    Date: Monday, November 4, 2019 @ 06:23:05
  Author: felixonmars
Revision: 523382

archrelease: copy trunk to community-staging-any

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

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

Copied: python-binary-memcached/repos/community-staging-any/PKGBUILD (from rev 523381, python-binary-memcached/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 06:23:05 UTC (rev 523382)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-binary-memcached
+pkgver=0.28.0
+pkgrel=3
+arch=('any')
+pkgdesc='A pure python module to access memcached via its binary protocol with SASL auth support'
+url='https://github.com/jaysonsantos/python-binary-memcached'
+license=('MIT')
+depends=('python-six' 'python-uhashring')
+makedepends=('python-setuptools' 'python-uhashring')
+checkdepends=('memcached' 'python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jaysonsantos/python-binary-memcached/archive/v$pkgver.tar.gz")
+sha512sums=('8edd603c8ee67826ab7f2d064d2cad67c2a4b695e09d763cbefc988a0576f6d06730358983f77a903e64b7aec3ac511dbb3e58cfcb51030b604a2524e482d6fa')
+
+prepare() {
+  sed -i '/typing/d' python-binary-memcached-$pkgver/setup.py
+}
+
+build() {
+  cd python-binary-memcached-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-binary-memcached-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd python-binary-memcached-$pkgver
+  python setup.py install --root "$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list