testing/py3-pydantic-scim: move from user
This commit is contained in:
parent
60bc034f61
commit
90cb0ee11d
1 changed files with 12 additions and 7 deletions
|
@ -9,20 +9,25 @@ 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"
|
||||
depends="
|
||||
py3-pydantic
|
||||
"
|
||||
makedepends="
|
||||
py3-installer
|
||||
py3-hatchling
|
||||
py3-build
|
||||
py3-wheel
|
||||
py3-setuptools_scm
|
||||
"
|
||||
options="!check" # No testsuite
|
||||
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
subpackages="$pkgname-pyc"
|
||||
|
||||
build() {
|
||||
python3 -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
PYTHONPATH="$srcdir" pytest || true
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
Loading…
Add table
Reference in a new issue