Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/
Date: Sat, 23 Feb 2019 20:57:06
Message-Id: 1550955377.577ba1892318850a31add99ecb31b711ae6f10c8.zlogene@gentoo
1 commit: 577ba1892318850a31add99ecb31b711ae6f10c8
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 23 20:56:00 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 23 20:56:17 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=577ba189
7
8 sys-apps/i2c-tools: Drop old
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 sys-apps/i2c-tools/i2c-tools-4.1.ebuild | 67 ---------------------------------
14 1 file changed, 67 deletions(-)
15
16 diff --git a/sys-apps/i2c-tools/i2c-tools-4.1.ebuild b/sys-apps/i2c-tools/i2c-tools-4.1.ebuild
17 deleted file mode 100644
18 index f3549776e8e..00000000000
19 --- a/sys-apps/i2c-tools/i2c-tools-4.1.ebuild
20 +++ /dev/null
21 @@ -1,67 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
28 -DISTUTILS_OPTIONAL="1"
29 -
30 -inherit distutils-r1 flag-o-matic toolchain-funcs
31 -
32 -DESCRIPTION="I2C tools for bus probing, chip dumping, EEPROM decoding, and more"
33 -HOMEPAGE="https://www.kernel.org/pub/software/utils/i2c-tools"
34 -SRC_URI="${HOMEPAGE}/${P}.tar.xz"
35 -
36 -LICENSE="GPL-2"
37 -SLOT="0"
38 -KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
39 -IUSE="python static-libs"
40 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
41 -
42 -RDEPEND="!<sys-apps/lm_sensors-3
43 - python? ( ${PYTHON_DEPS} )"
44 -DEPEND="${RDEPEND}"
45 -
46 -src_prepare() {
47 - default
48 - use python && distutils-r1_src_prepare
49 -}
50 -
51 -src_configure() {
52 - use python && distutils-r1_src_configure
53 -}
54 -
55 -src_compile() {
56 - emake AR="$(tc-getAR)" CC="$(tc-getCC)" all-lib # parallel make
57 - emake CC="$(tc-getCC)"
58 - emake -C eepromer CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
59 -
60 - if use python ; then
61 - cd py-smbus || die
62 - append-cppflags -I../include
63 - distutils-r1_src_compile
64 - fi
65 -}
66 -
67 -src_install() {
68 - emake DESTDIR="${D}" libdir="/usr/$(get_libdir)" PREFIX="/usr" install-lib install
69 - dosbin eepromer/eeprom{,er}
70 - rm -rf "${D}"/usr/include || die # part of linux-headers
71 - dodoc CHANGES README
72 - local d
73 - for d in eeprom eepromer ; do
74 - docinto "${d}"
75 - dodoc "${d}"/README*
76 - done
77 -
78 - if use python ; then
79 - cd py-smbus || die
80 - docinto py-smbus
81 - dodoc README*
82 - distutils-r1_src_install
83 - fi
84 -
85 - if ! use static-libs; then
86 - rm -rf "${D}"/usr/$(get_libdir)/libi2c.a || die
87 - fi
88 -}