Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 308293
Collapse All | Expand All

(-)createrepo.orig/createrepo-0.9.7.ebuild (-2 / +13 lines)
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
}
(-)createrepo.orig/createrepo-0.9.8.ebuild (-2 / +13 lines)
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.8.ebuild,v 1.2 2010/06/16 20:45:25 patrick Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-arch/createrepo/createrepo-0.9.8.ebuild,v 1.2 2010/06/16 20:45:25 patrick 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 eutils
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 19-24 Link Here
19
	dev-libs/libxml2[python]
24
	dev-libs/libxml2[python]
20
	>=sys-apps/yum-3.2.23"
25
	>=sys-apps/yum-3.2.23"
21
26
27
pkg_setup() {
28
	python_pkg_setup
29
	python_set_active_version 2
30
}
31
22
src_prepare() {
32
src_prepare() {
23
	sed -i \
33
	sed -i \
24
		-e '/^sysconfdir/s:=.*/:=/:' \
34
		-e '/^sysconfdir/s:=.*/:=/:' \
Lines 28-33 Link Here
28
src_compile() { :; }
37
src_compile() { :; }
29
38
30
src_install() {
39
src_install() {
31
	emake install DESTDIR="${D}" || die
40
	emake install DESTDIR="${ED}" || die
32
	dodoc ChangeLog README
41
	dodoc ChangeLog README
42
	python_convert_shebangs -r 2 "${ED}"
33
}
43
}

Return to bug 308293