blob: cce64d75b65675da9643911f8ffd92fd53e8c0d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=toot
pkgver=0.33.1
pkgrel=0
pkgdesc="mastodon cli & tui"
url="https://github.com/ihabunek/toot"
arch="noarch"
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/t/toot/toot-$pkgver.tar.gz"
build() {
python3 setup.py build
}
check() {
# Integration tests require a running Mastodon instance.
rm tests/test_integration.py
pytest -v
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
45c4b20959861c09289652be74d1bbe45b580ef896874851099cdcfeb491c8ab284bd40e29432725158ef6bc372e1595e49d093356dedecabca4fc029ef2ecdc toot-0.33.1.tar.gz
"
|