[arch-commits] Commit in i2c-tools/repos/community-x86_64 (7 files)
Morten Linderud
foxboron at gemini.archlinux.org
Sun Sep 19 10:19:14 UTC 2021
Date: Sunday, September 19, 2021 @ 10:19:14
Author: foxboron
Revision: 1017250
archrelease: copy trunk to community-x86_64
Added:
i2c-tools/repos/community-x86_64/45-i2c-tools.rules
(from rev 1017249, i2c-tools/trunk/45-i2c-tools.rules)
i2c-tools/repos/community-x86_64/PKGBUILD
(from rev 1017249, i2c-tools/trunk/PKGBUILD)
i2c-tools/repos/community-x86_64/i2c-tools.sysusers
(from rev 1017249, i2c-tools/trunk/i2c-tools.sysusers)
i2c-tools/repos/community-x86_64/python-makefile.patch
(from rev 1017249, i2c-tools/trunk/python-makefile.patch)
Deleted:
i2c-tools/repos/community-x86_64/45-i2c-tools.rules
i2c-tools/repos/community-x86_64/PKGBUILD
i2c-tools/repos/community-x86_64/i2c-tools.sysusers
-----------------------+
45-i2c-tools.rules | 4 -
PKGBUILD | 98 ++++++++++++++++++++++++------------------------
i2c-tools.sysusers | 2
python-makefile.patch | 13 ++++++
4 files changed, 65 insertions(+), 52 deletions(-)
Deleted: 45-i2c-tools.rules
===================================================================
--- 45-i2c-tools.rules 2021-09-19 10:19:05 UTC (rev 1017249)
+++ 45-i2c-tools.rules 2021-09-19 10:19:14 UTC (rev 1017250)
@@ -1,2 +0,0 @@
-# Assigns the i2c devices to group i2c, and gives that group RW access:
-KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"
Copied: i2c-tools/repos/community-x86_64/45-i2c-tools.rules (from rev 1017249, i2c-tools/trunk/45-i2c-tools.rules)
===================================================================
--- 45-i2c-tools.rules (rev 0)
+++ 45-i2c-tools.rules 2021-09-19 10:19:14 UTC (rev 1017250)
@@ -0,0 +1,2 @@
+# Assigns the i2c devices to group i2c, and gives that group RW access:
+KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-19 10:19:05 UTC (rev 1017249)
+++ PKGBUILD 2021-09-19 10:19:14 UTC (rev 1017250)
@@ -1,49 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: DonVla <donvla at users.sourceforge.net>
-
-pkgname=i2c-tools
-pkgver=4.2
-pkgrel=3
-pkgdesc="Heterogeneous set of I2C tools for Linux that used to be part of lm-sensors"
-arch=('x86_64')
-url="https://i2c.wiki.kernel.org/index.php/I2C_Tools"
-license=('GPL')
-depends=('perl')
-makedepends=('python' 'git')
-optdepends=('read-edid: for decode-edid script'
- 'python: for smbus module')
-source=(
- "https://www.kernel.org/pub/software/utils/i2c-tools/$pkgname-$pkgver.tar.xz"
- "https://www.kernel.org/pub/software/utils/i2c-tools/$pkgname-$pkgver.tar.sign"
- "$pkgname.sysusers"
- "45-i2c-tools.rules"
-)
-sha256sums=('37f2dabc7082d185903ff21d1f584b5dcb4dd2eb2c879bbd8d7c50ae900dacd6'
- 'SKIP'
- 'bf5ee4f9876505628c5ce84e84e918c70d66be70b766d62bb138e294608ffbae'
- 'af9dbdc771023cd04f5b0c638c30356e6a824b32f0c04ea61fe929c71122bccd')
-validpgpkeys=(
- '7CA69F4460F1BDC41FD2C858A5526B9BB3CD4E6A' # Jean Delvare
-)
-
-build() {
- cd ${pkgname}-${pkgver}
- make
- make -C eepromer CFLAGS="$CFLAGS -I../include"
- cd py-smbus
- CPPFLAGS="$CPPFLAGS -I../include" python setup.py build
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make PREFIX="${pkgdir}/usr" sbindir="$pkgdir/usr/bin" install
- install -Dm755 eepromer/eeprom eepromer/eepromer "${pkgdir}/usr/bin"
- cd py-smbus
- python setup.py install --prefix "${pkgdir}/usr"
-
- install -Dm644 "${srcdir}/$pkgname.sysusers" "${pkgdir}/usr/lib/sysusers.d/$pkgname.conf"
- install -Dm644 "${srcdir}/45-i2c-tools.rules" "${pkgdir}/usr/lib/udev/rules.d/45-i2c-tools.rules"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: i2c-tools/repos/community-x86_64/PKGBUILD (from rev 1017249, i2c-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-19 10:19:14 UTC (rev 1017250)
@@ -0,0 +1,49 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: DonVla <donvla at users.sourceforge.net>
+
+pkgname=i2c-tools
+pkgver=4.3
+pkgrel=1
+pkgdesc="Heterogeneous set of I2C tools for Linux that used to be part of lm-sensors"
+arch=('x86_64')
+url="https://i2c.wiki.kernel.org/index.php/I2C_Tools"
+license=('GPL')
+depends=('perl')
+makedepends=('python' 'git')
+optdepends=('read-edid: for decode-edid script'
+ 'python: for smbus module')
+source=(
+ "https://www.kernel.org/pub/software/utils/i2c-tools/$pkgname-$pkgver.tar.xz"
+ "https://www.kernel.org/pub/software/utils/i2c-tools/$pkgname-$pkgver.tar.sign"
+ "$pkgname.sysusers"
+ "45-i2c-tools.rules"
+ "python-makefile.patch"
+)
+sha256sums=('1f899e43603184fac32f34d72498fc737952dbc9c97a8dd9467fadfdf4600cf9'
+ 'SKIP'
+ 'bf5ee4f9876505628c5ce84e84e918c70d66be70b766d62bb138e294608ffbae'
+ 'af9dbdc771023cd04f5b0c638c30356e6a824b32f0c04ea61fe929c71122bccd'
+ '2f512928ae4ad5cd3e2388b2391378f70b1d5f537f64ff5a0636e018d02d540e')
+validpgpkeys=(
+ '7CA69F4460F1BDC41FD2C858A5526B9BB3CD4E6A' # Jean Delvare
+)
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ patch -Np1 < "$srcdir/python-makefile.patch"
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ make EXTRA="eeprog py-smbus"
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make EXTRA="eeprog py-smbus" PREFIX="${pkgdir}/usr" sbindir="$pkgdir/usr/bin" install
+ install -Dm644 "${srcdir}/$pkgname.sysusers" "${pkgdir}/usr/lib/sysusers.d/$pkgname.conf"
+ install -Dm644 "${srcdir}/45-i2c-tools.rules" "${pkgdir}/usr/lib/udev/rules.d/45-i2c-tools.rules"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: i2c-tools.sysusers
===================================================================
--- i2c-tools.sysusers 2021-09-19 10:19:05 UTC (rev 1017249)
+++ i2c-tools.sysusers 2021-09-19 10:19:14 UTC (rev 1017250)
@@ -1 +0,0 @@
-g i2c - -
Copied: i2c-tools/repos/community-x86_64/i2c-tools.sysusers (from rev 1017249, i2c-tools/trunk/i2c-tools.sysusers)
===================================================================
--- i2c-tools.sysusers (rev 0)
+++ i2c-tools.sysusers 2021-09-19 10:19:14 UTC (rev 1017250)
@@ -0,0 +1 @@
+g i2c - -
Copied: i2c-tools/repos/community-x86_64/python-makefile.patch (from rev 1017249, i2c-tools/trunk/python-makefile.patch)
===================================================================
--- python-makefile.patch (rev 0)
+++ python-makefile.patch 2021-09-19 10:19:14 UTC (rev 1017250)
@@ -0,0 +1,13 @@
+diff --git a/py-smbus/Module.mk b/py-smbus/Module.mk
+index 04ceb64..1e2ded1 100644
+--- a/py-smbus/Module.mk
++++ b/py-smbus/Module.mk
+@@ -22,7 +22,7 @@ clean-python:
+ rm -rf py-smbus/build
+
+ install-python:
+- $(DISTUTILS) install
++ $(DISTUTILS) install --prefix="$(PREFIX)"
+
+ all: all-python
+
More information about the arch-commits
mailing list