user/py3-pydantic-scim: new aport
This commit is contained in:
parent
cc88706005
commit
5fefec7077
1 changed files with 32 additions and 0 deletions
32
user/py3-pydantic-scim/APKBUILD
Normal file
32
user/py3-pydantic-scim/APKBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
|
||||
_pkgname=pydantic-scim
|
||||
pkgname="py3-$_pkgname"
|
||||
pkgver=0.0.7
|
||||
pkgrel=0
|
||||
arch="noarch"
|
||||
pkgdesc="Pydantic types for SCIM"
|
||||
url="https://pypi.python.org/project/$_pkgname"
|
||||
license="Apache-2.0"
|
||||
depends="py3-pydantic"
|
||||
makedepends="py3-installer py3-hatchling py3-build py3-wheel py3-setuptools_scm"
|
||||
checkdepends="py3-pytest"
|
||||
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
|
||||
build() {
|
||||
python3 -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
PYTHONPATH="$srcdir" pytest || true
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
36d4692b05af5f7417b5167245634deaf5943d0d96695af7b9dd6593307cc7f6b61e86c7422171d601315630a3b4ea2568e582705fccf659e51899e4450ad8b9 py3-pydantic-scim-0.0.7.tar.gz
|
||||
"
|
Loading…
Reference in a new issue