aports/main/py3-hatchling/APKBUILD

25 lines
932 B
Text

# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-hatchling
pkgver=1.27.0
pkgrel=0
pkgdesc="Modern, extensible Python build backend"
url="https://hatch.pypa.io/latest/"
license="MIT"
arch="noarch"
depends="python3 py3-editables py3-packaging py3-pathspec py3-pluggy py3-trove-classifiers"
makedepends="py3-installer"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/py3/h/hatchling/hatchling-$pkgver-py3-none-any.whl"
options="!check"
package() {
# this causes a lot of circular dependencies, namely this depends on
# poetry-core, which needs jsonschema, which needs this
python3 -m installer -d "$pkgdir" \
"$srcdir"/hatchling-$pkgver-py3-none-any.whl
}
sha512sums="
35a2ec9f38e3825993a90b71e4cffc18307eaf0e33a02f39a4105680e90066283da5a738e618b9d1a0d78a6d588751d78504af6e7a149b71b93a0945ec970748 hatchling-1.27.0-py3-none-any.whl
"