diff options
| author | Michał Górny <mgorny@gentoo.org> | 2024-11-22 20:26:37 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2024-11-22 20:30:37 +0100 |
| commit | ff5538d16e85efe7d3b5792f4fd2afdbe65c1d00 (patch) | |
| tree | 438fb6b0aa92e3e7c3ce3e78c60426710d070c15 /dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild | |
| parent | 96935f5fba56b28a1b32f5ce2e4463699dd9ab4a (diff) | |
| download | gentoo-ff5538d16e85efe7d3b5792f4fd2afdbe65c1d00.tar.gz gentoo-ff5538d16e85efe7d3b5792f4fd2afdbe65c1d00.tar.bz2 gentoo-ff5538d16e85efe7d3b5792f4fd2afdbe65c1d00.zip | |
dev-python/OutputCheck: Add MY_P prior to rename
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild')
| -rw-r--r-- | dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild b/dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild index 01ac4eea4db6..9ba13e596a42 100644 --- a/dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild +++ b/dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild @@ -4,14 +4,21 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 +MY_P=OutputCheck-${PV} DESCRIPTION="A tool for checking the output of console programs inspired by LLVM's FileCheck" -HOMEPAGE="https://github.com/stp/OutputCheck/" -SRC_URI="https://github.com/stp/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" +HOMEPAGE=" + https://github.com/stp/OutputCheck/ + https://pypi.org/project/OutputCheck/ +" +SRC_URI=" + https://github.com/stp/OutputCheck/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" @@ -19,11 +26,17 @@ KEYWORDS="amd64 ~x86" IUSE="test" RESTRICT="!test? ( test )" -BDEPEND="test? ( dev-python/lit[${PYTHON_USEDEP}] )" - -PATCHES=( "${FILESDIR}/${PN}-0.4.2-Driver.patch" ) +BDEPEND=" + test? ( + dev-python/lit[${PYTHON_USEDEP}] + ) +" src_prepare() { + local PATCHES=( + "${FILESDIR}/${PN}-0.4.2-Driver.patch" + ) + distutils-r1_src_prepare # Remove bad tests. |
