Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 104575 Details for
Bug 86696
nltk-1.4.3.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
nltk-lite-0.7_beta1.ebuild
nltk-lite-0.7_beta1.ebuild (text/plain), 1.42 KB, created by
Santiago M. Mola (RETIRED)
on 2006-12-22 07:18:03 UTC
(
hide
)
Description:
nltk-lite-0.7_beta1.ebuild
Filename:
MIME Type:
Creator:
Santiago M. Mola (RETIRED)
Created:
2006-12-22 07:18:03 UTC
Size:
1.42 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit distutils > >MY_PV="${PV/_beta/b}" >MY_PN="${PN/-/_}" >MY_P="${MY_PN}-${MY_PV}" > >DESCRIPTION="suite of Python packages and data for natural language processing" >HOMEPAGE="http://nltk.sourceforge.net/" >SRC_URI="mirror://sourceforge/nltk/${MY_P}.tar.gz > !lite? ( mirror://sourceforge/nltk/${MY_PN}-corpora-${MY_PV}.zip ) > doc? ( mirror://sourceforge/nltk/${MY_PN}-doc-${MY_PV}.zip ) > examples? ( mirror://sourceforge/nltk/${MY_PN}-examples-${MY_PV}.zip )" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="doc examples linguas_pt_BR lite" > >DEPEND="" >RDEPEND="dev-python/numpy" > >S="${WORKDIR}/${MY_P}" > >src_install() { > if ! use lite ; then > ebegin "Installing corpora" > insinto /usr/share/${MY_PN} > doins -r "${WORKDIR}/corpora" > doenvd "${FILESDIR}/99nltk-lite" > eend 0 > fi > if use doc ; then > ebegin "Installing doc" > if ! use linguas_pt_BR ; then > rm -rf "${WORKDIR}/doc/pt-br" > fi > insinto /usr/share/${MY_PN} > doins -r "${WORKDIR}/doc" > eend 0 > fi > if use examples ; then > insinto /usr/share/${MY_PN} > doins -r "${WORKDIR}/examples" > fi > > dodoc README.txt > > distutils_src_install >} > >pkg_postinst() { > if use lite ; then > elog "You installed ${PN} with 'lite' USE flag enabled," > elog "that doesn't install the corpora which may be needed for" > elog "the examples and the apps developed using ${PN}." > fi >}
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 Raw
Actions:
View
Attachments on
bug 86696
:
54465
|
104461
|
104462
| 104575 |
104576