Commit Graph

16 Commits

Author SHA256 Message Date
f1511dc0b7 Accepting request 942383 from home:bnavigator:branches:devel:languages:python
- Update to 2.0.1 * Add support for 3.10 * use Pytest instead of Nose and Github Actions instead of Travis
    for tests
  * Documentation updates
  * Note this will be the last version to support Python 2.7. The
    next version will be 2.1 to signal this change. If you want to
    keep support for Python 2.7 update your dependencies spec to be
    below 2.1
- Release 2.0.0
  * FormEncode can now run on Python 3.6 and higher without needing
    to run 2to3 first.
  * FormEncode 2.0 is no longer compatible with Python 2.6 and 3.2
    to 3.5. If you need Python 2.6 or 3.2 to 3.5 compatibility
    please use FormEncode 1.3. You might also try FormEncode
    2.0.0a1 which supports Python 2.6 and Python 3.3-3.5.
  * This will be the last major version to support Python 2.7
  * Add strict flag to USPostalCode to raise error on postal codes
    that has too many digits instead of just truncating
  * Various Python 3 fixes
  * Serbian latin translation
  * Changed License to MIT
  * Dutch, UK, Greek and South Korean postal code format fixes
  * Add postal code formats for Switzerland, Cyprus, Faroe Islands,
    San Marino, Ukraine and Vatican City.
  * Add ISODateTimeConverter validator
  * Add ability to target htmlfill to particular form or ignore a
    form
  * Fix format errors in some translations
  * The version of the library can be checked using

OBS-URL: https://build.opensuse.org/request/show/942383
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=26
2021-12-28 11:54:49 +00:00
Tomáš Chvátal
a60c0a55c5 Accepting request 819991 from home:pgajdos:python
- switch from nose to pytest
- added patches
  fix https://github.com/formencode/formencode/pull/154
  + python-FormEncode-remove-nose.patch

OBS-URL: https://build.opensuse.org/request/show/819991
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=24
2020-07-10 13:55:31 +00:00
Tomáš Chvátal
2e5d2b5347 - Really run tests under python3
- Add patch to work with python3:
  * six.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=22
2019-03-07 11:09:56 +00:00
Tomáš Chvátal
be9be315ff - Remove online tests:
* remove-online-tests.patch
- Work with new pycountry:
  * new-pycountry.patch
- Run tests

- Fix fdupes call
- Update to 1.3.1:
  * no obvious changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=20
2019-03-04 16:26:44 +00:00
b7a4eb6161 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=18
2018-12-04 13:28:22 +00:00
Jan Matejek
942c58b695 Accepting request 522041 from devel:languages:python:singlespec-staging
- common -doc subpackage
- improve packaging of docs

OBS-URL: https://build.opensuse.org/request/show/522041
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=16
2017-09-07 15:45:01 +00:00
Jan Matejek
a61398687f Accepting request 521118 from devel:languages:python:singlespec-staging
- singlespec auto-conversion
- common -doc subpackage
- improve packaging of docs

OBS-URL: https://build.opensuse.org/request/show/521118
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=15
2017-09-05 11:55:26 +00:00
Todd R
6ee3bb46b0 Accepting request 369009 from home:bmwiedemann:branches:devel:languages:python
Drop build date from doc to fix build-compare

OBS-URL: https://build.opensuse.org/request/show/369009
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=13
2016-03-09 16:23:07 +00:00
Jan Matejek
74cef21394 Accepting request 305462 from home:benoit_monin:branches:devel:languages:python
- update to version 1.3.0
- add fdupes as BuildRequires and call it after install
- fix end of line of README.rst
- remove chmod of msgfmt.py: file deleted upstream
- install html documentation in the docdir of the main package
- do not install PKG-INFO in the documentation: already provided by the egg-info

OBS-URL: https://build.opensuse.org/request/show/305462
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=11
2015-05-07 11:54:26 +00:00
Sascha Peilicke
fadea04616 - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=9
2013-10-24 11:05:58 +00:00
Todd R
135199ecc6 Accepting request 195401 from home:frispete:python
- somebody updated this package to 1.2.6 (not me)
- added missing pieces in order to generate sphinx documentation
- create documentation in separate -doc package
- fix various wrong line endings

OBS-URL: https://build.opensuse.org/request/show/195401
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=7
2013-08-19 11:44:42 +00:00
Sascha Peilicke
c2d6701df7 Accepting request 178353 from home:dirkmueller:branches:devel:languages:python
- update to 1.2.5:
  * The method field_is_empty was added to 
  formencode.validators.FormValidator
  * Fix packaging issue with i18n files (from Juliusz Gonera)

OBS-URL: https://build.opensuse.org/request/show/178353
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=5
2013-06-13 08:56:46 +00:00
Stephan Kulow
b2a9472808 Accepting request 109286 from devel:languages:python
Please add

OBS-URL: https://build.opensuse.org/request/show/109286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=1
2012-03-20 10:32:54 +00:00
Sascha Peilicke
00d0d6ccd8 - Set license to SDPX style (Python-2.0)
- Removed outdated %clean section
- Simplified macro usage
- Only package HTML documentation (not the doc sources)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=3
2012-03-14 13:44:41 +00:00
Sascha Peilicke
1283e9fb5e - Add provides/obsoletes for python-formencode
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=2
2011-09-01 08:47:29 +00:00
Sascha Peilicke
9c422e9579 - Renamed to python-FormEncode to match upstream name
- Properly package documentation

- disable runtime dependency to python-setuptools

- update to 1.2.2
- remove FormEncode-1.2-svn-fixes.patch
- added rpmlintrc

- Apply some fixes from SVN

- Update to 1.2
  * Added :class:`formencode.validators.IPAddress`, validating IP
  addresses, from Leandro Lucarella.
  * Added :meth:`formencode.api.Invalid.__unicode__`
  * In :mod:`formencode.htmlfill` use a default encoding of utf8 when
  handling mixed ``str``/``unicode`` content.  Also do not modify
  ``<input type="image">`` tags (previously ``src`` would be
  overwritten, for no good reason).
  * In :class:`formencode.validators.Email` allow single-character
  domain names (like x.com).
  * Make :class:`formencode.validators.FieldsMatch` give a normal
  ``Invalid`` exception if you pass it a non-dictionary.  Also treat
  all missing keys as the empty string (previously the first key was
  required and would raise KeyError).
  * :class:`formencode.validators.Number` works with ``inf`` float
  values (before it would raise a OverflowError).
  * The ``tw`` locale has been renamed to the more standard ``zh_TW``.
  * Added Japanese and Turkish translations.
  * Fixed some outdated translations and errors in Spanish and Greek

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=1
2011-09-01 08:46:49 +00:00