mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-11 03:57:28 -08:00
They trigger under system load as well, unsurprisingly. Upstream DoS tests are "Co-authored-by: AI" so I don't have high hopes that there is meaningful value to extract from said tests. Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
30 lines
720 B
Bash
30 lines
720 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=hatchling
|
|
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
|
|
|
inherit distutils-r1 pypi
|
|
|
|
DESCRIPTION="A non-validating SQL parser module for Python"
|
|
HOMEPAGE="
|
|
https://github.com/andialbrecht/sqlparse/
|
|
https://pypi.org/project/sqlparse/
|
|
"
|
|
|
|
LICENSE="BSD-2"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
|
|
distutils_enable_sphinx docs/source
|
|
EPYTEST_PLUGINS=()
|
|
distutils_enable_tests pytest
|
|
|
|
EPYTEST_DESELECT=(
|
|
# more likely to fail because emerging in parallel than because DoS
|
|
# prevention is in fact broken
|
|
tests/test_dos_prevention.py
|
|
)
|