dev-python/libsast - 3.1.8 (pentoo)

Search

Install

Install this version:

emerge -a =dev-python/libsast-3.1.8

Package Information

Description:
A generic SAST library built on top of semgrep and regex
Homepage:
https://github.com/ajinabraham/libsast/
License:
LGPL-3

Ebuild Details

Version EAPI Keywords Slot
3.1.8 8 amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=poetry-core
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1

DESCRIPTION="A generic SAST library built on top of semgrep and regex"
HOMEPAGE="https://github.com/ajinabraham/libsast/"
SRC_URI="https://github.com/ajinabraham/libsast/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64"

RDEPEND="
	>=dev-python/requests-2.27.1[${PYTHON_USEDEP}]
	>=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
	>=dev-python/billiard-4.2.1[${PYTHON_USEDEP}]
"
#BDEPEND="
#	${RDEPEND}
#	>=dev-python/semgrep-1.172.0[${PYTHON_USEDEP}]
#"

EPYTEST_PLUGINS=()
EPYTEST_DESELECT=(
	# download
	'tests/unit/test_rules.py::test_load_url'
	# need semgrep
	'tests/unit/test_semgrep.py::test_semgrep'
	'tests/unit/test_semgrep.py::test_semgrep_metadata'
)
distutils_enable_tests pytest

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/requests-2.27.1[]
	>=dev-python/pyyaml-6.0[]
	>=dev-python/billiard-4.2.1[]

Manifest for 3.1.8

Type File Size Source URLs
DIST libsast-3.1.8.gh.tar.gz 90164 bytes https://github.com/ajinabraham/libsast/archive/refs/tags/3.1.8.tar.gz