forked from pool/python-python-editor
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:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a3c066acee22a1c94f63938341d4fb374e3fdd69366ed6603d7b24bed1efc565
|
||||
size 6975
|
3
python-editor-1.0.4.tar.gz
Normal file
3
python-editor-1.0.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b
|
||||
size 7132
|
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user