From f683b84828b3dcaec7b67743f2ef34bf16b199f1 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 27 Jan 2021 18:24:05 +0000 Subject: dev-embedded/libftdi: fix tests w/o libftdi installed Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James --- dev-embedded/libftdi/libftdi-1.5-r1.ebuild | 86 ++++++++++++++++++++++++++++++ dev-embedded/libftdi/libftdi-1.5.ebuild | 85 ----------------------------- 2 files changed, 86 insertions(+), 85 deletions(-) create mode 100644 dev-embedded/libftdi/libftdi-1.5-r1.ebuild delete mode 100644 dev-embedded/libftdi/libftdi-1.5.ebuild diff --git a/dev-embedded/libftdi/libftdi-1.5-r1.ebuild b/dev-embedded/libftdi/libftdi-1.5-r1.ebuild new file mode 100644 index 000000000000..22e90fb4ca69 --- /dev/null +++ b/dev-embedded/libftdi/libftdi-1.5-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) +inherit cmake python-single-r1 + +MY_P="${PN}1-${PV}" +if [[ ${PV} == 9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="git://developer.intra2net.com/${PN}" +else + SRC_URI="https://www.intra2net.com/en/developer/${PN}/download/${MY_P}.tar.bz2" + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86" +fi + +DESCRIPTION="Userspace access to FTDI USB interface chips" +HOMEPAGE="https://www.intra2net.com/en/developer/libftdi/" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-2" +SLOT="1" +IUSE="cxx doc examples python test tools" +RESTRICT="!test? ( test )" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +BDEPEND=" + doc? ( app-doc/doxygen ) + python? ( dev-lang/swig )" +RDEPEND=" + virtual/libusb:1 + cxx? ( dev-libs/boost ) + python? ( ${PYTHON_DEPS} ) + tools? ( + !