[arch-commits] Commit in python-systemd/repos (4 files)

Jan Steffens heftig at archlinux.org
Sat Sep 19 20:25:27 UTC 2015


    Date: Saturday, September 19, 2015 @ 22:25:27
  Author: heftig
Revision: 246699

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  python-systemd/repos/staging-i686/
  python-systemd/repos/staging-i686/PKGBUILD
    (from rev 246696, python-systemd/trunk/PKGBUILD)
  python-systemd/repos/staging-x86_64/
  python-systemd/repos/staging-x86_64/PKGBUILD
    (from rev 246698, python-systemd/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: python-systemd/repos/staging-i686/PKGBUILD (from rev 246696, python-systemd/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-19 20:25:27 UTC (rev 246699)
@@ -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=2
+_commit=b71b8b64ebb28ddbf1130e9127f1e9fc5fb6117f
+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/staging-x86_64/PKGBUILD (from rev 246698, python-systemd/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-19 20:25:27 UTC (rev 246699)
@@ -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=2
+_commit=b71b8b64ebb28ddbf1130e9127f1e9fc5fb6117f
+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