forked from pool/python-python-editor
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:
committed by
Git OBS Bridge
parent
b7b269af1d
commit
56fe27bf10
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8672e9a44a7957741453dd35e842299f6c29f0a88dc9e4316b0fa5935abb9186
|
||||
size 7014
|
3
python-editor-1.0.3.tar.gz
Normal file
3
python-editor-1.0.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a3c066acee22a1c94f63938341d4fb374e3fdd69366ed6603d7b24bed1efc565
|
||||
size 6975
|
@@ -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
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
Version: 1.0.1
|
||||
Version: 1.0.3
|
||||
Release: 0
|
||||
Summary: Programmatically open an editor, capture the result
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/fmoo/python-editor
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-editor/python-editor-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
%if 0%{?is_opensuse}
|
||||
BuildRequires: nano
|
||||
%endif
|
||||
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
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
python-editor is a library that provides the editor module for
|
||||
@@ -44,18 +44,19 @@ programmatically interfacing with your system’s EDITOR.
|
||||
%setup -q -n python-editor-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%if 0%{?is_opensuse}
|
||||
%check
|
||||
export EDITOR='nano'
|
||||
python test.py
|
||||
# do not run tests for now (https://github.com/fmoo/python-editor/issues/14)
|
||||
# %check
|
||||
# export EDITOR='nano'
|
||||
# Xpython_exec test.py
|
||||
%endif
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README.md
|
||||
%{python_sitelib}/*
|
||||
|
Reference in New Issue
Block a user