forked from pool/python-pyuca
Accepting request 627016 from devel:languages:python
- Update to 1.2 release: * Unicode 8.0 support * Python3 support - Switch to singlespec - Install license OBS-URL: https://build.opensuse.org/request/show/627016 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyuca?expand=0&rev=2
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,22 +16,20 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
Name: python-pyuca
|
||||
Version: 1.1
|
||||
Version: 1.2
|
||||
Release: 0
|
||||
Summary: Python implementation of the Unicode Collation Algorithm
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/jtauber/pyuca
|
||||
Source: https://pypi.python.org/packages/source/p/pyuca/pyuca-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
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}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%files %{python_files}
|
||||
%license LICENSE*
|
||||
%doc README.md
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
@@ -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
3
pyuca-1.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8a382fe74627f08c0d18908c0713ca4a20aad5385f077579e56208beea2893b2
|
||||
size 1398641
|
Reference in New Issue
Block a user