Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 359294 Details for
Bug 485730
dev-vcs/stgit: add Prefix support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch for 0.16-r1
stg-1.6-ebuild.patch (text/plain), 2.06 KB, created by
Yixun Lan
on 2013-09-23 11:09:49 UTC
(
hide
)
Description:
ebuild patch for 0.16-r1
Filename:
MIME Type:
Creator:
Yixun Lan
Created:
2013-09-23 11:09:49 UTC
Size:
2.06 KB
patch
obsolete
>--- /home/dennis.lan/gentoo/usr/portage/dev-vcs/stgit/stgit-0.16-r1.ebuild 2012-11-20 21:08:28.000000000 +0000 >+++ stgit-0.16-r1.ebuild 2013-09-23 11:00:29.127202667 +0000 >@@ -2,10 +2,10 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/dev-vcs/stgit/stgit-0.16-r1.ebuild,v 1.3 2012/11/20 20:59:17 ago Exp $ > >-EAPI="3" >-PYTHON_DEPEND="2" >+EAPI="5" > >-inherit eutils distutils bash-completion-r1 >+PYTHON_COMPAT=( python2_7 ) >+inherit eutils distutils-r1 bash-completion-r1 > > DESCRIPTION="Manage a stack of patches using GIT as a backend" > HOMEPAGE="http://www.procode.org/stgit/" >@@ -35,9 +35,6 @@ > ewarn "Enable the 'doc' useflag, if you want them." > echo > fi >- >- python_set_active_version 2 >- python_pkg_setup > } > > src_prepare () { >@@ -47,34 +44,35 @@ > # this will be a noop, as we are working with a tarball, > # but throws git errors --> just get rid of it > sed -i -e 's/version\.write_builtin_version()//' setup.py >+ sed -i -e "s|prefix: /usr|prefix: ${EPREFIX}/usr|" setup.cfg > >- distutils_src_prepare >+ distutils-r1_src_prepare > } > > src_compile() { > # do not call normal 'emake' s.t. Gentoo's Python handling > # can do its work > # NB: run before doc-building to avoid double-build >- distutils_src_compile >+ distutils-r1_src_compile > > if use doc; then >- emake DESTDIR="${D}" \ >- htmldir="${ROOT}usr/share/doc/${PF}/html/" \ >- mandir="${ROOT}usr/share/man/" \ >+ emake DESTDIR="${ED}" \ >+ htmldir="${EROOT}usr/share/doc/${PF}/html/" \ >+ mandir="${EROOT}usr/share/man/" \ > doc || die "emake doc failed" > fi > } > > src_install() { > if use doc; then >- emake DESTDIR="${D}" \ >- htmldir="${ROOT}usr/share/doc/${PF}/html/" \ >- mandir="${ROOT}usr/share/man/" \ >+ emake DESTDIR="${ED}" \ >+ htmldir="${EROOT}usr/share/doc/${PF}/html/" \ >+ mandir="${EROOT}usr/share/man/" \ > install-doc install-html || die "emake install-doc install-html failed" > fi > > # NB: run after installing docs to avoid double-build >- distutils_src_install >+ distutils-r1_src_install > > newbashcomp stgit-completion.bash ${PN} || die > }
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 485730
: 359294