14
0

Accepting request 701751 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/701751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-editor?expand=0&rev=6
This commit is contained in:
2019-05-13 12:50:04 +00:00
committed by Git OBS Bridge
4 changed files with 14 additions and 6 deletions

View File

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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b
size 7132

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 06:53:20 UTC 2019 - pgajdos@suse.com
- version update to 1.0.4
* no upstream changelog
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 18 23:49:45 UTC 2018 - Jan Engelhardt <jengelh@inai.de> Tue Dec 18 23:49:45 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-python-editor # spec file for package python-python-editor
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# 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-python-editor Name: python-python-editor
Version: 1.0.3 Version: 1.0.4
Release: 0 Release: 0
Summary: Python library to programmatically open an editor and capture the result Summary: Python library to programmatically open an editor and capture the result
License: Apache-2.0 License: Apache-2.0
@@ -42,13 +42,15 @@ environment variable.
%setup -q -n python-editor-%{version} %setup -q -n python-editor-%{version}
%build %build
find -type f -exec chmod 644 {} +
%python_build %python_build
%install %install
%python_install %python_install
%python_expand sed -i -e '/^#!\/usr\/bin\/env/d' %{buildroot}%{$python_sitelib}/editor.py
%if 0%{?is_opensuse} %if 0%{?is_opensuse}
# do not run tests for now (https://github.com/fmoo/python-editor/issues/14) # the example does not look like an unit test
# %check # %check
# export EDITOR='nano' # export EDITOR='nano'
# Xpython_exec test.py # Xpython_exec test.py