semgrep-core-bin: improve SRC_URI

This commit is contained in:
Anton Bolshakov 2021-07-05 17:50:24 +08:00
parent 9217d3f1e7
commit d81c4f4b4a
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
4 changed files with 28 additions and 27 deletions

View file

@ -1,3 +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
DIST semgrep-core-bin-0.57.0.zip 67800541 BLAKE2B bd7a7d398069555607d1309a3683f80a8ec32c6d3f57f79ec7ca050742627abf8c0a85d6ecbff2cf846811dcf928a89a1a438efc37c2bfe003eb74e9a02c5e67 SHA512 f3d24c7b6ed87555bc6f321ada9dd5f53a84196c69da97988fc7510b30f308ee27515c5770ed36e412d7376878730b9beb2f43f93ae0e7f28fcd671eebbbc1a2

View file

@ -1,24 +0,0 @@
# 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}
}

View file

@ -6,8 +6,9 @@ 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"
PY_VER="cp36.cp37.cp38.cp39.py36.py37.py38.py39"
SRC_URI="
https://files.pythonhosted.org/packages/${PY_VER}/${P:0:1}/semgrep/semgrep-${PV}-${PY_VER}-none-any.whl -> ${P}.zip"
LICENSE="LGPL-2"
SLOT="0"

View 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"
PY_VER="cp36.cp37.cp38.cp39.py36.py37.py38.py39"
SRC_URI="
https://files.pythonhosted.org/packages/${PY_VER}/${P:0:1}/semgrep/semgrep-${PV}-${PY_VER}-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}
}