[arch-commits] Commit in bpython/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Thu Mar 5 14:13:33 UTC 2015
Date: Thursday, March 5, 2015 @ 15:13:33
Author: kkeen
Revision: 128769
archrelease: copy trunk to community-any
Added:
bpython/repos/community-any/PKGBUILD
(from rev 128768, bpython/trunk/PKGBUILD)
Deleted:
bpython/repos/community-any/PKGBUILD
----------+
PKGBUILD | 141 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 75 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-05 14:13:16 UTC (rev 128768)
+++ PKGBUILD 2015-03-05 14:13:33 UTC (rev 128769)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen < keenerd at gmail >
-# Contributor: 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.13.1
-pkgrel=1
-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=('47b2ae18ee39d519752218b938024a85')
-
-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=0
-
- 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=0
-
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/bpython2/LICENSE"
-
- # conflicting files with bpython
- pushd "$pkgdir/usr/bin/"
- mv bpython bpython2
- mv bpython-gtk bpython2-gtk
- mv bpython-urwid bpython2-urwid
- mv bpython-curtsies bpython2-curtsies
- popd
- pushd "$pkgdir/usr/share/applications/"
- mv bpython.desktop bpython2.desktop
-
- # fix the .desktop file for the rename
- sed -i 's/bpython/&2/' bpython2.desktop
- popd
-}
Copied: bpython/repos/community-any/PKGBUILD (from rev 128768, bpython/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-03-05 14:13:33 UTC (rev 128769)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer: Kyle Keen < keenerd at gmail >
+# Contributor: 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.14.1
+pkgrel=1
+pkgdesc='Fancy ncurses interface to the Python interpreter'
+arch=('any')
+url='http://bpython-interpreter.org/'
+license=('MIT')
+depends=('python-pygments' 'python-requests' 'python-curtsies' 'python-greenlet' 'python-six')
+optdepends=('python-urwid: for bpython-urwid'
+ 'python-jedi: multiline completion')
+makedepends=('python-distribute' 'python2-distribute')
+source=(http://bpython-interpreter.org/releases/bpython-${pkgver}.tar.gz)
+md5sums=('106551e4f563f2575f67a3738a56b815')
+
+# python-watchdog optdep...
+# python-curtsies a required dep, use old version for now
+
+build() {
+ cp -r bpython-$pkgver bpython2-$pkgver
+
+ cd bpython-$pkgver
+ python setup.py build
+
+ cd "$srcdir/bpython2-$pkgver"
+ python2 setup.py build
+}
+
+package_bpython() {
+ cd bpython-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=0
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/bpython/LICENSE"
+}
+
+package_bpython2() {
+ depends=('python2-pygments' 'python2-requests' 'python2-curtsies' 'python2-greenlet' 'python2-six')
+ optdepends=('python2-urwid: for bpython2-urwid'
+ 'python2-jedi: multiline completion')
+
+ cd bpython2-$pkgver
+
+ python2 setup.py install --root="$pkgdir" --optimize=0
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/bpython2/LICENSE"
+
+ # conflicting files with bpython
+ pushd "$pkgdir/usr/bin/"
+ mv bpython bpython2
+ mv bpython-urwid bpython2-urwid
+ mv bpython-curses bpython2-curses
+ mv bpbd bpbd2
+ popd
+
+ pushd "$pkgdir/usr/share/applications/"
+ mv bpython.desktop bpython2.desktop
+ # fix the .desktop file for the rename
+ sed -i 's/bpython/&2/' bpython2.desktop
+ popd
+
+ pushd "$pkgdir/usr/share/appdata/"
+ mv bpython.appdata.xml bpython2.appdata.xml
+ sed -i 's/bpython/&2/' bpython2.appdata.xml
+ popd
+
+ pushd "$pkgdir/usr/share/pixmaps/"
+ mv bpython.png bpython2.png
+ popd
+}
More information about the arch-commits
mailing list