mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-11 10:53:23 +01:00
24 lines
572 B
Bash
24 lines
572 B
Bash
# Copyright 1999-2022 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
|
|
}
|