14
0

4 Commits

Author SHA256 Message Date
e9c52f1ce4 Accepting request 1277293 from devel:languages:python
- Add patch avoid-click-8.2-bug.patch:
  * Work around an upstream click 8.2.0 bug.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1277293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-dotenv?expand=0&rev=16
2025-05-15 14:59:46 +00:00
6a73714dfd - Add patch avoid-click-8.2-bug.patch:
* Work around an upstream click 8.2.0 bug.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=34
2025-05-14 05:41:57 +00:00
1d65a77f1e Accepting request 1269223 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1269223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-dotenv?expand=0&rev=15
2025-04-15 14:45:15 +00:00
d45fbd46cb - update to 1.1.0:
* Add a security policy
  * Enhance dotenv run: Switch to execvpe for better resource management and
    signal handling
  * Add Python 3.13 trove classifier
  * Add support for python 3.13 and drop 3.8
  * docs: Update README.md
  * Some more s/Python-dotenv/python-dotenv/
  * add _is_debugger so load_dotenv will work in pdb

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=32
2025-04-14 10:10:30 +00:00
2 changed files with 2 additions and 25 deletions

View File

@@ -1,13 +1,3 @@
-------------------------------------------------------------------
Thu Aug 14 13:01:31 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems
-------------------------------------------------------------------
Tue Jul 8 13:08:26 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 14 05:41:25 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com> Wed May 14 05:41:25 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -16,12 +16,6 @@
# #
# rubygem-dotenv also provides executable dotenv
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-python-dotenv Name: python-python-dotenv
Version: 1.1.0 Version: 1.1.0
@@ -40,14 +34,10 @@ BuildRequires: %{python_module sh >= 2.0}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%if %{with libalternatives} Requires: python-click >= 5.0
BuildRequires: alts # rubygem-dotenv also provides executable dotenv
Requires: alts
%else
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
%endif
Requires: python-click >= 5.0
Suggests: python-jupyter_ipython Suggests: python-jupyter_ipython
# There is a very similar Python package which also used `dotenv` namespace # There is a very similar Python package which also used `dotenv` namespace
Conflicts: python-dotenv Conflicts: python-dotenv
@@ -82,9 +72,6 @@ $python -m pytest -v -k "not ipython"
} }
mv %{buildroot}%{_bindir}/dotenv.orig %{buildroot}%{_bindir}/dotenv mv %{buildroot}%{_bindir}/dotenv.orig %{buildroot}%{_bindir}/dotenv
%pre
%python_libalternatives_reset_alternative dotenv
%post %post
%python_install_alternative dotenv %python_install_alternative dotenv