~alpine/aports

community/py3-pyphen: upgrade to 0.12.0 v1 APPLIED

Drew DeVault: 1
 community/py3-pyphen: upgrade to 0.12.0

 1 files changed, 11 insertions(+), 5 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3849/mbox | git am -3
Learn more about email & git

[PATCH] community/py3-pyphen: upgrade to 0.12.0 Export this patch

---
 community/py3-pyphen/APKBUILD | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/community/py3-pyphen/APKBUILD b/community/py3-pyphen/APKBUILD
index 8c9fad1748..5229db4800 100644
--- a/community/py3-pyphen/APKBUILD
+++ b/community/py3-pyphen/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-pyphen
_pkgname=Pyphen
pkgver=0.11.0
pkgrel=1
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-pip"
makedepends="py3-pip pyproject2setuppy"
checkdepends="py3-pytest py3-pytest-cov py3-pytest-isort py3-pytest-flake8"
source="$_pkgname-$pkgver.tar.gz::https://github.com/Kozea/Pyphen/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
@@ -17,12 +17,18 @@ builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-pyphen" # Backwards compatibility
provides="py-pyphen=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 -m pyproject2setuppy.main build
}

check() {
	python3 -m pytest
}

package() {
	python3 -m pip install . --prefix=/usr --root="$pkgdir"
	python3 -m pyproject2setuppy.main install --prefix=/usr --root="$pkgdir"
}

sha512sums="cdb4ee065698e27a4662984b76ee5c494c0d8e7d6b377667399f40d0dffc2b1d730956f3fa1fe73a08c17601152c99321b6fd5dd4d48361c54e9a6b635f02f0d  Pyphen-0.11.0.tar.gz"
sha512sums="
abecf0773f59b7a757b47c6512f1bf8e98f4709b285f04cf235c085ab4767eb95deab8ede4b792d6f4a6156d47287f9f712cb658939ed5afc475644e282adbd3  Pyphen-0.12.0.tar.gz
"
-- 
2.34.1