diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-11 21:52:45 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-11 21:52:45 +0000 |
commit | 44549a83fa2f86fcbdc0c8a74740e58d625a3bd8 (patch) | |
tree | 648574044adce63676c265d9368c99269064e502 /app-portage | |
parent | Removing myself as proxy (diff) | |
download | gentoo-2-44549a83fa2f86fcbdc0c8a74740e58d625a3bd8.tar.gz gentoo-2-44549a83fa2f86fcbdc0c8a74740e58d625a3bd8.tar.bz2 gentoo-2-44549a83fa2f86fcbdc0c8a74740e58d625a3bd8.zip |
Backport fixes for deprecation warnings from metagen-0.5.2.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/metagen/metagen-0.3.ebuild | 9 | ||||
-rw-r--r-- | app-portage/metagen/metagen-0.5.ebuild | 9 |
2 files changed, 8 insertions, 10 deletions
diff --git a/app-portage/metagen/metagen-0.3.ebuild b/app-portage/metagen/metagen-0.3.ebuild index ce6c95a42823..674cb6f797f7 100644 --- a/app-portage/metagen/metagen-0.3.ebuild +++ b/app-portage/metagen/metagen-0.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/metagen/metagen-0.3.ebuild,v 1.8 2010/03/31 13:07:29 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/metagen/metagen-0.3.ebuild,v 1.9 2010/06/11 21:52:45 arfrever Exp $ inherit python @@ -17,10 +17,9 @@ DEPEND=">=dev-python/jaxml-3.01 >=dev-lang/python-2.3.3" src_install() { - python_version - dodir /usr/lib/python${PYVER}/site-packages/metagen + dodir $(python_get_sitedir)/metagen dodir /usr/bin - cp metagen "${D}"/usr/lib/python${PYVER}/site-packages/metagen/ - dosym "${D}"/usr/lib/python${PYVER}/site-packages/metagen/metagen /usr/bin/metagen + cp metagen "${D}"$(python_get_sitedir)/metagen/ + dosym "${D}"$(python_get_sitedir)/metagen/metagen /usr/bin/metagen doman metagen.1.gz } diff --git a/app-portage/metagen/metagen-0.5.ebuild b/app-portage/metagen/metagen-0.5.ebuild index 13026ce45f14..6ad53ddefcce 100644 --- a/app-portage/metagen/metagen-0.5.ebuild +++ b/app-portage/metagen/metagen-0.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/metagen/metagen-0.5.ebuild,v 1.6 2007/10/16 04:48:04 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/metagen/metagen-0.5.ebuild,v 1.7 2010/06/11 21:52:45 arfrever Exp $ inherit python @@ -17,11 +17,10 @@ DEPEND=">=dev-python/jaxml-3.01 >=dev-lang/python-2.3.3" src_install() { - python_version - dodir /usr/lib/python${PYVER}/site-packages/metagen + dodir $(python_get_sitedir)/metagen dodir /usr/bin - cp *py test_cli "${D}"/usr/lib/python${PYVER}/site-packages/metagen/ - dosym "${D}"/usr/lib/python${PYVER}/site-packages/metagen/metagen.py \ + cp *py test_cli "${D}"$(python_get_sitedir)/metagen/ + dosym "${D}"$(python_get_sitedir)/metagen/metagen.py \ /usr/bin/metagen doman metagen.1.gz dodoc docs/* |