summaryrefslogtreecommitdiff
path: root/testing/py3-cjkwrap/APKBUILD
blob: bbb57d6dc3065651f4b67b02fc1a49eab2e5bb08 (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
# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
pkgname=py3-cjkwrap
_pkgname=cjkwrap
pkgver=2.2
pkgrel=1
pkgdesc="Library for wrapping and filling UTF-8 CJK text"
url="https://gitlab.com/fgallaire/cjkwrap"
arch="noarch"
license="LGPL-3.0-or-later"
depends="python3"
makedepends="py3-setuptools"
options="!check" # no test suite
source="https://gitlab.com/fgallaire/cjkwrap/-/archive/v$pkgver/cjkwrap-v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-v$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
9f744c672d5b045aa3bd80c9f13817706d459ffdbd4478a25c528a7fd85354934d938023eeaf14cfcca12f49654612f344c0f659305c0c493a664c9a684579e1  cjkwrap-v2.2.tar.gz
"