summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/dslib/dslib-1.6.ebuild')
-rw-r--r--net-libs/dslib/dslib-1.6.ebuild8
1 files changed, 8 insertions, 0 deletions
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}