diff --git a/community/toot/01-skip-version-test.patch b/community/toot/01-skip-version-test.patch deleted file mode 100644 index d97d13ada32..00000000000 --- a/community/toot/01-skip-version-test.patch +++ /dev/null @@ -1,15 +0,0 @@ -Skip the version test, since it breaks even with proper PYTHONPATH -diff --git a/tests/test_version.py b/tests/test_version.py -deleted file mode 100644 -index 375c431..0000000 ---- a/tests/test_version.py -+++ /dev/null -@@ -1,8 +0,0 @@ --import toot --from pkg_resources import get_distribution -- -- --def test_version(): -- """Version specified in __version__ should be the same as the one -- specified in setup.py.""" -- assert toot.__version__ == get_distribution('toot').version diff --git a/community/toot/APKBUILD b/community/toot/APKBUILD index cce0c9571e2..c7025022850 100644 --- a/community/toot/APKBUILD +++ b/community/toot/APKBUILD @@ -1,9 +1,8 @@ # Contributor: Galen Abell # Maintainer: Galen Abell pkgname=toot -_pyname=toot -pkgver=0.28.0 -pkgrel=1 +pkgver=0.28.1 +pkgrel=0 pkgdesc="mastodon cli & tui" url="https://github.com/ihabunek/toot" arch="noarch" @@ -11,17 +10,18 @@ license="GPL-3.0-only" depends="python3 py3-setuptools py3-requests py3-beautifulsoup4 py3-wcwidth py3-urwid" makedepends="python3-dev" checkdepends="py3-pytest" -source=" - https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz - 01-skip-version-test.patch - " +source="https://files.pythonhosted.org/packages/source/t/toot/toot-$pkgver.tar.gz" build() { python3 setup.py build } check() { - pytest -v + # Skip timeline tests as they are broken in current version (fixed in main). + pytest -v \ + --deselect tests/test_console.py::test_timeline \ + --deselect tests/test_console.py::test_timeline_with_re \ + --deselect tests/test_console.py::test_notifications } package() { @@ -29,6 +29,5 @@ package() { } sha512sums=" -cb9ff64506a7f9c246506ec62b3b0bf4ac6adfedca44801a111d66df3c74d1ed8e2f01791aa1f76ec2bc9a6bd44beb3afc0b84e78c10a87f3ddaa4ae3473814e toot-0.28.0.tar.gz -584bc6ec6a44c6b3a77430491fbb5a4f57ab71a4476b3fd93c1ea267f729262b69e115ada2f84696f9e93b0522ef682872dd7ba6585dfe2c20a0529e733d742e 01-skip-version-test.patch +15b9be73f7fd54c483cc1cb29bbaf2e00c0657a85c3171542d461bea39c9d746561ed8bb7e0f08e1a02c95d2f4073e92dd1aa0e520529484a87d7f5ad5c2f50a toot-0.28.1.tar.gz "