View | Details | Raw Unified | Return to bug 194215 | Differences between
and this patch

Collapse All | Expand All

(-)emulators/dynagen/Makefile (+12 lines)
Lines 42-47 Link Here
42
PORTDATA=	*
42
PORTDATA=	*
43
43
44
USES=		dos2unix python
44
USES=		dos2unix python
45
46
USES+=		shebangfix
47
SHEBANG_FILES=	*.py dynagen pemu-start.sh
48
SHEBANG_LANG=	python_env python_bol python_cnf
49
python_CMD=	${PYTHON_CMD}
50
python_env_OLD_CMD=/usr/bin/env[[:space:]]*python
51
python_env_CMD=	${PYTHON_CMD}
52
python_bol_OLD_CMD=the an incredible combination
53
python_bol_CMD=|;9s|^python|${PYTHON_CMD}
54
python_cnf_OLD_CMD=the an incredible combination
55
python_cnf_CMD=|;s|^CONFIGSPECPATH.*|CONFIGSPECPATH = ['${PREFIX}/share/dynagen']
56
45
USE_PYTHON=	distutils
57
USE_PYTHON=	distutils
46
ALL_TARGET=	# empty
58
ALL_TARGET=	# empty
47
59
(-)emulators/dynagen/files/patch-confConsole.py (-8 lines)
Lines 1-8 Link Here
1
--- confConsole.py.orig	2008-06-11 14:54:32.000000000 +0400
2
+++ confConsole.py	2008-06-11 14:54:43.000000000 +0400
3
@@ -1,4 +1,4 @@
4
-#!/usr/bin/python
5
+#!/usr/local/bin/python
6
 # -*- coding: utf-8 -*-
7
 
8
 """
(-)emulators/dynagen/files/patch-console.py (-8 lines)
Lines 1-8 Link Here
1
--- console.py.orig	2008-06-11 14:53:38.000000000 +0400
2
+++ console.py	2008-06-11 14:53:57.000000000 +0400
3
@@ -1,4 +1,4 @@
4
-#!/usr/bin/python
5
+#!/usr/local/bin/python
6
 # -*- coding: utf-8 -*-
7
 
8
 """
(-)emulators/dynagen/files/patch-dynagen (-17 lines)
Lines 1-17 Link Here
1
--- dynagen.orig	2008-06-11 11:42:34.000000000 +0400
2
+++ dynagen	2008-06-11 12:18:16.000000000 +0400
3
@@ -1,4 +1,4 @@
4
-#!/usr/bin/python
5
+#!/usr/local/bin/python
6
 # -*- coding: utf-8 -*-
7
 
8
 """
9
@@ -41,7 +41,7 @@
10
 
11
 # Constants
12
 VERSION = '0.11.0'
13
-CONFIGSPECPATH = ['/usr/share/dynagen', '/usr/local/share']
14
+CONFIGSPECPATH = ['/usr/local/share/dynagen', '/usr/share/dynagen', '/usr/local/share']
15
 CONFIGSPEC = 'configspec'
16
 INIPATH = ['/etc', '/usr/local/etc']
17
 INIFILE = 'dynagen.ini'
(-)emulators/dynagen/files/patch-dynamips_lib.py (-8 lines)
Lines 1-8 Link Here
1
--- dynamips_lib.py.orig	2008-06-11 14:52:21.000000000 +0400
2
+++ dynamips_lib.py	2008-06-11 14:52:36.000000000 +0400
3
@@ -1,4 +1,4 @@
4
-#!/usr/bin/python
5
+#!/usr/local/bin/python
6
 # -*- coding: utf-8 -*-
7
 
8
 """
(-)emulators/dynagen/files/patch-pemu_lib.py (-8 lines)
Lines 1-8 Link Here
1
--- pemu_lib.py.orig	2008-06-11 14:50:50.000000000 +0400
2
+++ pemu_lib.py	2008-06-11 14:51:02.000000000 +0400
3
@@ -1,4 +1,4 @@
4
-#!/usr/bin/python
5
+#!/usr/local/bin/python
6
 # -*- coding: utf-8 -*-
7
 
8
 """
(-)emulators/dynagen/files/patch-setup.py (-1 / +1 lines)
Lines 1-7 Link Here
1
--- /dev/null	2008-06-11 11:33:00.000000000 +0400
1
--- /dev/null	2008-06-11 11:33:00.000000000 +0400
2
+++ setup.py	2008-06-11 11:38:41.000000000 +0400
2
+++ setup.py	2008-06-11 11:38:41.000000000 +0400
3
@@ -0,0 +1,21 @@
3
@@ -0,0 +1,21 @@
4
+#!/usr/bin/env python
4
+#!/usr/local/bin/python2.7
5
+
5
+
6
+"""Setup script for the dynagen module distribution."""
6
+"""Setup script for the dynagen module distribution."""
7
+# run this like python setup --root=/usr/local
7
+# run this like python setup --root=/usr/local

Return to bug 194215