[arch-commits] Commit in i2c-tools/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sat Aug 17 17:29:44 UTC 2019


    Date: Saturday, August 17, 2019 @ 17:29:44
  Author: jelle
Revision: 500010

upgpkg: i2c-tools 4.1-2

Drop python2 bindings.

Modified:
  i2c-tools/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-17 16:28:48 UTC (rev 500009)
+++ PKGBUILD	2019-08-17 17:29:44 UTC (rev 500010)
@@ -3,16 +3,15 @@
 
 pkgname=i2c-tools
 pkgver=4.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Heterogeneous set of I2C tools for Linux that used to be part of lm-sensors"
 arch=('x86_64')
 url="http://www.lm-sensors.org/wiki/I2CTools"
 license=('GPL')
 depends=('perl')
-makedepends=('python2' 'python' 'git')
+makedepends=('python' 'git')
 optdepends=('read-edid: for decode-edid script'
-            'python: for smbus module'
-            'python2: for smbus module')
+            'python: for smbus module')
 _commit=629185af1552b1866052c6973c930f1a26992dfc
 source=("git+https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git#commit=$_commit")
 sha256sums=('SKIP')
@@ -23,7 +22,6 @@
   make -C eepromer CFLAGS="$CFLAGS -I../include"
   cd py-smbus
   CPPFLAGS="$CPPFLAGS -I../include" python setup.py build
-  CPPFLAGS="$CPPFLAGS -I../include" python2 setup.py build
 }
 
 package() {
@@ -32,7 +30,6 @@
   install -Dm755 eepromer/eeprom eepromer/eepromer "${pkgdir}/usr/bin"
   cd py-smbus
   python setup.py install --prefix "${pkgdir}/usr"
-  python2 setup.py install --prefix "${pkgdir}/usr"
   rm -rf "${pkgdir}/usr/include"
 }
 



More information about the arch-commits mailing list