[arch-commits] Commit in hplip/trunk (PKGBUILD)
andyrtr at archlinux.org
andyrtr at archlinux.org
Mon Jun 25 15:18:23 UTC 2012
Date: Monday, June 25, 2012 @ 11:18:23
Author: andyrtr
Revision: 162333
upgpkg: hplip 3.12.6-2
fix two broken shebangs; FS#30438
Modified:
hplip/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-06-25 10:11:07 UTC (rev 162332)
+++ PKGBUILD 2012-06-25 15:18:23 UTC (rev 162333)
@@ -5,7 +5,7 @@
pkgname=hplip
pkgver=3.12.6
-pkgrel=1
+pkgrel=2
pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
arch=('i686' 'x86_64')
url="http://hplipopensource.com"
@@ -34,13 +34,14 @@
export PYTHON=python2
find . -type f -exec sed -i 's~^#.*env python~#!/usr/bin/env python2~' {} +
- sed -i '1s|#!/usr/bin/python|#!/usr/bin/python2|' base/magic.py
+ sed -i '1s|#!/usr/bin/python|#!/usr/bin/python2|' setup.py makeuri.py base/magic.py
sed -i '1s|#!/usr/bin/python|#!/usr/bin/python2|' ui/upgradeform.py uninstall.py upgrade.py config_usb_printer.py
sed -i 's|python ./print.py|python2 ./print.py|' scan.py
sed -i 's|python ./testpage.py|python2 ./testpage.py|' setup.py
sed -i 's|python ./setup.py|python2 ./setup.py|' ui4/devmgr5.py ui4/nodevicesdialog.py
sed -i 's|python %HOME%|python2 %HOME%|' base/utils.py
sed -i 's|python ./plugin.py|python2 ./plugin.py|' base/pkit.py
+
# https://bugs.archlinux.org/task/30085 - hack found in Gentoo
# Use system foomatic-rip for hpijs driver instead of foomatic-rip-hplip
More information about the arch-commits
mailing list