[arch-commits] Commit in python2-pyxmpp/repos/community-any (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Wed Oct 12 09:10:31 UTC 2016
Date: Wednesday, October 12, 2016 @ 09:10:30
Author: arodseth
Revision: 191997
archrelease: copy trunk to community-any
Added:
python2-pyxmpp/repos/community-any/PKGBUILD
(from rev 191996, python2-pyxmpp/trunk/PKGBUILD)
Deleted:
python2-pyxmpp/repos/community-any/PKGBUILD
----------+
PKGBUILD | 83 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-12 09:10:22 UTC (rev 191996)
+++ PKGBUILD 2016-10-12 09:10:30 UTC (rev 191997)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: William Rea <sillywilly at gmail.com>
-
-pkgname=python2-pyxmpp
-pkgver=1.1.2
-pkgrel=5
-pkgdesc='Python XMPP and Jabber implementation based on libxml2'
-arch=('any')
-url='https://github.com/Jajcus/pyxmpp'
-license=('LGPL')
-depends=('python2-dnspython' 'libxml2' 'python2-m2crypto')
-makedepends=('git')
-source=("git://github.com/Jajcus/pyxmpp.git#tag=pyxmpp-$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- # Horrible hacks to convince pyxmpp to use /usr/bin/python2
- cd pyxmpp
- for pyf in Makefile tests/*.py utils/*.py examples/*.py; do
- sed 's/python/python2/g' -i "$pyf"
- done
- sed 's/env python/env python2/g' -i configure.py
- sed 's/python setup/python2 setup/g' -i configure.py
-}
-
-build() {
- cd pyxmpp
- ./configure.py
-
- # This is my life now
- make || make
-}
-
-package() {
- cd pyxmpp
- make DESTDIR="$pkgdir" install || make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python2-pyxmpp/repos/community-any/PKGBUILD (from rev 191996, python2-pyxmpp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-12 09:10:30 UTC (rev 191997)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=python2-pyxmpp
+pkgver=1.1.2
+pkgrel=6
+pkgdesc='Python XMPP and Jabber implementation based on libxml2'
+arch=('any')
+url='https://github.com/Jajcus/pyxmpp'
+license=('LGPL')
+depends=('python2-dnspython' 'libxml2' 'python2-m2crypto')
+makedepends=('git')
+source=("git://github.com/Jajcus/pyxmpp.git#tag=pyxmpp-$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cd pyxmpp
+
+ # Make sure Python 2 is used everywhere
+ for pyf in Makefile tests/*.py utils/*.py examples/*.py; do
+ sed 's/python/python2/g' -i "$pyf"
+ done
+ sed 's/env python/env python2/g' -i configure.py
+ sed 's/python setup/python2 setup/g' -i configure.py
+}
+
+build() {
+ cd pyxmpp
+ ./configure.py
+
+ # This is my life now
+ make || make
+}
+
+package() {
+ make -C pyxmpp DESTDIR="$pkgdir" install \
+ || make -C pyxmpp DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list