From 5cfd5551c9f6ab18e65ec03971bca66656f79428 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 27 Jun 2021 10:24:56 -0400 Subject: [PATCH] py3-pyphen: upgrade to 0.11.0 --- sr.ht/py3-pyphen/APKBUILD | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/sr.ht/py3-pyphen/APKBUILD b/sr.ht/py3-pyphen/APKBUILD index 00018bb..f483bc2 100644 --- a/sr.ht/py3-pyphen/APKBUILD +++ b/sr.ht/py3-pyphen/APKBUILD @@ -1,21 +1,19 @@ -# Contributor: Stefan Wagner +# Contributor: Drew DeVault # Maintainer: Drew DeVault pkgname=py3-pyphen -_pyname=Pyphen -pkgver=0.10.0 -pkgrel=2 +_pyname=pyphen +pkgver=0.11.0 +pkgrel=0 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 +_pypiprefix="${_pyname%${_pyname#?}}" +source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz" +builddir="$srcdir"/$_pyname-$pkgver +options="!check" # upsteram provides no tests build() { python3 setup.py build @@ -25,4 +23,6 @@ package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="b6d789ca6eb010c1c79b28a9a0e68620ea5600adc43111bed5dbda3cb8b3a4c8c05caa3fb44ea60b0ef4a20272f17cf5e6fe61f0d1e48038395407ff53da7a92 Pyphen-0.10.0.tar.gz" +sha512sums=" +49f510cdc00af479054c64380de8fb5722e2c99a3cf0f882c4b78b82c80300b6cb28c53c593a091e358eae662b28a50ac6e63afb8d57f2adf5c03e5a7f879c68 pyphen-0.11.0.tar.gz +" -- 2.45.2