M eclass/pytransport.eclass * Fixing runscript generation * Fixing a bug with the HOMEPAGE-var and subversion ebuilds
Lars Strojny

Lars Strojny commited on 2007-01-01 14:27:21
Zeige 1 geänderte Dateien mit 5 Einfügungen und 5 Löschungen.

... ...
@@ -25,7 +25,6 @@ MY_P=${MY_PN}-${MY_PV}
25 25
 
26 26
 LICENSE="GPL-2"
27 27
 
28
-HOMEPAGE="http://${MY_PN}.blathersource.org/"
29 28
 
30 29
 
31 30
 pytransport_is_subversion() {
... ...
@@ -45,6 +44,7 @@ else
45 44
 	SRC_URI="http://www.blathersource.org/download.php/${PN}/${MY_P}.tar.gz"
46 45
 fi
47 46
 
47
+HOMEPAGE="http://${MY_PN}.blathersource.org/"
48 48
 
49 49
 DEPEND=">=net-im/jabber-base-0.0
50 50
 	>=dev-lang/python-2.3"
... ...
@@ -96,9 +96,6 @@ pytransport_get_python_version() {
96 96
 	echo "${PYVER}"
97 97
 }
98 98
 
99
-einfo $PYTRANSPORT_LIB_DIR
100
-
101
-
102 99
 pytransport_install_libs() {
103 100
 	insinto /usr/lib/python$(pytransport_get_python_version)/site-packages/${PN}/
104 101
 	doins -r ${PYTRANSPORT_LIB_DIR} || \
... ...
@@ -120,7 +117,10 @@ pytransport_install_config() {
120 117
 
121 118
 pytransport_generate_initd() {
122 119
 	pytransport_is_subversion && local suffix=" (Subversion)"
123
-	echo "depend() {
120
+	echo "#!/sbin/runscript
121
+
122
+
123
+depend() {
124 124
 	need net
125 125
 	use jabber-server
126 126
 }
127 127