diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..e8e85fd --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + python-zope.configuration-doc + diff --git a/pre_checkin.sh b/pre_checkin.sh new file mode 100644 index 0000000..5d0d7dc --- /dev/null +++ b/pre_checkin.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cp python-zope.configuration.changes python-zope.configuration-doc.changes + diff --git a/python-zope.configuration-doc.changes b/python-zope.configuration-doc.changes new file mode 100644 index 0000000..647e428 --- /dev/null +++ b/python-zope.configuration-doc.changes @@ -0,0 +1,33 @@ +------------------------------------------------------------------- +Thu Jul 13 20:54:36 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 domain of MessageID fields to be a native string. + Previously on Python 3 they were bytes, which meant that they + couldn’t be used to find translation utilities registered by + zope.i18n. See issue 17. + +- Split docs and tests into separate -doc package since running + tests and sometimes building docs had become very messy. + Also see (gh#/zopefoundation/zope.proxy#18) + +- Converted to single-spec + +------------------------------------------------------------------- +Fri May 15 11:28:36 UTC 2015 - benoit.monin@gmx.fr + +- update to version 4.0.3: + * Added explicit support for Python 3.4. +- point the source URL to pypi +- add fdupes as BuildRequires and call it after install +- pass -q to the test to avoid spamming the build log +- rename CHANGES.txt to CHANGES.rst: changed upstream +- rename README.txt to README.rst: changed upstream + +------------------------------------------------------------------- +Mon Jul 29 14:32:46 UTC 2013 - hpj@urpla.net + +- version 4.0.2: initial build + diff --git a/python-zope.configuration-doc.spec b/python-zope.configuration-doc.spec new file mode 100644 index 0000000..50fca3c --- /dev/null +++ b/python-zope.configuration-doc.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-zope.configuration-doc +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-zope.configuration-doc +Version: 4.1.0 +Release: 0 +Summary: Documentation for python-zope.configuration +License: ZPL-2.1 +Group: Development/Languages/Python +Url: http://www.python.org/pypi/zope.configuration +Source: https://files.pythonhosted.org/packages/source/z/zope.configuration/zope.configuration-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module zope.configuration = %{version}} +# SECTION documentation requirements +BuildRequires: python3-Sphinx +BuildRequires: python3-repoze.sphinx.autointerface +# /SECTION +# SECTION test requirements +BuildRequires: %{python_module zope.testrunner} +# /SECTION +BuildRequires: python-rpm-macros +Requires: python-zope.i18nmessageid +Requires: python-zope.interface +Requires: python-zope.schema +Provides: %{python_module zope.configuration-doc = %{version}} +BuildArch: noarch + +%description +Contains documentation for python-zope.configuration + +%prep +%setup -q -n zope.configuration-%{version} + +%build +%{_python_use_flavor python3} +%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo + +%install +# nothing to do + +%check +%python_exec %{_bindir}/zope-testrunner --test-path=src -v + +%files +%defattr(-,root,root) +%doc build/sphinx/html/ + +%changelog diff --git a/python-zope.configuration.changes b/python-zope.configuration.changes index e3ef4e5..647e428 100644 --- a/python-zope.configuration.changes +++ b/python-zope.configuration.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu Jul 13 20:54:36 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 domain of MessageID fields to be a native string. + Previously on Python 3 they were bytes, which meant that they + couldn’t be used to find translation utilities registered by + zope.i18n. See issue 17. + +- Split docs and tests into separate -doc package since running + tests and sometimes building docs had become very messy. + Also see (gh#/zopefoundation/zope.proxy#18) + +- Converted to single-spec + ------------------------------------------------------------------- Fri May 15 11:28:36 UTC 2015 - benoit.monin@gmx.fr diff --git a/python-zope.configuration.spec b/python-zope.configuration.spec index 851f2bd..bb924b0 100644 --- a/python-zope.configuration.spec +++ b/python-zope.configuration.spec @@ -1,7 +1,7 @@ # # spec file for package python-zope.configuration # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -17,31 +17,26 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-zope.configuration -Version: 4.0.3 +Version: 4.1.0 Release: 0 -Url: http://www.python.org/pypi/zope.configuration Summary: Zope Configuration Markup Language (ZCML) License: ZPL-2.1 Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/z/zope.configuration/zope.configuration-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url: http://www.python.org/pypi/zope.configuration +Source: https://files.pythonhosted.org/packages/source/z/zope.configuration/zope.configuration-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module zope.i18nmessageid} +BuildRequires: %{python_module zope.interface} +BuildRequires: %{python_module zope.schema} BuildRequires: fdupes -BuildRequires: python-setuptools -BuildRequires: python-zope.i18nmessageid -BuildRequires: python-zope.interface -BuildRequires: python-zope.schema +BuildRequires: python-rpm-macros Requires: python-zope.i18nmessageid Requires: python-zope.interface Requires: python-zope.schema -# Documentation requirements: -BuildRequires: python-Sphinx -BuildRequires: python-repoze.sphinx.autointerface -%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 BuildArch: noarch -%endif +%python_subpackages %description The zope configuration system provides an extensible system for supporting @@ -52,35 +47,20 @@ system provide configuration directives in some language that express configuration choices. The intent is that the language be pluggable. An XML language is provided by default. -%package doc -Summary: Zope Configuration Markup Language (ZCML) -Group: Development/Languages/Python -Requires: %{name} = %{version} - -%description doc -This package contains documentation files for %{name}. - %prep %setup -q -n zope.configuration-%{version} +rm -rf zope.configuration.egg-info %build -python setup.py build -PYTHONPATH=$(pwd)/build/lib python setup.py build_sphinx && rm build/sphinx/html/.buildinfo +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%fdupes %{buildroot}/%{_prefix} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%check -python setup.py -q test - -%files -%defattr(-,root,root,-) +%files %{python_files} +%defattr(-,root,root) %doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst -%python_sitelib/* - -%files doc -%defattr(-,root,root,-) -%doc build/sphinx/html/ +%{python_sitelib}/* %changelog diff --git a/zope.configuration-4.0.3.tar.gz b/zope.configuration-4.0.3.tar.gz deleted file mode 100644 index eb9259c..0000000 --- a/zope.configuration-4.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b6f0f718597945fc6fda7aee72dab9636302fb2035dd222ab5b7fa773d762df5 -size 487610 diff --git a/zope.configuration-4.1.0.tar.gz b/zope.configuration-4.1.0.tar.gz new file mode 100644 index 0000000..152a71a --- /dev/null +++ b/zope.configuration-4.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eebea03062b9d7ddd512a31412bcdf3549aa2dff481503487067dbbd06774050 +size 77780