summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/dsgui/dsgui-1.6.3.ebuild10
-rw-r--r--net-libs/dslib/dslib-1.6.ebuild8
2 files changed, 17 insertions, 1 deletions
diff --git a/app-misc/dsgui/dsgui-1.6.3.ebuild b/app-misc/dsgui/dsgui-1.6.3.ebuild
index aea7a48..7efc621 100644
--- a/app-misc/dsgui/dsgui-1.6.3.ebuild
+++ b/app-misc/dsgui/dsgui-1.6.3.ebuild
@@ -4,7 +4,7 @@
EAPI=3
-PYTHON_DEPEND="*"
+PYTHON_DEPEND="2"
inherit distutils
@@ -27,6 +27,14 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ python_convert_shebangs -r 4 "${WORKDIR}"
+}
+
src_install() {
distutils_src_install
rm -rf "${ED}"/usr/share/dsgui/fonts/*
diff --git a/net-libs/dslib/dslib-1.6.ebuild b/net-libs/dslib/dslib-1.6.ebuild
index 00e3fbd..d17046f 100644
--- a/net-libs/dslib/dslib-1.6.ebuild
+++ b/net-libs/dslib/dslib-1.6.ebuild
@@ -24,6 +24,14 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ python_convert_shebangs -r 4 "${WORKDIR}"
+}
+
src_install() {
distutils_src_install
rm -rf "${ED}"/usr/share/${PN}/{{LICENSE,README}.txt,pyasn1}