mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
semgrep-0.55.1.ebuild with deps
This commit is contained in:
parent
7f0e27a7cd
commit
b83c713e7a
8 changed files with 99 additions and 1 deletions
|
|
@ -1,2 +1,3 @@
|
|||
DIST libsast-1.4.1.tar.gz 35241 BLAKE2B 61f5c9cae01bb10b406f192e4540bdafb4360beee234ae487837386c8a7034872d5149da500aa31637d065115725263cb1c0dc2abad6ccaf116ff9ed238c24af SHA512 e8353a364007a9ed7ba3c15cdf8f55b2029f3e819170f1db81001ab21da77858a1a75da250984f18c6ffe7cfda4a4d7e749ac76f5f47c9261f6a51f4fd9ae918
|
||||
DIST libsast-1.4.4.tar.gz 37810 BLAKE2B d677ed01cdd5fce4c98108e46ab8e69326ba591e2c60df07d341d0c80b85d81286d62d4f47da558d6882bb02c5f4b7f0743ee0e39998610bec56843cd3e4de06 SHA512 594e3c097960eb545a17664c8e85ee10f47bb0f54ad76762c6c1b232f7a479ade2124c0a9911a9ad8151dcb5ac59b60cca41b38711986f82b0b9265a090d7089
|
||||
DIST libsast-1.4.5.tar.gz 37825 BLAKE2B b1e402963e7f69bcc7ee21581ecb9a0d6cc7be01ebf83c24bbcb18955761d489b6f99ada2bc1a3a8a0eaef7587782cba18d5a2345b9f9c33ea3b9487378d8d72 SHA512 23d4b60883ead1002d54dba22fb50d4fc483d811abf81472f10d5eda7948ec583b3deff224d64f3c6db2e12a0e5fa0b836c8726857600a93b06bd5d05a112385
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ IUSE="test"
|
|||
|
||||
RDEPEND=">=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-5.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/semgrep-0.50.1[${PYTHON_USEDEP}]"
|
||||
>=dev-python/semgrep-0.53.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
|
|
|
|||
29
dev-python/libsast/libsast-1.4.5.ebuild
Normal file
29
dev-python/libsast/libsast-1.4.5.ebuild
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# 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="A generic SAST core built on top of semgrep and regex"
|
||||
HOMEPAGE="https://github.com/ajinabraham/libsast/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-5.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/semgrep-0.53.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
#src_prepare(){
|
||||
# sed -i "s|semgrep==|semgrep>=|g" setup.py
|
||||
# eapply_user
|
||||
#}
|
||||
|
|
@ -1 +1,2 @@
|
|||
DIST semgrep-0.52.0.tar.gz 90766 BLAKE2B ae19639c67715801a4d25ab6820446cfcf43e639e26c3eba5af7051f086a1dec8accdbdd9d939ebcce24c58c3b0b9ae2d6df92a1b679b2f14bb84ec3832e9f92 SHA512 70027ec451420755449fa1d919e5ba9fef1a5c1d27703f17b9ca7a2c8355a8d67b083754707fb8cd134644f888075ebd3794a12af642a033cca466c2d2dde256
|
||||
DIST semgrep-0.55.1.tar.gz 94648 BLAKE2B 471e4a5e25a62fe788bdf65322ea09e598dab1918716ef6492669f0e6db986c367085ff7bf40308af463ae65d7b6f8b23b21ca41508fb1ce40e3a2efc4bfa688 SHA512 45b7a707580d13dd0e77e70b521a29597c72b54164b40747a9697510021f54bd3a614c5fa2a5d72bc8e7ccfd4d852346ba1841da009bcfc9bd5945426026998f
|
||||
|
|
|
|||
38
dev-python/semgrep/semgrep-0.55.1.ebuild
Normal file
38
dev-python/semgrep/semgrep-0.55.1.ebuild
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# 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"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/colorama-0.4.3[${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[${PYTHON_USEDEP}]
|
||||
|
||||
dev-util/semgrep-core-bin"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare(){
|
||||
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.51.0.zip 66503591 BLAKE2B f3cf2a6c74eb2fd2bc59bd27afc4ad9eead6c09760e917ae50fbce0d8aeaf2b2e0c3765b5194ec5dc7d378d16a42e726cc4bd0d2847f8f254a1ba554e1bbda73 SHA512 f367dde436eac8fd26d71f4fd1a819435b0276bb55b05d4d9bbe27d37a3a093d84a045fdd6620a7085424ff7b48fbc7dcb46d7b338fac061384f2a6278c5bacd
|
||||
DIST semgrep-core-bin-0.52.0.zip 66227377 BLAKE2B 39627034142517e6915ecfc3b1568210821c26bcba0d575718bb0df6a04f056241c54fd9651bc0c3a0e5fa0d79634972e405cb831e3e251a24dd4fddb53e6685 SHA512 db3b4c786c66811ab84dc03153f90d6c0a86f8e221f30acc90a095887a93792fe0bdbdc4a3e7bc8aa0c982142a577cf4155bee7b7b0090964b1ba4c5e7fe324e
|
||||
DIST semgrep-core-bin-0.55.1.zip 67236896 BLAKE2B 05b225c97b33e7d7ad3b340b77010019417581ada913e50b68faabb00f07c9aa79133da7979502b04bf8162925094b7bb9cf72e1d9981da1403eeb282bd7811a SHA512 94e61167b36bb38e37f7572438acf9c4d79b294fe97e58e8069792a9162679d2ec3cd30c4c6b7fc8c5b397798ed624d8bbe68daf7a33d7e34269d819fd2c02cb
|
||||
|
|
|
|||
23
dev-util/semgrep-core-bin/semgrep-core-bin-0.55.1.ebuild
Normal file
23
dev-util/semgrep-core-bin/semgrep-core-bin-0.55.1.ebuild
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# 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/3c/32/ab2945f7d4122f8204e199aacdb3bf685096d5c93d61e709c1db9d8a65de/semgrep-0.55.1-cp36.cp37.cp38.cp39.py36.py37.py38.py39-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}
|
||||
}
|
||||
|
|
@ -11,9 +11,14 @@ __author__ = "Anton Bolshakov"
|
|||
__license__ = "GPL-3"
|
||||
__email__ = "blshkv@pentoo.ch"
|
||||
|
||||
#FIXME: missing deps if platform_system is specified, see:
|
||||
#dev-python/libsast
|
||||
|
||||
#TODO: https://github.com/uiri/toml
|
||||
#def read_toml
|
||||
#msoffcrypto-tool-4.12.0
|
||||
#or? >>> import pep517.meta
|
||||
#>>> import pprint
|
||||
|
||||
def portage_mapping(search):
|
||||
mapping = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue