Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:weatherhead99
python-normality
python-normality.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-normality.spec of Package python-normality
# # spec file for package python-normality # # Copyright (c) 2017 SUSE LINUX 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 http://bugs.opensuse.org/ Name: python-normality Version: 0.3.9 Release: 0 License: MIT Summary: Micro-library to normalize text strings Url: http://github.com/pudo/normality Group: Development/Languages/Python Source: https://pypi.python.org/packages/55/c6/7b50bb511c18e6565cd590e76e18f344c36e0bf3a590474c9086181db050/normality-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: python-chardet BuildRequires: python-six BuildRequires: python-nose Requires: python-chardet Requires: python-six BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Normality is a Python micro-package that contains a small set of text normalization functions for easier re-use. These functions accept a snippet of unicode or utf-8 encoded text and remove various classes of characters, such as diacritics, punctuation etc. This is useful as a preparation to further text analysis. %prep %setup -q -n normality-%{version} %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check #NOTE: tests only work using nose python setup.py nosetests %files %defattr(-,root,root,-) %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor