File python3-nltk.spec of Package python3-nltk

# spec file for package python3-nltk
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           python3-nltk
Version:        3.2.1
Release:        0
Summary:        Natural Language Toolkit
License:        Apache-2.0
Group:          Development/Languages/Python
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
BuildRequires:  python3-PyYAML
BuildRequires:  python3-xml
Requires:       python3-PyYAML
Requires:       python3-numpy
Requires:       python3-tk
Requires:       python3-xml
BuildArch:      noarch

NLTK -- the Natural Language Toolkit -- is a suite of open source
Python modules, data sets and tutorials supporting research and
development in Natural Language Processing.

%setup -q -n nltk-%{version}

python3 build

python3 install --prefix=%{_prefix} --root="%{buildroot}"

# Tests don't work without internet
# %%check
# pushd nltk/test
# python3
# popd

%defattr(-, root, root)
%doc LICENSE.txt

openSUSE Build Service is sponsored by