define extras subpackages
Signed-off-by: Nils Philippsen <nils@tiptoe.de>
This commit is contained in:
parent
e90a627871
commit
0ca6ff1ab3
|
@ -3,6 +3,18 @@
|
||||||
|
|
||||||
%global srcname SQLAlchemy
|
%global srcname SQLAlchemy
|
||||||
|
|
||||||
|
%global python_pkg_extras \
|
||||||
|
asyncio \
|
||||||
|
mssql_pymssql \
|
||||||
|
mssql_pyodbc \
|
||||||
|
mysql \
|
||||||
|
postgresql \
|
||||||
|
postgresql_pg8000 \
|
||||||
|
postgresql_asyncpg \
|
||||||
|
pymysql \
|
||||||
|
aiomysql \
|
||||||
|
aiosqlite
|
||||||
|
|
||||||
Name: python-sqlalchemy
|
Name: python-sqlalchemy
|
||||||
Version: 1.4.14
|
Version: 1.4.14
|
||||||
# cope with pre-release versions containing tildes
|
# cope with pre-release versions containing tildes
|
||||||
|
@ -58,6 +70,9 @@ domain.
|
||||||
|
|
||||||
This package includes the python 3 version of the module.
|
This package includes the python 3 version of the module.
|
||||||
|
|
||||||
|
# Subpackages to ensure dependencies enabling extra functionality
|
||||||
|
%{?python_extras_subpkg:%python_extras_subpkg -n python3-sqlalchemy -i %{python3_sitelib}/*.egg-info %python_pkg_extras}
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{srcname}-%{srcversion}
|
%setup -q -n %{srcname}-%{srcversion}
|
||||||
|
@ -94,6 +109,7 @@ PYTHONPATH=. %{__python3} -m pytest test \
|
||||||
* Mon May 10 2021 Nils Philippsen <nils@tiptoe.de> - 1.4.14-1
|
* Mon May 10 2021 Nils Philippsen <nils@tiptoe.de> - 1.4.14-1
|
||||||
- version 1.4.14
|
- version 1.4.14
|
||||||
- drop Python 2.x support
|
- drop Python 2.x support
|
||||||
|
- define extras subpackages
|
||||||
|
|
||||||
* Fri Apr 30 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.3.22-3
|
* Fri Apr 30 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.3.22-3
|
||||||
- Disabled failing test test_pyodbc_extra_connect_azure
|
- Disabled failing test test_pyodbc_extra_connect_azure
|
||||||
|
|
Loading…
Reference in New Issue