summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-04-14 10:31:18 +0000
committerMichael Weber <xmw@gentoo.org>2012-04-14 10:31:18 +0000
commit5296c46db55c89921fc9a98a0f6310a5556c4bb9 (patch)
tree9f35e5685ed080e13894c67c32882d9b34258521 /sys-apps/i2c-tools
parentBump hashtables to 1.0.1.3. EAPI=4. [profile?] on haskell libs, part of fix f... (diff)
downloadhistorical-5296c46db55c89921fc9a98a0f6310a5556c4bb9.tar.gz
historical-5296c46db55c89921fc9a98a0f6310a5556c4bb9.tar.bz2
historical-5296c46db55c89921fc9a98a0f6310a5556c4bb9.zip
Version bump (non-maint commit, bug 410277).
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/i2c-tools')
-rw-r--r--sys-apps/i2c-tools/ChangeLog9
-rw-r--r--sys-apps/i2c-tools/Manifest12
-rw-r--r--sys-apps/i2c-tools/i2c-tools-3.1.0.ebuild63
3 files changed, 77 insertions, 7 deletions
diff --git a/sys-apps/i2c-tools/ChangeLog b/sys-apps/i2c-tools/ChangeLog
index 6d28dda973f5..4a619233fc62 100644
--- a/sys-apps/i2c-tools/ChangeLog
+++ b/sys-apps/i2c-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/i2c-tools
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c-tools/ChangeLog,v 1.13 2011/11/06 17:00:50 armin76 Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c-tools/ChangeLog,v 1.14 2012/04/14 10:31:18 xmw Exp $
+
+*i2c-tools-3.1.0 (14 Apr 2012)
+
+ 14 Apr 2012; Michael Weber <xmw@gentoo.org> +i2c-tools-3.1.0.ebuild:
+ Version bump (non-maint commit, bug 410277).
06 Nov 2011; Raúl Porcel <armin76@gentoo.org> i2c-tools-3.0.2.ebuild,
i2c-tools-3.0.3.ebuild:
diff --git a/sys-apps/i2c-tools/Manifest b/sys-apps/i2c-tools/Manifest
index 0144b9417ecf..d885651c3fb2 100644
--- a/sys-apps/i2c-tools/Manifest
+++ b/sys-apps/i2c-tools/Manifest
@@ -1,16 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
DIST i2c-tools-3.0.2.tar.bz2 62523 RMD160 533343f0fc1d5db54a526bb6d6037e2b30e52908 SHA1 3764d72d6b0c816c01d895485b610c742498ea94 SHA256 0b4d6455a30a3264a60b4d3be55855d996d52ea4f162a2f04ffff378e24f98a2
DIST i2c-tools-3.0.3.tar.bz2 66094 RMD160 e8fedca76e01e94e0fc0cc1e047a1eef132fc63e SHA1 8619c7d42d0ae3e7c4e368d911b59dd4fbe825f1 SHA256 23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629
+DIST i2c-tools-3.1.0.tar.bz2 66840 RMD160 9a2ebca8c7bffa8bda1e41b37b3c5850adab2017 SHA1 0756c9cffb7865d9815d44727de86973a28aba23 SHA256 960023f61de292c6dd757fcedec4bffa7dd036e8594e24b26a706094ca4c142a
EBUILD i2c-tools-3.0.2.ebuild 1371 RMD160 7b04a7dfc4dcfafe663e0d2d816247c7d69d5f90 SHA1 c319a65cb092d63865d132a87163e6a999c41b34 SHA256 18f9718e11065c0d91392ff392988a5ae8d5468db0acd631366bcf7902fcfb4c
EBUILD i2c-tools-3.0.3.ebuild 1373 RMD160 e9ce8609e1d9a678812d93bc3a6ad5374bbdaf5f SHA1 a381844c781b7b28b3fc5b18fe6541f71b7f4399 SHA256 a43c02933c9e6e9f2481fd2186032aa4d4be150640078c1d7d2e8c68b81bd6cd
-MISC ChangeLog 1734 RMD160 991658ba4a570694ccbfd762a0061d1630095671 SHA1 08b070a6e45a4129a66b9f23da9809c8580f544a SHA256 91957903d41f29de584abef006028b2d9ce943cfecc5f7281339b54510790de6
+EBUILD i2c-tools-3.1.0.ebuild 1468 RMD160 d8dc12c67c61e9a5b99cfd332a901ccd457b40f1 SHA1 5606eec1a13398dbe193e90cf7fbb6763facc38a SHA256 bdd6f35a6745846c789a6a64ab7933f59c602cf1536f8bfed511686226a96c13
+MISC ChangeLog 1881 RMD160 65103790a4277f45f20e021ba70cf3707956a2f1 SHA1 c939739a598fac8960263be2990538e1838586a0 SHA256 8763a23fa9a70cd7e0dd7d4addfe8f072d14912716a6216dce9dd681e65f2f0b
MISC metadata.xml 159 RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 SHA1 bce3da4745192397c9a08bdbcf7e4914eac9b77b SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk62vUgACgkQuQc30/atMkBqhACeMoGrh0dC62pCWU6fwYZ/VeNe
-8tYAn3628wFEYmyGRhhmhCvL/TBdayo4
-=I1Hx
+iF4EAREIAAYFAk+JUf4ACgkQknrdDGLu8JBMPwD+J0KmVzkjdAXwGEEbVTiysLD5
+jELM8t98AC9CejMqQvYA/1fkrKL8UNz82556ucbMuptK4lCi38VBSkqh1c5Np6vo
+=iOjl
-----END PGP SIGNATURE-----
diff --git a/sys-apps/i2c-tools/i2c-tools-3.1.0.ebuild b/sys-apps/i2c-tools/i2c-tools-3.1.0.ebuild
new file mode 100644
index 000000000000..e82d85e5cdde
--- /dev/null
+++ b/sys-apps/i2c-tools/i2c-tools-3.1.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2012 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.1.0.ebuild,v 1.1 2012/04/14 10:31:18 xmw Exp $
+
+EAPI="4"
+PYTHON_DEPEND="python? 2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+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 ~sparc ~x86"
+IUSE="python"
+
+DEPEND="!<sys-apps/lm_sensors-3"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ use python && python_pkg_setup
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) CFLAGS="${CFLAGS}"
+ emake -C eepromer CC=$(tc-getCC) CFLAGS="${CFLAGS} -I../include"
+ if use python ; then
+ cd py-smbus || die
+ append-cppflags -I../include
+ distutils_src_compile
+ fi
+}
+
+src_install() {
+ emake install prefix="${D}"/usr
+ dosbin eepromer/eepro{g,m{,er}}
+ rm -rf "${D}"/usr/include # part of linux-headers
+ dodoc CHANGES README
+ local d
+ for d in eeprom eepromer ; do
+ docinto ${d}
+ dodoc ${d}/README*
+ done
+
+ if use python ; then
+ cd py-smbus || die
+ docinto py-smbus
+ dodoc README*
+ distutils_src_install
+ fi
+}
+
+pkg_postinst() {
+ use python && distutils_pkg_postinst
+}
+
+pkg_postrm() {
+ use python && distutils_pkg_postrm
+}