* update dbus-python to 1.3.2-5
This commit is contained in:
parent
9496f98bd7
commit
2c86a6d45d
41
python/dbus-python/.SRCINFO
Normal file
41
python/dbus-python/.SRCINFO
Normal file
@ -0,0 +1,41 @@
|
||||
pkgbase = dbus-python
|
||||
pkgdesc = Python bindings for D-Bus
|
||||
pkgver = 1.3.2
|
||||
pkgrel = 5
|
||||
url = https://www.freedesktop.org/wiki/Software/dbus/
|
||||
arch = x86_64
|
||||
arch = powerpc64le
|
||||
arch = powerpc64
|
||||
arch = powerpc
|
||||
arch = riscv64
|
||||
license = MIT
|
||||
makedepends = git
|
||||
makedepends = meson
|
||||
makedepends = python-pyproject-metadata
|
||||
makedepends = python-sphinx
|
||||
makedepends = python-sphinx_rtd_theme
|
||||
makedepends = python-sphinxcontrib-jquery
|
||||
makedepends = python-tomli
|
||||
depends = dbus
|
||||
depends = glib2
|
||||
depends = glibc
|
||||
depends = python
|
||||
optdepends = python-gobject: D-Bus services via PyGI
|
||||
source = git+https://gitlab.freedesktop.org/dbus/dbus-python.git?signed#tag=dbus-python-1.3.2
|
||||
validpgpkeys = DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90
|
||||
b2sums = c1dbfb15103b0ab6309c1db218d01d8710c9101a7761f615aefc1d8e2944389e70cff4c1e709aa660ac1f2458163ceb4c5609aaf630d07ee63d33e19b1d9b575
|
||||
|
||||
pkgname = python-dbus
|
||||
provides = dbus-python=1.3.2
|
||||
provides = python-dbus-common=1.3.2
|
||||
conflicts = dbus-python
|
||||
conflicts = python-dbus-common
|
||||
replaces = dbus-python
|
||||
replaces = python-dbus-common
|
||||
|
||||
pkgname = python-dbus-docs
|
||||
pkgdesc = Developer documentation for dbus-python
|
||||
depends =
|
||||
optdepends =
|
||||
conflicts = dbus-python-docs
|
||||
replaces = dbus-python-docs
|
4
python/dbus-python/.nvchecker.toml
Normal file
4
python/dbus-python/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[dbus-python]
|
||||
source = "git"
|
||||
git = "https://gitlab.freedesktop.org/dbus/dbus-python.git"
|
||||
prefix = "dbus-python-"
|
@ -3,23 +3,39 @@
|
||||
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||
|
||||
pkgbase=dbus-python
|
||||
pkgname=(python-dbus python-dbus-docs)
|
||||
pkgname=(
|
||||
python-dbus
|
||||
python-dbus-docs
|
||||
)
|
||||
pkgver=1.3.2
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc='Python bindings for D-Bus'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://www.freedesktop.org/wiki/Software/dbus/'
|
||||
license=('MIT')
|
||||
depends=('dbus' 'glib2' 'glibc' 'python')
|
||||
makedepends=('git' 'meson' 'python-pyproject-metadata' 'python-sphinx'
|
||||
'python-sphinxcontrib-jquery' 'python-sphinx_rtd_theme' 'python-tomli')
|
||||
license=(MIT)
|
||||
depends=(
|
||||
dbus
|
||||
glib2
|
||||
glibc
|
||||
python
|
||||
)
|
||||
makedepends=(
|
||||
git
|
||||
meson
|
||||
python-pyproject-metadata
|
||||
python-sphinx
|
||||
python-sphinx_rtd_theme
|
||||
python-sphinxcontrib-jquery
|
||||
python-tomli
|
||||
)
|
||||
optdepends=('python-gobject: D-Bus services via PyGI')
|
||||
source=("git+https://gitlab.freedesktop.org/dbus/$pkgbase.git?signed#tag=$pkgbase-$pkgver")
|
||||
b2sums=('c1dbfb15103b0ab6309c1db218d01d8710c9101a7761f615aefc1d8e2944389e70cff4c1e709aa660ac1f2458163ceb4c5609aaf630d07ee63d33e19b1d9b575')
|
||||
validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90') # Simon McVittie <smcv@pseudorandom.co.uk>
|
||||
b2sums=(c1dbfb15103b0ab6309c1db218d01d8710c9101a7761f615aefc1d8e2944389e70cff4c1e709aa660ac1f2458163ceb4c5609aaf630d07ee63d33e19b1d9b575)
|
||||
validpgpkeys=(DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90) # Simon McVittie <smcv@pseudorandom.co.uk>
|
||||
|
||||
build() {
|
||||
arch-meson $pkgbase build -D doc=true
|
||||
arch-meson $pkgbase build \
|
||||
-D doc=true
|
||||
meson compile -C build
|
||||
|
||||
# Generate egg-info
|
||||
@ -31,9 +47,18 @@ check() {
|
||||
}
|
||||
|
||||
package_python-dbus() {
|
||||
conflicts=('dbus-python' 'python-dbus-common')
|
||||
provides=("dbus-python=$pkgver" "python-dbus-common=$pkgver")
|
||||
replaces=('dbus-python' 'python-dbus-common')
|
||||
conflicts=(
|
||||
dbus-python
|
||||
python-dbus-common
|
||||
)
|
||||
provides=(
|
||||
"dbus-python=$pkgver"
|
||||
"python-dbus-common=$pkgver"
|
||||
)
|
||||
replaces=(
|
||||
dbus-python
|
||||
python-dbus-common
|
||||
)
|
||||
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
|
||||
@ -42,8 +67,8 @@ package_python-dbus() {
|
||||
python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
|
||||
|
||||
# Install egg-info and license
|
||||
install -Dm644 -t "$pkgdir`python -c 'import site; print(site.getsitepackages()[0])'`/dbus_python.egg-info/" "$srcdir/PKG-INFO"
|
||||
install -Dm644 "$pkgbase/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||
install -Dm644 -t "$pkgdir$(python -c 'import site; print(site.getsitepackages()[0])')/dbus_python.egg-info/" PKG-INFO
|
||||
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" "$pkgbase/COPYING"
|
||||
|
||||
# Split documentation
|
||||
mkdir -p doc/usr/share
|
||||
@ -54,10 +79,10 @@ package_python-dbus-docs() {
|
||||
pkgdesc="Developer documentation for dbus-python"
|
||||
depends=()
|
||||
optdepends=()
|
||||
conflicts=('dbus-python-docs')
|
||||
replaces=('dbus-python-docs')
|
||||
conflicts=(dbus-python-docs)
|
||||
replaces=(dbus-python-docs)
|
||||
|
||||
mv doc/* "$pkgdir"
|
||||
rm -r "$pkgdir/usr/share/doc/$pkgbase/html/.doctrees"
|
||||
install -Dm644 "$pkgbase/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" "$pkgbase/COPYING"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user