Thu Jan 27 18:48:47 2022 UTC ()
gyp: rename file for pkglint


(wiz)
diff -r1.26 -r1.27 pkgsrc/devel/gyp/Makefile
diff -r1.3 -r0 pkgsrc/devel/gyp/Makefile.replace-python
diff -r0 -r1.1 pkgsrc/devel/gyp/replace-python.mk

cvs diff -r1.26 -r1.27 pkgsrc/devel/gyp/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/gyp/Makefile 2022/01/27 18:47:07 1.26
+++ pkgsrc/devel/gyp/Makefile 2022/01/27 18:48:47 1.27
@@ -1,37 +1,37 @@ @@ -1,37 +1,37 @@
1# $NetBSD: Makefile,v 1.26 2022/01/27 18:47:07 wiz Exp $ 1# $NetBSD: Makefile,v 1.27 2022/01/27 18:48:47 wiz Exp $
2 2
3GIT_VERSION= 20210830.d6c5dd51dc3a60bf4ff32a5256713690a1a10376 3GIT_VERSION= 20210830.d6c5dd51dc3a60bf4ff32a5256713690a1a10376
4DIST_VERSION= 0.1 4DIST_VERSION= 0.1
5DISTNAME= gyp-${DIST_VERSION}pre${GIT_VERSION} 5DISTNAME= gyp-${DIST_VERSION}pre${GIT_VERSION}
6PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 6PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
7CATEGORIES= devel 7CATEGORIES= devel
8MASTER_SITES= ${MASTER_SITE_LOCAL} 8MASTER_SITES= ${MASTER_SITE_LOCAL}
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://gyp.gsrc.io/ 11HOMEPAGE= https://gyp.gsrc.io/
12COMMENT= GYP can Generate Your Projects 12COMMENT= GYP can Generate Your Projects
13LICENSE= modified-bsd 13LICENSE= modified-bsd
14 14
15WRKSRC= ${WRKDIR} 15WRKSRC= ${WRKDIR}
16 16
17EGG_NAME= gyp-${DIST_VERSION} 17EGG_NAME= gyp-${DIST_VERSION}
18 18
19USE_PKG_RESOURCES= yes 19USE_PKG_RESOURCES= yes
20 20
21PYTHON_VERSIONS_INCOMPATIBLE= 27 21PYTHON_VERSIONS_INCOMPATIBLE= 27
22 22
23# REPLACE_PYTHON settings farmed out due to size... 23# REPLACE_PYTHON settings farmed out due to size...
24.include "Makefile.replace-python" 24.include "replace-python.mk"
25 25
26SUBST_CLASSES+= python 26SUBST_CLASSES+= python
27SUBST_STAGE.python= pre-build 27SUBST_STAGE.python= pre-build
28SUBST_MESSAGE.python= Fix python invocation 28SUBST_MESSAGE.python= Fix python invocation
29SUBST_FILES.python+= gyp 29SUBST_FILES.python+= gyp
30SUBST_FILES.python+= test/compiler-override/gyptest-compiler-global-settings.py 30SUBST_FILES.python+= test/compiler-override/gyptest-compiler-global-settings.py
31SUBST_SED.python+= -e 's,/usr/bin/python,${PYTHONBIN},g' 31SUBST_SED.python+= -e 's,/usr/bin/python,${PYTHONBIN},g'
32SUBST_SED.python+= -e 's,\([^/]\)python,\1${PYTHONBIN},g' 32SUBST_SED.python+= -e 's,\([^/]\)python,\1${PYTHONBIN},g'
33 33
34REPLACE_INTERPRETER+= bash 34REPLACE_INTERPRETER+= bash
35REPLACE.bash.old= .*bash[^ ]* 35REPLACE.bash.old= .*bash[^ ]*
36REPLACE.bash.new= ${PREFIX}/bin/bash 36REPLACE.bash.new= ${PREFIX}/bin/bash
37REPLACE_FILES.bash= gyp 37REPLACE_FILES.bash= gyp

File Deleted: pkgsrc/devel/gyp/Attic/Makefile.replace-python

File Added: pkgsrc/devel/gyp/replace-python.mk
# $NetBSD: replace-python.mk,v 1.1 2022/01/27 18:48:47 wiz Exp $

REPLACE_PYTHON+=	*.py
REPLACE_PYTHON+=	buildbot/buildbot_run.py
REPLACE_PYTHON+=	pylib/gyp/*.py
REPLACE_PYTHON+=	pylib/gyp/generator/*.py
REPLACE_PYTHON+=	samples/samples
REPLACE_PYTHON+=	test/actions-bare/gyptest-bare.py
REPLACE_PYTHON+=	test/actions-bare/src/bare.py
REPLACE_PYTHON+=	test/actions-multiple/gyptest-all.py
REPLACE_PYTHON+=	test/actions-multiple/src/*.py
REPLACE_PYTHON+=	test/actions-none/gyptest-none.py
REPLACE_PYTHON+=	test/actions-none/src/fake_cross.py
REPLACE_PYTHON+=	test/actions-subdir/gyptest-action.py
REPLACE_PYTHON+=	test/actions-subdir/src/make-file.py
REPLACE_PYTHON+=	test/actions-subdir/src/subdir/make-subdir-file.py
REPLACE_PYTHON+=	test/actions/*.py
REPLACE_PYTHON+=	test/actions/generated-header/action.py
REPLACE_PYTHON+=	test/actions/src/confirm-dep-files.py
REPLACE_PYTHON+=	test/actions/src/subdir1/*.py
REPLACE_PYTHON+=	test/actions/src/subdir2/make-file.py
REPLACE_PYTHON+=	test/actions/src/subdir3/generate_main.py
REPLACE_PYTHON+=	test/additional-targets/gyptest-additional.py
REPLACE_PYTHON+=	test/additional-targets/src/dir1/emit.py
REPLACE_PYTHON+=	test/analyzer/gyptest-analyzer.py
REPLACE_PYTHON+=	test/assembly/*.py
REPLACE_PYTHON+=	test/build-option/gyptest-build.py
REPLACE_PYTHON+=	test/builddir/*.py
REPLACE_PYTHON+=	test/cflags/gyptest-cflags.py
REPLACE_PYTHON+=	test/compilable/gyptest-headers.py
REPLACE_PYTHON+=	test/compiler-override/*.py
REPLACE_PYTHON+=	test/configurations/basics/gyptest-configurations.py
REPLACE_PYTHON+=	test/configurations/inheritance/*.py
REPLACE_PYTHON+=	test/configurations/invalid/gyptest-configurations.py
REPLACE_PYTHON+=	test/configurations/target_platform/gyptest-target_platform.py
REPLACE_PYTHON+=	test/configurations/x64/gyptest-x86.py
REPLACE_PYTHON+=	test/copies/*.py
REPLACE_PYTHON+=	test/custom-generator/gyptest-custom-generator.py
REPLACE_PYTHON+=	test/cxxflags/gyptest-cxxflags.py
REPLACE_PYTHON+=	test/defines-escaping/gyptest-defines-escaping.py
REPLACE_PYTHON+=	test/defines/*.py
REPLACE_PYTHON+=	test/dependencies/*.py
REPLACE_PYTHON+=	test/dependency-copy/gyptest-copy.py
REPLACE_PYTHON+=	test/errors/gyptest-errors.py
REPLACE_PYTHON+=	test/escaping/gyptest-colon.py
REPLACE_PYTHON+=	test/exclusion/gyptest-exclusion.py
REPLACE_PYTHON+=	test/external-cross-compile/gyptest-cross.py
REPLACE_PYTHON+=	test/external-cross-compile/src/fake_cross.py
REPLACE_PYTHON+=	test/external-cross-compile/src/tochar.py
REPLACE_PYTHON+=	test/generator-output/*.py
REPLACE_PYTHON+=	test/generator-output/actions/subdir1/*.py
REPLACE_PYTHON+=	test/generator-output/actions/subdir2/make-file.py
REPLACE_PYTHON+=	test/generator-output/rules/copy-file.py
REPLACE_PYTHON+=	test/gyp-defines/*.py
REPLACE_PYTHON+=	test/hard_dependency/*.py
REPLACE_PYTHON+=	test/hard_dependency/src/emit.py
REPLACE_PYTHON+=	test/hello/*.py
REPLACE_PYTHON+=	test/home_dot_gyp/*.py
REPLACE_PYTHON+=	test/include_dirs/*.py
REPLACE_PYTHON+=	test/intermediate_dir/gyptest-intermediate-dir.py
REPLACE_PYTHON+=	test/intermediate_dir/src/script.py
REPLACE_PYTHON+=	test/ios/*.py
REPLACE_PYTHON+=	test/ios/app-bundle/TestApp/check_no_signature.py
REPLACE_PYTHON+=	test/library/*.py
REPLACE_PYTHON+=	test/library_dirs/gyptest-library-dirs.py
REPLACE_PYTHON+=	test/link-dependency/gyptest-link-dependency.py
REPLACE_PYTHON+=	test/link-objects/gyptest-all.py
REPLACE_PYTHON+=	test/linux/gyptest-implicit-rpath.py
REPLACE_PYTHON+=	test/mac/*.py
REPLACE_PYTHON+=	test/make/*.py
REPLACE_PYTHON+=	test/make_global_settings/ar/*.py
REPLACE_PYTHON+=	test/make_global_settings/basics/*.py
REPLACE_PYTHON+=	test/make_global_settings/env-wrapper/*.py
REPLACE_PYTHON+=	test/make_global_settings/ld/*.py
REPLACE_PYTHON+=	test/make_global_settings/wrapper/*.py
REPLACE_PYTHON+=	test/many-actions/*.py
REPLACE_PYTHON+=	test/module/gyptest-default.py
REPLACE_PYTHON+=	test/msvs/buildevents/*.py
REPLACE_PYTHON+=	test/msvs/config_attrs/gyptest-config_attrs.py
REPLACE_PYTHON+=	test/msvs/express/gyptest-express.py
REPLACE_PYTHON+=	test/msvs/external_builder/gyptest-all.py
REPLACE_PYTHON+=	test/msvs/filters/*.py
REPLACE_PYTHON+=	test/msvs/list_excluded/gyptest-all.py
REPLACE_PYTHON+=	test/msvs/missing_sources/gyptest-missing.py
REPLACE_PYTHON+=	test/msvs/multiple_actions_error_handling/gyptest.py
REPLACE_PYTHON+=	test/msvs/props/gyptest-props.py
REPLACE_PYTHON+=	test/msvs/shared_output/gyptest-shared_output.py
REPLACE_PYTHON+=	test/msvs/uldi2010/gyptest-all.py
REPLACE_PYTHON+=	test/multiple-targets/*.py
REPLACE_PYTHON+=	test/ninja/action_dependencies/gyptest-action-dependencies.py
REPLACE_PYTHON+=	test/ninja/action_dependencies/src/emit.py
REPLACE_PYTHON+=	test/ninja/chained-dependency/gyptest-chained-dependency.py
REPLACE_PYTHON+=	test/ninja/normalize-paths-win/gyptest-normalize-paths.py
REPLACE_PYTHON+=	test/ninja/s-needs-no-depfiles/gyptest-s-needs-no-depfiles.py
REPLACE_PYTHON+=	test/ninja/solibs_avoid_relinking/*.py
REPLACE_PYTHON+=	test/ninja/use-custom-environment-files/*.py
REPLACE_PYTHON+=	test/no-cpp/gyptest-no-cpp.py
REPLACE_PYTHON+=	test/no-output/gyptest-no-output.py
REPLACE_PYTHON+=	test/product/gyptest-product.py
REPLACE_PYTHON+=	test/prune_targets/gyptest-prune-targets.py
REPLACE_PYTHON+=	test/relative/gyptest-default.py
REPLACE_PYTHON+=	test/rename/gyptest-filecase.py
REPLACE_PYTHON+=	test/restat/gyptest-restat.py
REPLACE_PYTHON+=	test/restat/src/create_intermediate.py
REPLACE_PYTHON+=	test/restat/src/touch.py
REPLACE_PYTHON+=	test/rules-dirname/gyptest-dirname.py
REPLACE_PYTHON+=	test/rules-dirname/src/copy-file.py
REPLACE_PYTHON+=	test/rules-dirname/src/subdir/printvars.py
REPLACE_PYTHON+=	test/rules-rebuild/gyptest-all.py
REPLACE_PYTHON+=	test/rules-rebuild/gyptest-default.py
REPLACE_PYTHON+=	test/rules-rebuild/src/make-sources.py
REPLACE_PYTHON+=	test/rules-use-built-dependencies/*.py
REPLACE_PYTHON+=	test/rules-variables/gyptest-rules-variables.py
REPLACE_PYTHON+=	test/rules/*.py
REPLACE_PYTHON+=	test/rules/src/*.py
REPLACE_PYTHON+=	test/same-gyp-name/*.py
REPLACE_PYTHON+=	test/same-rule-output-file-name/gyptest-all.py
REPLACE_PYTHON+=	test/same-rule-output-file-name/src/touch.py
REPLACE_PYTHON+=	test/same-source-file-name/*.py
REPLACE_PYTHON+=	test/same-target-name-different-directory/gyptest-all.py
REPLACE_PYTHON+=	test/same-target-name-different-directory/src/touch.py
REPLACE_PYTHON+=	test/same-target-name/gyptest-same-target-name.py
REPLACE_PYTHON+=	test/sanitize-rule-names/*.py
REPLACE_PYTHON+=	test/self-dependency/gyptest-self-dependency.py
REPLACE_PYTHON+=	test/sibling/*.py
REPLACE_PYTHON+=	test/small/gyptest-small.py
REPLACE_PYTHON+=	test/standalone-static-library/*.py
REPLACE_PYTHON+=	test/standalone/gyptest-standalone.py
REPLACE_PYTHON+=	test/subdirectory/*.py
REPLACE_PYTHON+=	test/target/gyptest-target.py
REPLACE_PYTHON+=	test/toolsets/gyptest-toolsets.py
REPLACE_PYTHON+=	test/toplevel-dir/gyptest-toplevel-dir.py
REPLACE_PYTHON+=	test/variables/commands/*.py
REPLACE_PYTHON+=	test/variables/filelist/*.py
REPLACE_PYTHON+=	test/variables/filelist/src/dummy.py
REPLACE_PYTHON+=	test/variables/latelate/gyptest-latelate.py
REPLACE_PYTHON+=	test/variables/variable-in-path/gyptest-variable-in-path.py
REPLACE_PYTHON+=	test/win/*.py
REPLACE_PYTHON+=	test/win/generator-output-different-drive/*.py
REPLACE_PYTHON+=	tools/*.py