pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

semgrep: Update to 0.60.0



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Wed Aug 11 02:05:36 2021 +0200
Changeset:	73b6ef6b68ea910d08ee7cb5e25ed961e9beda43

Modified Files:
	semgrep/Makefile
	semgrep/PLIST
	semgrep/distinfo
	semgrep/patches/patch-setup.py

Log Message:
semgrep: Update to 0.60.0

Changes:
Probably quite a lot to mention, please give a look to:

 <https://github.com/returntocorp/semgrep/releases>

...given that we are on pkgsrc-wip!

(And that finally we also have semgrep-core!)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=73b6ef6b68ea910d08ee7cb5e25ed961e9beda43

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 semgrep/Makefile               |  5 +--
 semgrep/PLIST                  | 71 ++++++++++++++++++++++++++++++++++++++++++
 semgrep/distinfo               | 10 +++---
 semgrep/patches/patch-setup.py | 25 +++++++--------
 4 files changed, 91 insertions(+), 20 deletions(-)

diffs:
diff --git a/semgrep/Makefile b/semgrep/Makefile
index 9f7914b9e4..7bfa6c7994 100644
--- a/semgrep/Makefile
+++ b/semgrep/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	semgrep-0.35.0
+DISTNAME=	semgrep-0.60.0
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=s/semgrep/}
 
@@ -12,11 +12,12 @@ LICENSE=	mit
 DEPENDS+=	${PYPKGPREFIX}-attrs>=19.3.0:../../devel/py-attrs
 DEPENDS+=	${PYPKGPREFIX}-colorama>=0.4.3:../../comms/py-colorama
 DEPENDS+=	${PYPKGPREFIX}-jsonschema>=3.2.0:../../textproc/py-jsonschema
-DEPENDS+=	${PYPKGPREFIX}-junit-xml2>=1.9:../../wip/py-junit-xml2
 DEPENDS+=	${PYPKGPREFIX}-packaging>=20.4:../../devel/py-packaging
+DEPENDS+=	${PYPKGPREFIX}-peewee>=3.14.4:../../databases/py-peewee
 DEPENDS+=	${PYPKGPREFIX}-requests>=2.22.0:../../devel/py-requests
 DEPENDS+=	${PYPKGPREFIX}-ruamel-yaml>=0.16.10:../../devel/py-ruamel-yaml
 DEPENDS+=	${PYPKGPREFIX}-tqdm>=4.46.1:../../misc/py-tqdm
+DEPENDS+=	${PYPKGPREFIX}-wcmatch>=8.2:../../textproc/py-wcmatch
 DEPENDS+=	${PYPKGPREFIX}-yaml>=5.3:../../textproc/py-yaml
 
 # Avoid to install binaries
diff --git a/semgrep/PLIST b/semgrep/PLIST
index 8177999178..c43b99feaf 100644
--- a/semgrep/PLIST
+++ b/semgrep/PLIST
@@ -16,6 +16,14 @@ ${PYSITELIB}/semgrep/__main__.pyo
 ${PYSITELIB}/semgrep/autofix.py
 ${PYSITELIB}/semgrep/autofix.pyc
 ${PYSITELIB}/semgrep/autofix.pyo
+${PYSITELIB}/semgrep/bin/__init__.py
+${PYSITELIB}/semgrep/bin/__init__.pyc
+${PYSITELIB}/semgrep/bin/__init__.pyo
+${PYSITELIB}/semgrep/bin/semgrep-core
+${PYSITELIB}/semgrep/bin/spacegrep
+${PYSITELIB}/semgrep/bytesize.py
+${PYSITELIB}/semgrep/bytesize.pyc
+${PYSITELIB}/semgrep/bytesize.pyo
 ${PYSITELIB}/semgrep/cli.py
 ${PYSITELIB}/semgrep/cli.pyc
 ${PYSITELIB}/semgrep/cli.pyo
@@ -43,9 +51,48 @@ ${PYSITELIB}/semgrep/error.pyo
 ${PYSITELIB}/semgrep/evaluation.py
 ${PYSITELIB}/semgrep/evaluation.pyc
 ${PYSITELIB}/semgrep/evaluation.pyo
+${PYSITELIB}/semgrep/external/__init__.py
+${PYSITELIB}/semgrep/external/__init__.pyc
+${PYSITELIB}/semgrep/external/__init__.pyo
+${PYSITELIB}/semgrep/external/junit_xml.py
+${PYSITELIB}/semgrep/external/junit_xml.pyc
+${PYSITELIB}/semgrep/external/junit_xml.pyo
+${PYSITELIB}/semgrep/formatter/__init__.py
+${PYSITELIB}/semgrep/formatter/__init__.pyc
+${PYSITELIB}/semgrep/formatter/__init__.pyo
+${PYSITELIB}/semgrep/formatter/base.py
+${PYSITELIB}/semgrep/formatter/base.pyc
+${PYSITELIB}/semgrep/formatter/base.pyo
+${PYSITELIB}/semgrep/formatter/emacs.py
+${PYSITELIB}/semgrep/formatter/emacs.pyc
+${PYSITELIB}/semgrep/formatter/emacs.pyo
+${PYSITELIB}/semgrep/formatter/json.py
+${PYSITELIB}/semgrep/formatter/json.pyc
+${PYSITELIB}/semgrep/formatter/json.pyo
+${PYSITELIB}/semgrep/formatter/junit_xml.py
+${PYSITELIB}/semgrep/formatter/junit_xml.pyc
+${PYSITELIB}/semgrep/formatter/junit_xml.pyo
+${PYSITELIB}/semgrep/formatter/sarif.py
+${PYSITELIB}/semgrep/formatter/sarif.pyc
+${PYSITELIB}/semgrep/formatter/sarif.pyo
+${PYSITELIB}/semgrep/formatter/text.py
+${PYSITELIB}/semgrep/formatter/text.pyc
+${PYSITELIB}/semgrep/formatter/text.pyo
+${PYSITELIB}/semgrep/formatter/vim.py
+${PYSITELIB}/semgrep/formatter/vim.pyc
+${PYSITELIB}/semgrep/formatter/vim.pyo
+${PYSITELIB}/semgrep/join_rule.py
+${PYSITELIB}/semgrep/join_rule.pyc
+${PYSITELIB}/semgrep/join_rule.pyo
 ${PYSITELIB}/semgrep/metavariable_comparison.py
 ${PYSITELIB}/semgrep/metavariable_comparison.pyc
 ${PYSITELIB}/semgrep/metavariable_comparison.pyo
+${PYSITELIB}/semgrep/metric_manager.py
+${PYSITELIB}/semgrep/metric_manager.pyc
+${PYSITELIB}/semgrep/metric_manager.pyo
+${PYSITELIB}/semgrep/old_core_runner.py
+${PYSITELIB}/semgrep/old_core_runner.pyc
+${PYSITELIB}/semgrep/old_core_runner.pyo
 ${PYSITELIB}/semgrep/output.py
 ${PYSITELIB}/semgrep/output.pyc
 ${PYSITELIB}/semgrep/output.pyo
@@ -58,6 +105,9 @@ ${PYSITELIB}/semgrep/pattern_match.pyo
 ${PYSITELIB}/semgrep/profile_manager.py
 ${PYSITELIB}/semgrep/profile_manager.pyc
 ${PYSITELIB}/semgrep/profile_manager.pyo
+${PYSITELIB}/semgrep/profiling.py
+${PYSITELIB}/semgrep/profiling.pyc
+${PYSITELIB}/semgrep/profiling.pyo
 ${PYSITELIB}/semgrep/rule.py
 ${PYSITELIB}/semgrep/rule.pyc
 ${PYSITELIB}/semgrep/rule.pyo
@@ -95,6 +145,9 @@ ${PYSITELIB}/semgrep/test.pyo
 ${PYSITELIB}/semgrep/util.py
 ${PYSITELIB}/semgrep/util.pyc
 ${PYSITELIB}/semgrep/util.pyo
+${PYSITELIB}/semgrep/verbose_logging.py
+${PYSITELIB}/semgrep/verbose_logging.pyc
+${PYSITELIB}/semgrep/verbose_logging.pyo
 ${PYSITELIB}/semgrep/version.py
 ${PYSITELIB}/semgrep/version.pyc
 ${PYSITELIB}/semgrep/version.pyo
@@ -116,6 +169,12 @@ ${PYSITELIB}/tests/e2e/test_autofix.pyo
 ${PYSITELIB}/tests/e2e/test_check.py
 ${PYSITELIB}/tests/e2e/test_check.pyc
 ${PYSITELIB}/tests/e2e/test_check.pyo
+${PYSITELIB}/tests/e2e/test_cli_test.py
+${PYSITELIB}/tests/e2e/test_cli_test.pyc
+${PYSITELIB}/tests/e2e/test_cli_test.pyo
+${PYSITELIB}/tests/e2e/test_debugging_json.py
+${PYSITELIB}/tests/e2e/test_debugging_json.pyc
+${PYSITELIB}/tests/e2e/test_debugging_json.pyo
 ${PYSITELIB}/tests/e2e/test_equivalence.py
 ${PYSITELIB}/tests/e2e/test_equivalence.pyc
 ${PYSITELIB}/tests/e2e/test_equivalence.pyo
@@ -125,15 +184,27 @@ ${PYSITELIB}/tests/e2e/test_exclude_include.pyo
 ${PYSITELIB}/tests/e2e/test_generate_config.py
 ${PYSITELIB}/tests/e2e/test_generate_config.pyc
 ${PYSITELIB}/tests/e2e/test_generate_config.pyo
+${PYSITELIB}/tests/e2e/test_join_rules.py
+${PYSITELIB}/tests/e2e/test_join_rules.pyc
+${PYSITELIB}/tests/e2e/test_join_rules.pyo
+${PYSITELIB}/tests/e2e/test_message_interpolation.py
+${PYSITELIB}/tests/e2e/test_message_interpolation.pyc
+${PYSITELIB}/tests/e2e/test_message_interpolation.pyo
 ${PYSITELIB}/tests/e2e/test_metavariable_matching.py
 ${PYSITELIB}/tests/e2e/test_metavariable_matching.pyc
 ${PYSITELIB}/tests/e2e/test_metavariable_matching.pyo
+${PYSITELIB}/tests/e2e/test_metrics.py
+${PYSITELIB}/tests/e2e/test_metrics.pyc
+${PYSITELIB}/tests/e2e/test_metrics.pyo
 ${PYSITELIB}/tests/e2e/test_paths.py
 ${PYSITELIB}/tests/e2e/test_paths.pyc
 ${PYSITELIB}/tests/e2e/test_paths.pyo
 ${PYSITELIB}/tests/e2e/test_rule_parser.py
 ${PYSITELIB}/tests/e2e/test_rule_parser.pyc
 ${PYSITELIB}/tests/e2e/test_rule_parser.pyo
+${PYSITELIB}/tests/e2e/test_rule_validation.py
+${PYSITELIB}/tests/e2e/test_rule_validation.pyc
+${PYSITELIB}/tests/e2e/test_rule_validation.pyo
 ${PYSITELIB}/tests/e2e/test_semgrep_core_parse_error.py
 ${PYSITELIB}/tests/e2e/test_semgrep_core_parse_error.pyc
 ${PYSITELIB}/tests/e2e/test_semgrep_core_parse_error.pyo
diff --git a/semgrep/distinfo b/semgrep/distinfo
index 266c57c207..43710d64ef 100644
--- a/semgrep/distinfo
+++ b/semgrep/distinfo
@@ -1,7 +1,7 @@
 $NetBSD$
 
-SHA1 (semgrep-0.35.0.tar.gz) = e99228f9c00ca3d2836a155426c96a5134e2120a
-RMD160 (semgrep-0.35.0.tar.gz) = 2bf1cab7fa27c0e6faa7d6e81e5ad13526d2fdc6
-SHA512 (semgrep-0.35.0.tar.gz) = d16224ff9d81ea07200789bcb646dea60b0f69a2e43bd8a1cf5b0f9606b7386ffa8d365d45e005e7e75b3b359461c2ca694fe43d22eed6f729e4cfe8044dc155
-Size (semgrep-0.35.0.tar.gz) = 73774 bytes
-SHA1 (patch-setup.py) = 1b6a538d9aa553cf034a9a9cc4a929b0fcb04384
+SHA1 (semgrep-0.60.0.tar.gz) = 12547c213d501225606b759017bfea7926b67eb0
+RMD160 (semgrep-0.60.0.tar.gz) = 9d7f6d3550198df3c37591f83025472e0b1e21d4
+SHA512 (semgrep-0.60.0.tar.gz) = 8205af92f825bc2415d62705c1f69b7e506ca9e4404e9f00763a59ea26a42b13b0f6c0aac6dfe152718219f76d3a4e2fc953759fb88bb080c89674c2df243919
+Size (semgrep-0.60.0.tar.gz) = 104355 bytes
+SHA1 (patch-setup.py) = 80572df764e710c51651a4312ca4092c18e5af02
diff --git a/semgrep/patches/patch-setup.py b/semgrep/patches/patch-setup.py
index 9642147ab0..612c6c6426 100644
--- a/semgrep/patches/patch-setup.py
+++ b/semgrep/patches/patch-setup.py
@@ -2,22 +2,21 @@ $NetBSD$
 
 Avoid too strict version requirements.
 
---- setup.py.orig	2020-12-16 21:19:50.000000000 +0000
+--- setup.py.orig	2021-07-27 18:59:00.000000000 +0000
 +++ setup.py
-@@ -144,13 +144,13 @@ setup(
-     install_requires=[
+@@ -101,12 +101,12 @@ setuptools.setup(
          "attrs>=19.3.0",
          "colorama>=0.4.3",
--        "junit_xml==1.9",
-+        "junit_xml>=1.9",
          "requests>=2.22.0",
-         # exact version because of unstable API
--        "ruamel.yaml==0.16.10",
-+        "ruamel.yaml>=0.16.10",
+-        "ruamel.yaml>=0.16.0,<0.18",
++        "ruamel.yaml>=0.16.0",
          "tqdm>=4.46.1",
          "packaging>=20.4",
--        "jsonschema~=3.2.0",
-+        "jsonschema>=3.2.0",
-     ],
-     entry_points={"console_scripts": ["semgrep=semgrep.__main__:main"]},
-     packages=setuptools.find_packages(),
+         "jsonschema~=3.2.0",
+-        "wcmatch==8.2",
+-        "peewee~=3.14.4",
++        "wcmatch>=8.2",
++        "peewee>=3.14.4",
+         # Include 'setuptools' for 'pkg_resources' usage. We shouldn't be
+         # overly prescriptive and pin the version for two reasons: 1) because
+         # it may interfere with other 'setuptools' installs on the system,


Home | Main Index | Thread Index | Old Index