mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 16:21:38 +01:00
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
# Contributor: prspkt <prspkt@protonmail.com>
|
|
# Maintainer: prspkt <prspkt@protonmail.com>
|
|
pkgname=py3-orderedmultidict
|
|
_pkgname=orderedmultidict
|
|
pkgver=1.0.1
|
|
pkgrel=7
|
|
pkgdesc="Ordered Multivalue Dictionary"
|
|
url="https://github.com/gruns/orderedmultidict"
|
|
arch="noarch"
|
|
license="Unlicense"
|
|
depends="py3-six"
|
|
makedepends="py3-setuptools py3-gpep517"
|
|
checkdepends="py3-pycodestyle py3-flake8 py3-pytest"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/"$_pkgname-$pkgver
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
gpep517 install-wheel --destdir .testenv --prefix '' .dist/*.whl
|
|
.testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
5a826bb46dfe9d7e6e2159bf545612a35dd0f1bb5817c1fd78e0f3f4019f9144b36be94af08f87e881a310f593091df09702d001624c377f559a30f64b219c24 orderedmultidict-1.0.1.tar.gz
|
|
"
|