mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-21 12:26:50 +02:00
39 lines
1.4 KiB
Text
39 lines
1.4 KiB
Text
# Contributor: Alex Yam <alex@alexyam.com>
|
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=gyp
|
|
pkgver=20230301
|
|
_gitrev=c6d8b9f7ee355cff1531b0f369cd338a50baeb07
|
|
pkgrel=3
|
|
pkgdesc="Generate Your Projects Meta-Build system"
|
|
options="!check" # Tests currently fail
|
|
url="https://gyp.gsrc.io"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3 ninja py3-six"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$_gitrev.tar.gz::https://github.com/chromium/gyp/archive/$_gitrev.tar.gz
|
|
py3.8.patch
|
|
fips.patch
|
|
cmake.patch
|
|
"
|
|
builddir="$srcdir/$pkgname-$_gitrev"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
ce447cfe6310251ef0db3b2c73a9127762fd7096c4d0934740cca9298a77e4bd2476932b6cc18759d276d41973d14af9b34618c0fa493aac76c27b1a382f08c9 gyp-c6d8b9f7ee355cff1531b0f369cd338a50baeb07.tar.gz
|
|
5ad7993ffc78421a87a4825394d704f651c5fa82dc971cefd2af9440ee2d6898b7f61276da92046ab2eca26d8320be848d9a3f65bfd18b98dd2a4ce06c78980d py3.8.patch
|
|
04bfc412a245e328d2cb2f9ca383fe31b0b3ae69ffad04cfbe21b882ef807ad0d89f807483eb18980ea41eccd111de1a99cb282f1b79f6a406b17ee6ca48d9de fips.patch
|
|
8ed4eeec23acc437e0aeb89bc6c3fda5de0a2a45167e396b6ffc8fba704fb7bc11193e726b47fa864c7ae75b1442cbc2ac7c356427f7a995e37e8ac3440d2b3c cmake.patch
|
|
"
|