mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 09:27:19 +02:00
42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
# Contributor: dai9ah <dai9ah@protonmail.com>
|
|
# Maintainer: dai9ah <dai9ah@protonmail.com>
|
|
pkgname=nicotine-plus
|
|
pkgver=3.3.7
|
|
pkgrel=0
|
|
pkgdesc="Graphical client for the SoulSeek peer-to-peer system"
|
|
url="https://nicotine-plus.github.io/nicotine-plus"
|
|
arch="noarch !s390x" # failing tests
|
|
license="GPL-3.0-or-later"
|
|
depends="gtk+3.0 py3-gobject3 python3 python3-gdbm"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel gettext"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-doc $pkgname-lang $pkgname-pyc"
|
|
source="nicotine-plus-$pkgver.tar.gz::https://github.com/Nicotine-Plus/nicotine-plus/archive/$pkgver.tar.gz"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest \
|
|
--deselect pynicotine/tests/integration/test_startup.py::StartupTest::test_gui_startup \
|
|
--deselect pynicotine/tests/unit/test_version.py::VersionTest::test_update_check
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
lang() {
|
|
pkgdesc="Languages for package $pkgname"
|
|
install_if="$pkgname=$pkgver-r$pkgrel lang"
|
|
|
|
amove usr/lib/python*/site-packages/pynicotine/locale
|
|
}
|
|
|
|
sha512sums="
|
|
484b5cbb6f572b0c168f1d9771e901b6eb38639acb6d563ffec1e621cdc5630f720a6e4a31a59b8d9043dc83d98be377479bf065058fdd1a112a23012366ef02 nicotine-plus-3.3.7.tar.gz
|
|
"
|