diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 43 |
1 files changed, 18 insertions, 25 deletions
@@ -1,33 +1,26 @@ -# Maintainer: Janusz Lewandowski <lew21@xtreeme.org> -pkgname=('python-pydbus-git' - 'python2-pydbus-git') -pkgver=0.5.1.r0.1b58124 +# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix +# Contributor: Janusz Lewandowski <lew21@xtreeme.org> + +pkgname=python-pydbus-git +pkgver=0.6.0.r17.77fc029 pkgrel=1 pkgdesc="Pythonic DBus library" -arch=("any") -url="https://github.com/LEW21/pydbus" -license=('LGPL') -makedepends=('git' 'python-setuptools' 'python2-setuptools') -source=('pydbus::git+https://github.com/LEW21/pydbus.git') -md5sums=('SKIP') +arch=(any) +url="https://github.com/openEuler-BaseService/pydbus" +license=(LGPL2.1) +depends=(python python-gobject gobject-introspection-runtime) +makedepends=(git python-setuptools) +provides=(python-pydbus) +conflicts=(python-pydbus) +source=("git+https://github.com/openEuler-BaseService/pydbus.git") +sha256sums=('SKIP') pkgver() { - cd "$srcdir/pydbus" - printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/v//')" + cd "$srcdir/pydbus" + git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/v//' } package_python-pydbus-git() { - depends=('python' 'python-gobject') - provides=("${pkgname%-git}") - conflicts=("${pkgname%-git}") - cd "$srcdir/pydbus" - python setup.py install --root="$pkgdir/" --optimize=1 -} - -package_python2-pydbus-git() { - depends=('python2' 'python2-gobject') - provides=("${pkgname%-git}") - conflicts=("${pkgname%-git}") - cd "$srcdir/pydbus" - python2 setup.py install --root="$pkgdir/" --optimize=1 + cd "$srcdir/pydbus" + python setup.py install --root="$pkgdir/" --optimize=1 } |