Skip to content

Commit

Permalink
libmpsse: fix pentoo#630, disable python2
Browse files Browse the repository at this point in the history
  • Loading branch information
blshkv authored and NP-Hardass committed Oct 8, 2021
1 parent 96f0e53 commit b51e6d4
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand All @@ -29,7 +31,8 @@ src_prepare() {
}

src_configure() {
econf $(use_enable python)
# econf $(use_enable python)
econf --disable-python
}

src_install() {
Expand Down

0 comments on commit b51e6d4

Please sign in to comment.