dev-python/hypothesmith: treeclean

Bug: https://bugs.gentoo.org/931377
Bug: https://bugs.gentoo.org/921823
Bug: https://bugs.gentoo.org/921821
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy
2024-06-01 19:13:35 -04:00
parent f002682a6d
commit f7a5c5b618
3 changed files with 0 additions and 56 deletions

View File

@@ -1 +0,0 @@
DIST hypothesmith-0.2.0.tar.gz 24933 BLAKE2B 36c5296d2ab5d86a2dcde565bda16aff31de7f0be1cbc487ea2115e6e3baacf5ba740192885dd5a843d53c51932551574c0debd97f1b374a4e0bea48ec4204d4 SHA512 b82627897f0e07e6249ce2d3730134690dbe340b81632a1101b6b6b9a9ac6ccd0f350ba10f729349ef200b9243081f7f58eb760ccbcb4175adfcc5f411a8a045

View File

@@ -1,46 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_10 ) # python3_11 depends on dev-python/libcst
inherit distutils-r1 pypi
DESCRIPTION="Hypothesis strategies for generating Python programs"
HOMEPAGE="https://github.com/Zac-HD/hypothesmith"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
src_prepare() {
default
sed -e '/-Werror/d' \
-e '/--cov/d' \
-i tox.ini || die
}
RDEPEND="
>=dev-python/hypothesis-5.41.0[${PYTHON_USEDEP}]
>=dev-python/lark-0.7.2[${PYTHON_USEDEP}]
>=dev-python/libcst-0.3.8[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
test? (
dev-python/black[${PYTHON_USEDEP}]
dev-python/parso[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
"
distutils_enable_tests --install pytest
python_test() {
# https://github.com/Zac-HD/hypothesmith/issues/21
local EPYTEST_DESELECT=( 'tests/test_cst.py::test_source_code_from_libcst_node_type' )
epytest
}

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">Zac-HD/hypothesmith</remote-id>
<remote-id type="pypi">hypothesmith</remote-id>
</upstream>
</pkgmetadata>