aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-12-21 02:18:14 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-12-21 02:18:14 +0800
commit8ac6a9eb059d47510c3c45d591d5562e65198ebe (patch)
treebb99e776c587110d5996fe13e44f1349acc86a3f /www
parentecfa77f3684f7af98ca5750e4aca2ec83e0b5efd (diff)
downloadfreebsd-ports-gnome-8ac6a9eb059d47510c3c45d591d5562e65198ebe.tar.gz
freebsd-ports-gnome-8ac6a9eb059d47510c3c45d591d5562e65198ebe.tar.zst
freebsd-ports-gnome-8ac6a9eb059d47510c3c45d591d5562e65198ebe.zip
- Fix build when DEFAULT_VERSIONS=python=3.*
- Modernize PYTHON knobs - Bump PORTREVISION for package change With hat: python
Diffstat (limited to 'www')
-rw-r--r--www/closure-linter/Makefile7
-rw-r--r--www/closure-linter/pkg-plist165
2 files changed, 4 insertions, 168 deletions
diff --git a/www/closure-linter/Makefile b/www/closure-linter/Makefile
index a3aa7815bb23..923baa30ee7c 100644
--- a/www/closure-linter/Makefile
+++ b/www/closure-linter/Makefile
@@ -3,6 +3,7 @@
PORTNAME= closure-linter
PORTVERSION= 2.3.13
+PORTREVISION= 1
CATEGORIES= www devel
MASTER_SITES= GOOGLE_CODE
DISTNAME= closure_linter-${PORTVERSION}
@@ -12,9 +13,9 @@ COMMENT= JavaScript linter
LICENSE= APACHE20
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gflags.py:${PORTSDIR}/devel/py-gflags
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gflags>=0:${PORTSDIR}/devel/py-gflags
-USE_PYTHON= 2
-USE_PYDISTUTILS=yes
+USES= python:2
+USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/www/closure-linter/pkg-plist b/www/closure-linter/pkg-plist
deleted file mode 100644
index 8e9cacff09b0..000000000000
--- a/www/closure-linter/pkg-plist
+++ /dev/null
@@ -1,165 +0,0 @@
-bin/fixjsstyle
-bin/gjslint
-%%PYTHON_SITELIBDIR%%/closure_linter/__init__.py
-%%PYTHON_SITELIBDIR%%/closure_linter/__init__.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/__init__.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/aliaspass.py
-%%PYTHON_SITELIBDIR%%/closure_linter/aliaspass.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/aliaspass.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/aliaspass_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/aliaspass_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/aliaspass_test.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/checker.py
-%%PYTHON_SITELIBDIR%%/closure_linter/checker.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/checker.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/checkerbase.py
-%%PYTHON_SITELIBDIR%%/closure_linter/checkerbase.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/checkerbase.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/closurizednamespacesinfo.py
-%%PYTHON_SITELIBDIR%%/closure_linter/closurizednamespacesinfo.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/closurizednamespacesinfo.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/closurizednamespacesinfo_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/closurizednamespacesinfo_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/closurizednamespacesinfo_test.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/common/__init__.py
-%%PYTHON_SITELIBDIR%%/closure_linter/common/__init__.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/common/__init__.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/common/error.py
-%%PYTHON_SITELIBDIR%%/closure_linter/common/error.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/common/error.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/common/erroraccumulator.py
-%%PYTHON_SITELIBDIR%%/closure_linter/common/erroraccumulator.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/common/erroraccumulator.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/common/errorhandler.py
-%%PYTHON_SITELIBDIR%%/closure_linter/common/errorhandler.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/common/errorhandler.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/common/erroroutput.py
-%%PYTHON_SITELIBDIR%%/closure_linter/common/erroroutput.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/common/erroroutput.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/common/filetestcase.py
-%%PYTHON_SITELIBDIR%%/closure_linter/common/filetestcase.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/common/filetestcase.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/common/htmlutil.py
-%%PYTHON_SITELIBDIR%%/closure_linter/common/htmlutil.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/common/htmlutil.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/common/lintrunner.py
-%%PYTHON_SITELIBDIR%%/closure_linter/common/lintrunner.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/common/lintrunner.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/common/matcher.py
-%%PYTHON_SITELIBDIR%%/closure_linter/common/matcher.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/common/matcher.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/common/position.py
-%%PYTHON_SITELIBDIR%%/closure_linter/common/position.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/common/position.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/common/simplefileflags.py
-%%PYTHON_SITELIBDIR%%/closure_linter/common/simplefileflags.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/common/simplefileflags.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/common/tokenizer.py
-%%PYTHON_SITELIBDIR%%/closure_linter/common/tokenizer.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/common/tokenizer.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/common/tokens.py
-%%PYTHON_SITELIBDIR%%/closure_linter/common/tokens.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/common/tokens.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/common/tokens_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/common/tokens_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/common/tokens_test.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/ecmalintrules.py
-%%PYTHON_SITELIBDIR%%/closure_linter/ecmalintrules.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/ecmalintrules.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/ecmametadatapass.py
-%%PYTHON_SITELIBDIR%%/closure_linter/ecmametadatapass.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/ecmametadatapass.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/error_check.py
-%%PYTHON_SITELIBDIR%%/closure_linter/error_check.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/error_check.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/error_fixer.py
-%%PYTHON_SITELIBDIR%%/closure_linter/error_fixer.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/error_fixer.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/error_fixer_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/error_fixer_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/error_fixer_test.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/errorrecord.py
-%%PYTHON_SITELIBDIR%%/closure_linter/errorrecord.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/errorrecord.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/errorrules.py
-%%PYTHON_SITELIBDIR%%/closure_linter/errorrules.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/errorrules.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/errorrules_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/errorrules_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/errorrules_test.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/errors.py
-%%PYTHON_SITELIBDIR%%/closure_linter/errors.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/errors.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/fixjsstyle.py
-%%PYTHON_SITELIBDIR%%/closure_linter/fixjsstyle.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/fixjsstyle.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/fixjsstyle_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/fixjsstyle_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/fixjsstyle_test.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/full_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/full_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/full_test.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/gjslint.py
-%%PYTHON_SITELIBDIR%%/closure_linter/gjslint.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/gjslint.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/indentation.py
-%%PYTHON_SITELIBDIR%%/closure_linter/indentation.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/indentation.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/javascriptlintrules.py
-%%PYTHON_SITELIBDIR%%/closure_linter/javascriptlintrules.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/javascriptlintrules.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/javascriptstatetracker.py
-%%PYTHON_SITELIBDIR%%/closure_linter/javascriptstatetracker.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/javascriptstatetracker.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/javascriptstatetracker_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/javascriptstatetracker_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/javascriptstatetracker_test.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/javascripttokenizer.py
-%%PYTHON_SITELIBDIR%%/closure_linter/javascripttokenizer.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/javascripttokenizer.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/javascripttokens.py
-%%PYTHON_SITELIBDIR%%/closure_linter/javascripttokens.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/javascripttokens.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/not_strict_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/not_strict_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/not_strict_test.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/requireprovidesorter.py
-%%PYTHON_SITELIBDIR%%/closure_linter/requireprovidesorter.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/requireprovidesorter.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/requireprovidesorter_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/requireprovidesorter_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/requireprovidesorter_test.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/runner.py
-%%PYTHON_SITELIBDIR%%/closure_linter/runner.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/runner.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/runner_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/runner_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/runner_test.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/scopeutil.py
-%%PYTHON_SITELIBDIR%%/closure_linter/scopeutil.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/scopeutil.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/scopeutil_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/scopeutil_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/scopeutil_test.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/statetracker.py
-%%PYTHON_SITELIBDIR%%/closure_linter/statetracker.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/statetracker.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/statetracker_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/statetracker_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/statetracker_test.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/strict_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/strict_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/strict_test.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/testutil.py
-%%PYTHON_SITELIBDIR%%/closure_linter/testutil.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/testutil.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/tokenutil.py
-%%PYTHON_SITELIBDIR%%/closure_linter/tokenutil.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/tokenutil.pyo
-%%PYTHON_SITELIBDIR%%/closure_linter/tokenutil_test.py
-%%PYTHON_SITELIBDIR%%/closure_linter/tokenutil_test.pyc
-%%PYTHON_SITELIBDIR%%/closure_linter/tokenutil_test.pyo
-@dirrmtry %%PYTHON_SITELIBDIR%%/closure_linter/common
-@dirrmtry %%PYTHON_SITELIBDIR%%/closure_linter
-@dirrmtry %%PYTHON_SITELIBDIR%%
-@dirrmtry %%PYTHON_LIBDIR%%