14
0

Accepting request 518129 from home:tbechtold:branches:devel:languages:python

- update to 1.0.3:
  * don't re-split arguments
  * Version bump (1.0.2)
  * Version bump to 1.0.3
  * remove un-needed function
  * update README
- convert to singlespec

OBS-URL: https://build.opensuse.org/request/show/518129
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-editor?expand=0&rev=10
This commit is contained in:
Thomas Bechtold
2017-08-22 13:21:27 +00:00
committed by Git OBS Bridge
parent b7b269af1d
commit 56fe27bf10
4 changed files with 29 additions and 17 deletions

View File

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

View File

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Aug 22 12:49:38 UTC 2017 - tbechtold@suse.com
- update to 1.0.3:
* don't re-split arguments
* Version bump (1.0.2)
* Version bump to 1.0.3
* remove un-needed function
* update README
- convert to singlespec
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 16 14:35:20 UTC 2016 - toddrme2178@gmail.com Fri Sep 16 14:35:20 UTC 2016 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-python-editor # spec file for package python-python-editor
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 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
@@ -16,25 +16,25 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-editor Name: python-python-editor
Version: 1.0.1 Version: 1.0.3
Release: 0 Release: 0
Summary: Programmatically open an editor, capture the result Summary: Programmatically open an editor, capture the result
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/fmoo/python-editor Url: https://github.com/fmoo/python-editor
Source: https://files.pythonhosted.org/packages/source/p/python-editor/python-editor-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/python-editor/python-editor-%{version}.tar.gz
BuildRequires: python-devel BuildRequires: %{python_module devel}
BuildRequires: python-setuptools BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
%if 0%{?is_opensuse} %if 0%{?is_opensuse}
BuildRequires: nano BuildRequires: nano
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch BuildArch: noarch
%endif
%python_subpackages
%description %description
python-editor is a library that provides the editor module for python-editor is a library that provides the editor module for
@@ -44,18 +44,19 @@ programmatically interfacing with your systems EDITOR.
%setup -q -n python-editor-%{version} %setup -q -n python-editor-%{version}
%build %build
python setup.py build %python_build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %python_install
%if 0%{?is_opensuse} %if 0%{?is_opensuse}
%check # do not run tests for now (https://github.com/fmoo/python-editor/issues/14)
export EDITOR='nano' # %check
python test.py # export EDITOR='nano'
# Xpython_exec test.py
%endif %endif
%files %files %{python_files}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENSE README.md %doc LICENSE README.md
%{python_sitelib}/* %{python_sitelib}/*