Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524722 - sys-apps/i2c-tools-3.1.1 version bump
Summary: sys-apps/i2c-tools-3.1.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: python-r1-tracker
  Show dependency tree
 
Reported: 2014-10-07 19:36 UTC by Paul Zander
Modified: 2014-10-16 19:00 UTC (History)
0 users

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


Attachments
i2c-tools-3.1.1.ebuild (i2c-tools-3.1.1.ebuild,1.36 KB, text/plain)
2014-10-07 19:38 UTC, Paul Zander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Zander 2014-10-07 19:36:50 UTC
version bumped to 3.1.1
distutils-r1 bump

Reproducible: Always
Comment 1 Paul Zander 2014-10-07 19:38:37 UTC
Created attachment 386194 [details]
i2c-tools-3.1.1.ebuild
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-08 06:28:43 UTC
Comment on attachment 386194 [details]
i2c-tools-3.1.1.ebuild

--- i2c-tools-3.1.0.ebuild
+++ i2c-tools-3.1.1.ebuild
@@ -2,12 +2,10 @@
 # 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.4 2014/03/12 03:15:18 patrick Exp $

-EAPI="4"
-PYTHON_DEPEND="python? 2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython"
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )

-inherit flag-o-matic toolchain-funcs distutils
+inherit flag-o-matic toolchain-funcs distutils-r1
 
 DESCRIPTION="I2C tools for bus probing, chip dumping, register-level access helpers, EEPROM decoding, and more"
 HOMEPAGE="http://www.lm-sensors.org/wiki/I2CTools"
@@ -27,7 +25,7 @@
        if use python ; then
                cd py-smbus || die
                append-cppflags -I../include
-               distutils_src_compile
+               distutils-r1_src_compile
        fi
 }

@@ -46,14 +44,14 @@
                cd py-smbus || die
                docinto py-smbus
                dodoc README*
-               distutils_src_install
+               distutils-r1_src_install
        fi
 }
 
 pkg_postinst() {
-       use python && distutils_pkg_postinst
+       use python && distutils-r1_pkg_postinst
 }
 
 pkg_postrm() {
-       use python && distutils_pkg_postrm
+       use python && distutils-r1_pkg_postrm
 }
Comment 3 SpanKY gentoo-dev 2014-10-16 19:00:36 UTC
should be all set now in the tree; thanks for the report!

Commit message: Version bump & port to distutils-r1
http://sources.gentoo.org/sys-apps/i2c-tools/files/i2c-tools-3.1.1-python-3.patch?rev=1.1
http://sources.gentoo.org/sys-apps/i2c-tools/i2c-tools-3.1.1.ebuild?rev=1.1