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

Jan Steffens heftig at archlinux.org
Tue Jan 30 10:32:39 UTC 2018


    Date: Tuesday, January 30, 2018 @ 10:32:34
  Author: heftig
Revision: 315616

archrelease: copy trunk to extra-x86_64

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

----------+
 PKGBUILD |  144 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-30 10:29:04 UTC (rev 315615)
+++ PKGBUILD	2018-01-30 10:32:34 UTC (rev 315616)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=dbus-python
-pkgname=('python-dbus' 'python2-dbus' 'python-dbus-common')
-pkgver=1.2.4
-pkgrel=2
-pkgdesc="Python bindings for DBUS"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL')
-url="http://www.freedesktop.org/wiki/Software/DBusBindings"
-makedepends=('docutils' 'dbus-glib' 'python' 'python2' 'autoconf-archive')
-source=(http://dbus.freedesktop.org/releases/${pkgbase}/${pkgbase}-${pkgver}.tar.gz{,.asc})
-md5sums=('7372a588c83a7232b4e08159bfd48fe5'
-         'SKIP')
-validpgpkeys=('3C8672A0F49637FE064AC30F52A43A1E4B77B059') #SimonMcVittie
-
-prepare() {
-  mkdir build-python2 build-python3
-  cd $pkgbase-$pkgver
-  autoreconf -fi
-}
-
-build() {
-  cd build-python2
-  PYTHON=python2 ../${pkgbase}-${pkgver}/configure --prefix=/usr
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-
-  cd ../build-python3
-  ../${pkgbase}-${pkgver}/configure --prefix=/usr
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-package_python-dbus-common() {
-  pkgdesc="Common dbus-python files shared between python-dbus and python2-dbus"
-  conflicts=('dbus-python<1.1.0')
-
-  cd build-python3
-  make DESTDIR="${pkgdir}" install-data
-  rm -rf "${pkgdir}"/usr/lib/python*
-}
-
-package_python-dbus() {
-  depends=('python-dbus-common' 'python' 'dbus')
-  optdepends=('dbus-glib: glib mainloop support')
-  pkgdesc="Python 3.6 bindings for DBUS"
-
-  cd build-python3
-  make DESTDIR="${pkgdir}" install
-
-  rm -rf "${pkgdir}/usr/share"
-  rm -rf "${pkgdir}/usr/include"
-  rm -rf "${pkgdir}/usr/lib/pkgconfig"
-}
-
-package_python2-dbus() {
-  depends=('python-dbus-common' 'python2' 'dbus')
-  optdepends=('dbus-glib: glib mainloop support')
-  pkgdesc="Python 2.7 bindings for DBUS"
-  replaces=('dbus-python')
-  conflicts=('dbus-python')
-  provides=("dbus-python=$pkgver")
-
-  cd build-python2
-  make DESTDIR="${pkgdir}" install
-
-  rm -rf "${pkgdir}/usr/share"
-  rm -rf "${pkgdir}/usr/include"
-  rm -rf "${pkgdir}/usr/lib/pkgconfig"
-}

Copied: dbus-python/repos/extra-x86_64/PKGBUILD (from rev 315615, dbus-python/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-01-30 10:32:34 UTC (rev 315616)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=dbus-python
+pkgname=('python-dbus' 'python2-dbus' 'python-dbus-common')
+pkgver=1.2.6
+pkgrel=1
+pkgdesc="Python bindings for DBUS"
+url="https://www.freedesktop.org/wiki/Software/DBusBindings"
+arch=(x86_64)
+license=('GPL' 'LGPL')
+depends=('dbus' 'glib2')
+makedepends=('docutils' 'python' 'python2' 'autoconf-archive')
+source=(https://dbus.freedesktop.org/releases/${pkgbase}/${pkgbase}-${pkgver}.tar.gz{,.asc})
+sha256sums=('32f29c17172cdb9cb61c68b1f1a71dfe7351506fc830869029c47449bd04faeb'
+            'SKIP')
+validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90')
+
+prepare() {
+  mkdir build-python2 build-python3
+  cd $pkgbase-$pkgver
+  autoreconf -fi
+}
+
+build() {
+  cd build-python2
+  ../${pkgbase}-${pkgver}/configure --prefix=/usr PYTHON_VERSION=2
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+
+  cd ../build-python3
+  ../${pkgbase}-${pkgver}/configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_python-dbus-common() {
+  pkgdesc="Common dbus-python files shared between python-dbus and python2-dbus"
+  depends=()
+  conflicts=('dbus-python<1.1.0')
+
+  cd build-python3
+  make DESTDIR="${pkgdir}" install-data
+  rm -r "${pkgdir}"/usr/lib/python*
+}
+
+package_python-dbus() {
+  depends+=('python-dbus-common' 'python')
+  pkgdesc="Python 3.6 bindings for DBUS"
+
+  cd build-python3
+  make DESTDIR="${pkgdir}" install
+
+  rm -r "${pkgdir}/usr/share"
+  rm -r "${pkgdir}/usr/include"
+  rm -r "${pkgdir}/usr/lib/pkgconfig"
+}
+
+package_python2-dbus() {
+  depends+=('python-dbus-common' 'python2')
+  pkgdesc="Python 2.7 bindings for DBUS"
+  replaces=('dbus-python')
+  conflicts=('dbus-python')
+  provides=("dbus-python=$pkgver")
+
+  cd build-python2
+  make DESTDIR="${pkgdir}" install
+
+  rm -r "${pkgdir}/usr/share"
+  rm -r "${pkgdir}/usr/include"
+  rm -r "${pkgdir}/usr/lib/pkgconfig"
+}



More information about the arch-commits mailing list