17
0

8 Commits

Author SHA256 Message Date
8c4690bbca Accepting request 1299419 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/request/show/1299419
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-dotenv?expand=0&rev=18
2025-08-17 12:50:01 +00:00
4513d74ddb - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=38
2025-08-14 13:04:03 +00:00
0c609ca796 Accepting request 1291274 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1291274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-dotenv?expand=0&rev=17
2025-07-09 15:26:10 +00:00
f8a6423aec - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=36
2025-07-08 13:09:26 +00:00
466e1e2c92 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
85da7095dc - 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
32d1c52172 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
4454e252fd Accepting request 1269120 from home:rrahl0
- 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/request/show/1269120
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 25 additions and 2 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
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>

View File

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