14
0
forked from pool/python-pyuca

- Update to 1.2 release:

* Unicode 8.0 support
  * Python3 support
- Switch to singlespec
- Install license

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyuca?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2018-08-02 07:42:42 +00:00
committed by Git OBS Bridge
parent 7e2c9adff6
commit 98dac78090
4 changed files with 25 additions and 16 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Aug 2 07:39:26 UTC 2018 - tchvatal@suse.com
- Update to 1.2 release:
* Unicode 8.0 support
* Python3 support
- Switch to singlespec
- Install license
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 16 07:44:36 UTC 2015 - mcihar@suse.cz Thu Jul 16 07:44:36 UTC 2015 - mcihar@suse.cz

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyuca # spec file for package python-pyuca
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,20 @@
# #
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch BuildArch: noarch
%endif
Name: python-pyuca Name: python-pyuca
Version: 1.1 Version: 1.2
Release: 0 Release: 0
Summary: Python implementation of the Unicode Collation Algorithm Summary: Python implementation of the Unicode Collation Algorithm
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://github.com/jtauber/pyuca Url: http://github.com/jtauber/pyuca
Source: https://pypi.python.org/packages/source/p/pyuca/pyuca-%{version}.tar.gz Source: https://pypi.python.org/packages/source/p/pyuca/pyuca-%{version}.tar.gz
BuildRequires: python-devel BuildRequires: %{python_module setuptools}
BuildRequires: python-setuptools BuildRequires: fdupes
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-rpm-macros
%python_subpackages
%description %description
This is a Python implementation of the Unicode Collation Algorithm (UCA). It This is a Python implementation of the Unicode Collation Algorithm (UCA). It
@@ -42,13 +40,15 @@ variable-weighting setting of Non-ignorable.
%setup -q -n pyuca-%{version} %setup -q -n pyuca-%{version}
%build %build
python setup.py build %python_build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %files %{python_files}
%defattr(-,root,root,-) %license LICENSE*
%doc README.md
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b6aeab245647a8014ced8e8ff5bf523bb4f2ecac0816c7192da9f3d5f091ab8
size 525527

3
pyuca-1.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a382fe74627f08c0d18908c0713ca4a20aad5385f077579e56208beea2893b2
size 1398641