mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
main/py3-snowballstemmer: switch to gpep517
This commit is contained in:
parent
685a38fd0d
commit
dffd818278
@ -3,13 +3,13 @@
|
||||
pkgname=py3-snowballstemmer
|
||||
_pkgname=snowballstemmer
|
||||
pkgver=2.2.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Snowball stemming library collection for Python3"
|
||||
url="https://github.com/shibukawa/snowball_py"
|
||||
arch="noarch"
|
||||
license="BSD-3-Clause"
|
||||
depends="python3"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
@ -19,11 +19,11 @@ provides="py-snowballstemmer=$pkgver-r$pkgrel" # Backwards compatibility
|
||||
options="!check"
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
python3 -m installer -d "$pkgdir" .dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user