blob: c23fd4916dbf8c332d3f467799ded1cf7373fe3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Aloxaf <aloxafx@gmail.com>
pkgname=semgrep-bin
_name=semgrep
pkgver=1.103.0
pkgrel=1
pkgdesc="Fast and syntax-aware semantic code pattern search for many languages: like grep but for code"
arch=(x86_64)
url=https://github.com/returntocorp/semgrep
license=(LGPL2.1)
makedepends=('python-pip' 'python-setuptools' 'python-wheel')
depends=(
'python' 'python-attrs' 'python-boltons' 'python-click' 'python-click-option-group'
'python-colorama' 'python-defusedxml' 'python-glom' 'python-jsonschema' 'python-packaging'
'python-peewee' 'python-lsp-jsonrpc' 'python-requests' 'python-rich' 'python-ruamel-yaml'
'python-tomli' 'python-typing_extensions' 'python-urllib3' 'python-wcmatch' 'python-opentelemetry-api'
)
optdepends=('jsonnet: experimental jsonnet support')
provides=('semgrep')
options=('!strip')
source=("https://files.pythonhosted.org/packages/c8/f1/db56dad2d80ae141ee5d70859dde0bc4a6e0316faa33f588a103edc35f96/semgrep-1.103.0-cp39.cp310.cp311.py39.py310.py311-none-musllinux_1_0_x86_64.manylinux2014_x86_64.whl")
sha256sums=('f1672687eae26330a8cd3a950598c2b872e2632861ce30266b0ec5e11fd859b4')
package() {
PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps semgrep-1.103.0-cp39.cp310.cp311.py39.py310.py311-none-musllinux_1_0_x86_64.manylinux2014_x86_64.whl
python -O -m compileall "${pkgdir}"
}
|