~dricottone/huttese-apk

ref: 218a61c7ba9c2bdf7a599a60917c251001a24ea2 huttese-apk/sr.ht/py3-pyphen/APKBUILD -rw-r--r-- 939 bytes
218a61c7 — Drew DeVault py3-celery: upgrade to 5.1.1 3 years ago
                                                                                
cb4c58b7 Drew DeVault
97445ffc Drew DeVault
9cd36275 Drew DeVault
a799962a 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
9cd36275 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.10.0
pkgrel=1
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="b6d789ca6eb010c1c79b28a9a0e68620ea5600adc43111bed5dbda3cb8b3a4c8c05caa3fb44ea60b0ef4a20272f17cf5e6fe61f0d1e48038395407ff53da7a92  Pyphen-0.10.0.tar.gz"