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

Antonio Rojas arojas at gemini.archlinux.org
Mon Dec 27 10:39:52 UTC 2021


    Date: Monday, December 27, 2021 @ 10:39:51
  Author: arojas
Revision: 1084094

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 40 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-27 10:39:43 UTC (rev 1084093)
+++ PKGBUILD	2021-12-27 10:39:51 UTC (rev 1084094)
@@ -1,34 +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
-pkgver=0.22.1
-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' 'python-typing_extensions')
-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=('64d414e563429ab987dc9fa7d9358d91')
-
-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"
-}

Copied: bpython/repos/community-any/PKGBUILD (from rev 1084093, bpython/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-27 10:39:51 UTC (rev 1084094)
@@ -0,0 +1,40 @@
+# 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.22.1
+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' 'python-typing_extensions' 'python-pyxdg')
+optdepends=('python-urwid: for bpython-urwid'
+            'python-jedi: multiline completion'
+            'python-watchdog: module reloading')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+#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=('64d414e563429ab987dc9fa7d9358d91')
+
+build() {
+  cd "$srcdir/bpython-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir/bpython-$pkgver"
+  pytest --deselect bpython/test/test_interpreter.py::TestInterpreter::test_syntaxerror
+}
+
+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