libsast-1.3.6.ebuild with deps

This commit is contained in:
blshkv 2021-01-09 11:55:25 +08:00
parent ff78456aec
commit a9116f73d7
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
6 changed files with 39 additions and 11 deletions

View file

@ -1 +1,2 @@
DIST libsast-1.3.1.tar.gz 35053 BLAKE2B db862bc4536ca4cb84ab80859ed19dfbe0e666d17c5d477ba3d9bb18005fb3b717a33295131fde69de8388cc305765e4accd9a5d4160050bd820c6f669a53802 SHA512 3cf70b4314c2ddd093848eb5d9ab3d570d47ae39f3806906ed17119ba5a30c9e4b329e1744aabe5f94a94e86e168b06b79933ae6282e72d2f61b23faeaac5980
DIST libsast-1.3.6.tar.gz 34461 BLAKE2B e328bf6b427c3f86e9251c0806faedf508f64b46ea138d609e068d748febda35d7d22ff15c6b5fdd7ae60b9675281b3779f3e523a317223455616bf696a1aeef SHA512 4f3b4d34fcaf1b7e91bef5e95b1201fb800d091c3b6d2610429eb0bf902cc1de4a483d018ae0413bd3f23b11bdda188a342312b654b2e300c6ef08a6e23f6662

View file

@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE=""
SLOT="0"
KEYWORDS="amd64 x86"
KEYWORDS="amd64"
IUSE="test"
RDEPEND=">=dev-python/requests-2.22.0[${PYTHON_USEDEP}]

View file

@ -0,0 +1,28 @@
# 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.35.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
src_prepare(){
sed -i "s|semgrep==|semgrep>=|g" setup.py
eapply_user
}

View file

@ -1,10 +1,10 @@
# Copyright 1999-2020 Gentoo Authors
# 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_{6,7,8} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1

View file

@ -1,10 +1,10 @@
# Copyright 1999-2020 Gentoo Authors
# 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_{6,7,8} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/returntocorp/semgrep"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
KEYWORDS="amd64"
# exact version of ruamel.yaml because of unstable API
RDEPEND=">=dev-python/attrs-19.3.0[${PYTHON_USEDEP}]

View file

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -7,12 +7,11 @@ 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/51/94/d6ce8e42588aeb3f4cde5e477a5254fa2a9127f2d67652ce2bf45328c1a1/semgrep-0.36.0-cp36.cp37.cp38.py36.py37.py38-none-any.whl -> ${P}.zip"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
KEYWORDS="amd64"
RDEPEND=""
DEPEND="${RDEPEND}"