Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=python27.git;a=commitdiff;h=a19a383e2967587dec2d7bfe5de96550e8060fb1

commit a19a383e2967587dec2d7bfe5de96550e8060fb1
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Wed Sep 1 00:19:44 2010 +0200

pycawm-0.1-3-i686

- rebuilt with python-2.7

diff --git a/source/x11-extra/pycawm/FrugalBuild 
b/source/x11-extra/pycawm/FrugalBuild
index 21a000b..f7d691e 100644
--- a/source/x11-extra/pycawm/FrugalBuild
+++ b/source/x11-extra/pycawm/FrugalBuild
@@ -3,18 +3,18 @@

pkgname=pycawm
pkgver=0.1
-pkgrel=2
+pkgrel=3
pkgdesc="A window manager written in python."
url="http://pycawm.last-exile.org";
rodepends=('python-xlib' 'imaging')
-depends=('python')
+depends=('python>=2.7')
groups=('x11-extra')
archs=('i686' 'x86_64')
_F_archive_name=PycaWM
up2date="Flasttar $url"
source=($url/sources/$_F_archive_name-$pkgver.tar.bz2 python26.patch)
sha1sums=('2f81c19b8795b249ac314b91f95ecf3df6dde370' \
-          'e291793fa5a6f4920b1122646fb3f671b1709761')
+          'bcf0c012cd77e71655add52604a7f273f3be3119')

build()
{
diff --git a/source/x11-extra/pycawm/python26.patch 
b/source/x11-extra/pycawm/python26.patch
index a392648..4a391e7 100644
--- a/source/x11-extra/pycawm/python26.patch
+++ b/source/x11-extra/pycawm/python26.patch
@@ -7,7 +7,7 @@ index 6e4538c..8d74b2e 100644
CONFDIR=/etc/xdg
DATADIR=/usr/local/share
-MODULEDIR=/usr/lib/python2.5/site-packages
-+MODULEDIR=/usr/lib/python2.6/site-packages
++MODULEDIR=/usr/lib/python2.7/site-packages

install:
install -d $(XSESSIONDIR) $(BINDIR) $(CONFDIR)/PycaWM $(DATADIR)/PycaWM 
$(MODULEDIR)/pycawm $(MODULEDIR)/pycawm/plugins
@@ -16,7 +16,7 @@ index 6e4538c..8d74b2e 100644
install -m644 pycawm/*.py $(MODULEDIR)/pycawm
install -m644 pycawm/plugins/*.py  $(MODULEDIR)/pycawm/plugins
-       python2.5 -O -c "from compileall import compile_dir; 
compile_dir('$(MODULEDIR)/pycawm')"
-+      python2.6 -O -c "from compileall import compile_dir; 
compile_dir('$(MODULEDIR)/pycawm')"
++      python2.7 -O -c "from compileall import compile_dir; 
compile_dir('$(MODULEDIR)/pycawm')"


uninstall:
@@ -26,7 +26,7 @@ index 6cfb61b..0634d00 100755
+++ b/conf/config-example.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.5
-+#!/usr/bin/python2.6
++#!/usr/bin/python2.7
# -*- coding: utf-8 -*-

#  PycaWM
@@ -35,7 +35,7 @@ index 6cfb61b..0634d00 100755

pika.add_key('C-M-Escape', lambda wm: wm.run_command('xkill'))
-pika.add_key('C-M-r', lambda wm: wm.switch_wm('/usr/bin/python2.5', pika_file))
-+pika.add_key('C-M-r', lambda wm: wm.switch_wm('/usr/bin/python2.6', 
pika_file))
++pika.add_key('C-M-r', lambda wm: wm.switch_wm('/usr/bin/python2.7', 
pika_file))
pika.add_key('C-M-q', lambda wm: wm.quit())
pika.add_key('M-Tab', lambda wm: ClientsSwitchMenu(wm, 'M-Tab'))

@@ -45,7 +45,7 @@ index 53497bb..06f24b3 100755
+++ b/pycawm_launcher
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.5
-+#!/usr/bin/python2.6
++#!/usr/bin/python2.7
# -*- coding: utf-8 -*-

#  PycaWM
@@ -54,14 +54,14 @@ index 53497bb..06f24b3 100755
from pycawm.basedirspec import load_first_config

-execl('/usr/bin/python2.5', 'python2.5', load_first_config('config.py'))
-+execl('/usr/bin/python2.6', 'python2.6', load_first_config('config.py'))
++execl('/usr/bin/python2.7', 'python2.7', load_first_config('config.py'))
diff --git a/test.py b/test.py
index f9f6ac3..7607c73 100755
--- a/test.py
+++ b/test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.5
-+#!/usr/bin/python2.6
++#!/usr/bin/python2.7
# -*- coding: utf-8 -*-

#  PycaWM
@@ -71,7 +71,7 @@ index 7668035..bb0dfb7 100755
+++ b/utils/pycarepl
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.5
-+#!/usr/bin/python2.6
++#!/usr/bin/python2.7
# -*- coding: utf-8 -*-

#  PycaWM
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to