2022-12-27 20:40:33 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
|
|
|
|
_pyname=python-memcached
|
2023-03-31 20:26:25 +00:00
|
|
|
pkgname=py3-memcached
|
2022-12-27 20:40:33 +00:00
|
|
|
pkgver=1.59
|
2023-03-31 20:26:25 +00:00
|
|
|
pkgrel=1
|
2023-05-07 22:41:06 +00:00
|
|
|
arch="!armv7 noarch"
|
2022-12-27 20:40:33 +00:00
|
|
|
pkgdesc="Python interface to memcached"
|
|
|
|
url="https://pypi.python.org/project/$_pyname"
|
|
|
|
license="Python-2.0"
|
|
|
|
depends="py3-six"
|
|
|
|
makedepends="py3-setuptools"
|
|
|
|
checkdepends="py3-tox"
|
|
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/linsomniac/python-memcached/archive/refs/tags/$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
|
|
|
|
|
|
build() {
|
2023-01-12 18:48:03 +00:00
|
|
|
python3 setup.py build
|
2022-12-27 20:40:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
tox -e python3 || true
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
python3 setup.py install --root="$pkgdir" --optimize=1
|
|
|
|
install -Dm644 PSF.LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
|
|
|
}
|
|
|
|
sha512sums="
|
|
|
|
d7ff45a329f2a9bf97fdc7c0268c2c67046c3501270fcf03578b955c2da35904d7bdecd4239924d390797ddff8f4cc69fc5743f4d4f663cdb9f2f8c7e8159512 py3-memcached-1.59.tar.gz
|
|
|
|
"
|