From 74e964f7705ba5a6727ade04ff9889f3082579aeb6156403b785ab597c55f22b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 9 Nov 2024 15:25:22 +0000 Subject: [PATCH] - update to 0.6.0: * Drop Python 3.7 * Update README * Fix badge * Add GA to dependabot.yml * Remove experimental.new-installer OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-browsers?expand=0&rev=2 --- 0.6.0.tar.gz | 3 +++ _service | 10 ---------- _servicedata | 4 ---- browsers-0.5.2.obscpio | 3 --- browsers.obsinfo | 4 ---- python-browsers.changes | 10 ++++++++++ python-browsers.spec | 16 +++++++--------- 7 files changed, 20 insertions(+), 30 deletions(-) create mode 100644 0.6.0.tar.gz delete mode 100644 _service delete mode 100644 _servicedata delete mode 100644 browsers-0.5.2.obscpio delete mode 100644 browsers.obsinfo diff --git a/0.6.0.tar.gz b/0.6.0.tar.gz new file mode 100644 index 0000000..f47e925 --- /dev/null +++ b/0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:309b8b1aa57ac6a5b5da012b54aba23376d2695a27cae474f5189410352986f0 +size 22960 diff --git a/_service b/_service deleted file mode 100644 index c2574d3..0000000 --- a/_service +++ /dev/null @@ -1,10 +0,0 @@ - - - https://github.com/roniemartinez/browsers - git - @PARENT_TAG@ - refs/tags/0.5.2 - enable - - - diff --git a/_servicedata b/_servicedata deleted file mode 100644 index a3dc57a..0000000 --- a/_servicedata +++ /dev/null @@ -1,4 +0,0 @@ - - - https://github.com/roniemartinez/browsers - 904662c83fdc0397c482dfad9fae670289167bcd \ No newline at end of file diff --git a/browsers-0.5.2.obscpio b/browsers-0.5.2.obscpio deleted file mode 100644 index 273ad2d..0000000 --- a/browsers-0.5.2.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ae4369a5603ff095b8332605cfe5a4b3a17783f4e56d991fb5e4728c6d7935bd -size 80395 diff --git a/browsers.obsinfo b/browsers.obsinfo deleted file mode 100644 index 043da75..0000000 --- a/browsers.obsinfo +++ /dev/null @@ -1,4 +0,0 @@ -name: browsers -version: 0.5.2 -mtime: 1671210338 -commit: 904662c83fdc0397c482dfad9fae670289167bcd diff --git a/python-browsers.changes b/python-browsers.changes index 78fcf49..d7275f5 100644 --- a/python-browsers.changes +++ b/python-browsers.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Nov 9 15:24:51 UTC 2024 - Dirk Müller + +- update to 0.6.0: + * Drop Python 3.7 + * Update README + * Fix badge + * Add GA to dependabot.yml + * Remove experimental.new-installer + ------------------------------------------------------------------- Wed Apr 19 21:22:36 UTC 2023 - Georg Pfuetzenreuter diff --git a/python-browsers.spec b/python-browsers.spec index e7a35e3..26c42a6 100644 --- a/python-browsers.spec +++ b/python-browsers.spec @@ -1,6 +1,7 @@ # # spec file for package python-browsers # +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2023 Georg Pfuetzenreuter # # All modifications and additions to the file contributed by third parties @@ -26,21 +27,20 @@ %endif %define appname browsers Name: python-%{appname}%{psuffix} -Version: 0.5.2 +Version: 0.6.0 Release: 0 Summary: Library for detecting and launching browsers License: MIT URL: https://github.com/roniemartinez/browsers -Source: _service +Source0: https://github.com/roniemartinez/browsers/archive/refs/tags/%{version}.tar.gz # - test with Chromium instead of unavailable proprietary Chrome # - adjust Firefox .desktop entry name # - add Firefox to launch test Patch0: test.patch -# - adjust Chromium .desktop file name +# - adjust Chromium .desktop file name Patch1: chromium.patch BuildRequires: %{python_module pip} -BuildRequires: %{python_module poetry} -BuildRequires: %{pythons} +BuildRequires: %{python_module poetry-core} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python3-pyxdg @@ -64,13 +64,11 @@ BuildRequires: distribution-release Python library for detecting and launching browsers %prep -%autosetup -p1 -DTn %{_sourcedir}/%{appname}-%{version} +%autosetup -p1 -n %{appname}-%{version} sed -i '/pywin32/d' pyproject.toml %build -%if !%{with test} %pyproject_wheel -%endif %install %if !%{with test} @@ -89,7 +87,7 @@ rm -r /home/abuild/.config %license LICENSE %doc README.md %dir %{python_sitelib}/%{appname} -%{python_sitelib}/py%{appname}-%{version}*-info +%{python_sitelib}/py%{appname}-%{version}.dist-info %{python_sitelib}/%{appname}/*.py %pycache_only %{python_sitelib}/%{appname}/__pycache__ %endif