Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357515 - sys-apps/i2c-tools[-python] depends on Python
Summary: sys-apps/i2c-tools[-python] depends on Python
Status: RESOLVED DUPLICATE of bug 316929
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-05 10:45 UTC by Sergey Mironov
Modified: 2011-03-05 17:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Mironov 2011-03-05 10:45:04 UTC
sys-apps/i2c-tools-3.03 pull up python and friends regardless of "python" USE flag. 

Probably, the problem arises because of sys-apps/i2c-tools-3.03 ebuild some uses python-related eclass. It is bad for embedded systems that should be as small as possible.

Reproducible: Always

Steps to Reproduce:
1. Get fresh embedded system 
2. USE="-python" emerge-arm-unknown-linux-gnueabi -p i2c-tools 
3. Whatch long fat python deps



Expected Results:  
I expect i2c-tools to not pull python when emerged with -python.

Here is the head of i2c-tool's ebuild. It s not clear for me why python is required. Eclass is just a guess.

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c-tools/i2c-tools-3.0.3.ebuild,v 1.1 2011/01/07 20:44:42 vapier Exp $

inherit flag-o-matic toolchain-funcs distutils

DESCRIPTION="I2C tools for bus probing, chip dumping, register-level access helpers, EEPROM decoding scripts, and more"
HOMEPAGE="http://www.lm-sensors.org/wiki/I2CTools"
SRC_URI="http://dl.lm-sensors.org/i2c-tools/releases/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="python"

DEPEND="!<sys-apps/lm_sensors-3"

...
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-05 17:08:52 UTC

*** This bug has been marked as a duplicate of bug 316929 ***