14
0

Accepting request 429843 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/429843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-editor?expand=0&rev=3
This commit is contained in:
2016-09-27 11:44:49 +00:00
committed by Git OBS Bridge
4 changed files with 28 additions and 5 deletions

View File

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

View File

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

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Sep 16 14:35:20 UTC 2016 - toddrme2178@gmail.com
- Fix Download URL
-------------------------------------------------------------------
Thu Sep 15 22:17:54 UTC 2016 - toddrme2178@gmail.com
- Update to 1.0.1
* Detect tty and add helper function
* Default to not using tty
* Use branch instead of ternary operator
* Use /dev/tty by default
-------------------------------------------------------------------
Wed Jan 13 12:04:08 UTC 2016 - toddrme2178@gmail.com

View File

@@ -17,15 +17,18 @@
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
Group: Development/Languages/Python
Url: https://github.com/fmoo/python-editor
Source: https://pypi.python.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-setuptools
%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()")}
@@ -46,6 +49,12 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%if 0%{?is_opensuse}
%check
export EDITOR='nano'
python test.py
%endif
%files
%defattr(-,root,root,-)
%doc LICENSE README.md