Accepting request 508895 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/508895 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.i18nmessageid?expand=0&rev=6
This commit is contained in:
parent
22a9a3cb6a
commit
398890a70c
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 8 07:15:18 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Update to version 4.1.0
|
||||||
|
* Drop support for Python 2.6 and 3.2.
|
||||||
|
* Add support for Python 3.5 and 3.6.
|
||||||
|
* Fix the C extension not being used in Python 3. See issue 4.
|
||||||
|
* Make the Python implementation of Message accept any object
|
||||||
|
for the default argument, just as the C extension does.
|
||||||
|
This should be a unicode or byte string. See issue 5.
|
||||||
|
|
||||||
|
- Converted to single-spec
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 15 12:07:37 UTC 2015 - benoit.monin@gmx.fr
|
Fri May 15 12:07:37 UTC 2015 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-zope.i18nmessageid
|
# spec file for package python-zope.i18nmessageid
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
|
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -17,57 +17,61 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-zope.i18nmessageid
|
Name: python-zope.i18nmessageid
|
||||||
Version: 4.0.3
|
Version: 4.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://www.python.org/pypi/zope.i18nmessageid
|
|
||||||
Summary: Zope Location
|
Summary: Zope Location
|
||||||
License: ZPL-2.1
|
License: ZPL-2.1
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: https://pypi.python.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-%{version}.tar.gz
|
Url: http://www.python.org/pypi/zope.i18nmessageid
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Source: https://files.pythonhosted.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools}
|
||||||
# Documentation requirements:
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: python-rpm-macros
|
||||||
|
# SECTION documentation requirements
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
BuildRequires: %{python_module Sphinx}
|
||||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
# /SECTION
|
||||||
%endif
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
In Zope3, i18nmessageid are special objects that has a structural i18nmessageid.
|
In Zope3, i18nmessageid are special objects that has a structural i18nmessageid.
|
||||||
|
|
||||||
%package doc
|
%package -n %{name}-doc
|
||||||
Summary: Zope Location
|
Summary: Zope Location
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
|
Provides: %{python_module zope.i18nmessageid-doc = %{version}}
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description doc
|
%description -n %{name}-doc
|
||||||
This package contains documentation files for %{name}.
|
This package contains documentation files for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n zope.i18nmessageid-%{version}
|
%setup -q -n zope.i18nmessageid-%{version}
|
||||||
|
rm -rf zope.i18nmessageid.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
PYTHONPATH=$(echo $(pwd)/build/lib.*) python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
# don't bother with development files
|
# don't bother with development files
|
||||||
rm -f %{buildroot}%python_sitearch/zope/i18nmessageid/_zope_i18nmessageid_message.c
|
%{python_expand rm -f %{buildroot}%{$python_sitearch}/zope/i18nmessageid/_zope_i18nmessageid_message.c
|
||||||
|
%fdupes -s %{buildroot}%{$python_sitearch}
|
||||||
|
}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
python setup.py test
|
%python_exec setup.py test
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root)
|
||||||
%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
|
%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
|
||||||
%python_sitearch/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%files doc
|
%files -n %{name}-doc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root)
|
||||||
%doc build/sphinx/html/
|
%doc build/sphinx/html/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b4feca4eda7361d8451fac473dbf1a6006e1bb049278296b4365d209e0f554e7
|
|
||||||
size 409921
|
|
3
zope.i18nmessageid-4.1.0.tar.gz
Normal file
3
zope.i18nmessageid-4.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f72c00d53407626209b878333a24710e9afa69ae235233333581cc4f3cf1356e
|
||||||
|
size 24166
|
Loading…
Reference in New Issue
Block a user