[arch-commits] Commit in bpython/repos/community-any (4 files)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Sat Feb 16 11:58:07 UTC 2013


    Date: Saturday, February 16, 2013 @ 12:58:07
  Author: bpiotrowski
Revision: 84317

archrelease: copy trunk to community-any

Added:
  bpython/repos/community-any/PKGBUILD
    (from rev 84316, bpython/trunk/PKGBUILD)
  bpython/repos/community-any/ungetch.patch
    (from rev 84316, bpython/trunk/ungetch.patch)
Deleted:
  bpython/repos/community-any/PKGBUILD
  bpython/repos/community-any/ungetch.patch

---------------+
 PKGBUILD      |  141 ++++++++++++++++++++++++++++----------------------------
 ungetch.patch |   24 ++++-----
 2 files changed, 84 insertions(+), 81 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-16 11:57:37 UTC (rev 84316)
+++ PKGBUILD	2013-02-16 11:58:07 UTC (rev 84317)
@@ -1,69 +0,0 @@
-# $Id$
-# Maintainer: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Mike Sampson <mike at sambodata dot com>
-# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
-
-pkgname=('bpython' 'bpython2')
-pkgver=0.12
-pkgrel=1
-pkgdesc='A fancy interface to the Python interpreter'
-arch=('any')
-url='http://bpython-interpreter.org/'
-license=('MIT')
-makedepends=('python-distribute' 'python2-distribute')
-source=(http://bpython-interpreter.org/releases/bpython-${pkgver}.tar.gz)
-md5sums=('14cbe92620d386a769b3faa282a1d6c3')
-
-build() {
-  cp -r bpython-${pkgver} bpython2-${pkgver}
-
-  cd bpython-${pkgver}
-  python setup.py build
-
-  cd ${srcdir}/bpython2-${pkgver}
-  python2 setup.py build
-}
-
-package_bpython() {
-  depends=('python-pygments')
-  optdepends=('python-urwid: for bpython-urwid')
-
-  cd bpython-${pkgver}
-
-  python setup.py install \
-    --root=${pkgdir} \
-    --optimize=1
-
-  install -Dm644 LICENSE \
-    ${pkgdir}/usr/share/licenses/bpython/LICENSE
-}
-
-package_bpython2() {
-  depends=('python2-pygments')
-  optdepends=('pygtk: for bpython2-gtk'
-              'python2-urwid: for bpython2-urwid')
-
-  cd bpython2-${pkgver}
-
-  python2 setup.py install \
-    --root=${pkgdir} \
-    --optimize=1
-
-  install -Dm644 LICENSE \
-    ${pkgdir}/usr/share/licenses/bpython2/LICENSE
-
-  # conflicting files with bpython
-  mv ${pkgdir}/usr/bin/bpython \
-    ${pkgdir}/usr/bin/bpython2
-  mv ${pkgdir}/usr/bin/bpython-gtk \
-    ${pkgdir}/usr/bin/bpython2-gtk
-  mv ${pkgdir}/usr/bin/bpython-urwid \
-    ${pkgdir}/usr/bin/bpython2-urwid
-  mv ${pkgdir}/usr/share/applications/bpython.desktop \
-    ${pkgdir}/usr/share/applications/bpython2.desktop
-
-  # fix the .desktop file for the rename
-  sed \
-    -e 's/bpython/&2/' \
-    -i ${pkgdir}/usr/share/applications/bpython2.desktop
-}

Copied: bpython/repos/community-any/PKGBUILD (from rev 84316, bpython/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-02-16 11:58:07 UTC (rev 84317)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Mike Sampson <mike at sambodata dot com>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+
+pkgname=('bpython' 'bpython2')
+pkgver=0.12
+pkgrel=2
+pkgdesc='Fancy interface to the Python interpreter'
+arch=('any')
+url='http://bpython-interpreter.org/'
+license=('MIT')
+makedepends=('python-distribute' 'python2-distribute')
+source=(http://bpython-interpreter.org/releases/bpython-${pkgver}.tar.gz)
+md5sums=('14cbe92620d386a769b3faa282a1d6c3')
+
+build() {
+  cp -r bpython-${pkgver} bpython2-${pkgver}
+
+  cd bpython-${pkgver}
+  python setup.py build
+
+  cd ${srcdir}/bpython2-${pkgver}
+  python2 setup.py build
+}
+
+package_bpython() {
+  depends=('python-pygments')
+  optdepends=('python-urwid: for bpython-urwid')
+
+  cd bpython-${pkgver}
+
+  python setup.py install \
+    --root=${pkgdir} \
+    --optimize=1
+
+  install -Dm644 LICENSE \
+    ${pkgdir}/usr/share/licenses/bpython/LICENSE
+
+  # pygtk isn't available for python3 (fs#33705)
+  rm $pkgdir/usr/bin/bpython-gtk
+}
+
+package_bpython2() {
+  depends=('python2-pygments')
+  optdepends=('pygtk: for bpython2-gtk'
+              'python2-urwid: for bpython2-urwid')
+
+  cd bpython2-${pkgver}
+
+  python2 setup.py install \
+    --root=${pkgdir} \
+    --optimize=1
+
+  install -Dm644 LICENSE \
+    ${pkgdir}/usr/share/licenses/bpython2/LICENSE
+
+  # conflicting files with bpython
+  mv ${pkgdir}/usr/bin/bpython \
+    ${pkgdir}/usr/bin/bpython2
+  mv ${pkgdir}/usr/bin/bpython-gtk \
+    ${pkgdir}/usr/bin/bpython2-gtk
+  mv ${pkgdir}/usr/bin/bpython-urwid \
+    ${pkgdir}/usr/bin/bpython2-urwid
+  mv ${pkgdir}/usr/share/applications/bpython.desktop \
+    ${pkgdir}/usr/share/applications/bpython2.desktop
+
+  # fix the .desktop file for the rename
+  sed \
+    -e 's/bpython/&2/' \
+    -i ${pkgdir}/usr/share/applications/bpython2.desktop
+}

Deleted: ungetch.patch
===================================================================
--- ungetch.patch	2013-02-16 11:57:37 UTC (rev 84316)
+++ ungetch.patch	2013-02-16 11:58:07 UTC (rev 84317)
@@ -1,12 +0,0 @@
-diff -r 8c7296ca3f1c bpython/cli.py
---- a/bpython/cli.py	Fri Jul 13 21:18:28 2012 +0200
-+++ b/bpython/cli.py	Sat Oct 20 21:20:03 2012 -0400
-@@ -1714,7 +1714,8 @@
-         caller.scr.nodelay(True)
-         key = caller.scr.getch()
-         caller.scr.nodelay(False)
--        curses.ungetch(key)
-+        if key != -1:
-+            curses.ungetch(key)
-     caller.statusbar.check()
-     caller.check()

Copied: bpython/repos/community-any/ungetch.patch (from rev 84316, bpython/trunk/ungetch.patch)
===================================================================
--- ungetch.patch	                        (rev 0)
+++ ungetch.patch	2013-02-16 11:58:07 UTC (rev 84317)
@@ -0,0 +1,12 @@
+diff -r 8c7296ca3f1c bpython/cli.py
+--- a/bpython/cli.py	Fri Jul 13 21:18:28 2012 +0200
++++ b/bpython/cli.py	Sat Oct 20 21:20:03 2012 -0400
+@@ -1714,7 +1714,8 @@
+         caller.scr.nodelay(True)
+         key = caller.scr.getch()
+         caller.scr.nodelay(False)
+-        curses.ungetch(key)
++        if key != -1:
++            curses.ungetch(key)
+     caller.statusbar.check()
+     caller.check()




More information about the arch-commits mailing list