From 3aa78bdaddcda8cf975effd9d195b96eccc9426c Mon Sep 17 00:00:00 2001 From: blshkv Date: Mon, 2 Nov 2020 16:50:25 +0800 Subject: [PATCH] libmpsse: fix https://github.com/pentoo/pentoo-overlay/issues/630, disable python2 --- ...bmpsse-1.3.2.ebuild => libmpsse-1.3.2-r1.ebuild} | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) rename dev-embedded/libmpsse/{libmpsse-1.3.2.ebuild => libmpsse-1.3.2-r1.ebuild} (79%) diff --git a/dev-embedded/libmpsse/libmpsse-1.3.2.ebuild b/dev-embedded/libmpsse/libmpsse-1.3.2-r1.ebuild similarity index 79% rename from dev-embedded/libmpsse/libmpsse-1.3.2.ebuild rename to dev-embedded/libmpsse/libmpsse-1.3.2-r1.ebuild index 054089054e..d24c0c53dc 100644 --- a/dev-embedded/libmpsse/libmpsse-1.3.2.ebuild +++ b/dev-embedded/libmpsse/libmpsse-1.3.2-r1.ebuild @@ -1,11 +1,12 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python2_7 ) +#PYTHON_COMPAT=( python2_7 ) +#inherit eutils python-single-r1 autotools -inherit eutils python-single-r1 autotools +inherit eutils autotools DESCRIPTION="Open source library for SPI/I2C control via FTDI chips" HOMEPAGE="https://github.com/l29ah/libmpsse" @@ -15,7 +16,8 @@ SRC_URI="https://github.com/l29ah/libmpsse/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="doc examples python" +#IUSE="doc examples python" +IUSE="doc examples" RDEPEND="dev-embedded/libftdi:*" DEPEND="dev-lang/swig @@ -29,7 +31,8 @@ src_prepare() { } src_configure() { - econf $(use_enable python) +# econf $(use_enable python) + econf --disable-python } src_install() {