Accepting request 1009262 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1009262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-shellingham?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2022-10-17 12:57:24 +00:00 committed by Git OBS Bridge
commit 42e8a57fc8
4 changed files with 16 additions and 17 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Oct 9 13:15:29 UTC 2022 - Ben Greiner <code@bnavigator.de>
- 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

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6eb3c6f213e19f317378d83289db85add2ed2976fc4998ba99f706de2b9f5c63
size 13074

BIN
shellingham-1.5.0-gh.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.