aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMengyang Li <mayli.he@gmail.com>2021-10-22 16:57:00 -0700
committerLeo <thinkabit.ukim@gmail.com>2021-10-23 08:14:35 +0000
commit27b7b1b005bdf8a880c4b548277160c9a828336b (patch)
treef4de0dc90d1ca301bb0e253e4b4e1ca00e1ed631
parentca0dc659218c7c8642982ec0186bd36365748508 (diff)
downloadaports-27b7b1b005bdf8a880c4b548277160c9a828336b.tar.gz
aports-27b7b1b005bdf8a880c4b548277160c9a828336b.tar.bz2
aports-27b7b1b005bdf8a880c4b548277160c9a828336b.tar.xz
community/py3-pyphen: upgrade to 0.11.0
-rw-r--r--community/py3-pyphen/APKBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/community/py3-pyphen/APKBUILD b/community/py3-pyphen/APKBUILD
index 9d5d7f37ab..77170dd2b3 100644
--- a/community/py3-pyphen/APKBUILD
+++ b/community/py3-pyphen/APKBUILD
@@ -2,31 +2,27 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-pyphen
_pkgname=Pyphen
-pkgver=0.10.0
-pkgrel=1
+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"
+makedepends="py3-pip"
+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"
replaces="py-pyphen" # Backwards compatibility
provides="py-pyphen=$pkgver-r$pkgrel" # Backwards compatibility
-build() {
- python3 setup.py build
-}
-
check() {
- py.test-3 -v test.py
+ python3 -m pytest
}
package() {
- python3 setup.py install --prefix=/usr --root="$pkgdir"
+ python3 -m pip install . --prefix=/usr --root="$pkgdir"
}
-sha512sums="b6d789ca6eb010c1c79b28a9a0e68620ea5600adc43111bed5dbda3cb8b3a4c8c05caa3fb44ea60b0ef4a20272f17cf5e6fe61f0d1e48038395407ff53da7a92 Pyphen-0.10.0.tar.gz"
+sha512sums="cdb4ee065698e27a4662984b76ee5c494c0d8e7d6b377667399f40d0dffc2b1d730956f3fa1fe73a08c17601152c99321b6fd5dd4d48361c54e9a6b635f02f0d Pyphen-0.11.0.tar.gz"