[arch-commits] Commit in python-mpris2/repos (community-any community-any/PKGBUILD)
Jonas Witschel
diabonas at gemini.archlinux.org
Mon Mar 14 10:10:59 UTC 2022
Date: Monday, March 14, 2022 @ 10:10:59
Author: diabonas
Revision: 1152228
archrelease: copy trunk to community-any
Added:
python-mpris2/repos/community-any/
python-mpris2/repos/community-any/PKGBUILD
(from rev 1152227, python-mpris2/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-mpris2/repos/community-any/PKGBUILD (from rev 1152227, python-mpris2/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2022-03-14 10:10:59 UTC (rev 1152228)
@@ -0,0 +1,29 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=python-mpris2
+pkgver=1.0.2
+_commit=67356f29d68e29c7f3f0ddda5aaad6f68899b2bd
+pkgrel=1
+pkgdesc='Python usable definiton of MPRIS2'
+arch=('any')
+url='https://github.com/hugosenari/mpris2'
+license=('GPL')
+depends=('python' 'python-dbus')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
+checkdepends=('python-pytest')
+source=("git+$url.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd "${pkgname#python-}"
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "${pkgname#python-}"
+ pytest
+}
+
+package() {
+ cd "${pkgname#python-}"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}
More information about the arch-commits
mailing list