archrelease: copy trunk to extra-x86_64
[arch-packages.git] / pyalpm / repos / testing-x86_64 / PKGBUILD
blob6832c44dfc97a3d4b5bab37aa579c9daf2c1caf4
1 # Maintainer : Rémy Oudompheng <remy@archlinux.org>
3 pkgname=pyalpm
4 pkgver=0.10.6
5 pkgrel=3
6 pkgdesc="Python 3 bindings for libalpm"
7 arch=('x86_64')
8 url="https://gitlab.archlinux.org/archlinux/pyalpm"
9 license=('GPL')
10 makedepends=('git' 'python-setuptools' 'python-pytest' 'python-pkgconfig' 'python-pytest-pacman')
11 depends=('python' 'pacman')
12 source=("git+https://gitlab.archlinux.org/archlinux/pyalpm.git#tag=$pkgver")
13 validpgpkeys=('E499C79F53C96A54E572FEE1C06086337C50773E')
14 sha512sums=('SKIP')
16 prepare() {
17   cd "${pkgname}"
20 build() {
21   cd "${pkgname}"
22   python setup.py build
25 check() {
26   cd "${pkgname}"
27   PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.10" pytest
30 package() {
31   cd "${pkgname}"
32   python setup.py install --root=${pkgdir}