Skip to content
Snippets Groups Projects
Commit f4182f9f authored by Hoang Nguyen's avatar Hoang Nguyen :turtle: Committed by alice
Browse files

testing/xonsh: upgrade to 0.13.1

Build with PEP517 style, skip failed tests.
parent a9d4cee6
No related branches found
No related tags found
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!38820testing/xonsh: upgrade to 0.13.1
Pipeline #136026 canceled
# Contributor: Hoang Nguyen <folliekazetani@protonmail.com>
# Contributor: vinnie <fz12345@gmail.com> # Contributor: vinnie <fz12345@gmail.com>
# Maintainer: vinnie <fz12345@gmail.com> # Maintainer: vinnie <fz12345@gmail.com>
pkgname=xonsh pkgname=xonsh
pkgver=0.11.0 pkgver=0.13.1
pkgrel=0 pkgrel=0
pkgdesc="Python-powered, cross-platform, Unix-gazing shell" pkgdesc="Python-powered, cross-platform, Unix-gazing shell"
url="https://xon.sh" url="https://xon.sh"
arch="noarch" arch="noarch"
license="BSD-2-Clause" license="BSD-2-Clause"
options="!check" #flake8-docstrings missing, maybe later
depends=" depends="
py3-pygments>=2.2
py3-prompt_toolkit>=3.0
py3-distro py3-distro
py3-setproctitle py3-prompt_toolkit>=3.0
py3-pygments>=2.2
py3-pyperclip
py3-ujson
"
makedepends="py3-setuptools py3-build py3-installer py3-wheel"
checkdepends="
bash
git
man-db
util-linux-misc
py3-pip
py3-pyte
py3-pytest
py3-pytest-mock
py3-pytest-rerunfailures
py3-pytest-subprocess
py3-pytest-timeout
py3-virtualenv
" "
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/xonsh/xonsh/archive/$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/xonsh/xonsh/archive/$pkgver.tar.gz"
build() { build() {
python3 setup.py build python3 -m build --no-isolation --wheel
} }
check() {
# tests/test_integrations.py: TypeError: expected str, bytes or os.PathLike object, not NoneType
# tests/test_ptk_shell.py: AttributeError: __enter__
# tests/test_pipelines.py, tests/completers/test_bash_completer.py, tests/procs/test_specs.py: AssertionError with hiddent output of `echo -n`, `ls` and `dd` subprocesses
# tests/completers/test_bash_completer.py: AssertionError: assert <class 'subprocess.Popen'> is PopenThread (`pwd` command)
python3 -m pytest \
--ignore=tests/test_integrations.py \
--ignore=tests/test_pipelines.py \
--ignore=tests/test_ptk_shell.py \
--ignore=tests/completers/test_bash_completer.py \
--ignore=tests/procs/test_specs.py
}
package() { package() {
python3 setup.py install --prefix=/usr --root="$pkgdir" python3 -m installer -d "$pkgdir" \
dist/$pkgname-$pkgver-*none-any.whl
} }
sha512sums=" sha512sums="
e79c6b0ef78c8775f077d2e9a191144a5f37f42adda7305c40164231eff4bf2f54824cf7fb6baef038f91ada2b9901a6ebe32ecee93ffe5425c608f06f679227 xonsh-0.11.0.tar.gz fa8e5f84f32aa7ba12794c1200db8ae7faae5204de849c806dfede487c0784c38bbf24f55c80fdf53419eb068fe22f4b8374b932bd3b7d10db1f052fbe967fdc xonsh-0.13.1.tar.gz
" "
#!/bin/sh
add-shell '/usr/bin/xonsh'
exit 0
xonsh.post-install
\ No newline at end of file
#!/bin/sh
remove-shell '/usr/bin/xonsh'
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment