[arch-commits] Commit in python-systemd/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Mon Mar 1 13:32:49 UTC 2021
Date: Monday, March 1, 2021 @ 13:32:49
Author: jelle
Revision: 408950
archrelease: copy trunk to extra-x86_64
Added:
python-systemd/repos/extra-x86_64/PKGBUILD
(from rev 408949, python-systemd/trunk/PKGBUILD)
Deleted:
python-systemd/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 75 +++++++++++++++++++++++--------------------------------------
1 file changed, 29 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-01 13:32:43 UTC (rev 408949)
+++ PKGBUILD 2021-03-01 13:32:49 UTC (rev 408950)
@@ -1,46 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgbase=python-systemd
-pkgname=(python-systemd python2-systemd)
-pkgver=234
-pkgrel=7
-pkgdesc="Python bindings for systemd"
-arch=(x86_64)
-url="https://github.com/systemd/python-systemd"
-license=(LGPL)
-makedepends=(systemd python python2 git)
-_commit=308ae4440c1f6ea1aff9be4cb683c52bd3a1c13a # tags/v234^0
-source=("$pkgbase::git+${url}#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgbase
- git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
- cp -a $pkgbase python2
- cp -a $pkgbase python3
-}
-
-build() {
- cd python3
- make PYTHON=/usr/bin/python3
-
- cd ../python2
- make PYTHON=/usr/bin/python2
-}
-
-package_python-systemd() {
- depends=(python3 libsystemd)
-
- cd python3
- python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python2-systemd() {
- depends=(python2 libsystemd)
-
- cd python2
- python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-systemd/repos/extra-x86_64/PKGBUILD (from rev 408949, python-systemd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-01 13:32:49 UTC (rev 408950)
@@ -0,0 +1,29 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=python-systemd
+pkgver=234
+pkgrel=8
+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