blob: 984d24ffe0ecd1970c28334411aba90de1bbc484 (
plain)
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
|
%global _empty_manifest_terminate_build 0
Name: python-salmagundi
Version: 0.17.1
Release: 1
Summary: Library with a collection of some more or less useful functions.
License: BSD-3-Clause
URL: https://andreas19.github.io/salmagundi/
Source0: https://mirrors.aliyun.com/pypi/web/packages/91/2c/cf1d0ccb1cfa28bbea270b1a18e63bded1d73a5e8e6112ade9721b09e655/salmagundi-0.17.1.tar.gz
BuildArch: noarch
Requires: python3-wcwidth
%description
**2021-08-04 (0.17.1)**
- Bugfix in inputs.menu()
**2021-08-04 (0.17.0)**
- Add parameter default to inputs.menu()
**2021-01-19 (0.16.0)**
- Change in module inputs (see documentation)
- Remove dependency on ansictrls
**2020-12-26 (0.15.1)**
- Bugfix: strings.int2str() now works with negative integers
- Remove deprecated modules config and crypto (use EaSimpConf and PyGemina instead)
- Include docopt.py in package and and fix it to silence DeprecationWarnings
**2020-08-17 (0.15.0)**
- Add parameter noecho to inputs.read()
- Add functions walign(), wlen(), wshorten() to module strings
**2020-07-30 (0.14.0)**
- Add parameter maxsplit to strings.str2tuple()
- Deprecate modules crypto and config
**2020-07-12 (0.13.0)**
- Add method Config.as_dict() in module config
- Add exception DuplicateError in module config
- Options can now be added to sections in module config (renamed parameter name -> key)
- Add a tag to specification in module config
- Bugfix: Config.\_\_delitem\_\_() now works even if create_properties=False
**2020-04-21 (0.12.0)**
- Add function convert_string() to module config
- Add class StopWatch to module utils
**2020-01-30 (0.11.3)**
- Add parameter numeric to config.convert_loglevel()
**2020-01-16 (0.11.2)**
- Change utils.ensure_single_instance(): parameter lockfile -> lockname
**2020-01-11 (0.11.1)**
- Bugfix: utils.ensure_single_instance()
**2020-01-11 (0.11.0)**
- Add functions sys_exit() and ensure_single_instance() to module utils
- Add parameter err_code to utils.docopt_helper()
**2020-01-04 (0.10.0)**
- Add wildcards in spec for sections and options in module config
- Add function docopt_helper() in module utils
**2020-01-02 (0.9.4)**
- Bugfix: microseconds format in strings.format_timedelta()
**2019-10-07 (0.9.2)**
- Fix documentation for module config
- Link to overview table for selected module now in sidebar
**2019-10-06 (0.9.1)**
- Bugfix: files.read_lines() stripped all whitespaces, not only line breaks
- Improve documentation: add overview table to each module
**2019-10-01 (0.9.0)**
- Add function slugify() to module strings
- Add class TranslationTable to module strings
- Change function strings.insert_separator()
- Add module validation
- Add \_\_all\_\_ to all modules
**2019-06-26 (0.8.0)**
- Longer secret keys in module crypto
**2019-05-12 (0.7.3)**
- Minor improvements/corrections of the documentation
- Upgrade dependency: cryptography 2.4.2 -> 2.6.1
**2019-04-15 (0.7.2)**
- Bugfix: problem with inputs.menu() when cursor is in the last row
of the terminal
**2019-02-07 (0.7.1)**
- Add 2 tags in module config
**2019-01-31 (0.7.0)**
- Add module config
- Add function int2str() to module strings
- Bugfix: strings.str2tuple() can now use whitespace as separator
**2019-01-15 (0.6.1)**
- Bugfix: \*_prefix() functions in module strings now handle negative
numbers correctly
**2019-01-14 (0.6.0)**
- Add check\_\*() functions to module inputs
- Add parameter caption to function menu() in module inputs
- Add parameter errors to \*_all() and \*_lines() functions in module files
- Add parameter reverse to function insert_separator() in module strings
**2019-01-07 (0.5.0)**
- Replace create() with touch() in module files
- Add functions to module files
- Add functions to module strings
- Add module crypto
- Add module utils
**2018-12-27 (0.4.0)**
- Add functions to module inputs
- Rename line() to read() in module inputs
**2018-12-24 (0.3.0)**
- Add module inputs
**2018-12-23 (0.2.0)**
- Add functions to module colors
- Add module strings
**2018-12-17 (0.1.0)**
- First public release
%package -n python3-salmagundi
Summary: Library with a collection of some more or less useful functions.
Provides: python-salmagundi
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-salmagundi
**2021-08-04 (0.17.1)**
- Bugfix in inputs.menu()
**2021-08-04 (0.17.0)**
- Add parameter default to inputs.menu()
**2021-01-19 (0.16.0)**
- Change in module inputs (see documentation)
- Remove dependency on ansictrls
**2020-12-26 (0.15.1)**
- Bugfix: strings.int2str() now works with negative integers
- Remove deprecated modules config and crypto (use EaSimpConf and PyGemina instead)
- Include docopt.py in package and and fix it to silence DeprecationWarnings
**2020-08-17 (0.15.0)**
- Add parameter noecho to inputs.read()
- Add functions walign(), wlen(), wshorten() to module strings
**2020-07-30 (0.14.0)**
- Add parameter maxsplit to strings.str2tuple()
- Deprecate modules crypto and config
**2020-07-12 (0.13.0)**
- Add method Config.as_dict() in module config
- Add exception DuplicateError in module config
- Options can now be added to sections in module config (renamed parameter name -> key)
- Add a tag to specification in module config
- Bugfix: Config.\_\_delitem\_\_() now works even if create_properties=False
**2020-04-21 (0.12.0)**
- Add function convert_string() to module config
- Add class StopWatch to module utils
**2020-01-30 (0.11.3)**
- Add parameter numeric to config.convert_loglevel()
**2020-01-16 (0.11.2)**
- Change utils.ensure_single_instance(): parameter lockfile -> lockname
**2020-01-11 (0.11.1)**
- Bugfix: utils.ensure_single_instance()
**2020-01-11 (0.11.0)**
- Add functions sys_exit() and ensure_single_instance() to module utils
- Add parameter err_code to utils.docopt_helper()
**2020-01-04 (0.10.0)**
- Add wildcards in spec for sections and options in module config
- Add function docopt_helper() in module utils
**2020-01-02 (0.9.4)**
- Bugfix: microseconds format in strings.format_timedelta()
**2019-10-07 (0.9.2)**
- Fix documentation for module config
- Link to overview table for selected module now in sidebar
**2019-10-06 (0.9.1)**
- Bugfix: files.read_lines() stripped all whitespaces, not only line breaks
- Improve documentation: add overview table to each module
**2019-10-01 (0.9.0)**
- Add function slugify() to module strings
- Add class TranslationTable to module strings
- Change function strings.insert_separator()
- Add module validation
- Add \_\_all\_\_ to all modules
**2019-06-26 (0.8.0)**
- Longer secret keys in module crypto
**2019-05-12 (0.7.3)**
- Minor improvements/corrections of the documentation
- Upgrade dependency: cryptography 2.4.2 -> 2.6.1
**2019-04-15 (0.7.2)**
- Bugfix: problem with inputs.menu() when cursor is in the last row
of the terminal
**2019-02-07 (0.7.1)**
- Add 2 tags in module config
**2019-01-31 (0.7.0)**
- Add module config
- Add function int2str() to module strings
- Bugfix: strings.str2tuple() can now use whitespace as separator
**2019-01-15 (0.6.1)**
- Bugfix: \*_prefix() functions in module strings now handle negative
numbers correctly
**2019-01-14 (0.6.0)**
- Add check\_\*() functions to module inputs
- Add parameter caption to function menu() in module inputs
- Add parameter errors to \*_all() and \*_lines() functions in module files
- Add parameter reverse to function insert_separator() in module strings
**2019-01-07 (0.5.0)**
- Replace create() with touch() in module files
- Add functions to module files
- Add functions to module strings
- Add module crypto
- Add module utils
**2018-12-27 (0.4.0)**
- Add functions to module inputs
- Rename line() to read() in module inputs
**2018-12-24 (0.3.0)**
- Add module inputs
**2018-12-23 (0.2.0)**
- Add functions to module colors
- Add module strings
**2018-12-17 (0.1.0)**
- First public release
%package help
Summary: Development documents and examples for salmagundi
Provides: python3-salmagundi-doc
%description help
**2021-08-04 (0.17.1)**
- Bugfix in inputs.menu()
**2021-08-04 (0.17.0)**
- Add parameter default to inputs.menu()
**2021-01-19 (0.16.0)**
- Change in module inputs (see documentation)
- Remove dependency on ansictrls
**2020-12-26 (0.15.1)**
- Bugfix: strings.int2str() now works with negative integers
- Remove deprecated modules config and crypto (use EaSimpConf and PyGemina instead)
- Include docopt.py in package and and fix it to silence DeprecationWarnings
**2020-08-17 (0.15.0)**
- Add parameter noecho to inputs.read()
- Add functions walign(), wlen(), wshorten() to module strings
**2020-07-30 (0.14.0)**
- Add parameter maxsplit to strings.str2tuple()
- Deprecate modules crypto and config
**2020-07-12 (0.13.0)**
- Add method Config.as_dict() in module config
- Add exception DuplicateError in module config
- Options can now be added to sections in module config (renamed parameter name -> key)
- Add a tag to specification in module config
- Bugfix: Config.\_\_delitem\_\_() now works even if create_properties=False
**2020-04-21 (0.12.0)**
- Add function convert_string() to module config
- Add class StopWatch to module utils
**2020-01-30 (0.11.3)**
- Add parameter numeric to config.convert_loglevel()
**2020-01-16 (0.11.2)**
- Change utils.ensure_single_instance(): parameter lockfile -> lockname
**2020-01-11 (0.11.1)**
- Bugfix: utils.ensure_single_instance()
**2020-01-11 (0.11.0)**
- Add functions sys_exit() and ensure_single_instance() to module utils
- Add parameter err_code to utils.docopt_helper()
**2020-01-04 (0.10.0)**
- Add wildcards in spec for sections and options in module config
- Add function docopt_helper() in module utils
**2020-01-02 (0.9.4)**
- Bugfix: microseconds format in strings.format_timedelta()
**2019-10-07 (0.9.2)**
- Fix documentation for module config
- Link to overview table for selected module now in sidebar
**2019-10-06 (0.9.1)**
- Bugfix: files.read_lines() stripped all whitespaces, not only line breaks
- Improve documentation: add overview table to each module
**2019-10-01 (0.9.0)**
- Add function slugify() to module strings
- Add class TranslationTable to module strings
- Change function strings.insert_separator()
- Add module validation
- Add \_\_all\_\_ to all modules
**2019-06-26 (0.8.0)**
- Longer secret keys in module crypto
**2019-05-12 (0.7.3)**
- Minor improvements/corrections of the documentation
- Upgrade dependency: cryptography 2.4.2 -> 2.6.1
**2019-04-15 (0.7.2)**
- Bugfix: problem with inputs.menu() when cursor is in the last row
of the terminal
**2019-02-07 (0.7.1)**
- Add 2 tags in module config
**2019-01-31 (0.7.0)**
- Add module config
- Add function int2str() to module strings
- Bugfix: strings.str2tuple() can now use whitespace as separator
**2019-01-15 (0.6.1)**
- Bugfix: \*_prefix() functions in module strings now handle negative
numbers correctly
**2019-01-14 (0.6.0)**
- Add check\_\*() functions to module inputs
- Add parameter caption to function menu() in module inputs
- Add parameter errors to \*_all() and \*_lines() functions in module files
- Add parameter reverse to function insert_separator() in module strings
**2019-01-07 (0.5.0)**
- Replace create() with touch() in module files
- Add functions to module files
- Add functions to module strings
- Add module crypto
- Add module utils
**2018-12-27 (0.4.0)**
- Add functions to module inputs
- Rename line() to read() in module inputs
**2018-12-24 (0.3.0)**
- Add module inputs
**2018-12-23 (0.2.0)**
- Add functions to module colors
- Add module strings
**2018-12-17 (0.1.0)**
- First public release
%prep
%autosetup -n salmagundi-0.17.1
%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-salmagundi -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.17.1-1
- Package Spec generated
|