Balló György pushed to branch main at Arch Linux / Packaging / Packages /
dbus-python
Commits:
4b456355 by Balló György at 2024-07-19T21:11:48+02:00
Formatting
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -9,8 +9,8 @@ pkgbase = dbus-python
makedepends = meson
makedepends = python-pyproject-metadata
makedepends = python-sphinx
- makedepends = python-sphinxcontrib-jquery
makedepends = python-sphinx_rtd_theme
+ makedepends = python-sphinxcontrib-jquery
makedepends = python-tomli
depends = dbus
depends = glib2
=====================================
PKGBUILD
=====================================
@@ -2,23 +2,39 @@
# Contributor: Jan de Groot <[email protected]>
pkgbase=dbus-python
-pkgname=(python-dbus python-dbus-docs)
+pkgname=(
+ python-dbus
+ python-dbus-docs
+)
pkgver=1.3.2
pkgrel=4
pkgdesc='Python bindings for D-Bus'
-arch=('x86_64')
+arch=(x86_64)
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
<[email protected]>
+source=(git+https://gitlab.freedesktop.org/dbus/$pkgbase.git?signed#tag=$pkgbase-$pkgver)
+b2sums=(c1dbfb15103b0ab6309c1db218d01d8710c9101a7761f615aefc1d8e2944389e70cff4c1e709aa660ac1f2458163ceb4c5609aaf630d07ee63d33e19b1d9b575)
+validpgpkeys=(DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90) # Simon McVittie
<[email protected]>
build() {
- arch-meson $pkgbase build -D doc=true
+ arch-meson $pkgbase build \
+ -D doc=true
meson compile -C build
# Generate egg-info
@@ -30,9 +46,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"
@@ -53,8 +78,8 @@ 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"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/dbus-python/-/commit/4b45635508fa05b2002ca27d3c7a4724a46919f4
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/dbus-python/-/commit/4b45635508fa05b2002ca27d3c7a4724a46919f4
You're receiving this email because of your account on gitlab.archlinux.org.