mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
libmpsse: fix https://github.com/pentoo/pentoo-overlay/issues/630, disable python2
This commit is contained in:
parent
796f83bbc4
commit
3aa78bdadd
1 changed files with 8 additions and 5 deletions
|
|
@ -1,11 +1,12 @@
|
||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# 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"
|
DESCRIPTION="Open source library for SPI/I2C control via FTDI chips"
|
||||||
HOMEPAGE="https://github.com/l29ah/libmpsse"
|
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"
|
LICENSE="BSD-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="amd64 x86"
|
KEYWORDS="amd64 x86"
|
||||||
IUSE="doc examples python"
|
#IUSE="doc examples python"
|
||||||
|
IUSE="doc examples"
|
||||||
|
|
||||||
RDEPEND="dev-embedded/libftdi:*"
|
RDEPEND="dev-embedded/libftdi:*"
|
||||||
DEPEND="dev-lang/swig
|
DEPEND="dev-lang/swig
|
||||||
|
|
@ -29,7 +31,8 @@ src_prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
econf $(use_enable python)
|
# econf $(use_enable python)
|
||||||
|
econf --disable-python
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
Loading…
Reference in a new issue