[arch-commits] Commit in bpython/repos (2 files)

Daniel M. Capella polyzen at archlinux.org
Thu Mar 11 06:08:43 UTC 2021


    Date: Thursday, March 11, 2021 @ 06:08:43
  Author: polyzen
Revision: 887414

archrelease: copy trunk to community-staging-any

Added:
  bpython/repos/community-staging-any/
  bpython/repos/community-staging-any/PKGBUILD
    (from rev 887413, bpython/trunk/PKGBUILD)

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

Copied: bpython/repos/community-staging-any/PKGBUILD (from rev 887413, bpython/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-03-11 06:08:43 UTC (rev 887414)
@@ -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.20
+pkgrel=4
+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=('3649400f45611415ba398361f10b4117')
+
+# 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