~dricottone/huttese-apk

ref: f5364f3304d32b5d45f3defa2056d66d2f1a42b2 huttese-apk/sr.ht/py3-pyphen/APKBUILD -rw-r--r-- 937 bytes
f5364f33 — Drew DeVault py3-html5lib: drop package 4 years ago
                                                                                
cb4c58b7 Drew DeVault
97445ffc Drew DeVault
cb4c58b7 Drew DeVault
e25d890a Drew DeVault
cb4c58b7 Drew DeVault
600afcd0 Drew DeVault
cb4c58b7 Drew DeVault
600afcd0 Drew DeVault
97445ffc Drew DeVault
600afcd0 Drew DeVault
97445ffc Drew DeVault
cb4c58b7 Drew DeVault
e25d890a Drew DeVault
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
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-pyphen
_pyname=Pyphen
pkgver=0.9.5
pkgrel=5
pkgdesc="python-based dictionary hyphenator library"
url="https://www.pyphen.org"
arch="noarch"
license="GPL-2.0-or-later AND LGPL-2.1-or-later AND MPL-1.1"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="$_pyname-$pkgver.tar.gz::https://github.com/Kozea/Pyphen/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
replaces="py-pyphen" # Backwards compatibility
provides="py-pyphen=$pkgver-r$pkgrel" # Backwards compatibility
options="!check" # upstream provides no tests

build() {
	python3 setup.py build
}

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

sha512sums="049a62b226e90e568c8f56e756f8fa6fbc74f3bc40d61af8eb05ff2d4404a7b29cef14d4f144d68ed2f2b11eb128491de64536240ba7b76a2d04010c76e10346  Pyphen-0.9.5.tar.gz"