Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 7AFBB781033 for <~alpine/aports@lists.alpinelinux.org>; Wed, 29 Dec 2021 08:37:31 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpwn.com; s=key1; t=1640766611; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=l3idXkS/0NeBC8q0PT3Xoy0AOSUze3liUr/uqBFZTz4=; b=PAcSvN+e+sOjVkqxhCT1KDcOgX4TXmfsUk3O3FhgKNWFc3fF9NwjzTSIAcfzIMxfTVQq4U Ok4rudQeO/3gbyQAZFgMiGkZpSwT9LK1G7CV/u5ygDRj2RmJLzWw/8v/QMhGOTcI84djCS rc21jGr1DLFzo5oCtwCNO0LQ2JnPzz+zEceU4/K1Oex7fJFSwJrfPOhcFI486fl9Y86Cqm YCvPlRwEwSM7hEAjTHwFV90Vu1w6UzdBLsRq3VR2iCo4DPM6cqu+zfTqfxP6BZTl8sHNdl 2PVTY0bFJnxucHtc1+fJxL8ZHx9pwr/uER9Wr/68hiDFwWogqrEyvpyNJs8dGQ== From: Drew DeVault To: ~alpine/aports@lists.alpinelinux.org Cc: Drew DeVault Subject: [PATCH] community/py3-pyphen: upgrade to 0.12.0 Date: Wed, 29 Dec 2021 09:30:10 +0100 Message-Id: <20211229083010.26723-1-sir@cmpwn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: cmpwn.com --- 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 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