lorcon: various python fixes

This commit is contained in:
Zero_Chaos 2012-11-17 04:28:13 +00:00
parent 2ff758753f
commit 061fc30491
2 changed files with 8 additions and 7 deletions

View file

@ -1 +1 @@
EBUILD lorcon-9999.ebuild 1184 SHA256 84b1a879aaa1cf076fe6b368ca2456eff7c480b872b3d4244dc0f8773188f959 SHA512 d716de4a892664b3290607667d8b9da0a19c6fba7edb977c90b1ec4b925b5be8daaacbaf3a6301ec07f249075f0d3fd1c1b7b391cdee9fb7deee744b2e025024 WHIRLPOOL 3912d4ff1055fbc6e1bbc4f0254f81cfd6809a7905935c37bce06bd2d40c587cdf468b5d54ffe1901464dbe7084e6d2f571673f038968f153e61eab25ad40ab4
EBUILD lorcon-9999.ebuild 1140 SHA256 96bb5e804a1d6fd49fb55fae8b80a740e9b527f6f6682e2a5a42195f3993ed88 SHA512 17b92c0dd773b6068c3eb1a32c81dc6011482dfe6e1718af4c5ae9621c4794d5245802f667ce849794480dbd1e3e5ecaf291d76ebe91728d76fdc7837a365359 WHIRLPOOL d9fb6a5651f40239233f7e7125e7e22cc19972687b7ef54835e358e55ae51987ad86b5a453eb098547165bfb5243c21cb4d6480d8fed1f930d02af1ebb82c980

View file

@ -28,10 +28,13 @@ pkg_setup() {
if use python; then
python_pkg_setup;
DISTUTILS_SETUP_FILES=("${S}/pylorcon2|setup.py")
PYTHON_MODNAME="pylorcon2"
fi
}
src_prepare() {
use python && distutils_src_prepare
}
src_compile() {
default_src_compile
use python && distutils_src_compile
@ -52,10 +55,8 @@ src_install () {
}
pkg_postinst() {
use python && distutils_pkg_postinst
:
}
pkg_postrm() {
use python && distutils_pkg_postrm
pkg_prerm() {
:
}