Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 316937
Collapse All | Expand All

(-)file_not_specified_in_diff (-5 / +4 lines)
Line  Link Here
0
-- mpich2-1.0.8.ebuild
0
++ mpich2-1.0.8.ebuild
Lines 49-55 Link Here
49
	fi
49
	fi
50
50
51
	MPD_CONF_FILE_DIR=/etc/${PN}
51
	MPD_CONF_FILE_DIR=/etc/${PN}
52
	python_version
53
}
52
}
54
53
55
src_unpack() {
54
src_unpack() {
Lines 201-207 Link Here
201
	sed -i "s,@MPD_CONF_FILE_DIR@,${MPD_CONF_FILE_DIR}," \
200
	sed -i "s,@MPD_CONF_FILE_DIR@,${MPD_CONF_FILE_DIR}," \
202
		"${T}"/${PN}.envd
201
		"${T}"/${PN}.envd
203
202
204
	ln -s ../$(get_libdir)/python${PYVER}/site-packages/mpich2/mpdgdbdrv.py \
203
	ln -s ../$(get_libdir)/python$(python_get_version)/site-packages/mpich2/mpdgdbdrv.py \
205
		"${D}"/usr/bin/mpdgdbdrv.py
204
		"${D}"/usr/bin/mpdgdbdrv.py
206
	newenvd "${FILESDIR}"/${PN}.envd 25mpich2
205
	newenvd "${FILESDIR}"/${PN}.envd 25mpich2
207
}
206
}
Lines 211-217 Link Here
211
	chown root:root "${ROOT}"${MPD_CONF_FILE_DIR}/mpd.conf
210
	chown root:root "${ROOT}"${MPD_CONF_FILE_DIR}/mpd.conf
212
	chmod 600 "${ROOT}"${MPD_CONF_FILE_DIR}/mpd.conf
211
	chmod 600 "${ROOT}"${MPD_CONF_FILE_DIR}/mpd.conf
213
212
214
	python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
213
	python_mod_optimize $(python_get_sitedir)/${PN}
215
	elog ""
214
	elog ""
216
	elog "MPE2 has been removed from this ebuild and now stands alone"
215
	elog "MPE2 has been removed from this ebuild and now stands alone"
217
	elog "as sys-cluster/mpe2."
216
	elog "as sys-cluster/mpe2."
Lines 219-223 Link Here
219
}
218
}
220
219
221
pkg_postrm() {
220
pkg_postrm() {
222
	python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
221
	python_mod_cleanup $(python_get_sitedir)/${PN}
223
}
222
}

Return to bug 316937