mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-03 23:11:36 +01:00
33 lines
990 B
Plaintext
33 lines
990 B
Plaintext
# Contributor: Galen Abell <galen@galenabell.com>
|
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
|
pkgname=toot
|
|
_pyname=toot
|
|
pkgver=0.27.0
|
|
pkgrel=1
|
|
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/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz
|
|
01-skip-version-test.patch
|
|
"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest -v
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="8016372d5441f0173a134c69fe0e631b92970d8f2e3db8237ebc7fadc07d661d0817d895e06cd375c21f2b647001bf774ca50c5030411c67700b1523a66a9604 toot-0.27.0.tar.gz
|
|
584bc6ec6a44c6b3a77430491fbb5a4f57ab71a4476b3fd93c1ea267f729262b69e115ada2f84696f9e93b0522ef682872dd7ba6585dfe2c20a0529e733d742e 01-skip-version-test.patch"
|