[arch-commits] Commit in dbus-python/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 07:04:57 UTC 2020
Date: Wednesday, November 11, 2020 @ 07:04:56
Author: foutrelis
Revision: 400266
archrelease: copy trunk to staging-x86_64
Added:
dbus-python/repos/staging-x86_64/PKGBUILD
(from rev 400265, dbus-python/trunk/PKGBUILD)
Deleted:
dbus-python/repos/staging-x86_64/PKGBUILD
----------+
PKGBUILD | 142 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 71 insertions(+), 71 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 07:04:53 UTC (rev 400265)
+++ PKGBUILD 2020-11-11 07:04:56 UTC (rev 400266)
@@ -1,71 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=dbus-python
-pkgname=('python-dbus' 'python2-dbus' 'python-dbus-common')
-pkgver=1.2.16
-pkgrel=2
-pkgdesc="Python bindings for DBUS"
-url="https://www.freedesktop.org/wiki/Software/DBusBindings"
-arch=(x86_64)
-license=('GPL' 'LGPL')
-depends=('dbus' 'glib2')
-makedepends=('python' 'python2' 'autoconf-archive' 'python-sphinx_rtd_theme' 'python-sphinx')
-source=(https://dbus.freedesktop.org/releases/${pkgbase}/${pkgbase}-${pkgver}.tar.gz{,.asc})
-sha256sums=('11238f1d86c995d8aed2e22f04a1e3779f0d70e587caffeab4857f3c662ed5a4'
- '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 bindings for DBUS"
-
- cd build-python3
- make DESTDIR="${pkgdir}" install
-
- rm -rf "${pkgdir}/usr/share"
- rm -r "${pkgdir}/usr/include"
- rm -r "${pkgdir}/usr/lib/pkgconfig"
-}
-
-package_python2-dbus() {
- depends+=('python-dbus-common' 'python2')
- pkgdesc="Python2 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 -r "${pkgdir}/usr/include"
- rm -r "${pkgdir}/usr/lib/pkgconfig"
-}
Copied: dbus-python/repos/staging-x86_64/PKGBUILD (from rev 400265, dbus-python/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 07:04:56 UTC (rev 400266)
@@ -0,0 +1,71 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=dbus-python
+pkgname=('python-dbus' 'python2-dbus' 'python-dbus-common')
+pkgver=1.2.16
+pkgrel=3
+pkgdesc="Python bindings for DBUS"
+url="https://www.freedesktop.org/wiki/Software/DBusBindings"
+arch=(x86_64)
+license=('GPL' 'LGPL')
+depends=('dbus' 'glib2')
+makedepends=('python' 'python2' 'autoconf-archive' 'python-sphinx_rtd_theme' 'python-sphinx')
+source=(https://dbus.freedesktop.org/releases/${pkgbase}/${pkgbase}-${pkgver}.tar.gz{,.asc})
+sha256sums=('11238f1d86c995d8aed2e22f04a1e3779f0d70e587caffeab4857f3c662ed5a4'
+ '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 bindings for DBUS"
+
+ cd build-python3
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}/usr/share"
+ rm -r "${pkgdir}/usr/include"
+ rm -r "${pkgdir}/usr/lib/pkgconfig"
+}
+
+package_python2-dbus() {
+ depends+=('python-dbus-common' 'python2')
+ pkgdesc="Python2 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 -r "${pkgdir}/usr/include"
+ rm -r "${pkgdir}/usr/lib/pkgconfig"
+}
More information about the arch-commits
mailing list