mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-python/nltk: Clean old
Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST nltk-2.0.4.tar.gz 955978 SHA256 a554d6b9c5c7c8b597a090d8848a6f78c6fc4665ae43c9a6a6d6a5b207d98c65 SHA512 1a1923f8819016926ad37337077a87782b1b244eb52c93b0b977946a3549a82b8b0cc4eb886f801d283b6df6f55fa8020db435dae9303371cda1dc1f8c40bc88 WHIRLPOOL b0affed720034261de343c4f7a09cc1a977e695ddeb7cd592d3d7b7c960728025336b8ece5667dda090593498d33d4e64b05b1bd3d8336e0f487d5ff2da82f80
|
||||
DIST nltk-3.0.3.tar.gz 1011266 SHA256 28d6175984445b9cdcc719f36701f034320edbecb78b69a37d1edc876843ea93 SHA512 b058642670166bff538e2c1c417ffb2e57a217a9f3a056475ad47ffa222df7237bfb4ac00a58952dc6f79f12a32e3a40bf53a96262a4b3caced64c2c09abdfc3 WHIRLPOOL 4201a7d6219f437b8e8df2b7c88ae48578e69825c4fe067d777c92b24bd819172b6a831d2ed51de07a3b52bda20f5c559e2da0dcfde58cafca57c811bbb23cd2
|
||||
DIST nltk-3.0.4.tar.gz 1013321 SHA256 e072397ed20ded6511ed97799f7c947536500b80961a1b1d164c228b8009f351 SHA512 ddf1813256d49b2a391b2667eed4f324f963b2e57206d26e0cf757f0d9ebf4b68b7c4f622b507129086815866cba509dd2688430731ec060bbbe8800b3b12f38 WHIRLPOOL 06035550fe2323bbd6db0c57222e38cedbfa7541013420b54ea5aa343d3ad9898d379eb8fea514d6f3c13dd9c0494b4e963064b47b7e737e6acdbbe3bb4d0316
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
From efe85968bb23e3afdcd331293f2c2588b1590091 Mon Sep 17 00:00:00 2001
|
||||
From: Mikhail Korobov <kmike84@gmail.com>
|
||||
Date: Fri, 9 Jan 2015 02:06:21 +0500
|
||||
Subject: [PATCH] Fixed installation with recent setuptools.
|
||||
|
||||
These lines were introduced here: https://github.com/nltk/nltk/commit/1ecbd2edc32db24b4e6c7dd8555d0b89c668f041
|
||||
It seems they fix an issue with .svn folders. We use git now,
|
||||
there are no .svn folders.
|
||||
|
||||
See also: http://stackoverflow.com/questions/1129180/how-can-i-make-setuptools-ignore-subversion-inventory
|
||||
---
|
||||
setup.py | 7 -------
|
||||
1 file changed, 7 deletions(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 3ec0949..079bcf3 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -29,13 +29,6 @@
|
||||
# setuptools
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
-#
|
||||
-# Prevent setuptools from trying to add extra files to the source code
|
||||
-# manifest by scanning the version control system for its contents.
|
||||
-#
|
||||
-from setuptools.command import sdist
|
||||
-del sdist.finders[:]
|
||||
-
|
||||
setup(
|
||||
name = "nltk",
|
||||
description = "Natural Language Toolkit",
|
||||
@@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="tk?,xml(+)"
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Natural Language Toolkit"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
HOMEPAGE="http://nltk.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="numpy tk"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/fix-newer-setuptools.patch
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
Reference in New Issue
Block a user