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

Kyle Keen kkeen at archlinux.org
Thu Feb 20 23:00:31 UTC 2020


    Date: Thursday, February 20, 2020 @ 23:00:30
  Author: kkeen
Revision: 577422

archrelease: copy trunk to community-any

Added:
  bpython/repos/community-any/PKGBUILD
    (from rev 577421, bpython/trunk/PKGBUILD)
Deleted:
  bpython/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  110 +++++++++++++++++++------------------------------------------
 1 file changed, 36 insertions(+), 74 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-20 22:56:19 UTC (rev 577421)
+++ PKGBUILD	2020-02-20 23:00:30 UTC (rev 577422)
@@ -1,74 +0,0 @@
-# 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.18
-pkgrel=2
-pkgdesc='Fancy ncurses interface to the Python interpreter'
-arch=('any')
-url='https://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'
-            'python-watchdog: module reloading')
-makedepends=('python-distribute' 'python2-distribute')
-#source=(https://bpython-interpreter.org/releases/bpython-${pkgver}.tar.gz)  # slow
-#source=("https://github.com/bpython/bpython/archive/$pkgver-release.tar.gz")  # missing version data
-source=("https://files.pythonhosted.org/packages/source/b/bpython/bpython-$pkgver.tar.gz")
-md5sums=('a150a9ff3383013da1156dda4b44280d')
-
-# python-watchdog optdep...
-
-prepare() {
-  cp -r bpython-$pkgver bpython2-$pkgver
-}
-
-build() {
-  cd "$srcdir/bpython-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/bpython2-$pkgver"
-  python2 setup.py build
-}
-
-package_bpython() {
-  cd "$srcdir/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'
-              'python2-watchdog: module reloading')
-
-  cd "$srcdir/bpython2-$pkgver"
-
-  python2 setup.py install --root="$pkgdir" --optimize=0
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/bpython2/LICENSE"
-
-  # conflicting files with bpython
-  cd "$pkgdir/usr/bin/"
-  mv bpython bpython2
-  mv bpython-urwid bpython2-urwid
-  mv bpython-curses bpython2-curses
-  mv bpdb bpdb2
-
-  cd "$pkgdir/usr/share/applications/"
-  mv org.bpython-interpreter.bpython.desktop org.bpython-interpreter.bpython2.desktop
-  sed -i 's/bpython/&2/' org.bpython-interpreter.bpython2.desktop
-
-  cd "$pkgdir/usr/share/appinfo/"
-  mv org.bpython-interpreter.bpython.appdata.xml org.bpython-interpreter.bpython2.appdata.xml
-  sed -i 's/bpython/&2/' org.bpython-interpreter.bpython2.appdata.xml
-
-  cd "$pkgdir/usr/share/pixmaps/"
-  mv bpython.png bpython2.png
-}

Copied: bpython/repos/community-any/PKGBUILD (from rev 577421, bpython/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-20 23:00:30 UTC (rev 577422)
@@ -0,0 +1,36 @@
+# 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
+pkgver=0.18
+pkgrel=3
+pkgdesc='Fancy ncurses interface to the Python interpreter'
+arch=('any')
+url='https://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'
+            'python-watchdog: module reloading')
+makedepends=('python-distribute')
+#source=(https://bpython-interpreter.org/releases/bpython-${pkgver}.tar.gz)  # slow
+#source=("https://github.com/bpython/bpython/archive/$pkgver-release.tar.gz")  # missing version data
+source=("https://files.pythonhosted.org/packages/source/b/bpython/bpython-$pkgver.tar.gz")
+md5sums=('a150a9ff3383013da1156dda4b44280d')
+
+# python-watchdog optdep...
+
+build() {
+  cd "$srcdir/bpython-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir/bpython-$pkgver"
+
+  python setup.py install --root="$pkgdir" --optimize=0
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/bpython/LICENSE"
+}



More information about the arch-commits mailing list