Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 292257 Details for
Bug 308293
app-arch/createrepo: Verify and potentially improve Python-related code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch
createrepo.patch (text/plain), 1.97 KB, created by
Ian Delaney (RETIRED)
on 2011-11-12 08:05:09 UTC
(
hide
)
Description:
ebuild patch
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2011-11-12 08:05:09 UTC
Size:
1.97 KB
patch
obsolete
>diff -ur createrepo.orig/createrepo-0.9.7.ebuild createrepo/createrepo-0.9.7.ebuild >--- createrepo.orig/createrepo-0.9.7.ebuild 2011-11-12 15:02:14.974806387 +0800 >+++ createrepo/createrepo-0.9.7.ebuild 2011-11-12 15:31:10.695805514 +0800 >@@ -2,7 +2,13 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/app-arch/createrepo/createrepo-0.9.7.ebuild,v 1.1 2009/04/12 07:31:37 vapier Exp $ > >-EAPI="2" >+EAPI="3" >+ >+PYTHON_DEPEND="2:2.6" >+PYTHON_USE_WITH="xml" >+ >+inherit python > > DESCRIPTION="Creates a common metadata repository" > HOMEPAGE="http://createrepo.baseurl.org/" >@@ -18,9 +23,14 @@ > >=app-arch/rpm-4.0[python] > dev-libs/libxml2[python]" > >+pkg_setup() { >+ python_pkg_setup >+ python_set_active_version 2 >+} >+ > src_compile() { :; } > > src_install() { >- emake install DESTDIR="${D}" || die >+ emake install DESTDIR="${ED}" || die > dodoc ChangeLog README >+ python_convert_shebangs -r 2 "${ED}" > } >diff -ur createrepo.orig/createrepo-0.9.8.ebuild createrepo/createrepo-0.9.8.ebuild >--- createrepo.orig/createrepo-0.9.8.ebuild 2010-06-17 04:45:25.000000000 +0800 >+++ createrepo/createrepo-0.9.8.ebuild 2011-11-12 15:25:07.022805771 +0800 >@@ -2,7 +2,13 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/app-arch/createrepo/createrepo-0.9.8.ebuild,v 1.2 2010/06/16 20:45:25 patrick Exp $ > >-EAPI="2" >+EAPI="3" >+ >+PYTHON_DEPEND="2:2.6" >+PYTHON_USE_WITH="xml" >+ >+inherit python eutils > > DESCRIPTION="Creates a common metadata repository" > HOMEPAGE="http://createrepo.baseurl.org/" >@@ -19,6 +24,10 @@ > dev-libs/libxml2[python] > >=sys-apps/yum-3.2.23" > >+pkg_setup() { >+ python_pkg_setup >+ python_set_active_version 2 >+} >+ > src_prepare() { > sed -i \ > -e '/^sysconfdir/s:=.*/:=/:' \ >@@ -28,6 +37,7 @@ > src_compile() { :; } > > src_install() { >- emake install DESTDIR="${D}" || die >+ emake install DESTDIR="${ED}" || die > dodoc ChangeLog README >+ python_convert_shebangs -r 2 "${ED}" > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 308293
:
230091
|
230201
| 292257