14
0

Accepting request 701732 from home:pgajdos

- version update to 1.0.4
  * no upstream changelog

OBS-URL: https://build.opensuse.org/request/show/701732
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-editor?expand=0&rev=16
This commit is contained in:
Tomáš Chvátal
2019-05-09 09:42:53 +00:00
committed by Git OBS Bridge
parent 69e4d7111e
commit 4fe91112f2
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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-editor
Version: 1.0.3
Version: 1.0.4
Release: 0
Summary: Python library to programmatically open an editor and capture the result
License: Apache-2.0
@@ -42,13 +42,15 @@ environment variable.
%setup -q -n python-editor-%{version}
%build
find -type f -exec chmod 644 {} +
%python_build
%install
%python_install
%python_expand sed -i -e '/^#!\/usr\/bin\/env/d' %{buildroot}%{$python_sitelib}/editor.py
%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
# export EDITOR='nano'
# Xpython_exec test.py