[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2023-02-23 Thread Andrew Ammerlaan
commit: 33e06973dd9d1c5f2878f7019fc1699e014668b7
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Feb 23 13:45:01 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Feb 23 13:45:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e06973

sys-apps/i2c-tools: enable py3.11

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
index 13f644926e14..86b0f1a7d221 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_OPTIONAL="1"
 
 inherit distutils-r1 flag-o-matic toolchain-funcs



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-11-15 Thread Michał Górny
commit: b3f1a4d6918e7f07a3f78567bcd7d5b2136cae1e
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 15 18:18:50 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 15 18:18:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3f1a4d6

sys-apps/i2c-tools: Remove py3.8-only versions

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/i2c-tools/Manifest|  1 -
 sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild | 81 --
 2 files changed, 82 deletions(-)

diff --git a/sys-apps/i2c-tools/Manifest b/sys-apps/i2c-tools/Manifest
index cad813324a0a..7d5824b262f6 100644
--- a/sys-apps/i2c-tools/Manifest
+++ b/sys-apps/i2c-tools/Manifest
@@ -1,3 +1,2 @@
-DIST i2c-tools-4.1.tar.xz 83576 BLAKE2B 
0a9ed3bb335b61f6c17a6b6c705502ff008b4fb8bab6a5fde63163a32528b5214d92affc4b8d6cca29676dc7ba82dfa84be5f14943b7e81c8612a7d9419ac628
 SHA512 
83262bcfd94c2adf74517cc50095dd78221fa4d16a62397245d4a538de7463272abf4f6727024be8ab1ca8ecbfe647af85ba2a553e5b5e68a53e50dfcad20248
 DIST i2c-tools-4.2.tar.xz 87600 BLAKE2B 
89f84ad07f4c042f67c308d48a402aa9ed46352062ddad3456d048730019e099e6eef626d487d802e07b100ae2c836e9aa6b2345950ff8744cbc0fe1a22616fb
 SHA512 
5e230be4983c5c9c5718491d3ce9ee2e6205edea75c4097735eb32a25e522e37a074ef4cb61d2492707efebf0cb1b75ff65f1b2ae8c0bc1684a169526809a096
 DIST i2c-tools-4.3.tar.xz 81276 BLAKE2B 
c7300224c8d32785cd067b632bf0e9591f05264b1572f44aebda5f30a95164732d606710c13739ccb7899476219ceb3033beaf95b718ed7e18122f9181dc13fc
 SHA512 
8a6cc12d927d6291b9baf407bc15807280539a7048ec5c2edf77414432eab43b28353c42bc0e45b7b481502aa4c5588def08f130d97fc275f635d1f77488f501

diff --git a/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
deleted file mode 100644
index 9900e3bbff0e..
--- a/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{3_7,3_8} )
-DISTUTILS_OPTIONAL="1"
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-DESCRIPTION="I2C tools for bus probing, chip dumping, EEPROM decoding, and 
more"
-HOMEPAGE="https://www.kernel.org/pub/software/utils/i2c-tools;
-SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc x86"
-IUSE="perl python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
-   python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}"
-RDEPEND+="
-   perl? ( dev-lang/perl )"
-
-src_prepare() {
-   default
-   use python && distutils-r1_src_prepare
-
-   # Cut out the eeprom/ & stub/ dirs as only perl scripts live there.
-   if ! use perl ; then
-   sed -i '/^SRCDIRS/s: eeprom stub : :g' Makefile || die
-   fi
-}
-
-src_configure() {
-   use python && distutils-r1_src_configure
-
-   # Always build & use dynamic libs if possible.
-   if tc-is-static-only ; then
-   export BUILD_DYNAMIC_LIB=0
-   export USE_STATIC_LIB=1
-   export BUILD_STATIC_LIB=1
-   else
-   export BUILD_DYNAMIC_LIB=1
-   export USE_STATIC_LIB=0
-   export BUILD_STATIC_LIB=$(usex static-libs 1 0)
-   fi
-}
-
-src_compile() {
-   emake AR="$(tc-getAR)" CC="$(tc-getCC)" all-lib # parallel make
-   emake CC="$(tc-getCC)"
-   emake -C eepromer CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
-
-   if use python ; then
-   cd py-smbus || die
-   append-cppflags -I../include
-   distutils-r1_src_compile
-   fi
-}
-
-src_install() {
-   emake DESTDIR="${D}" libdir="/usr/$(get_libdir)" PREFIX="/usr" 
install-lib install
-   dosbin eepromer/eeprom{,er}
-   rm -rf "${D}"/usr/include || die # part of linux-headers
-   dodoc CHANGES README
-   local d
-   for d in $(usex perl eeprom '') eepromer ; do
-   docinto "${d}"
-   dodoc "${d}"/README*
-   done
-
-   if use python ; then
-   cd py-smbus || die
-   docinto py-smbus
-   dodoc README*
-   distutils-r1_src_install
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-08-27 Thread WANG Xuerui
commit: 405b6988c34de90f5a533ed3e301cd48a37eb9b7
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Aug 28 03:53:10 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Aug 28 05:05:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=405b6988

sys-apps/i2c-tools: keyword 4.3 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
index 8c54b56cce62..dcf554973967 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-05-07 Thread Arthur Zamarin
commit: 3a2ba667bf54070e1b533bb037f8adeee65caa16
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  7 17:50:12 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  7 17:50:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a2ba667

sys-apps/i2c-tools: Stabilize 4.3 arm64, #843098

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
index 4b19dedb6d1a..8c54b56cce62 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-05-07 Thread Jakov Smolić
commit: 48434c0d7964036bc99bb2bcbc1a43f99ccc12ce
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat May  7 13:20:11 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat May  7 13:20:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48434c0d

sys-apps/i2c-tools: Stabilize 4.3 ppc, #843098

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
index ccd4f2b371ee..4b19dedb6d1a 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-05-07 Thread Jakov Smolić
commit: 5ab93d1e1ea54bd707580a2943ca687a36902abb
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat May  7 10:56:16 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat May  7 10:56:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab93d1e

sys-apps/i2c-tools: Stabilize 4.3 amd64, #843098

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
index 7b97b26c52fa..ccd4f2b371ee 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~mips ~ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ppc64 ~riscv sparc x86"
 IUSE="python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-05-07 Thread Jakov Smolić
commit: d00b8e155768de770adba1a12939eb648e1f9001
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat May  7 10:55:46 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat May  7 10:55:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d00b8e15

sys-apps/i2c-tools: Stabilize 4.3 x86, #843098

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
index 33debd765ddc..7b97b26c52fa 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~mips ~ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~mips ~ppc ppc64 ~riscv sparc x86"
 IUSE="python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-05-07 Thread Arthur Zamarin
commit: 9f7be6dc34fa54789f6a2594e304005364278839
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  7 10:05:22 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  7 10:05:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f7be6dc

sys-apps/i2c-tools: Stabilize 4.3 arm, #843098

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
index c9862604a91c..33debd765ddc 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~mips ~ppc ppc64 ~riscv sparc ~x86"
 IUSE="python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-05-07 Thread Arthur Zamarin
commit: 6a60ff5e862bdbf1580b6e9d92b1d6e8f8961f31
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  7 10:04:17 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  7 10:04:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a60ff5e

sys-apps/i2c-tools: Stabilize 4.3 ppc64, #843098

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
index 7ba694cf3849..c9862604a91c 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ppc64 ~riscv sparc ~x86"
 IUSE="python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-05-07 Thread Arthur Zamarin
commit: 806c954e316a533b777f2a2b79aa7c8234fe12ec
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  7 09:58:46 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  7 09:58:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=806c954e

sys-apps/i2c-tools: Stabilize 4.3 sparc, #843098

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
index 585e25ebd95d..7ba694cf3849 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
 IUSE="python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-05-07 Thread Sam James
commit: f4f6b4e2cff84f636514811f641858042a4dabc4
Author: Sam James  gentoo  org>
AuthorDate: Sat May  7 07:19:41 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May  7 07:19:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4f6b4e2

sys-apps/i2c-tools: Stabilize 4.2 sparc, #833808

Signed-off-by: Sam James  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
index 246cc0d212b5..c40274690e01 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="perl python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-05-07 Thread Sam James
commit: 161a1bc898709935c140d2052412f38b80871849
Author: Sam James  gentoo  org>
AuthorDate: Sat May  7 06:32:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May  7 07:16:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=161a1bc8

sys-apps/i2c-tools: enable py3.10

Signed-off-by: Sam James  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
index 1b4f3d12d061..585e25ebd95d 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python{3_8,3_9} )
+PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_OPTIONAL="1"
 
 inherit distutils-r1 flag-o-matic toolchain-funcs



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-04-18 Thread Sam James
commit: a80aafd116d695fee49e32cc575edfcea47b9e8e
Author: Denis Pronin  yandex  ru>
AuthorDate: Sat Mar 19 10:08:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 18 20:28:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a80aafd1

sys-apps/i2c-tools: add python 3.10

enabled opportunity for a user to use python-3.10 for
sys-apps/i2c-tools-4.2

Signed-off-by: Denis Pronin  yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/24657
Signed-off-by: Sam James  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
index 7372aa58066c..246cc0d212b5 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{3_7,3_8,3_9} )
+PYTHON_COMPAT=( python3_{8,9,10} )
 DISTUTILS_OPTIONAL="1"
 
 inherit distutils-r1 flag-o-matic toolchain-funcs



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-02-20 Thread Sam James
commit: d90d26046b3a28856ed9ed74a0572831aab8690c
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 21 03:48:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 03:48:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d90d2604

sys-apps/i2c-tools: Stabilize 4.2 ppc, #833808

Signed-off-by: Sam James  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
index f922645783a1..7372aa58066c 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~mips ~ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv ~sparc x86"
 IUSE="perl python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-02-20 Thread Sam James
commit: 97b8d5b04937840714e14aaed44dd7e2649ac8cd
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 21 03:48:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 03:48:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97b8d5b0

sys-apps/i2c-tools: Stabilize 4.2 ppc64, #833808

Signed-off-by: Sam James  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
index ad2026877fe8..f922645783a1 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~mips ~ppc ppc64 ~riscv ~sparc x86"
 IUSE="perl python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-02-01 Thread Michał Górny
commit: c5fd7edc168d5365a04392a37ec4812c4e603aa0
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb  1 18:58:39 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb  1 19:02:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5fd7edc

sys-apps/i2c-tools: Fix Python dependencies

DISTUTILS_USE_SETUPTOOLS is not used with DISTUTILS_OPTIONAL, the dep
on setuptools needs to be declared explicitly.

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.3.ebuild | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
index 08557d67f1fa..1b4f3d12d061 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
@@ -1,11 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 PYTHON_COMPAT=( python{3_8,3_9} )
 DISTUTILS_OPTIONAL="1"
-DISTUTILS_USE_SETUPTOOLS=bdepend
 
 inherit distutils-r1 flag-o-matic toolchain-funcs
 
@@ -21,7 +20,11 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}"
+BDEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )"
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2022-02-01 Thread Michał Górny
commit: 52feaf1f88ae92cb5966becd33adc309269e3f4d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb  1 18:43:32 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb  1 18:51:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52feaf1f

sys-apps/i2c-tools: Remove DISTUTILS_USE_SETUPTOOLS

DISTUTILS_USE_SETUPTOOLS is not used with DISTUTILS_OPTIONAL, and now it
triggers a QA warning.  Remove it.

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.2.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
index 49fdd89041cc..ad2026877fe8 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
@@ -1,11 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 PYTHON_COMPAT=( python{3_7,3_8,3_9} )
 DISTUTILS_OPTIONAL="1"
-DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1 flag-o-matic toolchain-funcs
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2021-10-31 Thread Mikle Kolyada
commit: 474c7f8fdf4d45aaaed6bfffa4f3a25fa0fc7f91
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Oct 31 21:04:14 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Oct 31 21:06:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=474c7f8f

sys-apps/i2c-tools: Version bump (v4.3)

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-apps/i2c-tools/Manifest |  1 +
 sys-apps/i2c-tools/i2c-tools-4.3.ebuild | 59 +
 2 files changed, 60 insertions(+)

diff --git a/sys-apps/i2c-tools/Manifest b/sys-apps/i2c-tools/Manifest
index 6b32301a606..cad813324a0 100644
--- a/sys-apps/i2c-tools/Manifest
+++ b/sys-apps/i2c-tools/Manifest
@@ -1,2 +1,3 @@
 DIST i2c-tools-4.1.tar.xz 83576 BLAKE2B 
0a9ed3bb335b61f6c17a6b6c705502ff008b4fb8bab6a5fde63163a32528b5214d92affc4b8d6cca29676dc7ba82dfa84be5f14943b7e81c8612a7d9419ac628
 SHA512 
83262bcfd94c2adf74517cc50095dd78221fa4d16a62397245d4a538de7463272abf4f6727024be8ab1ca8ecbfe647af85ba2a553e5b5e68a53e50dfcad20248
 DIST i2c-tools-4.2.tar.xz 87600 BLAKE2B 
89f84ad07f4c042f67c308d48a402aa9ed46352062ddad3456d048730019e099e6eef626d487d802e07b100ae2c836e9aa6b2345950ff8744cbc0fe1a22616fb
 SHA512 
5e230be4983c5c9c5718491d3ce9ee2e6205edea75c4097735eb32a25e522e37a074ef4cb61d2492707efebf0cb1b75ff65f1b2ae8c0bc1684a169526809a096
+DIST i2c-tools-4.3.tar.xz 81276 BLAKE2B 
c7300224c8d32785cd067b632bf0e9591f05264b1572f44aebda5f30a95164732d606710c13739ccb7899476219ceb3033beaf95b718ed7e18122f9181dc13fc
 SHA512 
8a6cc12d927d6291b9baf407bc15807280539a7048ec5c2edf77414432eab43b28353c42bc0e45b7b481502aa4c5588def08f130d97fc275f635d1f77488f501

diff --git a/sys-apps/i2c-tools/i2c-tools-4.3.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
new file mode 100644
index 000..08557d67f1f
--- /dev/null
+++ b/sys-apps/i2c-tools/i2c-tools-4.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python{3_8,3_9} )
+DISTUTILS_OPTIONAL="1"
+DISTUTILS_USE_SETUPTOOLS=bdepend
+
+inherit distutils-r1 flag-o-matic toolchain-funcs
+
+DESCRIPTION="I2C tools for bus probing, chip dumping, EEPROM decoding, and 
more"
+HOMEPAGE="https://www.kernel.org/pub/software/utils/i2c-tools;
+SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+   python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   default
+   use python && distutils-r1_src_prepare
+}
+
+src_configure() {
+   use python && distutils-r1_src_configure
+
+   export BUILD_DYNAMIC_LIB=1
+   export USE_STATIC_LIB=0
+   export BUILD_STATIC_LIB=0
+}
+
+src_compile() {
+   emake AR="$(tc-getAR)" CC="$(tc-getCC)" EXTRA="eeprog"
+
+   if use python ; then
+   cd py-smbus || die
+   append-cppflags -I../include
+   distutils-r1_src_compile
+   fi
+}
+
+src_install() {
+   emake EXTRA="eeprog" DESTDIR="${D}" libdir="/usr/$(get_libdir)" 
PREFIX="/usr" install
+   dodoc CHANGES README
+
+   if use python ; then
+   cd py-smbus || die
+   docinto py-smbus
+   dodoc README*
+   distutils-r1_src_install
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2021-10-28 Thread Sam James
commit: 1db7e036aa30ace7d9641d0ac8c4c94075ba32a6
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 28 14:56:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 28 14:56:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1db7e036

sys-apps/i2c-tools: Stabilize 4.2 arm64, #815802

Signed-off-by: Sam James  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
index 42aa13592a8..49fdd89041c 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
 IUSE="perl python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2021-08-17 Thread Yixun Lan
commit: 866e7c5a27ebda03849d340ad97c5e0908813bc6
Author: Alex Fan  yahoo  com>
AuthorDate: Tue Aug 17 04:08:14 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Aug 18 00:32:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=866e7c5a

sys-apps/i2c-tools: keyword 4.2 for ~riscv

Signed-off-by: Alex Fan  yahoo.com>
Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
index c78bd83767f..42aa13592a8 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
 IUSE="perl python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2021-06-02 Thread Sam James
commit: dc81edff6a5379bd7c9bf2bebb184dc275b6a914
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  2 12:22:00 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  2 12:22:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc81edff

sys-apps/i2c-tools: Stabilize 4.2 x86, #758011

Signed-off-by: Sam James  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
index d52d70195b6..c78bd83767f 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc x86"
 IUSE="perl python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2021-06-01 Thread Sam James
commit: 43e8866fd453d788dec38b962ab79c6fb9c3cbd2
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  2 01:12:52 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  2 01:12:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e8866f

sys-apps/i2c-tools: Stabilize 4.2 amd64, #758011

Signed-off-by: Sam James  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
index 4f3e40bd374..d52d70195b6 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="perl python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2021-06-01 Thread Sam James
commit: a5b11f3c4d74fb4f45847f45a525e13958e3b9ab
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun  1 15:28:29 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun  1 15:28:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5b11f3c

sys-apps/i2c-tools: Stabilize 4.2 arm, #758011

Signed-off-by: Sam James  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
index 9ff18f3fae1..4f3e40bd374 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="perl python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2020-12-18 Thread Mikle Kolyada
commit: cfb1c00aaae04d3940ee0e01b7111b6c73750d24
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Dec 18 08:14:33 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Dec 18 08:19:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfb1c00a

sys-apps/i2c-tools: Add py39 to PYTHON_COMPAT

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
index f55d8d32a05..9ff18f3fae1 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{3_7,3_8} )
+PYTHON_COMPAT=( python{3_7,3_8,3_9} )
 DISTUTILS_OPTIONAL="1"
 DISTUTILS_USE_SETUPTOOLS=no
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2020-10-10 Thread Mikle Kolyada
commit: c348fca052f3a40975e79638eff9d2259f5a45a5
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct 10 07:57:15 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct 10 07:58:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c348fca0

sys-apps/i2c-tools: Version bump (v4.2)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-apps/i2c-tools/Manifest |  1 +
 sys-apps/i2c-tools/i2c-tools-4.2.ebuild | 74 +
 2 files changed, 75 insertions(+)

diff --git a/sys-apps/i2c-tools/Manifest b/sys-apps/i2c-tools/Manifest
index 94fe0318fd0..6b32301a606 100644
--- a/sys-apps/i2c-tools/Manifest
+++ b/sys-apps/i2c-tools/Manifest
@@ -1 +1,2 @@
 DIST i2c-tools-4.1.tar.xz 83576 BLAKE2B 
0a9ed3bb335b61f6c17a6b6c705502ff008b4fb8bab6a5fde63163a32528b5214d92affc4b8d6cca29676dc7ba82dfa84be5f14943b7e81c8612a7d9419ac628
 SHA512 
83262bcfd94c2adf74517cc50095dd78221fa4d16a62397245d4a538de7463272abf4f6727024be8ab1ca8ecbfe647af85ba2a553e5b5e68a53e50dfcad20248
+DIST i2c-tools-4.2.tar.xz 87600 BLAKE2B 
89f84ad07f4c042f67c308d48a402aa9ed46352062ddad3456d048730019e099e6eef626d487d802e07b100ae2c836e9aa6b2345950ff8744cbc0fe1a22616fb
 SHA512 
5e230be4983c5c9c5718491d3ce9ee2e6205edea75c4097735eb32a25e522e37a074ef4cb61d2492707efebf0cb1b75ff65f1b2ae8c0bc1684a169526809a096

diff --git a/sys-apps/i2c-tools/i2c-tools-4.2.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
new file mode 100644
index 000..f55d8d32a05
--- /dev/null
+++ b/sys-apps/i2c-tools/i2c-tools-4.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{3_7,3_8} )
+DISTUTILS_OPTIONAL="1"
+DISTUTILS_USE_SETUPTOOLS=no
+
+inherit distutils-r1 flag-o-matic toolchain-funcs
+
+DESCRIPTION="I2C tools for bus probing, chip dumping, EEPROM decoding, and 
more"
+HOMEPAGE="https://www.kernel.org/pub/software/utils/i2c-tools;
+SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="perl python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+   python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+RDEPEND+="
+   perl? ( dev-lang/perl )"
+
+src_prepare() {
+   default
+   use python && distutils-r1_src_prepare
+
+   # Cut out the eeprom/ & stub/ dirs as only perl scripts live there.
+   if ! use perl ; then
+   sed -i '/^SRCDIRS/s: eeprom stub : :g' Makefile || die
+   fi
+}
+
+src_configure() {
+   use python && distutils-r1_src_configure
+
+   export BUILD_DYNAMIC_LIB=1
+   export USE_STATIC_LIB=0
+   export BUILD_STATIC_LIB=0
+}
+
+src_compile() {
+   emake AR="$(tc-getAR)" CC="$(tc-getCC)" all-lib # parallel make
+   emake CC="$(tc-getCC)"
+   emake -C eepromer CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+
+   if use python ; then
+   cd py-smbus || die
+   append-cppflags -I../include
+   distutils-r1_src_compile
+   fi
+}
+
+src_install() {
+   emake DESTDIR="${D}" libdir="/usr/$(get_libdir)" PREFIX="/usr" 
install-lib install
+   dosbin eepromer/eeprom{,er}
+   dodoc CHANGES README
+   local d
+   for d in $(usex perl eeprom '') eepromer ; do
+   docinto "${d}"
+   dodoc "${d}"/README*
+   done
+
+   if use python ; then
+   cd py-smbus || die
+   docinto py-smbus
+   dodoc README*
+   distutils-r1_src_install
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2020-03-11 Thread Mikle Kolyada
commit: e054d5462e280752f4aad9c03c739da27f7896e4
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Mar 11 11:36:18 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Mar 11 11:36:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e054d546

sys-apps/i2c-tools: Drop old

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-apps/i2c-tools/Manifest |  1 -
 sys-apps/i2c-tools/i2c-tools-4.0.ebuild | 62 -
 2 files changed, 63 deletions(-)

diff --git a/sys-apps/i2c-tools/Manifest b/sys-apps/i2c-tools/Manifest
index dd40b32bbdd..94fe0318fd0 100644
--- a/sys-apps/i2c-tools/Manifest
+++ b/sys-apps/i2c-tools/Manifest
@@ -1,2 +1 @@
-DIST i2c-tools-4.0.tar.xz 79972 BLAKE2B 
982e4139ed0e2111f9e082d0690fcc0f86f97a433e292e9464b41991f14a1f90147a3612172bad6880f0df6896612e1dea0ae7bf6f459758b2cff45fb35a5dc7
 SHA512 
ddf86c357c101388193581bc40285089e6ab5e8d870f8aa5d594acc7ecb8596fbd30501e147b88bdea0200b1be88bc0a374356c188d1bcb067bf8e254e3dc51e
 DIST i2c-tools-4.1.tar.xz 83576 BLAKE2B 
0a9ed3bb335b61f6c17a6b6c705502ff008b4fb8bab6a5fde63163a32528b5214d92affc4b8d6cca29676dc7ba82dfa84be5f14943b7e81c8612a7d9419ac628
 SHA512 
83262bcfd94c2adf74517cc50095dd78221fa4d16a62397245d4a538de7463272abf4f6727024be8ab1ca8ecbfe647af85ba2a553e5b5e68a53e50dfcad20248

diff --git a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
deleted file mode 100644
index f0132804d21..000
--- a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-DISTUTILS_OPTIONAL="1"
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-DESCRIPTION="I2C tools for bus probing, chip dumping, EEPROM decoding, and 
more"
-HOMEPAGE="https://www.kernel.org/pub/software/utils/i2c-tools;
-SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc x86"
-IUSE="python"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
-   python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-   default
-   use python && distutils-r1_src_prepare
-}
-
-src_configure() {
-   use python && distutils-r1_src_configure
-}
-
-src_compile() {
-   emake all-lib AR=$(tc-getAR) CC=$(tc-getCC) # parallel make
-   emake CC=$(tc-getCC)
-   emake -C eepromer CC=$(tc-getCC) CFLAGS="${CFLAGS}"
-   if use python ; then
-   cd py-smbus || die
-   append-cppflags -I../include
-   distutils-r1_src_compile
-   fi
-}
-
-src_install() {
-   emake install-lib install libdir="${D}"/usr/$(get_libdir) 
prefix="${D}"/usr
-   dosbin eepromer/eeprom{,er}
-   rm -rf "${D}"/usr/include || die # 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-r1_src_install
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2020-03-11 Thread Mikle Kolyada
commit: cd96dcb0af5d4e2b4e38562e1ce62ce82cd5d4b8
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Mar 11 11:35:29 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Mar 11 11:36:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd96dcb0

sys-apps/i2c-tools: mark stable

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
index 142b885d3d9..5514e78e808 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc x86"
 IUSE="perl python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2020-02-11 Thread Michał Górny
commit: f35edfb1bcc5140c27775730696b87e407bcb5de
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 11 12:20:19 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 11 12:20:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f35edfb1

sys-apps/i2c-tools: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.0.ebuild| 2 +-
 sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
index 5cef0da2d0f..f0132804d21 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
 DISTUTILS_OPTIONAL="1"
 
 inherit distutils-r1 flag-o-matic toolchain-funcs

diff --git a/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
index 9f16c814837..142b885d3d9 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_6,3_7,3_8} )
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
 DISTUTILS_OPTIONAL="1"
 
 inherit distutils-r1 flag-o-matic toolchain-funcs



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2019-12-03 Thread Mikle Kolyada
commit: 87aec110ba81328bfdad3d1e6aa4e070b005e439
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue Dec  3 08:29:57 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue Dec  3 08:30:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87aec110

sys-apps/i2c-tools: Drop obsolete vlockers

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.0.ebuild| 2 +-
 sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
index 20911629399..63df295b312 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
@@ -18,7 +18,7 @@ KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc x86"
 IUSE="python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2019-11-30 Thread Mikle Kolyada
commit: b77f9b76c10884d68486b1c65dcb97f978bcb6b1
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Nov 30 15:39:48 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Nov 30 15:40:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b77f9b76

sys-apps/i2c-tools: add py3_8

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
index a2f0af908f4..c8cb01781c5 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7,3_8} )
 DISTUTILS_OPTIONAL="1"
 
 inherit distutils-r1 flag-o-matic toolchain-funcs



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2019-09-12 Thread Michał Górny
commit: d82a155484be6d9a25ebc174b5bf21c167d994d1
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep 11 08:48:08 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Sep 12 14:28:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82a1554

sys-apps/i2c-tools: Update for lm_sensors → lm-sensors

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.0.ebuild| 2 +-
 sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
index a8b6cc72dec..20911629399 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
@@ -18,7 +18,7 @@ KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc x86"
 IUSE="python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2019-08-18 Thread Mikle Kolyada
commit: ab052f0489e59a4e3014e9657330c3200157fe5b
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Aug 18 19:49:40 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Aug 18 19:50:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab052f04

sys-apps/i2c-tools: expand SRC_URI from HOMEPAGE

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.0.ebuild| 2 +-
 sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
index 1b59636505b..a8b6cc72dec 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
@@ -10,7 +10,7 @@ inherit distutils-r1 flag-o-matic toolchain-funcs
 
 DESCRIPTION="I2C tools for bus probing, chip dumping, EEPROM decoding, and 
more"
 HOMEPAGE="https://www.kernel.org/pub/software/utils/i2c-tools;
-SRC_URI="${HOMEPAGE}/${P}.tar.xz"
+SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"

diff --git a/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
index e27460b29f8..a90902efeea 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
@@ -10,7 +10,7 @@ inherit distutils-r1 flag-o-matic toolchain-funcs
 
 DESCRIPTION="I2C tools for bus probing, chip dumping, EEPROM decoding, and 
more"
 HOMEPAGE="https://www.kernel.org/pub/software/utils/i2c-tools;
-SRC_URI="${HOMEPAGE}/${P}.tar.xz"
+SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz;
 
 LICENSE="GPL-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2019-02-23 Thread Mikle Kolyada
commit: 577ba1892318850a31add99ecb31b711ae6f10c8
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Feb 23 20:56:00 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Feb 23 20:56:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=577ba189

sys-apps/i2c-tools: Drop old

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-apps/i2c-tools/i2c-tools-4.1.ebuild | 67 -
 1 file changed, 67 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.1.ebuild
deleted file mode 100644
index f3549776e8e..000
--- a/sys-apps/i2c-tools/i2c-tools-4.1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
-DISTUTILS_OPTIONAL="1"
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-DESCRIPTION="I2C tools for bus probing, chip dumping, EEPROM decoding, and 
more"
-HOMEPAGE="https://www.kernel.org/pub/software/utils/i2c-tools;
-SRC_URI="${HOMEPAGE}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="!

[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2019-02-13 Thread Mike Frysinger
commit: 5f2c3de466deaef7c8faa73a5c0e4af0d1c52986
Author: Mike Frysinger  chromium  org>
AuthorDate: Wed Feb 13 21:29:31 2019 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Feb 13 21:59:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f2c3de4

sys-apps/i2c-tools: avoid compiling the static lib when possible

Rather than always build (but not use) the static lib and then delete it
during src_install, disable building it entirely to speed things up.

We also add support for static-only targets.

Signed-off-by: Mike Frysinger  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild | 15 +++
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
index 595a0ebccdd..2127072c21b 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
@@ -36,6 +36,17 @@ src_prepare() {
 
 src_configure() {
use python && distutils-r1_src_configure
+
+   # Always build & use dynamic libs if possible.
+   if tc-is-static-only ; then
+   export BUILD_DYNAMIC_LIB=0
+   export USE_STATIC_LIB=1
+   export BUILD_STATIC_LIB=1
+   else
+   export BUILD_DYNAMIC_LIB=1
+   export USE_STATIC_LIB=0
+   export BUILD_STATIC_LIB=$(usex static-libs 1 0)
+   fi
 }
 
 src_compile() {
@@ -67,8 +78,4 @@ src_install() {
dodoc README*
distutils-r1_src_install
fi
-
-   if ! use static-libs; then
-   rm -rf "${D}"/usr/$(get_libdir)/libi2c.a || die
-   fi
 }



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2019-02-13 Thread Mike Frysinger
commit: bc18344baa8b53b615e474f760624dffa6d50b38
Author: Mike Frysinger  chromium  org>
AuthorDate: Wed Feb 13 21:14:06 2019 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Feb 13 21:59:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc18344b

sys-apps/i2c-tools: fix quoting on vars

Signed-off-by: Mike Frysinger  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.1.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.1.ebuild
index f87aa062cf9..f3549776e8e 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.1.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.1.ebuild
@@ -32,9 +32,9 @@ src_configure() {
 }
 
 src_compile() {
-   emake  AR=$(tc-getAR) CC=$(tc-getCC) all-lib # parallel make
-   emake CC=$(tc-getCC)
-   emake -C eepromer CC=$(tc-getCC) CFLAGS="${CFLAGS}"
+   emake AR="$(tc-getAR)" CC="$(tc-getCC)" all-lib # parallel make
+   emake CC="$(tc-getCC)"
+   emake -C eepromer CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
 
if use python ; then
cd py-smbus || die
@@ -50,8 +50,8 @@ src_install() {
dodoc CHANGES README
local d
for d in eeprom eepromer ; do
-   docinto ${d}
-   dodoc ${d}/README*
+   docinto "${d}"
+   dodoc "${d}"/README*
done
 
if use python ; then



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2019-02-13 Thread Mike Frysinger
commit: e88a25e039c7faed7d97a5e19fed9e15dcb0b36d
Author: Mike Frysinger  chromium  org>
AuthorDate: Wed Feb 13 21:24:33 2019 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Feb 13 21:59:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88a25e0

sys-apps/i2c-tools: add missing perl dep and make it optional

This package installs a number of perl scripts, so make sure we RDEPEND
on perl to avoid broken deps.  But also put that behind USE=perl so we
can install the other (more interesting) programs w/out forcing perl on
everyone.

Signed-off-by: Mike Frysinger  gentoo.org>

 sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild | 74 ++
 1 file changed, 74 insertions(+)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
new file mode 100644
index 000..595a0ebccdd
--- /dev/null
+++ b/sys-apps/i2c-tools/i2c-tools-4.1-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
+DISTUTILS_OPTIONAL="1"
+
+inherit distutils-r1 flag-o-matic toolchain-funcs
+
+DESCRIPTION="I2C tools for bus probing, chip dumping, EEPROM decoding, and 
more"
+HOMEPAGE="https://www.kernel.org/pub/software/utils/i2c-tools;
+SRC_URI="${HOMEPAGE}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="perl python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="!

[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/, sys-apps/i2c-tools/files/

2018-12-05 Thread Mikle Kolyada
commit: 07b460372e50c050456f5575d1e2b60744811cee
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Dec  5 18:27:40 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Dec  5 18:27:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b46037

sys-apps/i2c-tools: Drop old

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-apps/i2c-tools/Manifest|   1 -
 .../i2c-tools/files/i2c-tools-3.1.1-python-3.patch | 129 -
 sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild   |  62 --
 3 files changed, 192 deletions(-)

diff --git a/sys-apps/i2c-tools/Manifest b/sys-apps/i2c-tools/Manifest
index 4c677a42f4f..dd40b32bbdd 100644
--- a/sys-apps/i2c-tools/Manifest
+++ b/sys-apps/i2c-tools/Manifest
@@ -1,3 +1,2 @@
-DIST i2c-tools-3.1.1.tar.bz2 71789 BLAKE2B 
0a7a3db6a3b396cfb8d5e58d8c83cae4e52239786502c6552d971350f7fc05a1ce9d7d89e9cdb154a21ac15bdf34aa0dec9501ea45317ec9c5d9fc211780bbf1
 SHA512 
b91f89b803e5558d49ce63f42f6542438f4f47927e4ce420cd9df989cab14a5c55d971befed73e8f793b0cf4aa41936c0ef519e5a407dceb2c08964461e803c5
 DIST i2c-tools-4.0.tar.xz 79972 BLAKE2B 
982e4139ed0e2111f9e082d0690fcc0f86f97a433e292e9464b41991f14a1f90147a3612172bad6880f0df6896612e1dea0ae7bf6f459758b2cff45fb35a5dc7
 SHA512 
ddf86c357c101388193581bc40285089e6ab5e8d870f8aa5d594acc7ecb8596fbd30501e147b88bdea0200b1be88bc0a374356c188d1bcb067bf8e254e3dc51e
 DIST i2c-tools-4.1.tar.xz 83576 BLAKE2B 
0a9ed3bb335b61f6c17a6b6c705502ff008b4fb8bab6a5fde63163a32528b5214d92affc4b8d6cca29676dc7ba82dfa84be5f14943b7e81c8612a7d9419ac628
 SHA512 
83262bcfd94c2adf74517cc50095dd78221fa4d16a62397245d4a538de7463272abf4f6727024be8ab1ca8ecbfe647af85ba2a553e5b5e68a53e50dfcad20248

diff --git a/sys-apps/i2c-tools/files/i2c-tools-3.1.1-python-3.patch 
b/sys-apps/i2c-tools/files/i2c-tools-3.1.1-python-3.patch
deleted file mode 100644
index 1f3de76052e..000
--- a/sys-apps/i2c-tools/files/i2c-tools-3.1.1-python-3.patch
+++ /dev/null
@@ -1,129 +0,0 @@
-support python-3.x
-
-http://comments.gmane.org/gmane.linux.drivers.i2c/11290
-https://bugs.gentoo.org/492632
-
 a/py-smbus/smbusmodule.c
-+++ b/py-smbus/smbusmodule.c
-@@ -32,15 +32,18 @@
- #define I2C_SMBUS_I2C_BLOCK_DATA  8
- #endif
- 
--PyDoc_STRVAR(SMBus_module_doc,
--  "This module defines an object type that allows SMBus transactions\n"
--  "on hosts running the Linux kernel.  The host kernel must have I2C\n"
--  "support, I2C device interface support, and a bus adapter driver.\n"
--  "All of these can be either built-in to the kernel, or loaded from\n"
--  "modules.\n"
--  "\n"
--  "Because the I2C device interface is opened R/W, users of this\n"
--  "module usually must have root permissions.\n");
-+#define module_doc \
-+  "This module defines an object type that allows SMBus transactions\n" \
-+  "on hosts running the Linux kernel.  The host kernel must have I2C\n" \
-+  "support, I2C device interface support, and a bus adapter driver.\n" \
-+  "All of these can be either built-in to the kernel, or loaded from\n" \
-+  "modules.\n" \
-+  "\n" \
-+  "Because the I2C device interface is opened R/W, users of this\n" \
-+  "module usually must have root permissions.\n"
-+#if PY_MAJOR_VERSION <= 2
-+PyDoc_STRVAR(SMBus_module_doc, module_doc);
-+#endif
- 
- typedef struct {
-   PyObject_HEAD
-@@ -91,7 +94,11 @@ SMBus_dealloc(SMBus *self)
-   PyObject *ref = SMBus_close(self);
-   Py_XDECREF(ref);
- 
-+#if PY_MAJOR_VERSION >= 3
-+  Py_TYPE(self)->tp_free((PyObject*)self);
-+#else
-   self->ob_type->tp_free((PyObject *)self);
-+#endif
- }
- 
- #define MAXPATH 16
-@@ -431,11 +438,19 @@ SMBus_list_to_data(PyObject *list, union i2c_smbus_data 
*data)
- 
-   for (ii = 0; ii < len; ii++) {
-   PyObject *val = PyList_GET_ITEM(list, ii);
-+#if PY_MAJOR_VERSION >= 3
-+  if (!PyLong_Check(val)) {
-+#else
-   if (!PyInt_Check(val)) {
-+#endif
-   PyErr_SetString(PyExc_TypeError, msg);
-   return 0; /* fail */
-   }
-+#if PY_MAJOR_VERSION >= 3
-+  data->block[ii+1] = (__u8)PyLong_AS_LONG(val);
-+#else
-   data->block[ii+1] = (__u8)PyInt_AS_LONG(val);
-+#endif
-   }
- 
-   return 1; /* success */
-@@ -633,9 +648,27 @@ static PyGetSetDef SMBus_getset[] = {
-   {NULL},
- };
- 
-+#if PY_MAJOR_VERSION >= 3
-+static struct PyModuleDef SMBusModule = {
-+  PyModuleDef_HEAD_INIT,
-+  "smbus.SMBus",  /* m_name */
-+  module_doc, /* m_doc */
-+  -1, /* m_size */
-+  NULL,   /* m_methods */
-+  NULL,   /* m_reload */
-+  NULL,   /* m_traverse */
-+  NULL,   /* m_clear */
-+  NULL,   /* m_free */
-+};
-+#endif
-+
- static PyTypeObject 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2018-12-05 Thread Mikle Kolyada
commit: 69eb04ef62fd750ee7269a06ccf12600bb32e74f
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Dec  5 09:17:07 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Dec  5 09:17:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69eb04ef

sys-apps/i2c-tools: mark stable

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-apps/i2c-tools/i2c-tools-4.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
index 3cd2a7f5508..d9fc31d5b82 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ SRC_URI="${HOMEPAGE}/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc x86"
 IUSE="python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2018-12-05 Thread Mikle Kolyada
commit: 232de144f2e0b2b7a4bddf45b7bf198510b360be
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Dec  5 09:09:06 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Dec  5 09:09:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=232de144

sys-apps/i2c-tools: Version bump (v4.1)

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-apps/i2c-tools/Manifest |  1 +
 sys-apps/i2c-tools/i2c-tools-4.1.ebuild | 67 +
 2 files changed, 68 insertions(+)

diff --git a/sys-apps/i2c-tools/Manifest b/sys-apps/i2c-tools/Manifest
index a21d52b725b..4c677a42f4f 100644
--- a/sys-apps/i2c-tools/Manifest
+++ b/sys-apps/i2c-tools/Manifest
@@ -1,2 +1,3 @@
 DIST i2c-tools-3.1.1.tar.bz2 71789 BLAKE2B 
0a7a3db6a3b396cfb8d5e58d8c83cae4e52239786502c6552d971350f7fc05a1ce9d7d89e9cdb154a21ac15bdf34aa0dec9501ea45317ec9c5d9fc211780bbf1
 SHA512 
b91f89b803e5558d49ce63f42f6542438f4f47927e4ce420cd9df989cab14a5c55d971befed73e8f793b0cf4aa41936c0ef519e5a407dceb2c08964461e803c5
 DIST i2c-tools-4.0.tar.xz 79972 BLAKE2B 
982e4139ed0e2111f9e082d0690fcc0f86f97a433e292e9464b41991f14a1f90147a3612172bad6880f0df6896612e1dea0ae7bf6f459758b2cff45fb35a5dc7
 SHA512 
ddf86c357c101388193581bc40285089e6ab5e8d870f8aa5d594acc7ecb8596fbd30501e147b88bdea0200b1be88bc0a374356c188d1bcb067bf8e254e3dc51e
+DIST i2c-tools-4.1.tar.xz 83576 BLAKE2B 
0a9ed3bb335b61f6c17a6b6c705502ff008b4fb8bab6a5fde63163a32528b5214d92affc4b8d6cca29676dc7ba82dfa84be5f14943b7e81c8612a7d9419ac628
 SHA512 
83262bcfd94c2adf74517cc50095dd78221fa4d16a62397245d4a538de7463272abf4f6727024be8ab1ca8ecbfe647af85ba2a553e5b5e68a53e50dfcad20248

diff --git a/sys-apps/i2c-tools/i2c-tools-4.1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.1.ebuild
new file mode 100644
index 000..f87aa062cf9
--- /dev/null
+++ b/sys-apps/i2c-tools/i2c-tools-4.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
+DISTUTILS_OPTIONAL="1"
+
+inherit distutils-r1 flag-o-matic toolchain-funcs
+
+DESCRIPTION="I2C tools for bus probing, chip dumping, EEPROM decoding, and 
more"
+HOMEPAGE="https://www.kernel.org/pub/software/utils/i2c-tools;
+SRC_URI="${HOMEPAGE}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="!

[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2018-04-21 Thread Mikle Kolyada
commit: 64095b1dfcc2d960025fd5accd3fe8d96d6431d2
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Apr 21 17:32:10 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Apr 21 17:32:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64095b1d

sys-apps/i2c-tools: respect AR/CFLAGS

Closes: https://bugs.gentoo.org/651528
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/i2c-tools/i2c-tools-4.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
index 32dffbf1e2b..3cd2a7f5508 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
@@ -32,9 +32,9 @@ src_configure() {
 }
 
 src_compile() {
-   emake all-lib CC=$(tc-getCC) # parallel make
+   emake all-lib AR=$(tc-getAR) CC=$(tc-getCC) # parallel make
emake CC=$(tc-getCC)
-   emake -C eepromer CC=$(tc-getCC)
+   emake -C eepromer CC=$(tc-getCC) CFLAGS="${CFLAGS}"
if use python ; then
cd py-smbus || die
append-cppflags -I../include
@@ -45,7 +45,7 @@ src_compile() {
 src_install() {
emake install-lib install libdir="${D}"/usr/$(get_libdir) 
prefix="${D}"/usr
dosbin eepromer/eeprom{,er}
-   rm -rf "${D}"/usr/include # part of linux-headers
+   rm -rf "${D}"/usr/include || die # part of linux-headers
dodoc CHANGES README
local d
for d in eeprom eepromer ; do



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2018-03-25 Thread Mikle Kolyada
commit: bd414d7f73b5c4efd46a742b70eb6ad3abf5350f
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Mar 25 13:27:49 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Mar 25 13:29:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd414d7f

sys-apps/i2c-tools: minor QA fixes

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild | 6 +++---
 sys-apps/i2c-tools/i2c-tools-4.0.ebuild  | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
index 342d6295325..98c99d4b043 100644
--- a/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 DISTUTILS_OPTIONAL="1"
 
-inherit flag-o-matic toolchain-funcs distutils-r1
+inherit distutils-r1 flag-o-matic toolchain-funcs
 
 DESCRIPTION="I2C tools for bus probing, chip dumping, EEPROM decoding, and 
more"
 HOMEPAGE="http://www.lm-sensors.org/wiki/I2CTools;
@@ -45,7 +45,7 @@ src_compile() {
 src_install() {
emake install prefix="${D}"/usr
dosbin eepromer/eepro{g,m{,er}}
-   rm -rf "${D}"/usr/include # part of linux-headers
+   rm -rf "${D}"/usr/include || die # part of linux-headers
dodoc CHANGES README
local d
for d in eeprom eepromer ; do

diff --git a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
index d5f248f7c28..32dffbf1e2b 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 DISTUTILS_OPTIONAL="1"
 
-inherit flag-o-matic multilib toolchain-funcs distutils-r1
+inherit distutils-r1 flag-o-matic toolchain-funcs
 
 DESCRIPTION="I2C tools for bus probing, chip dumping, EEPROM decoding, and 
more"
 HOMEPAGE="https://www.kernel.org/pub/software/utils/i2c-tools;



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2018-03-22 Thread Mikle Kolyada
commit: ec42d98116133b56bc92a813711101bc3049357f
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Mar 22 19:57:16 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Mar 22 19:58:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec42d981

sys-apps/i2c-tools: Add myself as maintainer

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/i2c-tools/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/metadata.xml b/sys-apps/i2c-tools/metadata.xml
index 6f49eba8f49..203fa55c746 100644
--- a/sys-apps/i2c-tools/metadata.xml
+++ b/sys-apps/i2c-tools/metadata.xml
@@ -1,5 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
+
+   zlog...@gentoo.org
+   Mikle Kolyada
+
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2017-12-14 Thread Jeroen Roovers
commit: a615ff991f0202032dc09bc3d3a105618a474817
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Dec 15 07:33:32 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Dec 15 07:33:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a615ff99

sys-apps/i2c-tools: Fix libdir.

Package-Manager: Portage-2.3.18, Repoman-2.3.6

 sys-apps/i2c-tools/i2c-tools-4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
index 44fc1345dfa..d5f248f7c28 100644
--- a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
@@ -43,7 +43,7 @@ src_compile() {
 }
 
 src_install() {
-   emake install libdir=$(get_libdir) prefix="${D}"/usr
+   emake install-lib install libdir="${D}"/usr/$(get_libdir) 
prefix="${D}"/usr
dosbin eepromer/eeprom{,er}
rm -rf "${D}"/usr/include # part of linux-headers
dodoc CHANGES README



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2017-12-14 Thread Jeroen Roovers
commit: 3f427ebeb449b638a30deee93d87a27fa57b63aa
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Dec 15 06:59:13 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Dec 15 06:59:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f427ebe

sys-apps/i2c-tools: Version bump.

Package-Manager: Portage-2.3.18, Repoman-2.3.6

 sys-apps/i2c-tools/Manifest |  1 +
 sys-apps/i2c-tools/i2c-tools-4.0.ebuild | 62 +
 2 files changed, 63 insertions(+)

diff --git a/sys-apps/i2c-tools/Manifest b/sys-apps/i2c-tools/Manifest
index aba4e2c12ad..a21d52b725b 100644
--- a/sys-apps/i2c-tools/Manifest
+++ b/sys-apps/i2c-tools/Manifest
@@ -1 +1,2 @@
 DIST i2c-tools-3.1.1.tar.bz2 71789 BLAKE2B 
0a7a3db6a3b396cfb8d5e58d8c83cae4e52239786502c6552d971350f7fc05a1ce9d7d89e9cdb154a21ac15bdf34aa0dec9501ea45317ec9c5d9fc211780bbf1
 SHA512 
b91f89b803e5558d49ce63f42f6542438f4f47927e4ce420cd9df989cab14a5c55d971befed73e8f793b0cf4aa41936c0ef519e5a407dceb2c08964461e803c5
+DIST i2c-tools-4.0.tar.xz 79972 BLAKE2B 
982e4139ed0e2111f9e082d0690fcc0f86f97a433e292e9464b41991f14a1f90147a3612172bad6880f0df6896612e1dea0ae7bf6f459758b2cff45fb35a5dc7
 SHA512 
ddf86c357c101388193581bc40285089e6ab5e8d870f8aa5d594acc7ecb8596fbd30501e147b88bdea0200b1be88bc0a374356c188d1bcb067bf8e254e3dc51e

diff --git a/sys-apps/i2c-tools/i2c-tools-4.0.ebuild 
b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
new file mode 100644
index 000..44fc1345dfa
--- /dev/null
+++ b/sys-apps/i2c-tools/i2c-tools-4.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+DISTUTILS_OPTIONAL="1"
+
+inherit flag-o-matic multilib toolchain-funcs distutils-r1
+
+DESCRIPTION="I2C tools for bus probing, chip dumping, EEPROM decoding, and 
more"
+HOMEPAGE="https://www.kernel.org/pub/software/utils/i2c-tools;
+SRC_URI="${HOMEPAGE}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="!

[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2017-05-15 Thread Manuel Rüger
commit: 68d6314cc3af4e34778e74a550a4be9732e9ff3d
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon May 15 14:18:48 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon May 15 14:19:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68d6314c

sys-apps/i2c-tools: Add python3_6

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
index d747b381043..342d6295325 100644
--- a/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 DISTUTILS_OPTIONAL="1"
 
 inherit flag-o-matic toolchain-funcs distutils-r1
@@ -23,6 +23,7 @@ RDEPEND="!

[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2017-04-20 Thread David Seifert
commit: 8d834954312a284cfcd9c729e68469c951d9cb11
Author: David Seifert  gentoo  org>
AuthorDate: Thu Apr 20 16:14:00 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Apr 20 16:40:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d834954

sys-apps/i2c-tools: [QA] Add missing python metadata variables

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
index 196e78b9d68..d747b381043 100644
--- a/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
@@ -2,12 +2,13 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
+
 PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 DISTUTILS_OPTIONAL="1"
 
 inherit flag-o-matic toolchain-funcs distutils-r1
 
-DESCRIPTION="I2C tools for bus probing, chip dumping, register-level access 
helpers, EEPROM decoding, and more"
+DESCRIPTION="I2C tools for bus probing, chip dumping, EEPROM decoding, and 
more"
 HOMEPAGE="http://www.lm-sensors.org/wiki/I2CTools;
 SRC_URI="http://dl.lm-sensors.org/i2c-tools/releases/${P}.tar.bz2;
 
@@ -15,6 +16,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc x86"
 IUSE="python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="!

[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2017-01-15 Thread Pacho Ramos
commit: b18046cdb2d6c29f6edbfaa61ad1bc5ef85dfae2
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jan 15 11:06:09 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jan 15 11:20:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b18046cd

sys-apps/i2c-tools: Drop old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-apps/i2c-tools/Manifest   |  1 -
 sys-apps/i2c-tools/i2c-tools-3.0.2.ebuild | 61 ---
 2 files changed, 62 deletions(-)

diff --git a/sys-apps/i2c-tools/Manifest b/sys-apps/i2c-tools/Manifest
index 4952182..162e046 100644
--- a/sys-apps/i2c-tools/Manifest
+++ b/sys-apps/i2c-tools/Manifest
@@ -1,2 +1 @@
-DIST i2c-tools-3.0.2.tar.bz2 62523 SHA256 
0b4d6455a30a3264a60b4d3be55855d996d52ea4f162a2f04378e24f98a2 SHA512 
7e21660c83328a1f60cb4aa3dcc15ed0c745a426582afb48b09dca86cba0aa8e879eec59f6a029b36932c338395c10a3a88856a712f1680eba88643e6fbacf04
 WHIRLPOOL 
c550374e8dad9d0005da9d16b50b793782dba79963fb2dfc2ca953a61af51af9d91fce227fd7b889a8c36b15352d2da904a8a8c313ddb577b5a7e0b4dc4fcf71
 DIST i2c-tools-3.1.1.tar.bz2 71789 SHA256 
14d4d7d60d1c12e43f2befe239c682a5c44c27682f153d4b58c1e392d2db1700 SHA512 
b91f89b803e5558d49ce63f42f6542438f4f47927e4ce420cd9df989cab14a5c55d971befed73e8f793b0cf4aa41936c0ef519e5a407dceb2c08964461e803c5
 WHIRLPOOL 
5d68236a7c6e5075625420d1e9cb0a075e8e064babbb73163a2bf2a5cf2b0b169e1420ab1ef495533c88f53497767f6256b817c49b5d9f1799f3bde6d7e26b24

diff --git a/sys-apps/i2c-tools/i2c-tools-3.0.2.ebuild 
b/sys-apps/i2c-tools/i2c-tools-3.0.2.ebuild
deleted file mode 100644
index 491419c..
--- a/sys-apps/i2c-tools/i2c-tools-3.0.2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-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, 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="!

[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2016-12-20 Thread Tobias Klausmann
commit: f3109e152992a09248b3245cf356192c9474b6bb
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Dec 20 15:29:38 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Dec 20 15:29:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3109e15

sys-apps/i2c-tools-3.1.1-r1: stable on amd64

Gentoo-Bug: 593098

 sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
index 02a4364..e73a53a 100644
--- a/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="http://dl.lm-sensors.org/i2c-tools/releases/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="python"
 
 RDEPEND="!

[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2016-10-24 Thread Markus Meier
commit: fef1b3921dc13f5460b920bd9d933eb3183ced12
Author: Markus Meier  gentoo  org>
AuthorDate: Mon Oct 24 18:12:53 2016 +
Commit: Markus Meier  gentoo  org>
CommitDate: Mon Oct 24 18:12:53 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef1b392

sys-apps/i2c-tools: arm stable, bug #593098

Package-Manager: portage-2.3.2
RepoMan-Options: --include-arches="arm"

 sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
index 61b5553..790ef4f 100644
--- a/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="http://dl.lm-sensors.org/i2c-tools/releases/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="python"
 
 RDEPEND="!

[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2016-10-08 Thread Pacho Ramos
commit: 7e4e9b68a47e3dd324ad7809aadc397224b15852
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Oct  8 13:38:16 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Oct  8 13:38:16 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e4e9b68

sys-apps/i2c-tools: Support python 3.5

Package-Manager: portage-2.3.1

 sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
index 2aef2c6..61b5553 100644
--- a/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI="5"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
 DISTUTILS_OPTIONAL="1"
 
 inherit flag-o-matic toolchain-funcs distutils-r1



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2016-02-03 Thread Patrice Clement
commit: b85f94c5736c57318aa0a0a3aa5157fd985fc98e
Author: Patrice Clement  gentoo  org>
AuthorDate: Wed Feb  3 09:38:10 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Feb  3 09:38:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b85f94c5

sys-apps/i2c-tools: Fix metadata.xml.

Package-Manager: portage-2.2.26
Signed-off-by: Patrice Clement  gentoo.org>

 sys-apps/i2c-tools/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/metadata.xml b/sys-apps/i2c-tools/metadata.xml
index b9c0b0c..65aa159 100644
--- a/sys-apps/i2c-tools/metadata.xml
+++ b/sys-apps/i2c-tools/metadata.xml
@@ -1,7 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
+
vap...@gentoo.org
 
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2016-02-02 Thread Mike Frysinger
commit: 88f9cc59e183251085df703a6f3dd4b6fc45663e
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Feb  2 18:57:07 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Feb  2 22:24:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88f9cc59

sys-apps/i2c-tools: change maintainer to myself

 sys-apps/i2c-tools/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-apps/i2c-tools/metadata.xml b/sys-apps/i2c-tools/metadata.xml
index 097975e..b9c0b0c 100644
--- a/sys-apps/i2c-tools/metadata.xml
+++ b/sys-apps/i2c-tools/metadata.xml
@@ -1,4 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
+
+   vap...@gentoo.org
+
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/i2c-tools/

2016-01-04 Thread Mike Frysinger
commit: 5f364d6b4adc001e2ba34e68c9a29396940f7269
Author: Mike Frysinger  gentoo  org>
AuthorDate: Mon Jan  4 10:15:05 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Mon Jan  4 10:15:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f364d6b

sys-apps/i2c-tools: add arm64 love

 sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild 
b/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
index 45fbeb3..2aef2c6 100644
--- a/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
+++ b/sys-apps/i2c-tools/i2c-tools-3.1.1-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="http://dl.lm-sensors.org/i2c-tools/releases/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="python"
 
 RDEPEND="!