[arch-commits] Commit in python-systemd/repos (4 files)
Jan Steffens
heftig at archlinux.org
Tue Aug 4 18:08:12 UTC 2015
Date: Tuesday, August 4, 2015 @ 20:08:12
Author: heftig
Revision: 243036
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
python-systemd/repos/extra-i686/
python-systemd/repos/extra-i686/PKGBUILD
(from rev 243035, python-systemd/trunk/PKGBUILD)
python-systemd/repos/extra-x86_64/
python-systemd/repos/extra-x86_64/PKGBUILD
(from rev 243035, python-systemd/trunk/PKGBUILD)
-----------------------+
extra-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
extra-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: python-systemd/repos/extra-i686/PKGBUILD (from rev 243035, python-systemd/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2015-08-04 18:08:12 UTC (rev 243036)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+pkgbase=python-systemd
+pkgname=(python-systemd python2-systemd)
+pkgver=230
+pkgrel=1
+_commit=58c65cf10a7640669ef84f9119c7841112eea025
+pkgdesc="Python bindings for systemd"
+arch=(i686 x86_64)
+url="https://github.com/systemd/python-systemd"
+license=(LGPL)
+makedepends=(systemd python python2 git)
+source=("$pkgbase::git+${url}#commit=${_commit}")
+sha256sums=('SKIP')
+
+prepare() {
+ cp -a $pkgbase python2
+ mv $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 243035, python-systemd/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2015-08-04 18:08:12 UTC (rev 243036)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+pkgbase=python-systemd
+pkgname=(python-systemd python2-systemd)
+pkgver=230
+pkgrel=1
+_commit=58c65cf10a7640669ef84f9119c7841112eea025
+pkgdesc="Python bindings for systemd"
+arch=(i686 x86_64)
+url="https://github.com/systemd/python-systemd"
+license=(LGPL)
+makedepends=(systemd python python2 git)
+source=("$pkgbase::git+${url}#commit=${_commit}")
+sha256sums=('SKIP')
+
+prepare() {
+ cp -a $pkgbase python2
+ mv $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
+}
More information about the arch-commits
mailing list