summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/pycups/.footprint8
-rw-r--r--extra/pycups/.md5sum2
-rw-r--r--extra/pycups/Pkgfile10
3 files changed, 11 insertions, 9 deletions
diff --git a/extra/pycups/.footprint b/extra/pycups/.footprint
index 8caf5b8e6..8741d99cd 100644
--- a/extra/pycups/.footprint
+++ b/extra/pycups/.footprint
@@ -1,6 +1,6 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
-drwxr-xr-x root/root usr/lib/python2.6/
-drwxr-xr-x root/root usr/lib/python2.6/site-packages/
--rw-r--r-- root/root usr/lib/python2.6/site-packages/cups-1.0-py2.6.egg-info
--rwxr-xr-x root/root usr/lib/python2.6/site-packages/cups.so
+drwxr-xr-x root/root usr/lib/python2.7/
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/
+-rwxr-xr-x root/root usr/lib/python2.7/site-packages/cups.so
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/pycups-1.9.53-py2.7.egg-info
diff --git a/extra/pycups/.md5sum b/extra/pycups/.md5sum
index 6d89bba56..0c886a82e 100644
--- a/extra/pycups/.md5sum
+++ b/extra/pycups/.md5sum
@@ -1,2 +1,2 @@
1f4aced621520b8a02fcff1eb25f504b pycups-1.9.49-python-2.5.patch
-6db9d8bc7f40315bc0b93f210737cc82 pycups-1.9.49.tar.bz2
+5fe5b696e19ab5aa3c463b1c030e2c50 pycups-1.9.53.tar.bz2
diff --git a/extra/pycups/Pkgfile b/extra/pycups/Pkgfile
index c74e065da..eeedbfa87 100644
--- a/extra/pycups/Pkgfile
+++ b/extra/pycups/Pkgfile
@@ -5,14 +5,16 @@
# Depends on: python, libcups
name=pycups
-version=1.9.49
+version=1.9.53
release=1
source=(http://cyberelk.net/tim/data/pycups/$name-$version.tar.bz2 \
http://nutyx.meticul.eu/files/patchs/$name/pycups-1.9.49-python-2.5.patch)
build() {
cd $name-$version
- patch -Np1 -i ../pycups-1.9.49-python-2.5.patch
- make
- make DESTDIR=$PKG install
+# patch -Np1 -i ../pycups-1.9.49-python-2.5.patch
+# make
+# make DESTDIR=$PKG install
+ python2 setup.py build
+ python2 setup.py install --root=$PKG --optimize=1
}