mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 22:01:11 +02:00
semgrep-core-bin-0.51.0.ebuild
This commit is contained in:
parent
cd16b7d319
commit
fe4cd864c7
4 changed files with 66 additions and 0 deletions
|
|
@ -1,2 +1,3 @@
|
|||
DIST semgrep-0.42.0.tar.gz 77947 BLAKE2B 0155f8b2bf069a6b5f2a1bd62e183dd4804bf4768e03868d161860f98adc02dfac7bb232457f4cb03feccb51ef12a0264f0b2c89215499d3faeb17438774f0a8 SHA512 a9a4dc2a4038f4ffc5ed8ce7c761ab8a2fee27c0675c2bf6c0e8a0130f678250ee963538ee235520c5de778d00d46287b07d43cdc2857f7e363d8de238dcfe5a
|
||||
DIST semgrep-0.48.0.tar.gz 83739 BLAKE2B a570d139efe99c9694ba1d646dec1e95f6a08be11a2165cf29d6e0e15c335878d79adad90b5f386f422145c61514b31c14bcadc3417ec8bf0bd66a3e9803e82c SHA512 0758093e31944e53a078ab65207b15e5a567a7050841b7f656d1fad58caeb78e8b668a637b13c83ee183f15dc1fac953fc303233f49231aa624b5029a9603650
|
||||
DIST semgrep-0.51.0.tar.gz 89586 BLAKE2B 8872c9e2a51e7cedfa0321204663e71512c4e7fea4f25995d648eb88fad8527544fa46a15dcc08b27134b5bca3be8a30d1771c7463e9efe264f71f28d109969d SHA512 e3474b7c50adae171e18fc34108581abf1f4cb2c23b0d03fd5ca42b71652071ba01025eb3acd77e1cb12590fdc72cb6a40035aa7f27e3e7fe50b9b2f20a08898
|
||||
|
|
|
|||
40
dev-python/semgrep/semgrep-0.51.0.ebuild
Normal file
40
dev-python/semgrep/semgrep-0.51.0.ebuild
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Lightweight static analysis for many languages"
|
||||
HOMEPAGE="https://github.com/returntocorp/semgrep"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
# exact version of ruamel.yaml because of unstable API
|
||||
RDEPEND=">=dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
|
||||
~dev-python/junit-xml-1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ruamel-yaml-0.16.0[${PYTHON_USEDEP}] <dev-python/ruamel-yaml-0.18.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tqdm-4.46.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-20.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
|
||||
|
||||
dev-util/semgrep-core-bin"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare(){
|
||||
sed -i "s|ruamel.yaml==|ruamel.yaml>=|g" setup.py
|
||||
rm -r tests
|
||||
eapply_user
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
export SEMGREP_SKIP_BIN=true
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
DIST semgrep-core-bin-0.36.0.zip 50700881 BLAKE2B b74b036772986cd6e761cf7b1d6e14261a4888fdc9d187353c8fe782a368f18ab96b2b28185c532f8d62d53f8b0876418ac266764cdf8ea42980daf5f8f4158b SHA512 129a9e688e1810e5c5ccda5f4f19aa060a17a74b62768c11eef2cd85d066f37a919b73f6e54bb42cb9714ad839e0bb145fad76e5eece12fb7d9cd990cf54ead0
|
||||
DIST semgrep-core-bin-0.42.0.zip 52664294 BLAKE2B 309da75d2fff8cc957e0d6e46c7c2e04dc0ee0bd4106ab03e272c38c78573598c1c7378591a2c07d27089e7210f50019fac212b179bdd314d10565c5be1ff9ba SHA512 45bd43e531bf5676db652476de2a76cd6d5e38db37120572b613a4a96bcba3d1f28e02b0f79fcd4760ac1f463435a87a1fd8c46f9642ca6d19f9a831765bd6ff
|
||||
DIST semgrep-core-bin-0.51.0.zip 66503591 BLAKE2B f3cf2a6c74eb2fd2bc59bd27afc4ad9eead6c09760e917ae50fbce0d8aeaf2b2e0c3765b5194ec5dc7d378d16a42e726cc4bd0d2847f8f254a1ba554e1bbda73 SHA512 f367dde436eac8fd26d71f4fd1a819435b0276bb55b05d4d9bbe27d37a3a093d84a045fdd6620a7085424ff7b48fbc7dcb46d7b338fac061384f2a6278c5bacd
|
||||
|
|
|
|||
24
dev-util/semgrep-core-bin/semgrep-core-bin-0.51.0.ebuild
Normal file
24
dev-util/semgrep-core-bin/semgrep-core-bin-0.51.0.ebuild
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Lightweight static analysis for many languages"
|
||||
HOMEPAGE="https://github.com/returntocorp/semgrep"
|
||||
|
||||
#SRC_URI="https://files.pythonhosted.org/packages/3.6/f/frida/frida-12.0.3-py3.6-linux-x86_64.egg"
|
||||
SRC_URI="https://files.pythonhosted.org/packages/c5/1a/6d49215970dd828a3ae8fa6aa6799eb43b1984ab9567fbe2ba468347b847/semgrep-0.51.0-cp36.cp37.cp38.cp39.py36.py37.py38.py39-none-any.whl -> ${P}.zip"
|
||||
#https://files.pythonhosted.org/packages/2e/73/6c387511c94d95a1ebcfe5afde2e4830ae236a9076576a5e9d7f65d35be5/semgrep-0.42.0-cp36.cp37.cp38.py36.py37.py38-none-any.whl -> ${P}.zip"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/semgrep-${PV}.data"
|
||||
|
||||
src_install(){
|
||||
dobin purelib/semgrep/bin/{semgrep-core,spacegrep}
|
||||
}
|
||||
Loading…
Reference in a new issue