Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-arch/createrepo/createrepo-0.9.7.ebuild,v 1.1 2009/04/12 07:31:37 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-arch/createrepo/createrepo-0.9.7.ebuild,v 1.1 2009/04/12 07:31:37 vapier Exp $ |
4 |
|
4 |
|
5 |
EAPI="2" |
5 |
EAPI="3" |
|
|
6 |
|
7 |
PYTHON_DEPEND="2:2.6" |
8 |
PYTHON_USE_WITH="xml" |
9 |
|
10 |
inherit python |
6 |
|
11 |
|
7 |
DESCRIPTION="Creates a common metadata repository" |
12 |
DESCRIPTION="Creates a common metadata repository" |
8 |
HOMEPAGE="http://createrepo.baseurl.org/" |
13 |
HOMEPAGE="http://createrepo.baseurl.org/" |
Lines 18-26
Link Here
|
18 |
>=app-arch/rpm-4.0[python] |
23 |
>=app-arch/rpm-4.0[python] |
19 |
dev-libs/libxml2[python]" |
24 |
dev-libs/libxml2[python]" |
20 |
|
25 |
|
|
|
26 |
pkg_setup() { |
27 |
python_pkg_setup |
28 |
python_set_active_version 2 |
29 |
} |
30 |
|
21 |
src_compile() { :; } |
31 |
src_compile() { :; } |
22 |
|
32 |
|
23 |
src_install() { |
33 |
src_install() { |
24 |
emake install DESTDIR="${D}" || die |
34 |
emake install DESTDIR="${ED}" || die |
25 |
dodoc ChangeLog README |
35 |
dodoc ChangeLog README |
|
|
36 |
python_convert_shebangs -r 2 "${ED}" |
26 |
} |
37 |
} |