Hello community,

here is the log from the commit of package python-python-dotenv for 
openSUSE:Leap:15.2 checked in at 2020-02-11 23:25:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-python-dotenv (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-python-dotenv.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-dotenv"

Tue Feb 11 23:25:17 2020 rev:1 rq:771135 version:0.10.3

Changes:
--------
New Changes file:

--- /dev/null   2019-12-19 10:12:34.003146842 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-python-dotenv.new.26092/python-python-dotenv.changes
   2020-02-11 23:25:18.745266720 +0100
@@ -0,0 +1,25 @@
+-------------------------------------------------------------------
+Mon Jul 22 13:18:03 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 0.10.3:
+  * Small cleanups
+
+-------------------------------------------------------------------
+Sat May 25 08:58:11 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 0.10.2:
+  * Add type hints and expose them to users (@qnighy)(#172)
+  * load_dotenv and dotenv_values now accept an encoding parameter, defaults 
to None (@theskumar)(@earlbread)(#161)
+  * Fix str/unicode inconsistency in Python 2: values are always str now. 
(@bbc2)(#121)
+  * Fix Unicode error in Python 2, introduced in 0.10.0. (@bbc2)(#176)
+
+-------------------------------------------------------------------
+Thu Mar  7 15:42:54 UTC 2019 - John Vandenberg <jay...@gmail.com>
+
+- Add LANG=C.UTF-8 to %check to fix tests on Leap
+- Rename tarball to match name provided by PyPI
+
+-------------------------------------------------------------------
+Fri Feb 15 06:37:32 UTC 2019 - John Vandenberg <jay...@gmail.com>
+
+- Initial spec for 0.10.1

New:
----
  python-dotenv-0.10.3.tar.gz
  python-python-dotenv.changes
  python-python-dotenv.spec

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

Other differences:
------------------
++++++ python-python-dotenv.spec ++++++
#
# spec file for package python-python-dotenv
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-python-dotenv
Version:        0.10.3
Release:        0
Summary:        Python library for .env support
License:        BSD-3-Clause
Group:          Development/Languages/Python
URL:            http://github.com/theskumar/python-dotenv
Source:         
https://github.com/theskumar/python-dotenv/archive/v%{version}.tar.gz#/python-dotenv-%{version}.tar.gz
BuildRequires:  %{python_module click >= 5.0}
BuildRequires:  %{python_module jupyter_ipython}
BuildRequires:  %{python_module pytest >= 3.0.5}
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module sh >= 1.09}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Requires:       python-click >= 5.0
# rubygem-dotenv also provides executable dotenv
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends:     python-jupyter_ipython
# There is a very similar Python package which also used `dotenv` namespace
Conflicts:      python-dotenv
BuildArch:      noarch
%python_subpackages

%description
Add .env support to your Fjango/Flask apps in development and deployments.

%prep
%setup -q -n python-dotenv-%{version}

%build
export LANG=C.UTF-8
%python_build

%install
export LANG=C.UTF-8
%python_install
%python_clone -a %{buildroot}%{_bindir}/dotenv
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%check
export LANG=C.UTF-8
mv %{buildroot}%{_bindir}/dotenv %{buildroot}%{_bindir}/dotenv.orig
# CLI tests require distribution to be found, and the correct executable 
installed
export PATH=%{buildroot}%{_bindir}:$PATH
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
cp %{buildroot}%{_bindir}/dotenv-%{$python_bin_suffix} 
%{buildroot}%{_bindir}/dotenv
$python -m pytest -v
}
mv %{buildroot}%{_bindir}/dotenv.orig %{buildroot}%{_bindir}/dotenv

%post
%python_install_alternative dotenv

%postun
%python_uninstall_alternative dotenv

%files %{python_files}
%doc README.md
%license LICENSE
%python_alternative %{_bindir}/dotenv
%{python_sitelib}/*

%changelog

Reply via email to