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

Evangelos Foutras foutrelis at gemini.archlinux.org
Sat Dec 4 01:06:16 UTC 2021


    Date: Saturday, December 4, 2021 @ 01:06:16
  Author: foutrelis
Revision: 430678

archrelease: copy trunk to staging-x86_64

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

----------+
 PKGBUILD |   64 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 35 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-04 01:05:28 UTC (rev 430677)
+++ PKGBUILD	2021-12-04 01:06:16 UTC (rev 430678)
@@ -1,29 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=python-systemd
-pkgver=234
-pkgrel=10
-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
-}

Copied: python-systemd/repos/staging-x86_64/PKGBUILD (from rev 430677, python-systemd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-04 01:06:16 UTC (rev 430678)
@@ -0,0 +1,35 @@
+# 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
+}



More information about the arch-commits mailing list