devel/py-gyp-next: Add py-gyp-next 0.20.2

GYP is a Meta-Build system: a build system that generates other build systems.

GYP is intended to support large projects that need to be built on multiple
platforms (e.g., Mac, Windows, Linux), and where it is important that the
project can be built using the IDEs that are popular on each platform as if the
project is a "native" one.

It can be used to generate XCode projects, Visual Studio projects, Ninja build
files, and Makefiles. In each case GYP's goal is to replicate as closely as
possible the way one would set up a native build of the project using the IDE.

GYP can also be used to generate "hybrid" projects that provide the IDE
scaffolding for a nice user experience but call out to Ninja to do the actual
building (which is usually much faster than the native build systems of the
IDEs).
This commit is contained in:
Po-Chuan Hsieh
2025-07-01 04:48:17 +08:00
parent 15e307272c
commit fad74a9412
5 changed files with 56 additions and 0 deletions
+1
View File
@@ -4979,6 +4979,7 @@
SUBDIR += py-gs_api_client
SUBDIR += py-guppy3
SUBDIR += py-gyp
SUBDIR += py-gyp-next
SUBDIR += py-hacking
SUBDIR += py-hammett
SUBDIR += py-hash_ring
+26
View File
@@ -0,0 +1,26 @@
PORTNAME= gyp-next
PORTVERSION= 0.20.2
CATEGORIES= devel python
MASTER_SITES= PYPI \
https://github.com/nodejs/gyp-next/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= gyp_next-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Fork of the GYP build system for use in the Node.js projects
WWW= https://github.com/nodejs/gyp-next
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=24.0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1751208088
SHA256 (gyp_next-0.20.2.tar.gz) = 0738492547339242ed4be995e2b101fe03abb67b7168fd14c52497adfbfc60fe
SIZE (gyp_next-0.20.2.tar.gz) = 319733
@@ -0,0 +1,11 @@
--- pyproject.toml.orig 2025-06-22 10:53:48 UTC
+++ pyproject.toml
@@ -12,7 +12,7 @@ requires-python = ">=3.8"
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.8"
-dependencies = ["packaging>=24.0", "setuptools>=69.5.1"]
+dependencies = ["packaging>=24.0", "setuptools>=61.0"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
+15
View File
@@ -0,0 +1,15 @@
GYP is a Meta-Build system: a build system that generates other build systems.
GYP is intended to support large projects that need to be built on multiple
platforms (e.g., Mac, Windows, Linux), and where it is important that the
project can be built using the IDEs that are popular on each platform as if the
project is a "native" one.
It can be used to generate XCode projects, Visual Studio projects, Ninja build
files, and Makefiles. In each case GYP's goal is to replicate as closely as
possible the way one would set up a native build of the project using the IDE.
GYP can also be used to generate "hybrid" projects that provide the IDE
scaffolding for a nice user experience but call out to Ninja to do the actual
building (which is usually much faster than the native build systems of the
IDEs).