5d9cc5d
%global modname zope.schema
5d9cc5d
5d9cc5d
Summary: Zope 3 schemas
5d9cc5d
Name: python-zope-schema
c5d7fdd
Version: 7.0.1
1f37686
Release: 1%{?dist}
5d9cc5d
License: ZPLv2.1
5d9cc5d
BuildArch: noarch
5d9cc5d
URL: http://pypi.python.org/pypi/zope.schema
94efbe5
Source0: %{pypi_source %{modname}}
5d9cc5d
94efbe5
BuildRequires: python3-devel
94efbe5
BuildRequires: python3-setuptools
2a7bbf9
1e9ff79
%description
1e9ff79
This package is a zope.interface extension for defining data schemas.
1e9ff79
2a7bbf9
%package -n python3-zope-schema
2a7bbf9
Summary:        Zope 3 schemas
1e9ff79
%{?python_provide:%python_provide python3-zope-schema}
1e9ff79
2a7bbf9
%description -n python3-zope-schema
2a7bbf9
This package is a zope.interface extension for defining data schemas.
2a7bbf9
5d9cc5d
%prep
5d9cc5d
%setup -q -n %{modname}-%{version}
2a7bbf9
94efbe5
%generate_buildrequires
94efbe5
%pyproject_buildrequires -t
5d9cc5d
5d9cc5d
%build
94efbe5
%pyproject_wheel
2a7bbf9
531ceef
# build Sphinx documents
94efbe5
PYTHONPATH="src" sphinx-build-%{python3_version} -b html docs/ build/sphinx/html
fb60488
cp -pr build/sphinx/html .
531ceef
rm -fr html/{.buildinfo,.doctrees}
5d9cc5d
5d9cc5d
%install
94efbe5
%pyproject_install
5d9cc5d
5d9cc5d
%check
b1de280
PYTHONPATH=%{buildroot}%{python3_sitelib} zope-testrunner --test-path=src
5d9cc5d
2a7bbf9
%files -n python3-zope-schema
1e9ff79
%doc CHANGES.rst COPYRIGHT.txt README.rst
2a7bbf9
%doc html/
1e9ff79
%license LICENSE.txt
2a7bbf9
%{python3_sitelib}/zope/schema/
2a7bbf9
%exclude %{python3_sitelib}/zope/schema/tests/
94efbe5
%{python3_sitelib}/%{modname}-*.dist-info
2a7bbf9
%{python3_sitelib}/%{modname}-*-nspkg.pth
2a7bbf9
5d9cc5d
5d9cc5d
%changelog
c5d7fdd
* Tue Jan 03 2023 Lumír Balhar <lbalhar@redhat.com> - 7.0.1-1
c5d7fdd
- Update to 7.0.1 (rhbz#2157742)
c5d7fdd
94efbe5
* Mon Jan 02 2023 Lumír Balhar <lbalhar@redhat.com> - 7.0.0-1
94efbe5
- Update to 7.0.0 (rhbz#2157265)
94efbe5
1f37686
* Thu Sep 15 2022 Lumír Balhar <lbalhar@redhat.com> - 6.2.1-1
1f37686
- Update to 6.2.1
1f37686
Resolves: rhbz#2127023
1f37686
256ed2b
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-4
256ed2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
256ed2b
257ee9a
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 6.2.0-3
257ee9a
- Rebuilt for Python 3.11
257ee9a
787430a
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-2
787430a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
787430a
9e7ca0b
* Mon Oct 18 2021 Lumír Balhar <lbalhar@redhat.com> - 6.2.0-1
9e7ca0b
- Update to 6.2.0
9e7ca0b
Resolves: rhbz#2014998
9e7ca0b
c851899
* Thu Oct 14 2021 Lumír Balhar <lbalhar@redhat.com> - 6.1.1-1
c851899
- Update to 6.1.1
c851899
Resolves: rhbz#2013600
c851899
b1de280
* Sun Jul 25 2021 Neal Gompa <ngompa@fedoraproject.org> - 6.1.0-1
b1de280
- Rebase to 6.1.0 (#1469326)
b1de280
20260d4
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-22
20260d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
20260d4
895f030
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 4.4.2-21
895f030
- Rebuilt for Python 3.10
895f030
fe9060d
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-20
fe9060d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
fe9060d
0bf3dab
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-19
0bf3dab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0bf3dab
39c0504
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 4.4.2-18
39c0504
- Rebuilt for Python 3.9
39c0504
6bd9b40
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-17
6bd9b40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6bd9b40
2572fa8
* Sun Sep 08 2019 Miro Hrončok <mhroncok@redhat.com> - 4.4.2-16
2572fa8
- Subpackage python2-zope-schema has been removed
2572fa8
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
2572fa8
491f1ac
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 4.4.2-15
491f1ac
- Rebuilt for Python 3.8
491f1ac
29190a3
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-14
29190a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
29190a3
3ba55b2
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-13
3ba55b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3ba55b2
517ec20
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-12
517ec20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
517ec20
b5429e2
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 4.4.2-11
b5429e2
- Rebuilt for Python 3.7
b5429e2
bbfbf09
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 4.4.2-10
bbfbf09
- Update Python 2 dependency declarations to new packaging standards
bbfbf09
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
bbfbf09
f804fac
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-9
f804fac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f804fac
ec4959f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-8
ec4959f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ec4959f
537b0dc
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-7
537b0dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
537b0dc
fb60488
* Thu Dec 22 2016 Adam Williamson <awilliam@redhat.com> - 4.4.2-6
fb60488
- Fix Sphinx doc generation
fb60488
- Fix (in a stupid way, but it works) test running on recent Python 3
fb60488
fb60488
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com>
64ad670
- Rebuild for Python 3.6
64ad670
1fbacf9
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.2-5
1fbacf9
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
1fbacf9
1e9ff79
* Tue Jun 28 2016 Ralph Bean <rbean@redhat.com> - 4.4.2-5
1e9ff79
- Modernize python macros.
1e9ff79
- Add an explicit python2 subpackage.
1e9ff79
22384ec
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-4
22384ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
22384ec
c804a6b
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.2-3
c804a6b
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
c804a6b
6b22a49
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.2-2
6b22a49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6b22a49
587286e
* Thu May 14 2015 Ralph Bean <rbean@redhat.com> - 4.4.2-1
587286e
- new version
587286e
818804d
* Wed Aug 20 2014 Ralph Bean <rbean@redhat.com> - 4.4.1-1
818804d
- Latest upstream.
818804d
- Modernized python macros.
818804d
2623cac
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-3
2623cac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2623cac
d04c73b
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 4.4.0-2
d04c73b
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
d04c73b
68a1ee0
* Tue Jan 28 2014 Ralph Bean <rbean@redhat.com> - 4.4.0-1
68a1ee0
- Latest upstream.
68a1ee0
8317b77
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.2-2
8317b77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8317b77
fc42cfc
* Mon Feb 25 2013 Ralph Bean <rbean@redhat.com> - 4.3.2-1
fc42cfc
- Latest upstream.
fc42cfc
- README and CHANGES renamed from .txt to .rst.
fc42cfc
2a7bbf9
* Wed Feb 13 2013 Ralph Bean <rbean@redhat.com> - 4.2.2-1
2a7bbf9
- Latest upstream.
2a7bbf9
- Added Python3 subpackage.
2a7bbf9
- Removed dos2unix references.  No longer needed.
2a7bbf9
7645f56
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-3
7645f56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7645f56
f222c21
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-2
f222c21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f222c21
b097f0a
* Mon Sep 26 2011 Robin Lee <cheeselee@fedoraproject.org> - 3.8.1-1
b097f0a
- Update to 3.8.1 (#741003)
b097f0a
- Fix ends of lines
b097f0a
af58471
* Thu Mar 31 2011 Robin Lee <cheeselee@fedoraproject.org> - 3.8.0-1
af58471
- Update to 3.8.0 (#689215)
af58471
9ab2f10
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.1-2
9ab2f10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9ab2f10
531ceef
* Mon Jan  3 2011 Robin Lee <cheeselee@fedoraproject.org> - 3.7.1-1
531ceef
- Update to 3.7.1
531ceef
- Build Sphinx documents
531ceef
5d9cc5d
* Thu Sep 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.7.0-1
5d9cc5d
- Update to 3.7.0
5d9cc5d
- Move the documents to proper place
5d9cc5d
- Exclude the tests
5d9cc5d
5d9cc5d
* Sat Sep 11 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.4-2
5d9cc5d
- Spec cleaned up
5d9cc5d
- Requires: python-zope-filesystem and python-setuptools removed
5d9cc5d
- Add %%check section and run tests
5d9cc5d
- BR: python-zope-testing and runtime requirements added
5d9cc5d
- Don't move the text files
5d9cc5d
5d9cc5d
* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.4-1
5d9cc5d
- Initial packaging