17
0

Compare commits

12 Commits

Author SHA256 Message Date
94c0d31369 Accepting request 820886 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/820886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shared-python-startup?expand=0&rev=6
2020-07-15 13:06:42 +00:00
Tomáš Chvátal
6ce35be87f Accepting request 820864 from home:alarrosa:branches:devel:languages:python:Factory
- Import readline in the save_history handler. Otherwise the call
  to readline.write_history_file doesn't work (the readline import
  at the beginning of the file is already removed) and is silently
  ignored by the exception catcher.

OBS-URL: https://build.opensuse.org/request/show/820864
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/shared-python-startup?expand=0&rev=11
2020-07-14 12:39:50 +00:00
893148980e Accepting request 798278 from devel:languages:python:Factory
Just synchronizing with SLE fixes

OBS-URL: https://build.opensuse.org/request/show/798278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shared-python-startup?expand=0&rev=5
2020-04-27 21:42:34 +00:00
0a2f94ded8 Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/shared-python-startup?expand=0&rev=9
2020-04-27 13:18:59 +00:00
5b7ba0cce3 Correct suse_version value for SLE-12
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/shared-python-startup?expand=0&rev=8
2020-04-27 13:18:47 +00:00
1064faa107 Accepting request 756819 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/756819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shared-python-startup?expand=0&rev=4
2020-03-08 21:20:44 +00:00
e55fe9f2ff Accepting request 756818 from openSUSE:Factory
Resubmit - had to revert, as the new package is uninstallable on current TW; conflicts python3 < 3.8 - will take a while

OBS-URL: https://build.opensuse.org/request/show/756818
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/shared-python-startup?expand=0&rev=6
2019-12-13 13:45:30 +00:00
e0a5dce6de Revert to Rev1 - we can't conflict with python3 < 3.8 anytime soon
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shared-python-startup?expand=0&rev=3
2019-12-13 13:42:48 +00:00
OBS User buildservice-autocommit
decf578c3f Updating link to change in openSUSE:Factory/shared-python-startup revision 3.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/shared-python-startup?expand=0&rev=2aabc27822cf2cb6ebc61301d1e8c528
2019-12-13 13:42:48 +00:00
46072eb819 Accepting request 755908 from devel:languages:python:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/755908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shared-python-startup?expand=0&rev=2
2019-12-12 22:18:53 +00:00
f8baf9d409 Accepting request 753176 from devel:languages:python:Factory
Commit new package to Factory.

OBS-URL: https://build.opensuse.org/request/show/753176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shared-python-startup?expand=0&rev=1
2019-12-07 21:11:53 +00:00
208a7ef33c - Setup Conflicts: so that older version of Python don’t collide
with this package.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/shared-python-startup?expand=0&rev=3
2019-12-04 17:18:11 +00:00
3 changed files with 28 additions and 1 deletions

View File

@@ -15,10 +15,12 @@ historyPath = os.path.expanduser("~/.pyhistory%s" % ver)
# handler for saving history
def save_history(historyPath=historyPath):
import readline
try:
readline.write_history_file(historyPath)
except:
pass
del readline
# read history, if it exists

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Tue Jul 14 11:03:14 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
- Import readline in the save_history handler. Otherwise the call
to readline.write_history_file doesn't work (the readline import
at the beginning of the file is already removed) and is silently
ignored by the exception catcher.
-------------------------------------------------------------------
Mon Apr 27 13:18:52 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Correct suse_version value for SLE-12
-------------------------------------------------------------------
Wed Dec 4 18:17:30 CET 2019 - Matej Cepl <mcepl@suse.com>
- Setup Conflicts: so that older version of Python dont collide
with this package.
-------------------------------------------------------------------
Fri Nov 22 14:04:21 UTC 2019 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package shared-python-startup
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,12 @@ Source0: pythonstart
Source1: LICENSE
BuildRequires: filesystem
Supplements: python(abi)
Conflicts: python3 < 3.8
%if 0%{?suse_version} > 1315
Conflicts: (python2 without python2_split_startup)
%else
Conflicts: python2 < 2.7.17
%endif
BuildArch: noarch
%description