Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 292495 Details for
Bug 324377
dev-util/catalyst: 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 revised
catalyst.patch (text/plain), 3.74 KB, created by
Ian Delaney (RETIRED)
on 2011-11-14 09:27:12 UTC
(
hide
)
Description:
ebuild patch revised
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2011-11-14 09:27:12 UTC
Size:
3.74 KB
patch
obsolete
>diff -ur catalyst.orig//catalyst-2.0.6.916.ebuild catalyst/catalyst-2.0.6.916.ebuild >--- catalyst.orig//catalyst-2.0.6.916.ebuild 2011-07-17 08:31:12.000000000 +0800 >+++ catalyst/catalyst-2.0.6.916.ebuild 2011-11-14 17:23:15.639931087 +0800 >@@ -6,7 +6,7 @@ > # catalyst-2.9999 -> catalyst_2 branch from Git > # catalyst-VER -> normal catalyst release > >-EAPI=2 >+EAPI=3 > > if [[ ${PV} == 9999* || ${PV} == 2.9999* ]]; then > EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/catalyst.git" >@@ -18,7 +18,8 @@ > SRC_URI="mirror://gentoo/${P}.tar.bz2" > KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" > fi >-inherit eutils multilib >+PYTHON_DEPEND="2" >+inherit eutils multilib python > > DESCRIPTION="release metatool used for creating releases based on Gentoo Linux" > HOMEPAGE="http://www.gentoo.org/proj/en/releng/catalyst/" >@@ -29,14 +30,14 @@ > IUSE="ccache" > > DEPEND="" >-RDEPEND="dev-lang/python >- app-crypt/shash >+RDEPEND="app-crypt/shash > virtual/cdrtools > ccache? ( dev-util/ccache ) > ia64? ( sys-fs/dosfstools ) > kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )" > > pkg_setup() { >+ python_pkg_setup > if use ccache ; then > einfo "Enabling ccache support for catalyst." > else >@@ -85,6 +86,7 @@ > /etc/catalyst/catalyst.conf > dosed "s:/usr/lib/catalyst:/usr/$(get_libdir)/catalyst:" \ > /etc/catalyst/catalyst.conf >+ python_convert_shebangs -r 2 "${ED}" > } > > pkg_postinst() { >diff -ur catalyst.orig//catalyst-2.0.6.918.ebuild catalyst/catalyst-2.0.6.918.ebuild >--- catalyst.orig//catalyst-2.0.6.918.ebuild 2011-07-17 08:31:12.000000000 +0800 >+++ catalyst/catalyst-2.0.6.918.ebuild 2011-11-14 17:23:36.664931495 +0800 >@@ -6,7 +6,7 @@ > # catalyst-2.9999 -> catalyst_2 branch from Git > # catalyst-VER -> normal catalyst release > >-EAPI=2 >+EAPI="3" > > if [[ ${PV} == 9999* || ${PV} == 2.9999* ]]; then > EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/catalyst.git" >@@ -19,7 +19,9 @@ > http://dev.gentoo.org/~jmbsvicetto/distfiles/${P}.tar.bz2" > KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" > fi >-inherit eutils multilib >+ >+PYTHON_DEPEND="2" >+inherit eutils multilib python > > DESCRIPTION="release metatool used for creating releases based on Gentoo Linux" > HOMEPAGE="http://www.gentoo.org/proj/en/releng/catalyst/" >@@ -38,6 +40,7 @@ > kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )" > > pkg_setup() { >+ python_pkg_setup > if use ccache ; then > einfo "Enabling ccache support for catalyst." > else >@@ -93,4 +96,5 @@ > einfo "catalyst project page at:" > einfo "http://www.gentoo.org/proj/en/releng/catalyst/index.xml" > echo >+ python_convert_shebangs -r 2 "${ED}" > } >diff -ur catalyst.orig//catalyst-2.0.6.ebuild catalyst/catalyst-2.0.6.ebuild >--- catalyst.orig//catalyst-2.0.6.ebuild 2011-07-17 08:31:12.000000000 +0800 >+++ catalyst/catalyst-2.0.6.ebuild 2011-11-14 17:22:36.119931310 +0800 >@@ -6,7 +6,10 @@ > # catalyst-2.9999 -> catalyst_2 branch from Git > # catalyst-VER -> normal catalyst release > >-inherit eutils multilib >+EAPI="3" >+PYTHON_DEPEND="2" >+inherit eutils multilib python >+ > SRC_URI="mirror://gentoo/${P}.tar.bz2 > http://wolf31o2.org/sources/${PN}/${P}.tar.bz2" > >@@ -22,14 +25,14 @@ > IUSE="ccache" > > DEPEND="" >-RDEPEND="dev-lang/python >- app-crypt/shash >+RDEPEND="app-crypt/shash > virtual/cdrtools > ccache? ( dev-util/ccache ) > ia64? ( sys-fs/dosfstools ) > kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )" > > pkg_setup() { >+ python_pkg_setup > if use ccache ; then > einfo "Enabling ccache support for catalyst." > else >@@ -71,6 +74,7 @@ > /etc/catalyst/catalyst.conf > dosed "s:/usr/lib/catalyst:/usr/$(get_libdir)/catalyst:" \ > /etc/catalyst/catalyst.conf >+ python_convert_shebangs -r 2 "${ED}" > } > > pkg_postinst() {
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 324377
:
292291
| 292495