summaryrefslogtreecommitdiff
path: root/user/py3-dbus-python/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-07 20:39:49 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-07 20:39:49 +0000
commit1786fe3b739fa12d512888380d20570b8910af9a (patch)
tree5d7f6f5e8dc0d4a2d7a307bc86b505641ae95382 /user/py3-dbus-python/APKBUILD
parent950aa3ee596a005e12120b1620940328425e4b4d (diff)
downloadpackages-1786fe3b739fa12d512888380d20570b8910af9a.tar.gz
packages-1786fe3b739fa12d512888380d20570b8910af9a.tar.bz2
packages-1786fe3b739fa12d512888380d20570b8910af9a.tar.xz
packages-1786fe3b739fa12d512888380d20570b8910af9a.zip
user/py3-dbus-python: New package
Diffstat (limited to 'user/py3-dbus-python/APKBUILD')
-rw-r--r--user/py3-dbus-python/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/user/py3-dbus-python/APKBUILD b/user/py3-dbus-python/APKBUILD
new file mode 100644
index 000000000..d45fa91b7
--- /dev/null
+++ b/user/py3-dbus-python/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=py3-dbus-python
+_pkgname=${pkgname##py3-}
+_p="${_pkgname#?}"
+_p="${_pkgname%"$_p"}"
+pkgver=1.2.16
+pkgrel=0
+pkgdesc="D-Bus bindings for Python 3"
+url="https://dbus.freedesktop.org/doc/dbus-python/"
+arch="all"
+options="!check"
+license="MIT"
+depends="python3"
+makedepends="dbus-dev glib-dev python3-dev"
+subpackages=""
+source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+package() {
+ mkdir -p "$pkgdir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="e76c00c5fd3fe6884e4c24f258987fd3b80d21bd4e0f96aa8fda152078a860b62321324f6efcbfe7226d5ab2521a14b5bda7cf2468d2cae5f376c124a71aa05c dbus-python-1.2.16.tar.gz"