Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 235111 Details for
Bug 312219
dev-tex/crosstex: 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]
crosstex-0.6.ebuild.patch
crosstex-0.6.ebuild.patch (text/plain), 1.41 KB, created by
Arfrever Frehtes Taifersar Arahesis (RETIRED)
on 2010-06-12 19:59:25 UTC
(
hide
)
Description:
crosstex-0.6.ebuild.patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis (RETIRED)
Created:
2010-06-12 19:59:25 UTC
Size:
1.41 KB
patch
obsolete
>--- crosstex-0.6.ebuild >+++ crosstex-0.6.ebuild >@@ -1,8 +1,11 @@ >-# Copyright 1999-2008 Gentoo Foundation >+# Copyright 1999-2010 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/dev-tex/crosstex/crosstex-0.6.ebuild,v 1.1 2008/08/07 22:41:27 aballier Exp $ > >-inherit python >+EAPI="3" >+PYTHON_DEPEND="2" >+ >+inherit multilib python > > DESCRIPTION="CrossTeX - object oriented BibTeX replacement" > HOMEPAGE="http://www.cs.cornell.edu/people/egs/crosstex/" >@@ -13,19 +16,23 @@ > KEYWORDS="~amd64 ~x86" > IUSE="examples" > >-RDEPEND="dev-lang/python >- dev-python/ply" >+RDEPEND="dev-python/ply" > DEPEND="${RDEPEND}" > >-src_install() { >- python_version >+pkg_setup() { >+ python_set_active_version 2 >+ python_pkg_setup >+} > >- cd "${S}" >+src_install() { > emake \ > ROOT="${D}" \ > PREFIX="/usr" \ >- LIBDIR="/$(get_libdir)/python${PYVER}/site-packages" \ >- install || die "make install failed" >+ LIBDIR="/$(get_libdir)/python$(python_get_version)/site-packages" \ >+ install || die "emake install failed" >+ >+ python_convert_shebangs -r $(python_get_version) "${D}" >+ python_need_rebuild > > insinto /usr/share/doc/${PF} > doins "${PN}".pdf >@@ -36,10 +43,9 @@ > } > > pkg_postinst() { >- python_version >- python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN} >+ python_mod_optimize ${PN} > } > > pkg_postrm() { >- python_mod_cleanup >+ python_mod_cleanup ${PN} > }
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 312219
: 235111