[arch-commits] Commit in emesene/repos/community-any (8 files)
Eric Bélanger
eric at nymeria.archlinux.org
Thu Mar 21 01:52:51 UTC 2013
Date: Thursday, March 21, 2013 @ 02:52:51
Author: eric
Revision: 86676
archrelease: copy trunk to community-any
Added:
emesene/repos/community-any/PKGBUILD
(from rev 86675, emesene/trunk/PKGBUILD)
emesene/repos/community-any/emesene.install
(from rev 86675, emesene/trunk/emesene.install)
emesene/repos/community-any/emesene.run
(from rev 86675, emesene/trunk/emesene.run)
emesene/repos/community-any/setup.patch
(from rev 86675, emesene/trunk/setup.patch)
Deleted:
emesene/repos/community-any/PKGBUILD
emesene/repos/community-any/emesene.install
emesene/repos/community-any/emesene.run
emesene/repos/community-any/setup.patch
-----------------+
PKGBUILD | 116 ++++++++++++++++++++++++++----------------------------
emesene.install | 24 +++++------
emesene.run | 4 -
setup.patch | 40 +++++++++---------
4 files changed, 91 insertions(+), 93 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-21 01:52:10 UTC (rev 86675)
+++ PKGBUILD 2013-03-21 01:52:51 UTC (rev 86676)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Claudio Riva <firetux83 at gmail.com>
-
-pkgname=emesene
-pkgver=2.12.9
-pkgrel=2
-pkgdesc="A pygtk MSN Messenger client"
-url="http://www.emesene.org/"
-license=('GPL' 'GPL3' 'LGPL3')
-arch=('any')
-depends=('python2' 'pygtk' 'python2-dnspython' 'pylint' 'python2-notify' 'openssl' \
-'python2-imaging' 'dbus-python' 'xdg-utils' 'hicolor-icon-theme' \
-'gstreamer0.10-python' 'gstreamer0.10-good' 'pycrypto' \
-'python2-gobject2' 'python2-pyopenssl' 'pywebkitgtk')
-makedepends=('python2-distribute')
-optdepends=('gnome-python-extras: spell-check plugin'
- 'gtkspell: spell-check plugin'
- 'farsight2: webcam support'
- 'xmpppy: for gtalk and facebook chat support'
- 'python2-pyqt: alternative qt4 interface (emesene -e main:qt4_main')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/emesene/emesene/tarball/v${pkgver}"
- 'emesene.run')
-install=emesene.install
-options=('!libtool')
-sha1sums=('a1cd8aee7affae8f2637df65e2d45a06d3298f7a'
- '2bd13ada86aa0af6307a41047f0d7caf2995660d')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgname}-b89aa5e
-
- # do not import dummy session
- # sed -i -e "/import dummy/d" emesene/emesene.py
-
- # fix version number
-# sed -i 's|2.12.2-devel|2.12.3|' setup.py
-
- # install files
- export PYTHONPATH="${pkgdir}/usr/lib/python2.7/site-packages/"
- install -d ${pkgdir}/usr/lib/python2.7/site-packages/
- python2 setup.py install --prefix=${pkgdir}/usr
-}
-
-package() {
- cd ${pkgdir}
- # use /usr/share/emesene instead of /usr/lib/python2.7/site-packages
- mv -f ${pkgdir}/usr/lib/python2.7/site-packages/emesene-${pkgver}-py2.7.egg/share \
- ${pkgdir}/usr
- mv -f ${pkgdir}/usr/lib/python2.7/site-packages/emesene-${pkgver}-py2.7.egg/emesene \
- ${pkgdir}/usr/share
- rm -rf ${pkgdir}/usr/lib
-
- # python -> python2
- find -name *.py -exec sed -i "s|/usr/bin/env python|/usr/bin/env python2|" {} \;
- sed -i "s|/usr/bin/env python|/usr/bin/env python2|" ${pkgdir}/usr/share/emesene/emesene
-
- # create executable
- install -Dm755 ${srcdir}/emesene.run ${pkgdir}/usr/bin/emesene
-}
Copied: emesene/repos/community-any/PKGBUILD (from rev 86675, emesene/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-03-21 01:52:51 UTC (rev 86676)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Claudio Riva <firetux83 at gmail.com>
+
+pkgname=emesene
+pkgver=2.12.9
+pkgrel=2
+pkgdesc="A pygtk MSN Messenger client"
+url="http://www.emesene.org/"
+license=('GPL' 'GPL3' 'LGPL3')
+arch=('any')
+depends=('python2' 'pygtk' 'python2-dnspython' 'pylint' 'python2-notify' 'openssl' \
+'python2-imaging' 'dbus-python' 'xdg-utils' 'hicolor-icon-theme' \
+'gstreamer0.10-python' 'gstreamer0.10-good' 'pycrypto' \
+'python2-gobject2' 'python2-pyopenssl' 'pywebkitgtk')
+makedepends=('python2-distribute')
+optdepends=('gnome-python-extras: spell-check plugin'
+ 'gtkspell: spell-check plugin'
+ 'farsight2: webcam support'
+ 'xmpppy: for gtalk and facebook chat support'
+ 'python2-pyqt: alternative qt4 interface (emesene -e main:qt4_main')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/emesene/emesene/tarball/v${pkgver}"
+ 'emesene.run')
+install=emesene.install
+options=('!libtool')
+sha1sums=('a1cd8aee7affae8f2637df65e2d45a06d3298f7a'
+ '2bd13ada86aa0af6307a41047f0d7caf2995660d')
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgname}-b89aa5e
+
+ # do not import dummy session
+ # sed -i -e "/import dummy/d" emesene/emesene.py
+
+ # fix version number
+# sed -i 's|2.12.2-devel|2.12.3|' setup.py
+
+ # install files
+ export PYTHONPATH="${pkgdir}/usr/lib/python2.7/site-packages/"
+ install -d "${pkgdir}"/usr/lib/python2.7/site-packages/
+ python2 setup.py install --prefix="${pkgdir}"/usr
+
+ cd "${pkgdir}"
+ # use /usr/share/emesene instead of /usr/lib/python2.7/site-packages
+ mv -f "${pkgdir}"/usr/lib/python2.7/site-packages/emesene-${pkgver}-py2.7.egg/share \
+ "${pkgdir}"/usr
+ mv -f "${pkgdir}"/usr/lib/python2.7/site-packages/emesene-${pkgver}-py2.7.egg/emesene \
+ "${pkgdir}"/usr/share
+ rm -rf "${pkgdir}"/usr/lib
+
+ # python -> python2
+ find -name *.py -exec sed -i "s|/usr/bin/env python|/usr/bin/env python2|" {} \;
+ sed -i "s|/usr/bin/env python|/usr/bin/env python2|" "${pkgdir}"/usr/share/emesene/emesene
+
+ # create executable
+ install -Dm755 "${srcdir}"/emesene.run "${pkgdir}"/usr/bin/emesene
+}
Deleted: emesene.install
===================================================================
--- emesene.install 2013-03-21 01:52:10 UTC (rev 86675)
+++ emesene.install 2013-03-21 01:52:51 UTC (rev 86676)
@@ -1,12 +0,0 @@
-post_install() {
- update-desktop-database -q
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: emesene/repos/community-any/emesene.install (from rev 86675, emesene/trunk/emesene.install)
===================================================================
--- emesene.install (rev 0)
+++ emesene.install 2013-03-21 01:52:51 UTC (rev 86676)
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Deleted: emesene.run
===================================================================
--- emesene.run 2013-03-21 01:52:10 UTC (rev 86675)
+++ emesene.run 2013-03-21 01:52:51 UTC (rev 86676)
@@ -1,2 +0,0 @@
-#!/bin/bash
-python2 /usr/share/emesene/emesene "$@"
Copied: emesene/repos/community-any/emesene.run (from rev 86675, emesene/trunk/emesene.run)
===================================================================
--- emesene.run (rev 0)
+++ emesene.run 2013-03-21 01:52:51 UTC (rev 86676)
@@ -0,0 +1,2 @@
+#!/bin/bash
+python2 /usr/share/emesene/emesene "$@"
Deleted: setup.patch
===================================================================
--- setup.patch 2013-03-21 01:52:10 UTC (rev 86675)
+++ setup.patch 2013-03-21 01:52:51 UTC (rev 86676)
@@ -1,20 +0,0 @@
---- setup.py.orig 2010-05-03 11:02:53.551508139 +0200
-+++ setup.py 2010-05-03 11:03:09.681918067 +0200
-@@ -6,17 +6,6 @@
- import sys
-
- if os.name == 'posix':
-- for arg in sys.argv:
-- if arg == 'install':
-- print 'Hello.\nYou are trying to do a system-wide install of emesene '\
-- 'using this script, which is a very bad thing to do.\n'\
-- 'Seriously, you do NOT want to do this, since it can break '\
-- 'other python apps, and emesene too!\n'\
-- 'Follow my advice: just run the \"emesene\" script that is '\
-- 'in this very same directory and you\'re done. emesene is running '\
-- 'and your system is safe. It\'s a win-win, don\'t you think?\n'\
-- 'Thanks for trying emesene.'
-- quit()
-
- # From apport's setup.py
- mo_files = []
Copied: emesene/repos/community-any/setup.patch (from rev 86675, emesene/trunk/setup.patch)
===================================================================
--- setup.patch (rev 0)
+++ setup.patch 2013-03-21 01:52:51 UTC (rev 86676)
@@ -0,0 +1,20 @@
+--- setup.py.orig 2010-05-03 11:02:53.551508139 +0200
++++ setup.py 2010-05-03 11:03:09.681918067 +0200
+@@ -6,17 +6,6 @@
+ import sys
+
+ if os.name == 'posix':
+- for arg in sys.argv:
+- if arg == 'install':
+- print 'Hello.\nYou are trying to do a system-wide install of emesene '\
+- 'using this script, which is a very bad thing to do.\n'\
+- 'Seriously, you do NOT want to do this, since it can break '\
+- 'other python apps, and emesene too!\n'\
+- 'Follow my advice: just run the \"emesene\" script that is '\
+- 'in this very same directory and you\'re done. emesene is running '\
+- 'and your system is safe. It\'s a win-win, don\'t you think?\n'\
+- 'Thanks for trying emesene.'
+- quit()
+
+ # From apport's setup.py
+ mo_files = []
More information about the arch-commits
mailing list