aboutsummaryrefslogtreecommitdiffstats
path: root/community/deluge/APKBUILD
blob: 9a45245237612b4f4d55c9a284832cdfd91f29c8 (plain) (blame)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Contributor: August Klein <amatcoder@gmail.com>
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer: psykose <alice@ayaya.dev>
pkgname=deluge
pkgver=2.1.1
pkgrel=1
pkgdesc="lightweight, Free Software, cross-platform BitTorrent client"
url="https://deluge-torrent.org/"
arch="noarch"
license="GPL-3.0-or-later"
depends="
	gtk+3.0
	py3-cairo
	py3-chardet
	py3-distro
	py3-gobject3
	py3-libtorrent-rasterbar
	py3-mako
	py3-openssl
	py3-pillow
	py3-rencode
	py3-service_identity
	py3-setproctitle
	py3-setuptools
	py3-twisted
	py3-wheel
	py3-xdg
	py3-zope-interface
	"
makedepends="
	py3-build
	py3-installer
	py3-wheel
	"
checkdepends="
	py3-mock
	py3-pytest
	"
options="!check" # failing ui off-by-one size tests, segfault in another
subpackages="$pkgname-doc"
source="http://download.deluge-torrent.org/source/${pkgver%.*}/deluge-$pkgver.tar.xz"

replaces="$pkgname-lang" # Overwrite removed subpackage

build() {
	python3 -m build --no-isolation --wheel
}

check() {
	pytest
}

package() {
	python3 -m installer -d "$pkgdir" \
		dist/deluge-$pkgver-py3-none-any.whl
}

sha512sums="
e94208981aee45f42b88e1c544b07e7b0d0f2c4ade6b7f37257b69d4a3394c89aff217cde699e79ad59de6d2ee4eca7a558f2b85505d2140ba73f1f76f184455  deluge-2.1.1.tar.xz
"