15
0
forked from pool/python-fire
Commit Graph

14 Commits

Author SHA256 Message Date
96d5899d86 Accepting request 738722 from devel:languages:python
- Add subpoint-usage-test.patch, which will change the subpoint usage string
  if running under Python 3.8.

OBS-URL: https://build.opensuse.org/request/show/738722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=7
2019-10-16 07:18:58 +00:00
741dbeaa39 - Add subpoint-usage-test.patch, which will change the subpoint usage string
if running under Python 3.8.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=13
2019-10-16 03:44:17 +00:00
Ludwig Nussel
0bc0b83221 Accepting request 730554 from devel:languages:python
- Update to 0.2.1:
  * Improves robustness of docstring parser in the face of unexpected format docstrings. #183

OBS-URL: https://build.opensuse.org/request/show/730554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=6
2019-09-13 13:02:51 +00:00
Tomáš Chvátal
9baede06d9 - Update to 0.2.1:
* Improves robustness of docstring parser in the face of unexpected format docstrings. #183

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=11
2019-09-13 07:45:30 +00:00
dd20ff5111 Accepting request 719775 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/719775
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=5
2019-07-30 10:39:33 +00:00
Tomáš Chvátal
8f8d840528 Accepting request 719771 from home:pgajdos
- version update to 0.2.0
  * Help and usage screens
  * Help screens now have a man-page appearance and are shown with less-style pagination. Usage screens are shown when a user-error is encountered. The help and usage screens are considerably cleaner than the default output in previous versions of Fire.
  * Custom serialization
  * If you define a custom __str__ method on an object, that will be used to serialize the object when it is the final result of a Fire command. This means better support for numpy arrays, and better support for custom types.
  * Docstring parsing
  * Notably, docstrings are parsed in order to determine the descriptions to use for arguments in the help screens. We largely support (but not fully) Google, numpy, and RST style docstrings. These are the three most common styles of docstring used in Python code.
  * Access --help naturally
  * You no longer need to separate --help from your command with an extra --. Simply running command -h or command --help will give help, provided there isn't an argument named help in your component.
  * NamedTuples can be indexed both by their field names and by their indexes.
  * Callable objects can both be called, and their members can be accessed.
  * You must use flag syntax to call a callable object; you cannot pass their arguments positionally.
  * Single-hyphen flags are supported
  * You can now specify -flag instead of --flag if preferred. Both work.
  * Short-flags are permitted when their use is unambiguous
  * E.g. if your function has argument alpha, then you can specify its value with -a.
  * Fish completion support
- deleted patches
  - fix-issue-164.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/719771
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=9
2019-07-30 08:13:31 +00:00
1159a7be46 Accepting request 682933 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/682933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=4
2019-03-11 10:15:06 +00:00
6446221631 Accepting request 682932 from home:mcepl:branches:devel:languages:python
- Add fix-issue-164.patch patch to fix gh#google/python-fire#164
  and we can run whole test suite.

OBS-URL: https://build.opensuse.org/request/show/682932
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=7
2019-03-08 23:35:04 +00:00
d654a9abeb Accepting request 676205 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/676205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=3
2019-02-20 13:10:49 +00:00
58753198d6 Accepting request 676204 from home:mcepl:branches:devel:languages:python
- Switch of tests testFireKeywordArgs, testFireObjectWithDict,
  testHelpStringBuiltin, and testGetFullArgSpecFromBuiltin
  gh#google/python-fire#164

OBS-URL: https://build.opensuse.org/request/show/676204
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=5
2019-02-14 17:44:32 +00:00
f372c5aa97 Accepting request 662448 from devel:languages:python
- Simplify the tests call

OBS-URL: https://build.opensuse.org/request/show/662448
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=2
2019-01-03 17:08:45 +00:00
Tomáš Chvátal
bf815010cc - Simplify the tests call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=3
2019-01-02 12:50:38 +00:00
c597f95246 Accepting request 652720 from devel:languages:python
Required by python-fastTSNE

OBS-URL: https://build.opensuse.org/request/show/652720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=1
2018-12-19 12:49:46 +00:00
Todd R
3c667101c6 Accepting request 652719 from home:TheBlackCat:branches:devel:languages:python:misc
Required by python-fastTSNE

OBS-URL: https://build.opensuse.org/request/show/652719
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=1
2018-11-29 21:14:27 +00:00