forked from pool/python-python-editor
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:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f65c033ede0758663b9ff6a29d702f0b09198ad7c4ef96c9d37ccdfbf7bbf6fa
|
||||
size 6555
|
3
python-editor-1.0.1.tar.gz
Normal file
3
python-editor-1.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8672e9a44a7957741453dd35e842299f6c29f0a88dc9e4316b0fa5935abb9186
|
||||
size 7014
|
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user