This commit is contained in:
blshkv 2020-11-02 16:50:25 +08:00
parent 796f83bbc4
commit 3aa78bdadd
No known key found for this signature in database
GPG key ID: 32BDCED870788F04

View file

@ -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() {