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