Accepting request 786237 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/786237 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-shellingham?expand=0&rev=3
This commit is contained in:
commit
e4c715fe2e
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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