From 19b6397591c6b001f4026630288f0a6e8b73c04f01322001bc0692748a8fe4be Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 10 Oct 2022 07:21:06 +0000 Subject: [PATCH] Accepting request 1009150 from home:bnavigator:branches:devel:languages:python - Update to 1.5.0 * Drop support for Python version older than 3.4. #50 * Support detecting NuShell. #56 OBS-URL: https://build.opensuse.org/request/show/1009150 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shellingham?expand=0&rev=7 --- python-shellingham.changes | 7 +++++++ python-shellingham.spec | 20 ++++++-------------- shellingham-1.3.2.tar.gz | 3 --- shellingham-1.5.0-gh.tar.gz | 3 +++ 4 files changed, 16 insertions(+), 17 deletions(-) delete mode 100644 shellingham-1.3.2.tar.gz create mode 100644 shellingham-1.5.0-gh.tar.gz diff --git a/python-shellingham.changes b/python-shellingham.changes index b4437b2..126d2b8 100644 --- a/python-shellingham.changes +++ b/python-shellingham.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Oct 9 13:15:29 UTC 2022 - Ben Greiner + +- Update to 1.5.0 + * Drop support for Python version older than 3.4. #50 + * Support detecting NuShell. #56 + ------------------------------------------------------------------- Wed Mar 18 12:00:31 UTC 2020 - pgajdos@suse.com diff --git a/python-shellingham.spec b/python-shellingham.spec index d034dd8..df8f287 100644 --- a/python-shellingham.spec +++ b/python-shellingham.spec @@ -1,7 +1,7 @@ # # spec file for package python-shellingham # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,15 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-shellingham -Version: 1.3.2 +Version: 1.5.0 Release: 0 Summary: Library to detect surrounding shell License: ISC Group: Development/Languages/Python URL: https://github.com/sarugaku/shellingham -Source: https://github.com/sarugaku/shellingham/archive/%{version}.tar.gz#//shellingham-%{version}.tar.gz +Source: https://github.com/sarugaku/shellingham/archive/refs/tags/%{version}.tar.gz#/shellingham-%{version}-gh.tar.gz +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -40,15 +40,6 @@ Python library to detect surrounding shell. %setup -q -n shellingham-%{version} %build -if [ -f setup.py ]; then - echo 'remove setup.py creation in %%build' - exit 1 -fi -# https://github.com/sarugaku/shellingham/blob/master/setup.py -cat << EOF > setup.py -from setuptools import setup -setup() -EOF %python_build %install @@ -61,6 +52,7 @@ EOF %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/shellingham +%{python_sitelib}/shellingham-%{version}*-info %changelog diff --git a/shellingham-1.3.2.tar.gz b/shellingham-1.3.2.tar.gz deleted file mode 100644 index 1ef112e..0000000 --- a/shellingham-1.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6eb3c6f213e19f317378d83289db85add2ed2976fc4998ba99f706de2b9f5c63 -size 13074 diff --git a/shellingham-1.5.0-gh.tar.gz b/shellingham-1.5.0-gh.tar.gz new file mode 100644 index 0000000..fde25ee --- /dev/null +++ b/shellingham-1.5.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:727a18bfc9356e4c8ee4a9945125ea46680ba44cbb0a413bfae61e21314ceae8 +size 21078