archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / python-btrees / trunk / PKGBUILD
blob041b1e1c26fa24d8ac5c190bc186fc2eda6d6e6f
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-btrees
4 pkgver=4.11.3
5 pkgrel=2
6 pkgdesc='A fancy and practical functional tools'
7 arch=('x86_64')
8 license=('ZPL')
9 url='https://github.com/zopefoundation/btrees'
10 depends=('python-persistent' 'python-zope-interface')
11 makedepends=('python-setuptools')
12 checkdepends=('python-transaction' 'python-zope-testrunner')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/btrees/archive/$pkgver.tar.gz")
14 sha512sums=('e184f47db4ba63938cd8e6ddcc7aa452447e4324e64e8e92b874e3d72736c6371a0ba6c82fdc5a94046ac7aee1b028ca43de4eaea9a11394040868c8c89c9974')
16 build() {
17   cd BTrees-$pkgver
18   python setup.py build
21 check() {
22   cd BTrees-$pkgver
23   PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-311" python -m zope.testrunner --test-path=src
26 package() {
27   cd BTrees-$pkgver
28   python setup.py install --root="$pkgdir" --optimize=1
31 # vim:set ts=2 sw=2 et: