Hello community,

here is the log from the commit of package python-aws-xray-sdk for 
openSUSE:Factory checked in at 2019-02-26 22:21:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aws-xray-sdk (Old)
 and      /work/SRC/openSUSE:Factory/.python-aws-xray-sdk.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-aws-xray-sdk"

Tue Feb 26 22:21:31 2019 rev:3 rq:679230 version:2.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aws-xray-sdk/python-aws-xray-sdk.changes  
2018-11-20 22:45:07.986221649 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-aws-xray-sdk.new.28833/python-aws-xray-sdk.changes
       2019-02-26 22:23:00.710053153 +0100
@@ -1,0 +2,12 @@
+Thu Jan  3 21:56:07 UTC 2019 - Todd R <[email protected]>
+
+- Fix handling of python3-only packages.
+
+-------------------------------------------------------------------
+Thu Nov 29 16:40:01 UTC 2018 - Todd R <[email protected]>
+
+- Split backends into their own packages, with proper dependency
+  handling.
+- Add missing jsonpickle dependency.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-aws-xray-sdk.spec ++++++
--- /var/tmp/diff_new_pack.QtvTu7/_old  2019-02-26 22:23:02.206052622 +0100
+++ /var/tmp/diff_new_pack.QtvTu7/_new  2019-02-26 22:23:02.210052621 +0100
@@ -29,7 +29,7 @@
 BuildRequires:  fdupes
 Requires:       python-botocore >= 1.11.3
 Requires:       python-future
-Requires:       python-requests
+Requires:       python-jsonpickle
 Requires:       python-wrapt
 %ifpython2
 Requires:       python-enum34
@@ -42,6 +42,150 @@
 The AWS X-Ray SDK for Python (the SDK) enables Python developers to record and
 emit information from within their applications to the AWS X-Ray service.
 
+It works through any one of various frameworks, provided by backends. The
+following backends are included in the main package:
+
+  * botocore
+  * httplib
+  * sqlite3
+  
+Additional backends can be installed by installing %{name}-backend
+packages.  The %{name}-all package installs all backends.
+
+%package        all
+Summary:        The AWS X-Ray SDK for Python - all backends
+Requires:       %{name} = %{version}
+Recommends:     %{name}-Django = %{version}
+Recommends:     %{name}-Flask-SQLAlchemy = %{version}
+Recommends:     %{name}-SQLAlchemy = %{version}
+Recommends:     %{name}-mysql-connector-python = %{version}
+Recommends:     %{name}-pymongo = %{version}
+Recommends:     %{name}-pynamodb = %{version}
+Recommends:     %{name}-psycopg2 = %{version}
+Recommends:     %{name}-requests = %{version}
+%ifpython3
+Recommends:     %{name}-aiobotocore = %{version}
+Recommends:     %{name}-aiohttp = %{version}
+%endif
+
+%description    all
+The AWS X-Ray SDK for Python (the SDK) enables Python developers to record and
+emit information from within their applications to the AWS X-Ray service.
+
+This package pulls in all available backends for %{name}.
+
+%package        Django
+Summary:        The AWS X-Ray SDK for Python - Django backend
+Requires:       %{name} = %{version}
+Requires:       python-Django >= 1.10
+
+%description    Django
+The AWS X-Ray SDK for Python (the SDK) enables Python developers to record and
+emit information from within their applications to the AWS X-Ray service.
+
+This package provides the Django backend for %{name}.
+
+%package        Flask-SQLAlchemy
+Summary:        The AWS X-Ray SDK for Python - Flask-SQLAlchemy backend
+Requires:       %{name} = %{version}
+Requires:       %{name}-SQLAlchemy = %{version}
+Requires:       python-Flask-SQLAlchemy
+Requires:       python-SQLAlchemy
+
+%description    Flask-SQLAlchemy
+The AWS X-Ray SDK for Python (the SDK) enables Python developers to record and
+emit information from within their applications to the AWS X-Ray service.
+
+This package provides the Flask-SQLAlchemy backend for %{name}.
+
+%package        SQLAlchemy
+Summary:        The AWS X-Ray SDK for Python - SQLAlchemy backend
+Requires:       %{name} = %{version}
+Requires:       python-SQLAlchemy
+
+%description    SQLAlchemy
+The AWS X-Ray SDK for Python (the SDK) enables Python developers to record and
+emit information from within their applications to the AWS X-Ray service.
+
+This package provides the SQLAlchemy backend for %{name}.
+
+%package        mysql-connector
+Summary:        The AWS X-Ray SDK for Python - mysql-connector backend
+Requires:       %{name} = %{version}
+Requires:       python-mysql-connector-python
+
+%description    mysql-connector
+The AWS X-Ray SDK for Python (the SDK) enables Python developers to record and
+emit information from within their applications to the AWS X-Ray service.
+
+This package provides the mysql-connector-python backend for %{name}.
+
+%package        pymongo
+Summary:        The AWS X-Ray SDK for Python - pymongo backend
+Requires:       %{name} = %{version}
+Requires:       python-pymongo
+
+%description    pymongo
+The AWS X-Ray SDK for Python (the SDK) enables Python developers to record and
+emit information from within their applications to the AWS X-Ray service.
+
+This package provides the pymongo backend for %{name}.
+
+%package        pynamodb
+Summary:        The AWS X-Ray SDK for Python - pynamodb backend
+Requires:       %{name} = %{version}
+Requires:       python-pynamodb
+
+%description    pynamodb
+The AWS X-Ray SDK for Python (the SDK) enables Python developers to record and
+emit information from within their applications to the AWS X-Ray service.
+
+This package provides the pynamodb backend for %{name}.
+
+%package        psycopg2
+Summary:        The AWS X-Ray SDK for Python - psycopg2 backend
+Requires:       %{name} = %{version}
+Requires:       python-psycopg2
+
+%description    psycopg2
+The AWS X-Ray SDK for Python (the SDK) enables Python developers to record and
+emit information from within their applications to the AWS X-Ray service.
+
+This package provides the psycopg2 backend for %{name}.
+
+%package        requests
+Summary:        The AWS X-Ray SDK for Python - requests backend
+Requires:       %{name} = %{version}
+Requires:       python-requests
+
+%description    requests
+The AWS X-Ray SDK for Python (the SDK) enables Python developers to record and
+emit information from within their applications to the AWS X-Ray service.
+
+This package provides the requests backend for %{name}.
+
+%package        aiobotocore
+Summary:        The AWS X-Ray SDK for Python - aiobotocore backend
+Requires:       %{name} = %{version}
+Requires:       python-aiobotocore
+
+%description    aiobotocore
+The AWS X-Ray SDK for Python (the SDK) enables Python developers to record and
+emit information from within their applications to the AWS X-Ray service.
+
+This package provides the aiobotocore backend for %{name}.
+
+%package        aiohttp
+Summary:        The AWS X-Ray SDK for Python - aiohttp backend
+Requires:       %{name} = %{version}
+Requires:       python-aiohttp >= 2.3
+
+%description    aiohttp
+The AWS X-Ray SDK for Python (the SDK) enables Python developers to record and
+emit information from within their applications to the AWS X-Ray service.
+
+This package provides the aiohttp backend for %{name}.
+
 %prep
 %setup -q -n aws-xray-sdk-%{version}
 
@@ -55,9 +199,70 @@
 %python_expand $python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/aws_xray_sdk/ext/psycopg2/
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+# python3 only
+rm -rf %{buildroot}%{python2_sitelib}/aws_xray_sdk/ext/aiobotocore/
+rm -rf %{buildroot}%{python2_sitelib}/aws_xray_sdk/ext/aiohttp/
+
 %files %{python_files}
 %license LICENSE
 %doc README.md
 %{python_sitelib}/*
+%exclude %{python_sitelib}/aws_xray_sdk/ext/django/
+%exclude %{python_sitelib}/aws_xray_sdk/ext/flask_sqlalchemy/
+%exclude %{python_sitelib}/aws_xray_sdk/ext/sqlalchemy/
+%exclude %{python_sitelib}/aws_xray_sdk/ext/mysql/
+%exclude %{python_sitelib}/aws_xray_sdk/ext/pymongo/
+%exclude %{python_sitelib}/aws_xray_sdk/ext/pynamodb/
+%exclude %{python_sitelib}/aws_xray_sdk/ext/psycopg2/
+%exclude %{python_sitelib}/aws_xray_sdk/ext/requests/
+%python3_only %exclude %{python_sitelib}/aws_xray_sdk/ext/aiohttp/
+%python3_only %exclude %{python_sitelib}/aws_xray_sdk/ext/aiobotocore/
+
+%files %{python_files all}
+%license LICENSE
+
+%files %{python_files Django}
+%license LICENSE
+%{python_sitelib}/aws_xray_sdk/ext/django/
+
+%files %{python_files Flask-SQLAlchemy}
+%license LICENSE
+%{python_sitelib}/aws_xray_sdk/ext/flask_sqlalchemy/
+
+%files %{python_files SQLAlchemy}
+%license LICENSE
+%{python_sitelib}/aws_xray_sdk/ext/sqlalchemy/
+
+%files %{python_files mysql-connector}
+%license LICENSE
+%{python_sitelib}/aws_xray_sdk/ext/mysql/
+
+%files %{python_files pymongo}
+%license LICENSE
+%{python_sitelib}/aws_xray_sdk/ext/pymongo/
+
+%files %{python_files pynamodb}
+%license LICENSE
+%{python_sitelib}/aws_xray_sdk/ext/pynamodb/
+
+%files %{python_files psycopg2}
+%license LICENSE
+%{python_sitelib}/aws_xray_sdk/ext/psycopg2/
+
+%files %{python_files requests}
+%license LICENSE
+%{python_sitelib}/aws_xray_sdk/ext/requests/
+
+%ifpython3
+
+%files %{python_files aiobotocore}
+%license LICENSE
+%{python3_sitelib}/aws_xray_sdk/ext/aiobotocore/
+
+%files %{python_files aiohttp}
+%license LICENSE
+%{python3_sitelib}/aws_xray_sdk/ext/aiohttp/
+
+%endif
 
 %changelog


Reply via email to