mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
34 lines
921 B
Text
34 lines
921 B
Text
# Maintainer: psykose <alice@ayaya.dev>
|
|
pkgname=py3-cmake-build-extension
|
|
pkgver=0.5.1
|
|
pkgrel=2
|
|
pkgdesc="Setuptools extension to build and package CMake projects"
|
|
url="https://github.com/diegoferigo/cmake-build-extension"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-installer
|
|
py3-setuptools_scm
|
|
py3-wheel
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/diegoferigo/cmake-build-extension/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/cmake-build-extension-$pkgver"
|
|
options="!check" # no tests
|
|
|
|
build() {
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
df7b215287607bab95607126bc903d3cdabcca19d29951accfc2e3a77ee4b20b3b599f9ea15380684fb569311f4295aabcc7cfdc46cd504a39ec77594df6c722 py3-cmake-build-extension-0.5.1.tar.gz
|
|
"
|