pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/hamster-applet Fix path to python interpreter in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f697bff5a867
branches:  trunk
changeset: 551062:f697bff5a867
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sat Dec 06 00:59:42 2008 +0000

description:
Fix path to python interpreter in hamster-applet, and copy hamster.db
with proper permissions to home directory. Bump PKGREVISION.

diffstat:

 time/hamster-applet/Makefile         |   9 ++++++++-
 time/hamster-applet/distinfo         |   3 ++-
 time/hamster-applet/patches/patch-aa |  13 +++++++++++++
 3 files changed, 23 insertions(+), 2 deletions(-)

diffs (54 lines):

diff -r da9f8954b458 -r f697bff5a867 time/hamster-applet/Makefile
--- a/time/hamster-applet/Makefile      Fri Dec 05 19:02:09 2008 +0000
+++ b/time/hamster-applet/Makefile      Sat Dec 06 00:59:42 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/12/02 22:36:35 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2008/12/06 00:59:42 jmcneill Exp $
 #
 
 DISTNAME=      hamster-applet-2.24.2
+PKGREVISION=   1
 CATEGORIES=    time
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/hamster-applet/2.24/}
 
@@ -18,6 +19,12 @@
 GCONF_SCHEMAS+=        hamster-applet.schemas
 PY_PATCHPLIST= yes
 
+SUBST_CLASSES+=                python
+SUBST_MESSAGE.python=  Fixing path to Python interpreter.
+SUBST_STAGE.python=    post-patch
+SUBST_FILES.python=    hamster/hamster-applet.py
+SUBST_SED.python=      -e 's@/usr/bin/env python@${PYTHONBIN}@g'
+
 .include "../../lang/python/extension.mk"
 
 .if ${PYPKGPREFIX} == "py24"
diff -r da9f8954b458 -r f697bff5a867 time/hamster-applet/distinfo
--- a/time/hamster-applet/distinfo      Fri Dec 05 19:02:09 2008 +0000
+++ b/time/hamster-applet/distinfo      Sat Dec 06 00:59:42 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/12/02 22:36:35 wiz Exp $
+$NetBSD: distinfo,v 1.2 2008/12/06 00:59:42 jmcneill Exp $
 
 SHA1 (hamster-applet-2.24.2.tar.gz) = 32f5ca5aa861604ec89689d7f1b4d49573d650d6
 RMD160 (hamster-applet-2.24.2.tar.gz) = b4ddde48eec65f7f717be76fe484f2283b0fc76f
 Size (hamster-applet-2.24.2.tar.gz) = 482374 bytes
+SHA1 (patch-aa) = 0bcbf0a0894b3bb506ddee5dec8f0ee858f2d12b
diff -r da9f8954b458 -r f697bff5a867 time/hamster-applet/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/hamster-applet/patches/patch-aa      Sat Dec 06 00:59:42 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2008/12/06 00:59:42 jmcneill Exp $
+
+--- hamster/__init__.py.orig   2008-10-25 17:15:16.000000000 -0400
++++ hamster/__init__.py
+@@ -22,7 +22,7 @@
+ 
+ import os, sys
+ from os.path import join, exists, isdir, isfile, dirname, abspath, expanduser
+-from shutil import copy as copyfile
++from shutil import copyfile
+ 
+ import gtk, gnome.ui
+ from gtk import glade



Home | Main Index | Thread Index | Old Index