From 97445ffcf0dc5724028e7f2ee05048696a93af6d Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 30 Jun 2019 14:37:43 -0400 Subject: [PATCH] py3-pyphen: import from testing, normalize --- sr.ht/py3-pyphen/APKBUILD | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/sr.ht/py3-pyphen/APKBUILD b/sr.ht/py3-pyphen/APKBUILD index 5efb1c5..aa63a8c 100644 --- a/sr.ht/py3-pyphen/APKBUILD +++ b/sr.ht/py3-pyphen/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Stefan Wagner # Maintainer: Drew DeVault pkgname=py3-pyphen -_pkgname=Pyphen +_pyname=Pyphen pkgver=0.9.5 pkgrel=4 pkgdesc="python-based dictionary hyphenator library" @@ -11,22 +11,18 @@ 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="$_pkgname-$pkgver.tar.gz::https://github.com/Kozea/Pyphen/archive/$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - +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 } -check() { - py.test-3 -v test.py -} - package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="049a62b226e90e568c8f56e756f8fa6fbc74f3bc40d61af8eb05ff2d4404a7b29cef14d4f144d68ed2f2b11eb128491de64536240ba7b76a2d04010c76e10346 Pyphen-0.9.5.tar.gz" +sha512sums="15b9a29517df2b873b5b8d4739d8fa48a09ab199ab9246c7a4fd25c46253a74a18a88fd9484978476b3b1c8d88fed7729382b9dbe4f425724fe54bcd6227de96 Pyphen-0.9.5.tar.gz" -- 2.45.2