14
0

Accepting request 428211 from home:TheBlackCat:branches:devel:languages:python

Update to 1.0.1

OBS-URL: https://build.opensuse.org/request/show/428211
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-editor?expand=0&rev=5
This commit is contained in:
Todd R
2016-09-16 13:38:26 +00:00
committed by Git OBS Bridge
parent f47caff425
commit 16ca69b0e1
4 changed files with 18 additions and 4 deletions

View File

@@ -17,7 +17,7 @@
Name: python-python-editor
Version: 0.5
Version: 1.0.1
Release: 0
Summary: Programmatically open an editor, capture the result
License: Apache-2.0
@@ -26,6 +26,7 @@ Url: https://github.com/fmoo/python-editor
Source: https://pypi.python.org/packages/source/p/python-editor/python-editor-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: nano
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()")}
@@ -46,6 +47,10 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
export EDITOR='nano'
python test.py
%files
%defattr(-,root,root,-)
%doc LICENSE README.md