[arch-commits] Commit in python-systemd/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Tue Sep 6 16:56:04 UTC 2022


    Date: Tuesday, September 6, 2022 @ 16:56:04
  Author: heftig
Revision: 455196

archrelease: copy trunk to extra-x86_64

Added:
  python-systemd/repos/extra-x86_64/PKGBUILD
    (from rev 455195, python-systemd/trunk/PKGBUILD)
Deleted:
  python-systemd/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   69 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 34 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-06 16:55:51 UTC (rev 455195)
+++ PKGBUILD	2022-09-06 16:56:04 UTC (rev 455196)
@@ -1,35 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=python-systemd
-pkgver=234
-pkgrel=11
-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'
-}
-
-prepare() {
-  cd $pkgname
-  # reader: make PY_SSIZE_T_CLEAN
-  git format-patch -1 --stdout c71bbac357f0 | patch -Np1
-}
-
-build() {
-  cd $pkgname
-  make PYTHON=/usr/bin/python3
-}
-
-package() {
-  cd $pkgname
-  python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-systemd/repos/extra-x86_64/PKGBUILD (from rev 455195, python-systemd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-09-06 16:56:04 UTC (rev 455196)
@@ -0,0 +1,34 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=python-systemd
+pkgver=235
+pkgrel=1
+pkgdesc="Python bindings for systemd"
+url="https://github.com/systemd/python-systemd"
+arch=(x86_64)
+license=(LGPL)
+depends=(python systemd)
+makedepends=(python-setuptools git)
+options=(debug)
+_commit=dc1dae2eaa00e2369c366f80f9bcd3f729b7abca  # tags/v235^0
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  cd $pkgname
+  make
+}
+
+package() {
+  cd $pkgname
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list