diff options
author | Santiago M. Mola <coldwind@gentoo.org> | 2006-12-22 15:18:58 +0000 |
---|---|---|
committer | Santiago M. Mola <coldwind@gentoo.org> | 2006-12-22 15:18:58 +0000 |
commit | ae2e4e0c899e5db02f5f8495a4375cbe24d783e9 (patch) | |
tree | 55126629752863342e886e12f492c2a26d2b745a /dev-python | |
parent | app-admin/osinfo: Redundant DESCRIPTION (diff) | |
download | sunrise-ae2e4e0c899e5db02f5f8495a4375cbe24d783e9.tar.gz sunrise-ae2e4e0c899e5db02f5f8495a4375cbe24d783e9.tar.bz2 sunrise-ae2e4e0c899e5db02f5f8495a4375cbe24d783e9.zip |
dev-python/nltk-lite: Initial ebuild for bug #86696
svn path=/sunrise/; revision=2444
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/nltk-lite/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/nltk-lite/Manifest | 23 | ||||
-rw-r--r-- | dev-python/nltk-lite/files/99nltk-lite | 3 | ||||
-rw-r--r-- | dev-python/nltk-lite/files/digest-nltk-lite-0.7_beta1 | 12 | ||||
-rw-r--r-- | dev-python/nltk-lite/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/nltk-lite/nltk-lite-0.7_beta1.ebuild | 61 |
6 files changed, 112 insertions, 0 deletions
diff --git a/dev-python/nltk-lite/ChangeLog b/dev-python/nltk-lite/ChangeLog new file mode 100644 index 000000000..6cbabc8d5 --- /dev/null +++ b/dev-python/nltk-lite/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-python/nltk-lite +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 22 Dec 2006; Santiago M. Mola <cooldwind@gmail.com> +files/99nltk-lite, + +nltk-lite-0.7_beta1.ebuild, +metadata.xml: + Initial ebuild for bug #86696 + diff --git a/dev-python/nltk-lite/Manifest b/dev-python/nltk-lite/Manifest new file mode 100644 index 000000000..25d7f9d4e --- /dev/null +++ b/dev-python/nltk-lite/Manifest @@ -0,0 +1,23 @@ +AUX 99nltk-lite 61 RMD160 7d101169b363447f04b15590f349edad329368d7 SHA1 92542daffb7b9a44c0238b93fae9e6ae19042a41 SHA256 908b341f5deec2b0b2834abb48a84ea7a4671ef45d5d835923442f42b9083b2e +MD5 f41c3d513a60df6850c0649bbbbdcbcc files/99nltk-lite 61 +RMD160 7d101169b363447f04b15590f349edad329368d7 files/99nltk-lite 61 +SHA256 908b341f5deec2b0b2834abb48a84ea7a4671ef45d5d835923442f42b9083b2e files/99nltk-lite 61 +DIST nltk_lite-0.7b1.tar.gz 474260 RMD160 ac220a3b00ac7dd38f0474823e1dcbe27bb48afe SHA1 0f1e73971788ce0a52cc4c49a94eb776096d62be SHA256 0d07baa5ebc79193d4a85827e39cc58d68fc9fa68d10913fae696242db432f01 +DIST nltk_lite-corpora-0.7b1.zip 25958278 RMD160 4e25fc39879a604ca07371202f4f2da167f5bc3a SHA1 9034486d2aeb49b8b19f6fe7db9d3c29a599ca2c SHA256 90ad184bb25f332b33d96a05078f516f709c7be7ed7b06c8402d1d53eb3a80db +DIST nltk_lite-doc-0.7b1.zip 18436397 RMD160 99be3bbd69d7e7a8e2f1a09252270a2c44e7afcd SHA1 e2a6fd96b8d7b5378110cc55864bfb1c14e5dbff SHA256 76d7a9b33024842fa06f019ec46c026955c8c88a5bc411c8a50e023af33b40f2 +DIST nltk_lite-examples-0.7b1.zip 79440 RMD160 c451acf0e018b75099ef6f612f0350fcf68779ed SHA1 5362ee3c8d526acbe82b5ba58f9609e849b87d30 SHA256 146c1d5c3872be6e4947fef53b0f020f56599060bc5c4ef91623d7a47cde5f2b +EBUILD nltk-lite-0.7_beta1.ebuild 1450 RMD160 30a174b629a4b58e273e07465bc831133943a948 SHA1 58e0bcc70aa5167c6600f4b32e4c06c0bb1fd4ca SHA256 f86551138a5389f009fe4ca29bf367cb3b7d232c48a1a16fbd760f870ae7425d +MD5 1e1894c4350a6a5dff223f15e14000e5 nltk-lite-0.7_beta1.ebuild 1450 +RMD160 30a174b629a4b58e273e07465bc831133943a948 nltk-lite-0.7_beta1.ebuild 1450 +SHA256 f86551138a5389f009fe4ca29bf367cb3b7d232c48a1a16fbd760f870ae7425d nltk-lite-0.7_beta1.ebuild 1450 +MISC ChangeLog 274 RMD160 45f535d87e3bd0c5020d41b977991f5a64a45d9c SHA1 73c4ab6a704b5d9342dc633092a97aed99516cc0 SHA256 3088f767b561a6d127075e52b7d8e8358de94290e588c6bf3e22d562b54cd6b3 +MD5 9240deaf20847281170729a4fac31b73 ChangeLog 274 +RMD160 45f535d87e3bd0c5020d41b977991f5a64a45d9c ChangeLog 274 +SHA256 3088f767b561a6d127075e52b7d8e8358de94290e588c6bf3e22d562b54cd6b3 ChangeLog 274 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 +MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 +RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 +SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170 +MD5 552fc1c795465bc4fef6a35fcb837f00 files/digest-nltk-lite-0.7_beta1 1033 +RMD160 fec8db5df5d73f4258a6a56222922ebb3ad69365 files/digest-nltk-lite-0.7_beta1 1033 +SHA256 efc67d230cadf9261edd902e7c69b78c0e54574eafd0f6e68e091e1f32a19d5a files/digest-nltk-lite-0.7_beta1 1033 diff --git a/dev-python/nltk-lite/files/99nltk-lite b/dev-python/nltk-lite/files/99nltk-lite new file mode 100644 index 000000000..228ebf725 --- /dev/null +++ b/dev-python/nltk-lite/files/99nltk-lite @@ -0,0 +1,3 @@ +#99nltk-lite + +NLTK_LITE_CORPORA=/usr/share/nltk_lite/corpora diff --git a/dev-python/nltk-lite/files/digest-nltk-lite-0.7_beta1 b/dev-python/nltk-lite/files/digest-nltk-lite-0.7_beta1 new file mode 100644 index 000000000..aa54e748a --- /dev/null +++ b/dev-python/nltk-lite/files/digest-nltk-lite-0.7_beta1 @@ -0,0 +1,12 @@ +MD5 b167526a6cf4e1ec058844f4d51dbe82 nltk_lite-0.7b1.tar.gz 474260 +RMD160 ac220a3b00ac7dd38f0474823e1dcbe27bb48afe nltk_lite-0.7b1.tar.gz 474260 +SHA256 0d07baa5ebc79193d4a85827e39cc58d68fc9fa68d10913fae696242db432f01 nltk_lite-0.7b1.tar.gz 474260 +MD5 17711605891164d6a79b6baa20cc688c nltk_lite-corpora-0.7b1.zip 25958278 +RMD160 4e25fc39879a604ca07371202f4f2da167f5bc3a nltk_lite-corpora-0.7b1.zip 25958278 +SHA256 90ad184bb25f332b33d96a05078f516f709c7be7ed7b06c8402d1d53eb3a80db nltk_lite-corpora-0.7b1.zip 25958278 +MD5 0f8d09ae7a45f1fcf448b8066f607e69 nltk_lite-doc-0.7b1.zip 18436397 +RMD160 99be3bbd69d7e7a8e2f1a09252270a2c44e7afcd nltk_lite-doc-0.7b1.zip 18436397 +SHA256 76d7a9b33024842fa06f019ec46c026955c8c88a5bc411c8a50e023af33b40f2 nltk_lite-doc-0.7b1.zip 18436397 +MD5 925b9a2c71b03a1efdf46901a2340aa1 nltk_lite-examples-0.7b1.zip 79440 +RMD160 c451acf0e018b75099ef6f612f0350fcf68779ed nltk_lite-examples-0.7b1.zip 79440 +SHA256 146c1d5c3872be6e4947fef53b0f020f56599060bc5c4ef91623d7a47cde5f2b nltk_lite-examples-0.7b1.zip 79440 diff --git a/dev-python/nltk-lite/metadata.xml b/dev-python/nltk-lite/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/dev-python/nltk-lite/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> diff --git a/dev-python/nltk-lite/nltk-lite-0.7_beta1.ebuild b/dev-python/nltk-lite/nltk-lite-0.7_beta1.ebuild new file mode 100644 index 000000000..c1cb58cd0 --- /dev/null +++ b/dev-python/nltk-lite/nltk-lite-0.7_beta1.ebuild @@ -0,0 +1,61 @@ +# 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 +} |