gentoo/dev-python/virtualenv-clone/virtualenv-clone-0.5.7.ebuild
Matoro Mahri 122f0d9495
dev-python/virtualenv-clone: fix tests on python3_{11,12}
See: https://github.com/edwardgeorge/virtualenv-clone/pull/79
Bug: https://bugs.gentoo.org/918079
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/34903
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-01-20 08:08:49 +01:00

34 lines
694 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="A script for cloning a non-relocatable virtualenv"
HOMEPAGE="
https://github.com/edwardgeorge/virtualenv-clone/
https://pypi.org/project/virtualenv-clone/
"
SRC_URI="
https://github.com/edwardgeorge/virtualenv-clone/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~ppc64 ~riscv x86"
BDEPEND="
test? (
dev-python/virtualenv[${PYTHON_USEDEP}]
)
"
PATCHES=( "${FILESDIR}/${PN}-0.5.7-backport-pr79.patch" )
distutils_enable_tests pytest