summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/metagen/metagen-0.3.ebuild9
-rw-r--r--app-portage/metagen/metagen-0.5.ebuild9
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/*