1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
|
%global _empty_manifest_terminate_build 0
Name: python-npyscreen
Version: 4.10.5
Release: 1
Summary: Writing user interfaces without all that ugly mucking about in hyperspace
License: New BSD License
URL: http://www.npcole.com/npyscreen/
Source0: https://mirrors.nju.edu.cn/pypi/web/packages/93/48/91b8321280f17d135918895b57f891f727be84a88f62fc62485a7039de00/npyscreen-4.10.5.tar.gz
BuildArch: noarch
%description
This library provides a framework for developing console applications using Python and curses.
This framework should be powerful enough to create everything from quick, simple programs to complex, multi-screen applications. It is designed to make doing the simple tasks very quick and to take much of the pain out of writing larger applications.
There is a very wide variety of default widgets - everything from simple text fields to more complex tree and grid views.
I have used versions of this library for private scripts and small applications for around ten years. As a result, it is fairly mature.
Documentation is online at http://npyscreen.readthedocs.org
Please report bugs or make feature requests using the bug-tracker at http://code.google.com/p/npyscreen.
There is a mailing list available at https://groups.google.com/forum/?fromgroups#!forum/npyscreen/
*Latest Changes*:
Version 4.10.5: Merged in bug-fixes and enhancements suggested by Nathan Lewis.
Version 4.10.0: All widgets have a safe_to_exit() method that will be called
(at least by the default handlers) before exiting a widget. Users can
perform input verification functions here. Return True if the widget should
allow exiting, or False if it should not. Various minor bug-fixes.
Version 4.9.1: minor change to Multiline widgets to make custom versions easier (final widget value is never set to MORE_LABEL).
Version 4.9: new function blank_terminal() added. (User request) Improvements to facilities for writing unit tests. (user request)
Bugs related to hidden widgets fixed.
Version 4.8.7 New methods added to the Multiline class to assist widget authors.
Version 4.8.6 MultiLineAction widgets no longer raise an exception if empty
and selected unless set to do so explicitly.
Version 4.8.5 improves the writing of tests.
Version 4.8.4 adds support for custom-defined colours (not recommended.
Added at user request for a custom application).
Version 4.8.3 updates the documentation.
Version 4.8.2 makes the standard grid widget easier to customize by adding
the custom_print_cell method.
Version 4.8.1 fixes a bug that causes npyscreen to crash.
Version 4.8.0 adds a mechanism for finer control of BoxTitle contained
widgets.
Version 4.7.2 includes documentation updates.
Version 4.7.1 is a bugfix release.
Version 4.7.0 adds scripting support for writing automated tests.
Version 4.6.4 adds keybindings relevant to Windows.
Version 4.6.3 is a minor bug-fix release.
Version 4.6.1 updates the documentation to note that there is a bug in
Python's curses library in 3.4.0. This is fixed in 3.4.1. I do not propose
to put a workaround into npyscreen, which would complicate the code a great
deal for a bug that very few people face. For more details, see:
http://bugs.python.org/issue21088
Version 4.6.0 introduces a way to define a callback for when widget values change. The help system has been improved by minor interface changes.
Both of these were user suggestions. Thank you to those who suggested them.
Version 4.5.0 introduces a greater control of colour for certain widgets.
Version 4.4.0 introduces the new tree class TreeData. This is a new version of NPSTreeData that follows PEP 8 conventions for method names. NPSTreeData is now deprecated.
The form class ActionFormMinimal has been added at a user request. This is a special version of ActionFrom that only features an OK button by default.
Version 4.3.5 introduces the new classes SliderNoLabel, TitleSliderNoLabel, SliderPercent, TitleSliderPercent.
Version 4.3.4 Minor bugfixes. The notify functions and ActionPopups derived from them now use the ActionFormV2 widgets.
This change should not affect existing code, but let me know if there are problems.
Version 4.3.0 allows you to specify a negative value for rely or relx when creating a widget. This will cause the widget to be aligned
with the bottom or right of the screen. The new method *set_relyx(y, x)* can be used to set the position of the widget on the Form if you never need to do that manually.
The classes *ActionFormV2*, *ActionFormExpandedV2* and *ActionFormV2WithMenus* have been introduced.
These feature cleaner code that should be easier to subclass.
The *ButtonPress* class can now be created with the argument
*when_pressed_function=None*, which can be used in place of overriding the *whenPressed* method. Note that this might create a reference cycle
within your application, so use with care.
Version 4.2.0 introduces the ability of Grid widgets to highlight the whole line that the cursor is on (user request).
Version 4.1.0 introduces support for hvc consoles (thanks to wu.fuheng@********* for the bug report). Title widgets can now define a when_cursor_moved() method directly
on themselves that will be called as expected by the contained entry_widget during its edit loop (user request).
Version 4.0.0 introduces a new version scheme. Due to a packaging error in
the 3.0 release series some users were having problems obtaining the latest
version. This is most easily fixed with a new major version release.
Version 3.10 MultiLineEditable, MultiLineEditableTitle, MultiLineEditableBoxed classes added, allowing the user to edit lists of items.
See EXAMPLE-MultilineEditable for an example.
Version 3.6 Title.. widgets should now resize properly. Menu items can now
be specified with arguments and keywords.
Version 3.5 when_value_edited defined on Title.. widgets now work as users expect.
Version 3.4 Fixed bugs in Title.. widgets and in the App classes.
Version 3.3 and the subsequent minor releases fix some bugs, mainly related
to changes caused by allowing resized forms.
Version 3.2 adds CheckboxBare - a checkbox without a label. Added at user request.
Version 3.0 *IMPORTANT* The version number has changed to version 3.0.
This is because newer versions of pip distinguish between pre-release and released versions,
and this will allow more flexibility in future releases. A version '2.0' might have caused confusion at this stage.
Version 3.0 fixes the specification of max_width values for titled widgets (Thanks to Phil Rich for the bug report).
Please report any further problems.
Version 2.0pre90 introduces a new BufferPager and TitleBufferPager class. (User request, suggested by dennis@wsec.be)
Version 2.0pre88 *IMPORTANT* This version supports resizing the terminal.
Read the documentation for more detail about how to disable this feature if
you need to. It has been implemented in a way that should be compatible
with existing code. New code can make the resizing even more flexible.
Version 2.0pre87 Updates the documentation and contains various bug fixes.
Version 2.0pre85 and 2.0pre86 are both bugfix releases.
Version 2.0pre84 introduces an experimental system for editing lists of
options. See documentation for details.
Version 2.0pre83 multi-line checkbox widgets are now possible. These can also be used as contained widgets within the multiselect class. See documentation for details.
Version 2.0pre82 changes the menu system and allows menu items to be given keyboard shortcuts.
Version 2.0pre81 introduces FilenameCombo, TitleFilenameCombo.
Version 2.0pre79 is a bugfix release.
Version 2.0pre76 further improves the handling of mouse events on compatible
terminals.
Version 2.0pre75 improves the handling of the mouse on compatible terminals.
Version 2.0pre74 corrects one minor bug and introduces makes box widgets
behave slightly more predictably (.editable attribute now linked to that of
the contained widget.
Version 2.0pre73 corrects two bugs - thanks to Lasse for his help in finding
them and offering patches.
Version 2.0pre71 new tree classes introduced. Bug fixes.
Version 2.0pre70 introduces the MLTreeMultiSelect class.
Version 2.0pre69 fixes and tidies up some of the new tree classes. There is an API change assocatied with this, noted in the documentation, though backward compatibility should have been maintained.
Version 2.0pre68 setting a form's .editing attribute to False now causes it to exit immediately,
even if a widget is still being edited.
Version 2.0pre67 fixes minor bugs.
Version 2.0pre65 fixes several bugs. All textboxes now honour the .hidden
attribute. The major side effect of this is that tree classes are now
easier to write.
Version 2.0pre64 extends multi-page support and includes revision to the
documentation.
Version 2.0pre63 adds initial support for multi-page forms. See documentation on the
FormMultiPage class for details.
Version 2.0pre57 fixes color support - it should now be possible to display
a terminal with a different color background. Text widgets have some
additional color options.
Version 2.0pre52 fixes compatibility with python2.6, 3.0 and 3.1. All other versions should be unaffected.
Version 2.0pre50 enables basic mouse support. Note that the Apple terminal does not handle mouse events correctly.
%package -n python3-npyscreen
Summary: Writing user interfaces without all that ugly mucking about in hyperspace
Provides: python-npyscreen
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-npyscreen
This library provides a framework for developing console applications using Python and curses.
This framework should be powerful enough to create everything from quick, simple programs to complex, multi-screen applications. It is designed to make doing the simple tasks very quick and to take much of the pain out of writing larger applications.
There is a very wide variety of default widgets - everything from simple text fields to more complex tree and grid views.
I have used versions of this library for private scripts and small applications for around ten years. As a result, it is fairly mature.
Documentation is online at http://npyscreen.readthedocs.org
Please report bugs or make feature requests using the bug-tracker at http://code.google.com/p/npyscreen.
There is a mailing list available at https://groups.google.com/forum/?fromgroups#!forum/npyscreen/
*Latest Changes*:
Version 4.10.5: Merged in bug-fixes and enhancements suggested by Nathan Lewis.
Version 4.10.0: All widgets have a safe_to_exit() method that will be called
(at least by the default handlers) before exiting a widget. Users can
perform input verification functions here. Return True if the widget should
allow exiting, or False if it should not. Various minor bug-fixes.
Version 4.9.1: minor change to Multiline widgets to make custom versions easier (final widget value is never set to MORE_LABEL).
Version 4.9: new function blank_terminal() added. (User request) Improvements to facilities for writing unit tests. (user request)
Bugs related to hidden widgets fixed.
Version 4.8.7 New methods added to the Multiline class to assist widget authors.
Version 4.8.6 MultiLineAction widgets no longer raise an exception if empty
and selected unless set to do so explicitly.
Version 4.8.5 improves the writing of tests.
Version 4.8.4 adds support for custom-defined colours (not recommended.
Added at user request for a custom application).
Version 4.8.3 updates the documentation.
Version 4.8.2 makes the standard grid widget easier to customize by adding
the custom_print_cell method.
Version 4.8.1 fixes a bug that causes npyscreen to crash.
Version 4.8.0 adds a mechanism for finer control of BoxTitle contained
widgets.
Version 4.7.2 includes documentation updates.
Version 4.7.1 is a bugfix release.
Version 4.7.0 adds scripting support for writing automated tests.
Version 4.6.4 adds keybindings relevant to Windows.
Version 4.6.3 is a minor bug-fix release.
Version 4.6.1 updates the documentation to note that there is a bug in
Python's curses library in 3.4.0. This is fixed in 3.4.1. I do not propose
to put a workaround into npyscreen, which would complicate the code a great
deal for a bug that very few people face. For more details, see:
http://bugs.python.org/issue21088
Version 4.6.0 introduces a way to define a callback for when widget values change. The help system has been improved by minor interface changes.
Both of these were user suggestions. Thank you to those who suggested them.
Version 4.5.0 introduces a greater control of colour for certain widgets.
Version 4.4.0 introduces the new tree class TreeData. This is a new version of NPSTreeData that follows PEP 8 conventions for method names. NPSTreeData is now deprecated.
The form class ActionFormMinimal has been added at a user request. This is a special version of ActionFrom that only features an OK button by default.
Version 4.3.5 introduces the new classes SliderNoLabel, TitleSliderNoLabel, SliderPercent, TitleSliderPercent.
Version 4.3.4 Minor bugfixes. The notify functions and ActionPopups derived from them now use the ActionFormV2 widgets.
This change should not affect existing code, but let me know if there are problems.
Version 4.3.0 allows you to specify a negative value for rely or relx when creating a widget. This will cause the widget to be aligned
with the bottom or right of the screen. The new method *set_relyx(y, x)* can be used to set the position of the widget on the Form if you never need to do that manually.
The classes *ActionFormV2*, *ActionFormExpandedV2* and *ActionFormV2WithMenus* have been introduced.
These feature cleaner code that should be easier to subclass.
The *ButtonPress* class can now be created with the argument
*when_pressed_function=None*, which can be used in place of overriding the *whenPressed* method. Note that this might create a reference cycle
within your application, so use with care.
Version 4.2.0 introduces the ability of Grid widgets to highlight the whole line that the cursor is on (user request).
Version 4.1.0 introduces support for hvc consoles (thanks to wu.fuheng@********* for the bug report). Title widgets can now define a when_cursor_moved() method directly
on themselves that will be called as expected by the contained entry_widget during its edit loop (user request).
Version 4.0.0 introduces a new version scheme. Due to a packaging error in
the 3.0 release series some users were having problems obtaining the latest
version. This is most easily fixed with a new major version release.
Version 3.10 MultiLineEditable, MultiLineEditableTitle, MultiLineEditableBoxed classes added, allowing the user to edit lists of items.
See EXAMPLE-MultilineEditable for an example.
Version 3.6 Title.. widgets should now resize properly. Menu items can now
be specified with arguments and keywords.
Version 3.5 when_value_edited defined on Title.. widgets now work as users expect.
Version 3.4 Fixed bugs in Title.. widgets and in the App classes.
Version 3.3 and the subsequent minor releases fix some bugs, mainly related
to changes caused by allowing resized forms.
Version 3.2 adds CheckboxBare - a checkbox without a label. Added at user request.
Version 3.0 *IMPORTANT* The version number has changed to version 3.0.
This is because newer versions of pip distinguish between pre-release and released versions,
and this will allow more flexibility in future releases. A version '2.0' might have caused confusion at this stage.
Version 3.0 fixes the specification of max_width values for titled widgets (Thanks to Phil Rich for the bug report).
Please report any further problems.
Version 2.0pre90 introduces a new BufferPager and TitleBufferPager class. (User request, suggested by dennis@wsec.be)
Version 2.0pre88 *IMPORTANT* This version supports resizing the terminal.
Read the documentation for more detail about how to disable this feature if
you need to. It has been implemented in a way that should be compatible
with existing code. New code can make the resizing even more flexible.
Version 2.0pre87 Updates the documentation and contains various bug fixes.
Version 2.0pre85 and 2.0pre86 are both bugfix releases.
Version 2.0pre84 introduces an experimental system for editing lists of
options. See documentation for details.
Version 2.0pre83 multi-line checkbox widgets are now possible. These can also be used as contained widgets within the multiselect class. See documentation for details.
Version 2.0pre82 changes the menu system and allows menu items to be given keyboard shortcuts.
Version 2.0pre81 introduces FilenameCombo, TitleFilenameCombo.
Version 2.0pre79 is a bugfix release.
Version 2.0pre76 further improves the handling of mouse events on compatible
terminals.
Version 2.0pre75 improves the handling of the mouse on compatible terminals.
Version 2.0pre74 corrects one minor bug and introduces makes box widgets
behave slightly more predictably (.editable attribute now linked to that of
the contained widget.
Version 2.0pre73 corrects two bugs - thanks to Lasse for his help in finding
them and offering patches.
Version 2.0pre71 new tree classes introduced. Bug fixes.
Version 2.0pre70 introduces the MLTreeMultiSelect class.
Version 2.0pre69 fixes and tidies up some of the new tree classes. There is an API change assocatied with this, noted in the documentation, though backward compatibility should have been maintained.
Version 2.0pre68 setting a form's .editing attribute to False now causes it to exit immediately,
even if a widget is still being edited.
Version 2.0pre67 fixes minor bugs.
Version 2.0pre65 fixes several bugs. All textboxes now honour the .hidden
attribute. The major side effect of this is that tree classes are now
easier to write.
Version 2.0pre64 extends multi-page support and includes revision to the
documentation.
Version 2.0pre63 adds initial support for multi-page forms. See documentation on the
FormMultiPage class for details.
Version 2.0pre57 fixes color support - it should now be possible to display
a terminal with a different color background. Text widgets have some
additional color options.
Version 2.0pre52 fixes compatibility with python2.6, 3.0 and 3.1. All other versions should be unaffected.
Version 2.0pre50 enables basic mouse support. Note that the Apple terminal does not handle mouse events correctly.
%package help
Summary: Development documents and examples for npyscreen
Provides: python3-npyscreen-doc
%description help
This library provides a framework for developing console applications using Python and curses.
This framework should be powerful enough to create everything from quick, simple programs to complex, multi-screen applications. It is designed to make doing the simple tasks very quick and to take much of the pain out of writing larger applications.
There is a very wide variety of default widgets - everything from simple text fields to more complex tree and grid views.
I have used versions of this library for private scripts and small applications for around ten years. As a result, it is fairly mature.
Documentation is online at http://npyscreen.readthedocs.org
Please report bugs or make feature requests using the bug-tracker at http://code.google.com/p/npyscreen.
There is a mailing list available at https://groups.google.com/forum/?fromgroups#!forum/npyscreen/
*Latest Changes*:
Version 4.10.5: Merged in bug-fixes and enhancements suggested by Nathan Lewis.
Version 4.10.0: All widgets have a safe_to_exit() method that will be called
(at least by the default handlers) before exiting a widget. Users can
perform input verification functions here. Return True if the widget should
allow exiting, or False if it should not. Various minor bug-fixes.
Version 4.9.1: minor change to Multiline widgets to make custom versions easier (final widget value is never set to MORE_LABEL).
Version 4.9: new function blank_terminal() added. (User request) Improvements to facilities for writing unit tests. (user request)
Bugs related to hidden widgets fixed.
Version 4.8.7 New methods added to the Multiline class to assist widget authors.
Version 4.8.6 MultiLineAction widgets no longer raise an exception if empty
and selected unless set to do so explicitly.
Version 4.8.5 improves the writing of tests.
Version 4.8.4 adds support for custom-defined colours (not recommended.
Added at user request for a custom application).
Version 4.8.3 updates the documentation.
Version 4.8.2 makes the standard grid widget easier to customize by adding
the custom_print_cell method.
Version 4.8.1 fixes a bug that causes npyscreen to crash.
Version 4.8.0 adds a mechanism for finer control of BoxTitle contained
widgets.
Version 4.7.2 includes documentation updates.
Version 4.7.1 is a bugfix release.
Version 4.7.0 adds scripting support for writing automated tests.
Version 4.6.4 adds keybindings relevant to Windows.
Version 4.6.3 is a minor bug-fix release.
Version 4.6.1 updates the documentation to note that there is a bug in
Python's curses library in 3.4.0. This is fixed in 3.4.1. I do not propose
to put a workaround into npyscreen, which would complicate the code a great
deal for a bug that very few people face. For more details, see:
http://bugs.python.org/issue21088
Version 4.6.0 introduces a way to define a callback for when widget values change. The help system has been improved by minor interface changes.
Both of these were user suggestions. Thank you to those who suggested them.
Version 4.5.0 introduces a greater control of colour for certain widgets.
Version 4.4.0 introduces the new tree class TreeData. This is a new version of NPSTreeData that follows PEP 8 conventions for method names. NPSTreeData is now deprecated.
The form class ActionFormMinimal has been added at a user request. This is a special version of ActionFrom that only features an OK button by default.
Version 4.3.5 introduces the new classes SliderNoLabel, TitleSliderNoLabel, SliderPercent, TitleSliderPercent.
Version 4.3.4 Minor bugfixes. The notify functions and ActionPopups derived from them now use the ActionFormV2 widgets.
This change should not affect existing code, but let me know if there are problems.
Version 4.3.0 allows you to specify a negative value for rely or relx when creating a widget. This will cause the widget to be aligned
with the bottom or right of the screen. The new method *set_relyx(y, x)* can be used to set the position of the widget on the Form if you never need to do that manually.
The classes *ActionFormV2*, *ActionFormExpandedV2* and *ActionFormV2WithMenus* have been introduced.
These feature cleaner code that should be easier to subclass.
The *ButtonPress* class can now be created with the argument
*when_pressed_function=None*, which can be used in place of overriding the *whenPressed* method. Note that this might create a reference cycle
within your application, so use with care.
Version 4.2.0 introduces the ability of Grid widgets to highlight the whole line that the cursor is on (user request).
Version 4.1.0 introduces support for hvc consoles (thanks to wu.fuheng@********* for the bug report). Title widgets can now define a when_cursor_moved() method directly
on themselves that will be called as expected by the contained entry_widget during its edit loop (user request).
Version 4.0.0 introduces a new version scheme. Due to a packaging error in
the 3.0 release series some users were having problems obtaining the latest
version. This is most easily fixed with a new major version release.
Version 3.10 MultiLineEditable, MultiLineEditableTitle, MultiLineEditableBoxed classes added, allowing the user to edit lists of items.
See EXAMPLE-MultilineEditable for an example.
Version 3.6 Title.. widgets should now resize properly. Menu items can now
be specified with arguments and keywords.
Version 3.5 when_value_edited defined on Title.. widgets now work as users expect.
Version 3.4 Fixed bugs in Title.. widgets and in the App classes.
Version 3.3 and the subsequent minor releases fix some bugs, mainly related
to changes caused by allowing resized forms.
Version 3.2 adds CheckboxBare - a checkbox without a label. Added at user request.
Version 3.0 *IMPORTANT* The version number has changed to version 3.0.
This is because newer versions of pip distinguish between pre-release and released versions,
and this will allow more flexibility in future releases. A version '2.0' might have caused confusion at this stage.
Version 3.0 fixes the specification of max_width values for titled widgets (Thanks to Phil Rich for the bug report).
Please report any further problems.
Version 2.0pre90 introduces a new BufferPager and TitleBufferPager class. (User request, suggested by dennis@wsec.be)
Version 2.0pre88 *IMPORTANT* This version supports resizing the terminal.
Read the documentation for more detail about how to disable this feature if
you need to. It has been implemented in a way that should be compatible
with existing code. New code can make the resizing even more flexible.
Version 2.0pre87 Updates the documentation and contains various bug fixes.
Version 2.0pre85 and 2.0pre86 are both bugfix releases.
Version 2.0pre84 introduces an experimental system for editing lists of
options. See documentation for details.
Version 2.0pre83 multi-line checkbox widgets are now possible. These can also be used as contained widgets within the multiselect class. See documentation for details.
Version 2.0pre82 changes the menu system and allows menu items to be given keyboard shortcuts.
Version 2.0pre81 introduces FilenameCombo, TitleFilenameCombo.
Version 2.0pre79 is a bugfix release.
Version 2.0pre76 further improves the handling of mouse events on compatible
terminals.
Version 2.0pre75 improves the handling of the mouse on compatible terminals.
Version 2.0pre74 corrects one minor bug and introduces makes box widgets
behave slightly more predictably (.editable attribute now linked to that of
the contained widget.
Version 2.0pre73 corrects two bugs - thanks to Lasse for his help in finding
them and offering patches.
Version 2.0pre71 new tree classes introduced. Bug fixes.
Version 2.0pre70 introduces the MLTreeMultiSelect class.
Version 2.0pre69 fixes and tidies up some of the new tree classes. There is an API change assocatied with this, noted in the documentation, though backward compatibility should have been maintained.
Version 2.0pre68 setting a form's .editing attribute to False now causes it to exit immediately,
even if a widget is still being edited.
Version 2.0pre67 fixes minor bugs.
Version 2.0pre65 fixes several bugs. All textboxes now honour the .hidden
attribute. The major side effect of this is that tree classes are now
easier to write.
Version 2.0pre64 extends multi-page support and includes revision to the
documentation.
Version 2.0pre63 adds initial support for multi-page forms. See documentation on the
FormMultiPage class for details.
Version 2.0pre57 fixes color support - it should now be possible to display
a terminal with a different color background. Text widgets have some
additional color options.
Version 2.0pre52 fixes compatibility with python2.6, 3.0 and 3.1. All other versions should be unaffected.
Version 2.0pre50 enables basic mouse support. Note that the Apple terminal does not handle mouse events correctly.
%prep
%autosetup -n npyscreen-4.10.5
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-npyscreen -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Fri Apr 21 2023 Python_Bot <Python_Bot@openeuler.org> - 4.10.5-1
- Package Spec generated
|