From c482693ecd11972c9a76a607642cc8847bd6f6ae Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 02 2019 13:01:16 +0000 Subject: import python-sqlalchemy-1.3.2-1.module+el8.1.0+3334+5cb623d7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2daf817 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/SQLAlchemy-1.3.2.tar.gz diff --git a/.python-sqlalchemy.metadata b/.python-sqlalchemy.metadata new file mode 100644 index 0000000..917195c --- /dev/null +++ b/.python-sqlalchemy.metadata @@ -0,0 +1 @@ +277e64612df80a1fe9c05a33f69928f5de18f5fb SOURCES/SQLAlchemy-1.3.2.tar.gz diff --git a/SPECS/python-sqlalchemy.spec b/SPECS/python-sqlalchemy.spec new file mode 100644 index 0000000..0c1a5f6 --- /dev/null +++ b/SPECS/python-sqlalchemy.spec @@ -0,0 +1,590 @@ +%global debug_package %{nil} + +%if 0%{?fedora} || 0%{?rhel} > 7 +%bcond_without python3 +%endif + +# python2X and python3X are built form the same module, so we need a conditional for python2 bits +# the state of the conditional is not important in the spec, it is set in modulemd +%bcond_with python2 + + +%bcond_with python36_module + +%global srcname SQLAlchemy + +Name: python-sqlalchemy +Version: 1.3.2 +Release: 1%{?dist} +Summary: Modular and flexible ORM library for python + +Group: Development/Libraries +License: MIT +URL: http://www.sqlalchemy.org/ +Source0: https://files.pythonhosted.org/packages/source/S/%{srcname}/%{srcname}-%{version}.tar.gz + +BuildRequires: gcc + +%if %{with python2} +BuildRequires: python2-devel >= 2.6 +BuildRequires: python2-setuptools +BuildRequires: python2-mock +BuildRequires: python2-pytest +%endif + +%if %{with python3} +%if %{with python36_module} +BuildRequires: python36-devel +BuildRequires: python36-rpm-macros +%else +BuildRequires: python3-devel +%endif +BuildRequires: python3-setuptools +BuildRequires: python3-pytest +%endif + +%description +SQLAlchemy is an Object Relational Mappper (ORM) that provides a flexible, +high-level interface to SQL databases. Database and domain concepts are +decoupled, allowing both sides maximum flexibility and power. SQLAlchemy +provides a powerful mapping layer that can work as automatically or as manually +as you choose, determining relationships based on foreign keys or letting you +define the join conditions explicitly, to bridge the gap between database and +domain. + +This package includes the python 2 version of the module. + +%package doc +Summary: Documentation for SQLAlchemy +BuildArch: noarch + +%description doc +Documentation for SQLAlchemy + +%if %{with python2} +%package -n python2-sqlalchemy +Summary: Modular and flexible ORM library for python +Group: Development/Libraries +%{?python_provide:%python_provide python2-sqlalchemy} + +%description -n python2-sqlalchemy +SQLAlchemy is an Object Relational Mappper (ORM) that provides a flexible, +high-level interface to SQL databases. Database and domain concepts are +decoupled, allowing both sides maximum flexibility and power. SQLAlchemy +provides a powerful mapping layer that can work as automatically or as manually +as you choose, determining relationships based on foreign keys or letting you +define the join conditions explicitly, to bridge the gap between database and +domain. + +This package includes the python 2 version of the module. +%endif + +%if %{with python3} +%package -n python3-sqlalchemy +Summary: Modular and flexible ORM library for python +Group: Development/Libraries +%{?python_provide:%python_provide python%{python3_pkgversion}-sqlalchemy} + +%description -n python3-sqlalchemy +SQLAlchemy is an Object Relational Mappper (ORM) that provides a flexible, +high-level interface to SQL databases. Database and domain concepts are +decoupled, allowing both sides maximum flexibility and power. SQLAlchemy +provides a powerful mapping layer that can work as automatically or as manually +as you choose, determining relationships based on foreign keys or letting you +define the join conditions explicitly, to bridge the gap between database and +domain. + +This package includes the python 3 version of the module. +%endif # with python3 + +%prep +%setup -n %{srcname}-%{version} + +%build +%{?with_python2:%py2_build} + +%if %{with python3} +%py3_build +%endif + +%install +%{?with_python2:%py2_install} + +%if %{with python3} +%py3_install +%endif + +# remove unnecessary scripts for building documentation +rm -rf doc/build + +%check +%{?with_python2:PYTHONPATH=. %{__python2} -m pytest test} + +%if %{with python3} +PYTHONPATH=. %{__python3} -m pytest test +%endif + + +%files doc +%doc doc examples + +%if %{with python2} +%files -n python2-sqlalchemy +%license LICENSE +%doc README.rst +%{python2_sitearch}/* +%endif + +%if %{with python3} +%files -n python3-sqlalchemy +%license LICENSE +%doc README.rst +%{python3_sitearch}/* +%endif # with python3 + +%changelog +* Fri Apr 05 2019 Charalampos Stratakis - 1.3.2-1 +- Rebase to 1.3.2 to fix CVE-2019-7164 and CVE-2019-7548 +Resolves: rhbz#1695754 + +* Tue Jul 31 2018 Lumír Balhar - 1.2.8-6 +- Switch python3 coditions to bcond + +* Wed Jul 18 2018 Tomas Orsava - 1.2.8-5 +- BuildRequire also python36-rpm-macros as part of the python36 module build + +* Wed Jul 04 2018 Miro Hrončok - 1.2.8-4 +- Add a bcond for python2 +- Remove provides filter, it was only needed 100 years ago + +* Sun Jun 17 2018 Nils Philippsen - 1.2.8-3 +- rename patch, apply with backups +- fix failing test for sqlite 3.24 instead of skipping it + +* Thu Jun 14 2018 Miro Hrončok - 1.2.8-2 +- Rebuilt for Python 3.7 + +* Tue Jun 05 2018 Nils Philippsen - 1.2.8-1 +- version 1.2.8 + +* Mon Apr 30 2018 Tomas Orsava - 1.2.7-2 +- Require the python36-devel package when building for the python36 module + +* Sun Apr 22 2018 Nils Philippsen - 1.2.7-1 +- version 1.2.7 + +* Sat Mar 31 2018 Nils Philippsen - 1.2.6-1 +- version 1.2.6 + +* Mon Mar 19 2018 Nils Philippsen - 1.2.5-1 +- version 1.2.5 + +* Tue Feb 27 2018 Nils Philippsen - 1.2.4-1 +- version 1.2.4 + +* Tue Feb 20 2018 Nils Philippsen - 1.2.3-2 +- require gcc for building + +* Tue Feb 20 2018 Nils Philippsen - 1.2.3-1 +- version 1.2.3 + +* Mon Feb 12 2018 Iryna Shcherbina - 1.2.2-3 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 1.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Jan 30 2018 Nils Philippsen - 1.2.2-1 +- version 1.2.2 + +* Sun Dec 31 2017 Nils Philippsen - 1.2.0-1 +- version 1.2.0 +- fix version-releases in changelog + +* Fri Sep 29 2017 Troy Dawson - 1.1.13-2 +- Cleanup spec file conditionals + +* Sat Aug 05 2017 Nils Philippsen - 1.1.13-1 +- version 1.1.13 + +* Tue Aug 01 2017 Nils Philippsen - 1.1.12-1 +- version 1.1.12 +- remove comments with macros + +* Thu Jul 27 2017 Fedora Release Engineering - 1.1.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 26 2017 Nils Philippsen - 1.1.11-1 +- version 1.1.11 + +* Sat May 27 2017 Nils Philippsen - 1.1.10-1 +- version 1.1.10 + +* Thu Apr 6 2017 hguemar - 1.1.9-1 +- Upstream 1.1.9 (RHBZ#1436464) + +* Wed Mar 15 2017 Nils Philippsen - 1.1.6-1 +- version 1.1.6 + +* Sat Feb 11 2017 Fedora Release Engineering - 1.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 03 2017 Nils Philippsen - 1.1.5-1 +- version 1.1.5 + +* Tue Dec 13 2016 Charalampos Stratakis - 1.1.4-3 +- Enable tests + +* Mon Dec 12 2016 Charalampos Stratakis - 1.1.4-2 +- Rebuild for Python 3.6 +- Disable python3 tests for now + +* Wed Nov 23 2016 Kevin Fenzi - 1.1.4-1 +- Update to 1.1.4. Fixes bug #1395470 + +* Tue Nov 8 2016 Orion Poplawski - 1.1.3-2 +- Ship python2-sqlalchemy +- Move docs into sub-package +- Modernize spec + +* Mon Oct 31 2016 Kevin Fenzi - 1.1.3-1 +- Update to 1.1.3. Fixes bug #1389638 + +* Tue Oct 18 2016 Kevin Fenzi - 1.1.2-1 +- Update to 1.1.2. Fixes bug #1385990 + +* Mon Oct 10 2016 Nils Philippsen - 1.1.1-1 +- version 1.1.1 + +* Thu Oct 06 2016 Kevin Fenzi - 1.1.0-1 +- Update to 1.1.0. Fixes bug #1382203 + +* Thu Aug 18 2016 Nils Philippsen - 1.0.14-1 +- version 1.0.14 + +* Tue May 31 2016 Nils Philippsen - 1.0.14-1 +- fix source URL + +* Tue May 17 2016 Nils Philippsen - 1.0.13-1 +- version 1.0.13 + +* Thu Feb 25 2016 Nils Philippsen - 1.0.12-1 +- version 1.0.12 + +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jan 08 2016 Kevin Fenzi - 1.0.11-1 +- Update to 1.0.11. Fixes bug #1296757 + +* Sat Dec 12 2015 Kevin Fenzi - 1.0.10-1 +- Update to 1.0.10. Fixes bug #1290945 + +* Thu Nov 12 2015 Fedora Release Engineering - 1.0.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Wed Oct 21 2015 Nils Philippsen - 1.0.9-1 +- version 1.0.9, upstream feature and bugfix release + +* Mon Oct 12 2015 Robert Kuska - 1.0.8-2 +- Rebuilt for Python3.5 rebuild + +* Fri Jul 24 2015 Nils Philippsen 1.0.8-1 +- version 1.0.8, upstream bugfix release + +* Tue Jul 21 2015 Fedora Release Monitoring - 1.0.7-1 +- Update to 1.0.7 (#1244991) + +* Mon Jun 29 2015 Nils Philippsen 1.0.6-1 +- version 1.0.6, upstream feature and bugfix release + +* Thu Jun 18 2015 Fedora Release Engineering - 1.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Jun 07 2015 Kevin Fenzi 1.0.4-1 +- Update to 1.0.5. Fixes bug #1229067 + +* Fri May 08 2015 Nils Philippsen 1.0.4-1 +- version 1.0.4, upstream bugfix release + +* Sat May 02 2015 Kevin Fenzi 1.0.3-1 +- Update to 1.0.3. Fixes bug #1217761 + +* Sat Apr 25 2015 Nils Philippsen - 1.0.2-1 +- version 1.0.2, upstream bugfix release + +* Fri Apr 24 2015 Nils Philippsen - 1.0.1-1 +- version 1.0.1, upstream bugfix release + +* Fri Apr 17 2015 Nils Philippsen - 1.0.0-1 +- version 1.0.0, upstream feature release + +* Fri Apr 10 2015 Nils Philippsen - 0.9.9-1 +- version 0.9.9, upstream feature and bugfix release + +* Wed Oct 15 2014 Nils Philippsen - 0.9.8-1 +- version 0.9.8, upstream feature and bugfix release +- avoid using unversioned python macros +- use py.test instead of nose for tests + +* Sun Aug 17 2014 Fedora Release Engineering - 0.9.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Tue Jul 29 2014 Nils Philippsen - 0.9.7-1 +- version 0.9.7, upstream feature and bugfix release + +* Mon Jun 30 2014 Nils Philippsen - 0.9.6-1 +- version 0.9.6, upstream feature and bugfix release + +* Sat Jun 07 2014 Fedora Release Engineering - 0.9.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri May 16 2014 Bohuslav Kabrda - 0.9.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + +* Thu May 15 2014 Nils Philippsen - 0.9.4-1 +- version 0.9.4, upstream feature and bugfix release + +* Thu Feb 20 2014 Nils Philippsen - 0.9.3-1 +- version 0.9.3, upstream feature and bugfix release + +* Wed Feb 05 2014 Nils Philippsen - 0.9.2-1 +- version 0.9.2, upstream feature and bugfix release + +* Tue Jan 07 2014 Nils Philippsen - 0.9.1-1 +- version 0.9.1, upstream feature and bugfix release +- no need to use 2to3 for python 3.x anymore +- build C extension for python 3.x +- require python2-devel >= 2.6 for building + +* Mon Dec 09 2013 Nils Philippsen - 0.8.4-1 +- version 0.8.4, upstream bugfix release + +* Tue Oct 29 2013 Nils Philippsen - 0.8.3-1 +- version 0.8.3, upstream bugfix release + +* Wed Aug 14 2013 Nils Philippsen - 0.8.2-1 +- version 0.8.2, upstream bugfix release +- drop obsolete sqlalchemy-test-bidirectional-order patch +- fix bogus date in changelog + +* Sun Aug 04 2013 Fedora Release Engineering - 0.8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Apr 29 2013 Toshio Kuratomi - 0.8.1-1 +- Upstream bugfix +- Stop calling sa2to3 explicitly on the library. It seems to break mapper.py's + import of collections.deque + +* Fri Apr 12 2013 Toshio Kuratomi - 0.8.0-1 +- Final release of 0.8.0 +- Fix for a unittest that assumes order in dicts + +* Thu Feb 14 2013 Fedora Release Engineering - 0.8.0-0.2.b1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 1 2012 Toshio Kuratomi - 0.8.0-0.1.b1 +- Update to 0.8.0 beta + +* Mon Aug 13 2012 Toshio Kuratomi - 0.7.8-4.20120813hg8535 +- Update to a snapshot to fix unittest errors with python-3.3 + +* Fri Aug 3 2012 David Malcolm - 0.7.8-3 +- remove rhel logic from with_python3 conditional + +* Sat Jul 21 2012 Fedora Release Engineering - 0.7.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 18 2012 Nils Philippsen - 0.7.8-1 +- Upstream bugfix release + +* Tue May 15 2012 Nils Philippsen - 0.7.7-1 +- Upstream bugfix release + +* Tue Mar 20 2012 Nils Philippsen - 0.7.6-1 +- Upstream bugfix release + +* Mon Jan 30 2012 Nils Philippsen - 0.7.5-1 +- Upstream bugfix release +- package README.rst instead of README as documentation + +* Tue Jan 10 2012 Nils Philippsen - 0.7.3-2 +- rebuild for gcc 4.7 + +* Mon Oct 17 2011 Toshio Kuratomi - 0.7.3-1 +- Upstream bugfix release + +* Mon Aug 1 2011 Toshio Kuratomi - 0.7.2-1 +- Upstream bugfix release + +* Mon Jun 06 2011 Nils Philippsen - 0.7.1-1 +- 0.7.1 Upstream release +- no need to fix examples/dynamic_dict/dynamic_dict.py anymore +- use sqla_nose.py to fix %%check + +* Wed Feb 09 2011 Fedora Release Engineering - 0.6.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jan 17 2011 Toshio Kuratomi - 0.6.6-1 +- 0.6.6 Upstream release + +* Fri Dec 3 2010 Toshio Kuratomi - 0.6.5-1 +- 0.6.5 Upstream release + +* Wed Sep 29 2010 Toshio Kuratomi - 0.6.4-2 +- Filter out the C extensions from provides + +* Tue Sep 07 2010 Luke Macken - 0.6.4-1 +- 0.6.4 upstream release + +* Mon Aug 23 2010 Toshio Kuratomi - 0.6.3-1 +- 0.6.3 upstream release + +* Thu Jul 22 2010 David Malcolm +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Thu Jun 24 2010 Nils Philippsen - 0.6.1-1 +- 0.6.1 upstream release + +* Tue Apr 13 2010 Toshio Kuratomi - 0.6-0.4.beta3 +- Build beta3 + +* Fri Mar 19 2010 Toshio Kuratomi - 0.6-0.3.beta2 +- Build beta2 with cextension + +* Sun Mar 7 2010 Toshio Kuratomi - 0.6-0.2.beta1 +- Build python3 package + +* Tue Mar 2 2010 Toshio Kuratomi - 0.6-0.1.beta1 +- 0.6 beta1 upstream release + +* Tue Feb 2 2010 Toshio Kuratomi - 0.5.8-3 +- One last cleanup + +* Tue Feb 2 2010 Toshio Kuratomi - 0.5.8-2 +- just some cleanups to older styles of building packages. + +* Mon Feb 1 2010 Toshio Kuratomi - 0.5.8-1 +- Upstream bugfix release 0.5.8 + +* Fri Aug 14 2009 Toshio Kuratomi - 0.5.5-2 +- Upstream bugfix release 0.5.5 + +* Sun Jul 26 2009 Fedora Release Engineering - 0.5.4-2.p2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Fri Jun 12 2009 Toshio Kuratomi - 0.5.4-1.p2 +- Upstream bugfix release 0.5.4p2. + +* Thu Apr 16 2009 Toshio Kuratomi - 0.5.3-1 +- Upstream bugfix release. + +* Thu Feb 26 2009 Fedora Release Engineering - 0.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 11 2009 Toshio Kuratomi - 0.5.2-1 +- Update to 0.5.2 + +* Wed Jan 21 2009 Toshio Kuratomi - 0.5.1-1 +- Update to 0.5.1. + +* Mon Dec 1 2008 Toshio Kuratomi - 0.5-0.1.rc4 +- Update to 0.5.0rc4 which works with the new pysqlite +- And update test cases to work with the new pysqlite + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.4.7-2 +- Rebuild for Python 2.6 + +* Sun Jul 27 2008 Toshio Kuratomi 0.4.7-1 +- Update to 0.4.7. + +* Sun Jun 1 2008 Toshio Kuratomi 0.4.6-1 +- Update to 0.4.6. + +* Tue Apr 8 2008 Toshio Kuratomi 0.4.5-1 +- Update to 0.4.5. + +* Fri Feb 22 2008 Toshio Kuratomi 0.4.3-1 +- Update to 0.4.3. + +* Tue Dec 11 2007 Toshio Kuratomi 0.4.2-1.p3 +- Update to 0.4.2p3. + +* Tue Dec 11 2007 Toshio Kuratomi 0.4.1-1 +- Update to 0.4.1. + +* Wed Oct 17 2007 Toshio Kuratomi 0.4.0-1 +- SQLAlchemy-0.4.0 final +- Run the testsuite + +* Wed Oct 3 2007 Luke Macken 0.4.0-0.4.beta6 +- SQLAlchemy-0.4.0beta6 + +* Tue Sep 11 2007 Toshio Kuratomi - 0.4.0-0.4.beta5 +- Update to 0.4beta5. + +* Fri Sep 07 2007 Toshio Kuratomi - 0.4.0-0.4.beta4 +- setuptools has been fixed. + +* Fri Aug 31 2007 Toshio Kuratomi - 0.4.0-0.3.beta4 +- setuptools seems to be broken WRT having an active and inactive version + of an egg. Have to make both versions inactive and manually setup a copy + that can be started via import. (Necessary for the sqlalchemy0.3 compat + package.) + +* Tue Aug 28 2007 Toshio Kuratomi - 0.4.0-0.2.beta4 +- Modify setuptools to handle the -devel subpackage split in F-8. + +* Mon Aug 27 2007 Toshio Kuratomi - 0.4.0-0.1.beta4 +- Update to 0.4 beta4. + +* Tue Jul 24 2007 Toshio Kuratomi - 0.3.10-2 +- Remove python-abi Requires. This is automatic since FC4+. + +* Tue Jul 24 2007 Toshio Kuratomi - 0.3.10-1 +- Update to new upstream version 0.3.10 + +* Fri Mar 23 2007 Toshio Kuratomi - 0.3.6-1 +- Update to new upstream version 0.3.6 + +* Sat Mar 10 2007 Toshio Kuratomi - 0.3.5-1 +- Update to new upstream version 0.3.5 +- Simplify the files listing + +* Tue Jan 23 2007 Toshio Kuratomi - 0.3.4-2 +- Remember to upload the source tarball to the lookaside cache. + +* Tue Jan 23 2007 Toshio Kuratomi - 0.3.4-1 +- Update to new upstream version 0.3.4 + +* Mon Jan 01 2007 Toshio Kuratomi - 0.3.3-1 +- Update to new upstream version 0.3.3 + +* Sat Dec 09 2006 Toshio Kuratomi - 0.3.1-2 +- Bump and rebuild for python 2.5 on devel. +- BuildRequire: python-devel as a header is missing otherwise. + +* Fri Nov 24 2006 Toshio Kuratomi - 0.3.1-1 +- Update to new upstream version 0.3.1 + +* Sat Sep 16 2006 Shahms E. King 0.2.7-2 +- Rebuild for FC6 + +* Thu Aug 17 2006 Shahms E. King 0.2.7-1 +- Update to new upstream version + +* Fri Aug 11 2006 Shahms E. King 0.2.6-2 +- Include, don't ghost .pyo files per new guidelines + +* Tue Aug 08 2006 Shahms E. King 0.2.6-1 +- Update to new upstream version + +* Fri Jul 07 2006 Shahms E. King 0.2.4-1 +- Update to new upstream version + +* Mon Jun 26 2006 Shahms E. King 0.2.3-1 +- Update to new upstream version + +* Wed May 31 2006 Shahms E. King 0.2.1-1 +- Update to new upstream version