From 838c33380c7c34b1acc43de4e24c0fe967b720ae Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 8 Feb 2022 09:57:45 +0100 Subject: [PATCH] py3-pyphen: downgrade to 0.12.0 Technically this is an upgrade but given that they switched to pyproject.toml I cannot in good faith call it thus. --- sr.ht/py3-pyphen/APKBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sr.ht/py3-pyphen/APKBUILD b/sr.ht/py3-pyphen/APKBUILD index 92ac7a1..1b7873a 100644 --- a/sr.ht/py3-pyphen/APKBUILD +++ b/sr.ht/py3-pyphen/APKBUILD @@ -2,27 +2,27 @@ # Maintainer: Drew DeVault pkgname=py3-pyphen _pyname=pyphen -pkgver=0.11.0 -pkgrel=2 +pkgver=0.12.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" +makedepends="py3-setuptools pyproject2setuppy" _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 + python3 -m pyproject2setuppy build } package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" + python3 -m pyproject2setuppy install --prefix=/usr --root="$pkgdir" } sha512sums=" -49f510cdc00af479054c64380de8fb5722e2c99a3cf0f882c4b78b82c80300b6cb28c53c593a091e358eae662b28a50ac6e63afb8d57f2adf5c03e5a7f879c68 pyphen-0.11.0.tar.gz +144218b8d5454fffc16de0c839c93a0badadd5c9b7867195072b77d9130440059ec84b5819d7eed12b65d2cc51cb7202226cb44ef6844f18fa428c4b3a1ef2b5 pyphen-0.12.0.tar.gz " -- 2.45.2