15
0
forked from pool/python-gTTS
Commit Graph

14 Commits

Author SHA256 Message Date
a4b16feee0 Accepting request 1063197 from home:mcepl:branches:devel:languages:python
- Update to 2.3.1:
  - Bug fixes:
    - test: include missing required *.txt test files in dist
    - loosen dependancies for click and requests, removes six
      dependancy
    - test: missing @pytest.mark.net on net-enabled test
    - test: remove mock package test dependancy
Features
    - Centralize project metadata and config into a single
      pyproject.toml
    - Drop support for Python 2.7 (long overdue), Python 3.6
      (end-of-life)
    - Modernize package config and build/release workflow
    - Simplify language generator
    - Languages added: zh-CN (Chinese (Simplified)), zh-TW
      (Chinese (Traditional))
    - Languages removed: cy (Welsh), eo (Esperanto), mk
      (Macedonian), ms (Malay), zh-CN (Chinese)
- Remove upstreamed patches:
  - denose.patch
  - network-tests.patch

OBS-URL: https://build.opensuse.org/request/show/1063197
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=21
2023-02-04 19:24:50 +00:00
4ba6040537 - Make tests working at least a little bit. Requires two new patches:
- demock.patch (gh#pndurette/gTTS#343)
  - network-tests.patch (gh#pndurette/gTTS#344)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=19
2022-03-21 15:02:22 +00:00
0478cee45e Accepting request 963703 from home:pgajdos:python
- version update to 2.2.4
  2.2.4 (2022-03-14)
  ------------------
  Features
  ~~~~~~~
  - Added Malay language support (`#316 <https://github.com/pndurette/gTTS/issues/316>`_)
  - Added Hebrew language support (`#324 <https://github.com/pndurette/gTTS/issues/324>`_)
  - Added new ``gTTS.stream()`` method to stream bytes (`#319 <https://github.com/pndurette/gTTS/issues/319>`_)
  Misc
  ~~~
  - `#334 <https://github.com/pndurette/gTTS/issues/334>`_
  2.2.3 (2021-06-17)
  ------------------
  Features
  ~~~~~~~
  - Added Bulgarian language support (`#302 <https://github.com/pndurette/gTTS/issues/302>`_)
  2.2.2 (2021-02-03)
  ------------------
  Features
  ~~~~~~~
  - Adds a language fallback feature for deprecated languages to maintain compatiblity  
    (e.g. ``en-us`` becomes ``en``). Fallback can be disabled with ``lang_check=False`` 
    or ``--nocheck`` for the cli (`#267 <https://github.com/pndurette/gTTS/issues/267>`_)
  Bugfixes
  ~~~~~~~
  - Fix Python 2.7 compatiblity (!). Python 2 is long gone, but the cut wasn't clearly communicated
    for gTTS, so it was restored. Python 2 support will be completely removed in the next major release.
    (`#255 <https://github.com/pndurette/gTTS/issues/255>`_)
  - Language code case sensitivity is maintained throughout (`#267 <https://github.com/pndurette/gTTS/issues/267>`_)
  Deprecations and Removals

OBS-URL: https://build.opensuse.org/request/show/963703
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=18
2022-03-21 14:26:10 +00:00
9fd0050a27 a space does not kill
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=16
2021-02-09 15:22:31 +00:00
f996d34ddd changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=15
2021-02-09 15:21:46 +00:00
dd2c1ee622 Accepting request 870415 from system:homeautomation:home-assistant
- update to 2.2.2
  Features
    Adds a language fallback feature for deprecated languages to
    maintain compatiblity (e.g. en-us becomes en). Fallback can be
    disabled with lang_check=False or --nocheck for the cli (#267)
  Bugfixes
    Fix Python 2.7 compatiblity (!). Python 2 is long gone, but the
    cut wasn't clearly communicated for gTTS, so it was restored.
    Python 2 support will be completely removed in the next major
    release. (#255)
    Language code case sensitivity is maintained throughout (#267)
  Deprecations and Removals
    The following list of 'hyphenated' language codes no longer
    work and have been removed: en-us, en-ca, en-uk, en-gb, en-au,
    en-gh, en-in, en-ie, en-nz, en-ng, en-ph, en-za, en-tz, fr-ca
    fr-fr, pt-br, pt-pt, es-es, es-us, zh-cn, zh-tw (#267)
    Removed the gtts.get_url() method (outdated since 2.1.0) (#270)

OBS-URL: https://build.opensuse.org/request/show/870415
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=14
2021-02-09 15:14:36 +00:00
Tomáš Chvátal
bdec915465 Accepting request 809271 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/809271
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=12
2020-05-27 10:05:51 +00:00
Tomáš Chvátal
abd4d5a471 Accepting request 791749 from home:mcalabkova:branches:devel:languages:python
please, supersede... the module does not exist and is not even in requirements

OBS-URL: https://build.opensuse.org/request/show/791749
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=10
2020-04-06 11:30:21 +00:00
Tomáš Chvátal
20eb54ba91 Accepting request 791742 from home:mcalabkova:branches:devel:languages:python
- update to 2.1.1
  * Debug mode now uses a copy of locals() to prevent RuntimeError (`#213 <https://github.com/pndurette/gTTS/issues/213>`_)
  * Added the ability to customize the Google Translate URL hostname.
    This is useful when ``google.com`` might be blocked within a network but
    a local or different Google host (e.g. ``google.cn``) is not
  * Pre-generated TTS API request URLs can now be obtained instead of
    writing an ``mp3`` file to disk (for example to be used in an
    external program)
  * New ``--tld`` option to match the new ``gtts`` customizable hostname
  * Added Python 3.8 support

OBS-URL: https://build.opensuse.org/request/show/791742
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=9
2020-04-06 11:23:52 +00:00
Tomáš Chvátal
eaaa1b517d - Update to 2.0.4:
* gTTS is now built as a wheel package (Python 2 & 3) (#181)
- Rebase patch remove-pip-requirement.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=7
2019-09-12 11:57:38 +00:00
d6a264454a Accepting request 673169 from home:alarrosa:branches:devel:languages:python
- Change the egg requirement to use the right name, beautifulsoup4,
  instead of bs4

OBS-URL: https://build.opensuse.org/request/show/673169
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=5
2019-02-10 19:17:33 +00:00
Tomáš Chvátal
18440ed39b Accepting request 670774 from home:alarrosa:branches:devel:languages:python
- Update to 2.0.3:
  * Added new tokenizer case for ':' preventing cut in the middle of
    a time notation
- Update to 2.0.2:
  Features
  * Added Python 3.7 support, modernization of packaging, testing and CI
  Bugfixes
  * Fixed language retrieval/validation broken from new Google Translate page
- Update to 2.0.1:
  Bugfixes
  * Fixed an UnicodeDecodeError when installing gTTS if system locale was
    not utf-8
  Improved Documentation
  * Added Pre-processing and tokenizing > Minimizing section about the API's
    100 characters limit and how larger tokens are handled
- Update to 2.0.0:
  Features
  * The gtts module
    + New logger ("gtts") replaces all occurrences of print()
    + Languages list is now obtained automatically (gtts.lang)
    + Added a curated list of language sub-tags that have been observed to
      provide different dialects or accents (e.g. "en-gb", "fr-ca")
    + New gTTS() parameter lang_check to disable language checking.
    + gTTS() now delegates the text tokenizing to the API request methods (i.e.
      write_to_fp(), save()), allowing gTTS instances to be modified/reused
    + Rewrote tokenizing and added pre-processing (see below)
    + New gTTS() parameters pre_processor_funcs and tokenizer_func to configure
      pre-processing and tokenizing (or use a 3rd party tokenizer)
    + Error handling:
      - Added new exception gTTSError raised on API request errors. It attempts

OBS-URL: https://build.opensuse.org/request/show/670774
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=3
2019-02-03 18:33:45 +00:00
ff507f499e Accepting request 603637 from devel:languages:python
New package python-gTTS required by mycroft-core

OBS-URL: https://build.opensuse.org/request/show/603637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gTTS?expand=0&rev=1
2018-05-04 09:30:26 +00:00
e02b0257ca Accepting request 603631 from devel:languages:python:misc
Move back the package to d:l:p to try to submit it to Factory again

OBS-URL: https://build.opensuse.org/request/show/603631
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=1
2018-05-03 11:05:30 +00:00