python-SQLAlchemy/python-SQLAlchemy.spec

102 lines
3.6 KiB
RPMSpec

Name: python-SQLAlchemy
Version: 1.4.26
Release: 1mamba
Summary: Python SQL toolkit and Object Relational Mapper
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.sqlalchemy.org/
Source: https://pypi.debian.net/SQLAlchemy/SQLAlchemy-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: (python3.7dist(greenlet) < 0.4.17 or python3.7dist(greenlet) > 0.4.17)
BuildRequires: glibc-devel
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(importlib-metadata)
## AUTOBUILDREQ-END
Provides: SQLAlchemy
Obsoletes: SQLAlchemy <= 0.8.1-2mamba
%description
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
It provides a full suite of well known enterprise-level persistence patterns, designed for efficient and high-performing database access, adapted into a simple and Pythonic domain language.
%if "%{?with_pyver}"
%pyver_package
%endif
%prep
%setup -q -n SQLAlchemy-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--single-version-externally-managed \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/SQLAlchemy-%{version}-py*.egg-info
%{python_sitearch}/SQLAlchemy-%{version}-py*.egg-info/*
%doc LICENSE
%changelog
* Wed Oct 20 2021 Automatic Build System <autodist@mambasoft.it> 1.4.26-1mamba
- automatic version update by autodist
* Thu Sep 23 2021 Automatic Build System <autodist@mambasoft.it> 1.4.25-1mamba
- automatic version update by autodist
* Thu Sep 23 2021 Automatic Build System <autodist@mambasoft.it> 1.4.24-1mamba
- automatic version update by autodist
* Fri Aug 20 2021 Automatic Build System <autodist@mambasoft.it> 1.4.23-1mamba
- automatic version update by autodist
* Thu Jul 22 2021 Automatic Build System <autodist@mambasoft.it> 1.4.22-1mamba
- automatic version update by autodist
* Thu Jul 15 2021 Automatic Build System <autodist@mambasoft.it> 1.4.21-1mamba
- automatic version update by autodist
* Tue Jun 29 2021 Automatic Build System <autodist@mambasoft.it> 1.4.20-1mamba
- automatic version update by autodist
* Thu Jun 24 2021 Automatic Build System <autodist@mambasoft.it> 1.4.19-1mamba
- automatic version update by autodist
* Tue Jun 22 2021 Automatic Build System <autodist@mambasoft.it> 1.4.18-1mamba
- automatic version update by autodist
* Wed May 12 2021 Automatic Build System <autodist@mambasoft.it> 1.4.15-1mamba
- automatic version update by autodist
* Mon May 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.14-1mamba
- update to 1.4.14
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-2mamba
- python 2.7 mass rebuild
* Wed May 01 2013 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic version update by autodist
* Wed Mar 27 2013 Automatic Build System <autodist@mambasoft.it> 0.8.0-1mamba
- automatic version update by autodist
* Tue Dec 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.9-2mamba
- rename using python naming convention
- summary and build requirements fixed
* Tue Oct 30 2012 openmamba WebBuild System <webbuild@openmamba.org> 0.7.9-1mamba
- package created by autospec