mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-wireless/cpyrit-cuda: die in pretend if gcc > 4.8
Package-Manager: portage-2.3.0
This commit is contained in:
@@ -7,7 +7,7 @@ EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
|
||||
inherit distutils-r1
|
||||
inherit toolchain-funcs distutils-r1
|
||||
|
||||
DESCRIPTION="A sub-package that adds CUDA-capability to Pyrit"
|
||||
HOMEPAGE="https://github.com/JPaulMora/Pyrit"
|
||||
@@ -26,6 +26,12 @@ PDEPEND="~net-wireless/pyrit-${PV}"
|
||||
|
||||
S="${WORKDIR}/Pyrit-${PV}/modules/cpyrit_cuda"
|
||||
|
||||
pkg_pretend() {
|
||||
if tc-is-gcc && [[ $(gcc-version) > 4.8 ]]; then
|
||||
die "gcc 4.9 and up are not supported"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user