archrelease: copy trunk to community-any
[ArchLinux/community.git] / python-pydbus / trunk / PKGBUILD
blobc580166365a95ca949355c6c53a9fb1806d4e417
1 # Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
2 # Contributor: Christoph Gysin <christoph.gysin@gmail.com>
4 _name='pydbus'
5 pkgname="python-${_name}"
6 pkgver=0.6.0
7 pkgrel=10
8 pkgdesc='Pythonic D-Bus library'
9 arch=('any')
10 url="https://github.com/LEW21/${_name}"
11 license=('LGPL')
12 depends=('python' 'python-gobject')
13 makedepends=('python-setuptools')
14 # checkdepends=('xorg-server-xvfb' 'python-gobject')
15 source=("${_name}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
16 sha256sums=('dacdf0498a831c8b43a4f3d985d64f99f3093a8aaf4e2ea99981c30fdf1a42da')
18 build() {
19     cd "${_name}-${pkgver}"
20     python setup.py build
23 # https://github.com/LEW21/pydbus/issues/85
24 # check() {
25 #     cd "${_name}-${pkgver}"
26 #     # ./tests/run.sh
27 #     # LANG='en_US.UTF-8' xvfb-run python setup.py test
28 # }
30 package() {
31     cd "${_name}-${pkgver}"
32     python setup.py install --skip-build \
33         --optimize=1 \
34         --prefix=/usr \
35         --root="${pkgdir}"
37     install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.rst
40 # vim:set ts=4 sw=4 et: