🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031323334353637
pkgname: python-dbus
pkgver: '1.4.0'
pkgrel: '4'
pkgdesc: Python bindings for DBUS
url: 'https://dbus.freedesktop.org/'
arch: x86_64
depends:
- python
makedepends:
- python-setuptools
- dbus
- glib
- python-meson
source:
- 'https://dbus.freedesktop.org/releases/dbus-python/dbus-python-${pkgver}.tar.xz'
sha256sums:
- c36b28f10ffcc8f1f798aca973bcc132f91f33eb9b6b8904381b4077766043d5
build: |
cd dbus-python-${pkgver}
pip3 wheel -w dist \
--no-build-isolation \
--no-deps $PWD
pip3 install --no-index \
--find-links dist \
--no-cache-dir \
--no-user \
--root=${PKGDIR} \
dbus-python
find ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf
# Obsolets libs
#rm -f ${PKGDIR}/usr/lib/python3.12/site-packages/_dbus_bindings.la
#rm -f ${PKGDIR}/usr/lib/python3.12/site-packages/_dbus_glib_bindings.la
package: |
true