[arch-commits] Commit in bpython/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Dec 27 10:39:43 UTC 2021
Date: Monday, December 27, 2021 @ 10:39:43
Author: arojas
Revision: 1084093
Add missing python-pyxdg dependency (FS#70472)
Modified:
bpython/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-27 09:42:02 UTC (rev 1084092)
+++ PKGBUILD 2021-12-27 10:39:43 UTC (rev 1084093)
@@ -5,17 +5,18 @@
pkgname=bpython
pkgver=0.22.1
-pkgrel=2
+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-six' 'python-typing_extensions' 'python-pyxdg')
optdepends=('python-urwid: for bpython-urwid'
'python-jedi: multiline completion'
'python-watchdog: module reloading')
-makedepends=('python-distribute')
+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")
@@ -26,6 +27,11 @@
python setup.py build
}
+check() {
+ cd "$srcdir/bpython-$pkgver"
+ pytest --deselect bpython/test/test_interpreter.py::TestInterpreter::test_syntaxerror
+}
+
package() {
cd "$srcdir/bpython-$pkgver"
More information about the arch-commits
mailing list