Commit Graph

37 Commits

Author SHA256 Message Date
Ana Guerrero
f2b80f84c3 Accepting request 1199779 from devel:languages:python
- Add patch do-not-always-use-cgi-module.patch:
  * Support Python 3.13 by making use of cgi optional.
- Switch to autosetup macro.

OBS-URL: https://build.opensuse.org/request/show/1199779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=21
2024-09-10 19:12:44 +00:00
Steve Kowalik
221a035004 - Add patch do-not-always-use-cgi-module.patch:
* Support Python 3.13 by making use of cgi optional.
- Switch to autosetup macro.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=35
2024-09-10 04:13:08 +00:00
Dominique Leuenberger
643a4b4a00 Accepting request 1168357 from devel:languages:python
- Remove unneeded dependency on six
  * https://github.com/formencode/formencode/commit/98e9e97e

OBS-URL: https://build.opensuse.org/request/show/1168357
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=20
2024-04-17 12:45:02 +00:00
eebdf7b437 - Remove unneeded dependency on six
* https://github.com/formencode/formencode/commit/98e9e97e

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=33
2024-04-16 13:27:50 +00:00
Ana Guerrero
894b24c5a4 Accepting request 1133654 from devel:languages:python
- update to 2.1.0:
  * Add support for Python 3.7 to 3.12, end support for older Python
    versions
  * Context.set() now works as a context manager
  * Fix binary of swedish translation
  * Some internal code cleanup and modernization

  * The method field_is_empty was added to

OBS-URL: https://build.opensuse.org/request/show/1133654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=19
2023-12-17 20:29:02 +00:00
253a827c64 - update to 2.1.0:
* Add support for Python 3.7 to 3.12, end support for older Python
    versions
  * Context.set() now works as a context manager
  * Fix binary of swedish translation
  * Some internal code cleanup and modernization
  * The method field_is_empty was added to

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=31
2023-12-16 21:00:57 +00:00
Ana Guerrero
95abac05e2 Accepting request 1099155 from devel:languages:python
- Clean up Python 2 leftovers.
- Switch to pyproject macros.
- Drop BuildRequires on setuptools_scm_git_archive

OBS-URL: https://build.opensuse.org/request/show/1099155
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=18
2023-07-24 16:12:00 +00:00
Steve Kowalik
e30b180c4f - Clean up Python 2 leftovers.
- Switch to pyproject macros.
- Drop BuildRequires on setuptools_scm_git_archive

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=29
2023-07-18 02:48:21 +00:00
Dominique Leuenberger
f2d9391775 Accepting request 1082041 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1082041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=17
2023-04-22 20:02:48 +00:00
359f82ab6e Accepting request 1081296 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081296
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=27
2023-04-21 15:06:51 +00:00
Dominique Leuenberger
b32970a982 Accepting request 942919 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/942919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=16
2021-12-30 14:55:16 +00:00
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
Dominique Leuenberger
6b917f50bf Accepting request 820001 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/820001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=15
2020-07-15 10:06:15 +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
Stephan Kulow
7960e6a25a Accepting request 682404 from devel:languages:python
- Really run tests under python3
- Add patch to work with python3:
  * six.patch

OBS-URL: https://build.opensuse.org/request/show/682404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=14
2019-03-10 08:33:24 +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
Dominique Leuenberger
a2045a0469 Accepting request 681513 from devel:languages:python
- 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/request/show/681513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=13
2019-03-05 11:24:50 +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
Dominique Leuenberger
f3aae64a7a Accepting request 654062 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/654062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=12
2018-12-13 18:44:50 +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
Dominique Leuenberger
8e403f76ed Accepting request 522042 from devel:languages:python
- common -doc subpackage
- improve packaging of docs (forwarded request 522041 from matejcik)

OBS-URL: https://build.opensuse.org/request/show/522042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=11
2017-10-11 20:56:24 +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
Dominique Leuenberger
6fa74e5023 Accepting request 369210 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/369210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=10
2016-03-16 09:34:27 +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
Stephan Kulow
6c3780c874 Accepting request 305738 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/305738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=9
2015-05-10 08:46:16 +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
Tomáš Chvátal
007619dbfa Accepting request 204563 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=7
2013-10-25 09:16:22 +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
Tomáš Chvátal
ee3cc55787 Accepting request 195602 from devel:languages: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 (forwarded request 195401 from frispete)

OBS-URL: https://build.opensuse.org/request/show/195602
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=5
2013-08-20 09:44:33 +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
Stephan Kulow
e29f083270 Accepting request 178851 from 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) (forwarded request 178353 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/178851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=4
2013-06-14 13:47:03 +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