[arch-commits] Commit in python-systemd/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:18:36 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:18:36
Author: felixonmars
Revision: 429720
archrelease: copy trunk to staging-x86_64
Added:
python-systemd/repos/staging-x86_64/
python-systemd/repos/staging-x86_64/PKGBUILD
(from rev 429719, python-systemd/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-systemd/repos/staging-x86_64/PKGBUILD (from rev 429719, python-systemd/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-11-30 20:18:36 UTC (rev 429720)
@@ -0,0 +1,29 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=python-systemd
+pkgver=234
+pkgrel=9
+pkgdesc="Python bindings for systemd"
+arch=(x86_64)
+url="https://github.com/systemd/python-systemd"
+license=(LGPL)
+depends=(python3 libsystemd)
+makedepends=(systemd python git)
+_commit=308ae4440c1f6ea1aff9be4cb683c52bd3a1c13a # tags/v234^0
+source=("$pkgname::git+${url}#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+ cd $pkgname
+ make PYTHON=/usr/bin/python3
+}
+
+package() {
+ cd $pkgname
+ python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list