commit 9e48815dcf4169f94705dfb09ce1f0cd009d7fa6e3903920cfd2de70ec0d5a20 Author: Adrian Schröter Date: Fri May 3 23:39:34 2024 +0200 Sync from SUSE:SLFO:Main python-zope.i18nmessageid revision 407e65ac56d7adcb3b441f19af338b4b diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..fcc7b97 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + test + diff --git a/python-zope.i18nmessageid.changes b/python-zope.i18nmessageid.changes new file mode 100644 index 0000000..38cdd61 --- /dev/null +++ b/python-zope.i18nmessageid.changes @@ -0,0 +1,116 @@ +------------------------------------------------------------------- +Fri May 5 14:24:11 UTC 2023 - Dirk Müller + +- update to 6.0.1: + * Drop dependency on ``six``. + * Drop support for Python 2.7, 3.5, 3.6. + * Add preliminary support for Python 3.12a5. + +------------------------------------------------------------------- +Wed May 3 11:26:33 UTC 2023 - Martin Liška + +- Use sphinx-build and do not depend on removed build_sphinx + in Sphinx 7.0 (boo#1211051). + +------------------------------------------------------------------- +Wed Feb 1 13:11:47 UTC 2023 - Ben Greiner + +- Explicitly require python3-Sphinx for building the docs. It could + have been omitted from %pythons for %python_module in a 15.X + backport project. + +------------------------------------------------------------------- +Mon Dec 5 13:49:15 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 5.1.1 + * Add support for building arm64 wheels on macOS. + +------------------------------------------------------------------- +Tue Nov 8 07:10:23 UTC 2022 - Matej Cepl + +- Clean up SPEC file, make rpmlint happy. +- -doc subpackage should be noarch. + +------------------------------------------------------------------- +Sun Nov 6 17:57:02 UTC 2022 - Hans-Peter Jansen + +- update to version 5.1.0 + * Added support for Python 3.9, 3.10 and 3.11. + +------------------------------------------------------------------- +Wed Oct 13 09:10:40 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro +- added sources + + _multibuild + +------------------------------------------------------------------- +Wed Apr 8 12:16:02 UTC 2020 - Tomáš Chvátal + +- Do not pull in python2 pkg in doc subpkg + +------------------------------------------------------------------- +Mon Mar 16 14:13:10 UTC 2020 - pgajdos@suse.com + +- version update to 5.0.1 + - Remove deprecated use of setuptools features. See `issue 22 + `_. + +------------------------------------------------------------------- +Tue Jan 21 11:12:38 UTC 2020 - Marketa Calabkova + +- update to version 5.0.0 + * Drop support for Python 3.4. + * Add support for Python 3.8. + +------------------------------------------------------------------- +Mon Oct 14 14:50:49 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + +------------------------------------------------------------------- +Fri Apr 5 10:09:51 UTC 2019 - Marketa Calabkova + +- update to version 4.3.1 + * Drop support for Python 3.3. + * Add support for Python 3.7. + * Fix the possibility of a rare crash in the C extension when + deallocating items. + * Add attributes to support pluralization on a Message and update + the MessageFactory accordingly. + * Fix a regression copying Message objects in the Python + implementation. + +------------------------------------------------------------------- +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 + +- update to version 4.0.3: + * Added support for Python 3.4. + * Updated boostrap.py to version 2.2. +- rename CHANGES.txt to CHANGES.rst: changed upstream +- rename README.txt to README.rst: changed upstream + +------------------------------------------------------------------- +Fri Dec 27 13:34:07 UTC 2013 - p.drouand@gmail.com + +- Package CHANGES.txt, COPYRIGHT.txt, LICENSE.txt and README.txt +- Use download Url as source + +------------------------------------------------------------------- +Mon Jul 29 09:59:47 UTC 2013 - hpj@urpla.net + +- version 4.0.2: initial build + diff --git a/python-zope.i18nmessageid.spec b/python-zope.i18nmessageid.spec new file mode 100644 index 0000000..2d5d5a4 --- /dev/null +++ b/python-zope.i18nmessageid.spec @@ -0,0 +1,100 @@ +# +# spec file +# +# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2013-2022 LISA GmbH, Bingen, 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 https://bugs.opensuse.org/ +# + + +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif +%{?sle15_python_module_pythons} +Name: python-zope.i18nmessageid%{psuffix} +Version: 6.0.1 +Release: 0 +Summary: Zope Location +License: ZPL-2.1 +URL: https://github.com/zopefoundation/zope.i18nmessageid +Source: https://files.pythonhosted.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION documentation requirements +BuildRequires: python3-Sphinx +# /SECTION +# SECTION testing requirements +%if %{with test} +BuildRequires: %{python_module zope.i18nmessageid} +%endif +%python_subpackages + +%description +In Zope3, i18nmessageid are special objects that has a structural i18nmessageid. + +%package -n %{name}-doc +Summary: Zope Location +Provides: %{python_module zope.i18nmessageid-doc = %{version}} +BuildArch: noarch + +%description -n %{name}-doc +This package contains documentation files for %{name}. + +%prep +%setup -q -n zope.i18nmessageid-%{version} +rm -rf zope.i18nmessageid.egg-info + +%build +%if !%{with test} +%python_build +sphinx-build -b html docs build/sphinx/html && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv +%endif + +%install +%if !%{with test} +%python_install +# don't bother with development files +%{python_expand rm -f %{buildroot}%{$python_sitearch}/zope/i18nmessageid/_zope_i18nmessageid_message.c + %fdupes %{buildroot}%{$python_sitearch} +} +%endif + +%check +%if %{with test} +%pyunittest 'zope.i18nmessageid.tests.test_suite' +%endif + +%if !%{with test} +%files %{python_files} +%license LICENSE.txt +%doc CHANGES.rst COPYRIGHT.txt README.rst +%dir %{python_sitearch}/zope +%{python_sitearch}/zope/i18nmessageid +%{python_sitearch}/zope.i18nmessageid-%{version}*-info +%{python_sitearch}/zope.i18nmessageid-%{version}*-nspkg.pth +%endif + +%if !%{with test} +%files -n %{name}-doc +%doc build/sphinx/html/ +%endif + +%changelog diff --git a/zope.i18nmessageid-6.0.1.tar.gz b/zope.i18nmessageid-6.0.1.tar.gz new file mode 100644 index 0000000..e892623 --- /dev/null +++ b/zope.i18nmessageid-6.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d5bce6fb31f1cea0efa2644649bc867d2972303f1dbbd9ffefce5b2eb9e0176 +size 27797