diff options
author | LingMan | 2023-05-31 09:35:06 +0200 |
---|---|---|
committer | LingMan | 2023-05-31 09:39:27 +0200 |
commit | 02cfd1df8c885e620e8f12d5c43164475a3ef3a8 (patch) | |
tree | 2b457f791f53b2484362558684b84cbf05e5a662 | |
parent | 5cf437fda3fb1912cd513c7580e70e33c1c18da7 (diff) | |
download | aur-02cfd1df8c885e620e8f12d5c43164475a3ef3a8.tar.gz |
Drop python-dbus-common dependency
Until now python-dbus-common provided dbus-python.{h,pc} for us. Since Python 2 support was dropped
upstream we can no longer keep the version in sync and expect these files to be compatible.
Stop distributing them and hope nobody actually needed them from us.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 11 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = python2-dbus - pkgdesc = Python2 bindings for DBUS + pkgdesc = Python bindings for DBUS (Legacy Python 2 version) pkgver = 1.2.18 - pkgrel = 2 + pkgrel = 3 url = https://www.freedesktop.org/wiki/Software/DBusBindings arch = x86_64 license = GPL @@ -11,8 +11,6 @@ pkgbase = python2-dbus depends = dbus depends = glib2 depends = python2 - depends = python-dbus-common<1.3 - depends = python-dbus-common>=1.2 source = https://dbus.freedesktop.org/releases/dbus-python/dbus-python-1.2.18.tar.gz sha256sums = 92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260 @@ -1,13 +1,14 @@ pkgname=python2-dbus _pkgname=dbus-python +# Do NOT update this further. Support for Python 2 was dropped with dbus-python 1.3.0 pkgver=1.2.18 -pkgrel=2 -pkgdesc="Python2 bindings for DBUS" +pkgrel=3 +pkgdesc="Python bindings for DBUS (Legacy Python 2 version)" url="https://www.freedesktop.org/wiki/Software/DBusBindings" arch=(x86_64) license=('GPL' 'LGPL') -depends=('dbus' 'glib2' 'python2' 'python-dbus-common<1.3' 'python-dbus-common>=1.2') +depends=('dbus' 'glib2' 'python2') makedepends=('autoconf-archive' 'automake') source=(https://dbus.freedesktop.org/releases/${_pkgname}/${_pkgname}-${pkgver}.tar.gz) sha256sums=('92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260') @@ -29,7 +30,11 @@ package() { cd $_pkgname-$pkgver make DESTDIR="${pkgdir}" install - rm -rf "${pkgdir}/usr/share" + # dbus-python.h and dbus-python.pc are also provided by the dbus-python package in the official + # repositories and shipping them in both packages would result in a collision. Since v1.3.0 dropped + # support for Python 2 we can't just depend on the right version of dbus-python and expect the + # files to stay compatible either. + # Simply stop shipping them entirely and pray nobody actually needs them from us. rm -r "${pkgdir}/usr/include" rm -r "${pkgdir}/usr/lib/pkgconfig" } |