diff options
author | Tomas Chvatal <tchvatal@suse.cz> | 2011-10-05 22:11:16 +0200 |
---|---|---|
committer | Tomas Chvatal <tchvatal@suse.cz> | 2011-10-05 22:11:16 +0200 |
commit | 2d0c23a3b72e90d15c9d836006d198ba7db16669 (patch) | |
tree | 30492e923e55b1676a8fcc944b2bc1a9bd6ec6dc | |
parent | [ds{gui,lib}] set PYTHON_DEPEND to * (diff) | |
download | scarabeus-2d0c23a3b72e90d15c9d836006d198ba7db16669.tar.gz scarabeus-2d0c23a3b72e90d15c9d836006d198ba7db16669.tar.bz2 scarabeus-2d0c23a3b72e90d15c9d836006d198ba7db16669.zip |
Update dslib/dsgui even more
-rw-r--r-- | app-misc/dsgui/dsgui-1.6.3.ebuild | 10 | ||||
-rw-r--r-- | net-libs/dslib/dslib-1.6.ebuild | 8 |
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} |