diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/py-dbus/APKBUILD | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/main/py-dbus/APKBUILD b/main/py-dbus/APKBUILD index 5b507c7ca6..22f2e62025 100644 --- a/main/py-dbus/APKBUILD +++ b/main/py-dbus/APKBUILD @@ -1,39 +1,38 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=py-dbus -pkgver=1.2.0 -pkgrel=2 +_pkgname=dbus-python +pkgver=1.2.8 +pkgrel=0 pkgdesc="Python bindings for DBUS" url="http://www.freedesktop.org/wiki/Software/DBusBindings" arch="all" license="GPL LGPL" depends="python2" depends_dev="py-dbus" -makedepends="dbus-glib-dev python2-dev" +makedepends="dbus-glib-dev python2-dev py2-sphinx" subpackages="$pkgname-dev $pkgname-doc" -source="http://dbus.freedesktop.org/releases/dbus-python/dbus-python-$pkgver.tar.gz" +source="http://dbus.freedesktop.org/releases/dbus-python/$_pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/dbus-python-$pkgver +builddir="$srcdir/$_pkgname-$pkgver" -prepare() { - cd "$_builddir" - update_config_sub || return 1 -} build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - || return 1 - make || return 1 - make test || return 1 + --enable-documentation + make +} + +check() { + cd "$builddir" + make test } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="b09cd2d1a057cc432ce944de3fc06bf7 dbus-python-1.2.0.tar.gz" -sha256sums="e12c6c8b2bf3a9302f75166952cbe41d6b38c3441bbc6767dbd498942316c6df dbus-python-1.2.0.tar.gz" -sha512sums="013b23e08fa1ed43f53a756587fefbc9770f7c51e93510e555acbd77230b7200693419bba9a69680d790bbaf123f4a195afa38b3eee1143da950fee0b5130bce dbus-python-1.2.0.tar.gz" +sha512sums="6e486fd560944fc1461a27e6798e2c348c7fdf351602c082a0614c0a6822ff147875212bdcb1f818c0ab12470cffc613c0ffbd292cd9d445d3429bee65765905 dbus-python-1.2.8.tar.gz" |