[arch-commits] Commit in python-binary-memcached/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 17:00:04 UTC 2020
Date: Thursday, November 12, 2020 @ 17:00:04
Author: foutrelis
Revision: 752164
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 752162, python-binary-memcached/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-binary-memcached/repos/community-staging-any/PKGBUILD (from rev 752162, python-binary-memcached/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:00:04 UTC (rev 752164)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-binary-memcached
+pkgver=0.30.1
+pkgrel=2
+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' 'python-trustme')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jaysonsantos/python-binary-memcached/archive/v$pkgver.tar.gz")
+sha512sums=('48cb475121b7ed8e30f4c029f53fa8761089649525b17300da0bbba4f9a996880983805553140dfb457c5836e83a5f16f50fe9995fc68cd534eda4f34028bfd7')
+
+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 -m 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