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
This commit is contained in:
parent
3152962657
commit
bfe8196901
@ -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
|
Wed Apr 24 12:43:38 UTC 2019 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-shellingham
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-shellingham
|
Name: python-shellingham
|
||||||
Version: 1.3.1
|
Version: 1.3.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library to detect surrounding shell
|
Summary: Library to detect surrounding shell
|
||||||
License: ISC
|
License: ISC
|
||||||
@ -38,9 +38,17 @@ Python library to detect surrounding shell.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n shellingham-%{version}
|
%setup -q -n shellingham-%{version}
|
||||||
rm -r tasks
|
|
||||||
|
|
||||||
%build
|
%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
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -48,7 +56,7 @@ rm -r tasks
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b1d83d3004c4126a86a42ca42c1e5095695c585a18e814bff13aa91ee8398c1e
|
|
||||||
size 12989
|
|
3
shellingham-1.3.2.tar.gz
Normal file
3
shellingham-1.3.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6eb3c6f213e19f317378d83289db85add2ed2976fc4998ba99f706de2b9f5c63
|
||||||
|
size 13074
|
Loading…
x
Reference in New Issue
Block a user