From bfe8196901b836569deb14822ffeaa1b0f6c4431fa4f8ac6e953cec6938c8c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 18 Mar 2020 17:37:26 +0000 Subject: [PATCH] Accepting request 786188 from home:pgajdos:python - version update to 1.3.2 - Parse argument list to detect shells run via an interpreter, e.g. xonsh via Python. OBS-URL: https://build.opensuse.org/request/show/786188 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shellingham?expand=0&rev=5 --- python-shellingham.changes | 6 ++++++ python-shellingham.spec | 16 ++++++++++++---- shellingham-1.3.1.tar.gz | 3 --- shellingham-1.3.2.tar.gz | 3 +++ 4 files changed, 21 insertions(+), 7 deletions(-) delete mode 100644 shellingham-1.3.1.tar.gz create mode 100644 shellingham-1.3.2.tar.gz diff --git a/python-shellingham.changes b/python-shellingham.changes index 25cee75..b4437b2 100644 --- a/python-shellingham.changes +++ b/python-shellingham.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 18 12:00:31 UTC 2020 - pgajdos@suse.com + +- version update to 1.3.2 + - Parse argument list to detect shells run via an interpreter, e.g. xonsh via Python. + ------------------------------------------------------------------- Wed Apr 24 12:43:38 UTC 2019 - pgajdos@suse.com diff --git a/python-shellingham.spec b/python-shellingham.spec index a831ad2..d034dd8 100644 --- a/python-shellingham.spec +++ b/python-shellingham.spec @@ -1,7 +1,7 @@ # # spec file for package python-shellingham # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-shellingham -Version: 1.3.1 +Version: 1.3.2 Release: 0 Summary: Library to detect surrounding shell License: ISC @@ -38,9 +38,17 @@ Python library to detect surrounding shell. %prep %setup -q -n shellingham-%{version} -rm -r tasks %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 @@ -48,7 +56,7 @@ rm -r tasks %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest +%pytest %files %{python_files} %doc README.rst diff --git a/shellingham-1.3.1.tar.gz b/shellingham-1.3.1.tar.gz deleted file mode 100644 index 004592e..0000000 --- a/shellingham-1.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b1d83d3004c4126a86a42ca42c1e5095695c585a18e814bff13aa91ee8398c1e -size 12989 diff --git a/shellingham-1.3.2.tar.gz b/shellingham-1.3.2.tar.gz new file mode 100644 index 0000000..1ef112e --- /dev/null +++ b/shellingham-1.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6eb3c6f213e19f317378d83289db85add2ed2976fc4998ba99f706de2b9f5c63 +size 13074