1
0

58 Commits

Author SHA256 Message Date
514a917e15 Accepting request 1301411 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/request/show/1301411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=29
2025-08-26 12:57:30 +00:00
cd4be871eb - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=57
2025-08-26 09:52:45 +00:00
73a4c97eac Accepting request 1266270 from devel:languages:python
Make it compatible with new setuptools

OBS-URL: https://build.opensuse.org/request/show/1266270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=28
2025-04-10 19:59:47 +00:00
6e9d46871d - Make it compatible with older setuptools
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=55
2025-04-01 16:11:48 +00:00
904e5ddb00 - Normalize metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=54
2025-03-27 00:41:57 +00:00
ab905fd144 Accepting request 1239001 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=27
2025-01-20 16:15:18 +00:00
d543a12cf2 - Update to 6.6.1
* Make signatures in ``tb_format`` Python 3.12+ compatible (#186)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=52
2025-01-20 11:34:40 +00:00
dc907ff2d0 Accepting request 1218876 from devel:languages:python
- update to 6.6:
  * Make tests compatible with Python 3.13 + add support for that
    version.
  * Drop support for Python 3.7.

OBS-URL: https://build.opensuse.org/request/show/1218876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=26
2024-10-29 13:35:28 +00:00
376434d4e3 - update to 6.6:
* Make tests compatible with Python 3.13 + add support for that
    version.
  * Drop support for Python 3.7.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=50
2024-10-28 21:53:27 +00:00
4eb02b6a43 Accepting request 1205614 from devel:languages:python
- Add missing psuffix to name for multibuild.

OBS-URL: https://build.opensuse.org/request/show/1205614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=25
2024-10-04 15:10:56 +00:00
bc3d402a0b - Add missing psuffix to name for multibuild.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=48
2024-10-04 04:41:28 +00:00
1537fc7723 Accepting request 1194965 from devel:languages:python
- Update to 6.5:
  * unittest.TestCase.subTest support (#91).
  * remove support for setup.py's test command. Support for this command has
    been dropped by modern setuptools versions and correspondingly has been
    removed from most zopefoundation packages; zope.testrunner now follows.
  * setup.py's ftest command is now only supported when the used setuptools
    version still supports test.

OBS-URL: https://build.opensuse.org/request/show/1194965
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=24
2024-08-21 21:25:58 +00:00
c82e928013 Accepting request 1157896 from devel:languages:python
- update to 6.4:
  * Add PEP 440 support (implicit namespaces).
  * Fix XML tests when running in distribution resp. separately.
  * Exit cleanly when using the test runner --version argument.
  * Add new --xml <path> option to write JUnit-like XML reports.
    Code comes from collective.xmltestreport, but be aware that
    here --xml is not a boolean, but expects a path! (#148).
  * Add support for Python 3.13a3.

OBS-URL: https://build.opensuse.org/request/show/1157896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=23
2024-03-15 19:27:47 +00:00
bdeb6d6b0c - update to 6.4:
* Add PEP 440 support (implicit namespaces).
  * Fix XML tests when running in distribution resp. separately.
  * Exit cleanly when using the test runner --version argument.
  * Add new --xml <path> option to write JUnit-like XML reports.
    Code comes from collective.xmltestreport, but be aware that
    here --xml is not a boolean, but expects a path! (#148).
  * Add support for Python 3.13a3.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=44
2024-03-14 08:57:46 +00:00
17178a3bea Accepting request 1138587 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1138587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=22
2024-01-15 21:11:19 +00:00
0b9098ca4f Accepting request 1138515 from home:bnavigator:branches:devel:languages:python
- Run the test suite with itself like it is meant to be
  * fixes Python 3.12 test failures
- Setuptools is a runtime requirement (for egg testing support)

OBS-URL: https://build.opensuse.org/request/show/1138515
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=42
2024-01-14 15:16:16 +00:00
3bdd53e83a Accepting request 1136298 from devel:languages:python
- update to 6.2.1:
  * Work around Python 3.12.1+ no longer calling startTest for
    skipped tests

OBS-URL: https://build.opensuse.org/request/show/1136298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=21
2024-01-05 21:59:14 +00:00
896d9f2f02 - update to 6.2.1:
* Work around Python 3.12.1+ no longer calling startTest for
    skipped tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=40
2024-01-02 21:46:32 +00:00
044171f16b Accepting request 1132429 from devel:languages:python
- update to 6.2:
  * Add support for Python 3.12.
  * Update code and tests to ``python-subunit >= 1.4.3`` thus
    requiring at least this version.

- Update to version 5.6
- Update to 5.5.1
- updated spec to include
  * Fix test failures and deprecation warnings occurring when
    using Python 3.8a1.
  * Update the command line interface to use argparse instead of
  * Handle string in exception values when formatting chained
  * Enable DeprecationWarning earlier, when discovering test
- Changes from 4.4.0

OBS-URL: https://build.opensuse.org/request/show/1132429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=20
2023-12-11 20:49:45 +00:00
76d40bd7b9 - update to 6.2:
* Add support for Python 3.12.
  * Update code and tests to ``python-subunit >= 1.4.3`` thus
    requiring at least this version.
- Update to version 5.6
- Update to 5.5.1
- updated spec to include
  * Fix test failures and deprecation warnings occurring when
    using Python 3.8a1.
  * Update the command line interface to use argparse instead of
  * Handle string in exception values when formatting chained
  * Enable DeprecationWarning earlier, when discovering test
- Changes from 4.4.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=38
2023-12-11 08:16:25 +00:00
15432c78fd Accepting request 1092190 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1092190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=19
2023-06-12 13:24:18 +00:00
90552c3557 Accepting request 1092177 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092177
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=36
2023-06-11 11:26:30 +00:00
1d223366de Accepting request 1077170 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1077170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=18
2023-04-06 13:55:46 +00:00
ce584333db Accepting request 1076861 from home:pgajdos:python
- version update to 6.0
  * - Drop support for Python 2.7, 3.5, 3.6.
- python-six is not required

OBS-URL: https://build.opensuse.org/request/show/1076861
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=34
2023-04-04 09:39:40 +00:00
2fc1d6a2ec Accepting request 1042853 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1042853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=17
2022-12-15 18:24:01 +00:00
d14583b27d Accepting request 1042768 from home:yarunachalam:branches:devel:languages:python
- Update to version 5.6 
  * Add support for Python 3.11.
  * Inline a small part of random.Random.shuffle which was deprecated in Python 3.9 and removed in 3.11 (#119).
  * Don’t trigger post mortem debugger for skipped tests. ( #141).

OBS-URL: https://build.opensuse.org/request/show/1042768
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=32
2022-12-14 09:47:58 +00:00
561523f015 Accepting request 1039737 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1039737
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=16
2022-12-04 13:57:43 +00:00
dc261079ec Accepting request 1039706 from home:yarunachalam:branches:devel:languages:python
- Update to 5.5.1 
   * Fix: let --at-level=level with level <= 0 run the tests at all levels (rather than at no level) #138.

OBS-URL: https://build.opensuse.org/request/show/1039706
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=30
2022-12-03 07:25:18 +00:00
2e534b9065 Accepting request 1004825 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1004825
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=15
2022-09-20 17:23:25 +00:00
a22eb67b47 Accepting request 1004753 from home:yarunachalam:branches:devel:languages:python
- updated spec to include 
  Requires(post): update-alternatives
  Requires(postun):update-alternatives

- version update to 5.5.0
  * Use sys._current_frames (rather than threading.enumerate) as base for new thread detection, fixes #130.
  * New option --gc-after-test. It calls for a garbage collection after each test and can be used to track down
    ResourceWarning``s and cyclic garbage. With ``rv = gc.collect(), ! is output on verbosity level 1 when rv is
    non zero (i.e. when cyclic structures have been released), [``*rv*]`` on higher verbosity levels and a detailed
    cyclic garbage analysis on verbosity level 4+. For details, see #133.
  * Allow the filename for the logging configuration to be specified via the envvar ZOPE_TESTRUNNER_LOG_INI.
    If not defined, the configuration continues to be locked for in file log.ini of the current working directory.
    Remember the logging configuration file in envvar ZOPE_TESTRUNNER_LOG_INI to allow spawned child processes to
    recreate the logging configuration. For details, see #134.
 
- version update to 5.4.0
   * Improve --help documentation for --package-path option (#121).
   * Do not disable existing loggers during logsupport initialization (#120).
   * Fix tests with testtools >= 2.5.0 (#125).
   * Add support for Python 3.10.

OBS-URL: https://build.opensuse.org/request/show/1004753
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=28
2022-09-19 16:26:43 +00:00
b7585054bc Accepting request 923473 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/923473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=14
2021-10-25 13:16:54 +00:00
a815897146 Accepting request 923415 from home:pgajdos:python
- version update to 5.3.0
  - Add support for Python 3.9.
  - Fix `package init file missing` warning
    (`#112 <https://github.com/zopefoundation/zope.testrunner/pull/112>`_).
  - Make standard streams provide a `buffer` attribute on Python 3 when using
    `--buffer` or testing under subunit.
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/923415
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=27
2021-10-06 09:54:01 +00:00
0398d6720d Accepting request 822035 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/822035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=13
2020-08-01 10:28:43 +00:00
Tomáš Chvátal
364b08dc24 Accepting request 822033 from home:mcalabkova:branches:devel:languages:python
- Update to 5.2
  * Add support for Python 3.8.
  * When a layer is run in a subprocess, read its stderr in a thread to avoid
    a deadlock if its stderr output (containing failing and erroring test IDs)
    overflows the capacity of a pipe

OBS-URL: https://build.opensuse.org/request/show/822033
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=25
2020-07-21 08:57:00 +00:00
d85a9de66e Accepting request 745976 from devel:languages:python
- Update to 5.1:
  * Recover more gracefully when layer setUp or tearDown fails, producing useful subunit output.
  * Prevent a spurious warning from the --require-unique option if the --module option was not used.
  * Add optional buffering of standard output and standard error during tests, requested via the --buffer option or enabled by default for subunit.
  * Fix incorrect failure counts in per-layer summary output, broken in 4.0.1.

OBS-URL: https://build.opensuse.org/request/show/745976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=12
2019-11-22 09:20:12 +00:00
Tomáš Chvátal
96a2b73991 - Update to 5.1:
* Recover more gracefully when layer setUp or tearDown fails, producing useful subunit output.
  * Prevent a spurious warning from the --require-unique option if the --module option was not used.
  * Add optional buffering of standard output and standard error during tests, requested via the --buffer option or enabled by default for subunit.
  * Fix incorrect failure counts in per-layer summary output, broken in 4.0.1.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=23
2019-11-06 12:11:14 +00:00
19e8d977d2 Accepting request 692309 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/692309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=11
2019-04-10 21:10:54 +00:00
Tomáš Chvátal
b87ffe7310 Accepting request 692301 from home:mcalabkova:branches:devel:languages:python
- update to version 5.0
  * Fix test failures and deprecation warnings occurring when 
    using Python 3.8a1.  
  * Drop support for Python 3.4.
  4.9*
  * Fix AssertionError in _DummyThread.isAlive on Python 3.
  * Drop support for Python 3.3.
  * Add support for Python 3.7.
  * Remove untested support for the --pychecker option.
  * Update the command line interface to use argparse instead of 
    optparse.
  * Use ipdb instead of pdb for post-mortem debugging if available.
  * Add a –require-unique option to check for duplicate test IDs.
  * Reintroduce optional support for subunit.
  * Handle string in exception values when formatting chained 
    exceptions.
  4.8*
  * Enable DeprecationWarning earlier, when discovering test 
    modules.
  * Automatically enable DeprecationWarning when running tests.
- Launch tests using multibuild.

OBS-URL: https://build.opensuse.org/request/show/692301
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=21
2019-04-08 13:47:49 +00:00
e2a47b19eb Accepting request 654094 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/654094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=10
2018-12-13 18:46:42 +00:00
6def0b1ae3 Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=19
2018-12-04 17:26:53 +00:00
219043ff7a Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=18
2018-12-04 14:17:07 +00:00
0e1a9ab587 Accepting request 507389 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/507389
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=9
2017-07-08 10:33:42 +00:00
Jan Matejek
68e342214d Accepting request 507165 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/507165
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=16
2017-06-30 14:36:01 +00:00
8acfad1703 Accepting request 419470 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/419470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=8
2016-08-17 10:05:24 +00:00
Todd R
06da28c8a9 Accepting request 419469 from home:TheBlackCat:branches:devel:languages:python
Fix update-alternatives implementation.

OBS-URL: https://build.opensuse.org/request/show/419469
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=14
2016-08-15 16:00:19 +00:00
Denisart Benjamin
d71a82dc16 Accepting request 307353 from home:benoit_monin:branches:devel:languages:python
- update to version 4.4.8
- add runtime requirements python-six, python-zope.exceptions, python-zope.interface
- update the test requirements (still commented out, tests fail)
- fix update-alternatives

OBS-URL: https://build.opensuse.org/request/show/307353
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=13
2015-05-24 18:36:42 +00:00
12e85980c9 Accepting request 261689 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/261689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=7
2014-11-18 21:45:27 +00:00
Denisart Benjamin
053706df2b Accepting request 260381 from home:Ledest:misc
fix bashism in pre script

OBS-URL: https://build.opensuse.org/request/show/260381
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=11
2014-11-14 18:02:59 +00:00
Tomáš Chvátal
2c2cc19785 Accepting request 206908 from devel:languages:python
Update + update-alternatives (forwarded request 206907 from posophe)

OBS-URL: https://build.opensuse.org/request/show/206908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=5
2013-11-15 07:38:21 +00:00
Denisart Benjamin
7ee286cf51 Accepting request 206907 from home:posophe:branches:devel:languages:python
Update + update-alternatives

OBS-URL: https://build.opensuse.org/request/show/206907
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=9
2013-11-14 15:46:08 +00:00
Stephan Kulow
1f1173325e Accepting request 206749 from devel:languages:python
Update (forwarded request 206748 from posophe)

OBS-URL: https://build.opensuse.org/request/show/206749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=4
2013-11-14 07:43:53 +00:00
Denisart Benjamin
99372b7949 Accepting request 206748 from home:posophe:branches:devel:languages:python
Update

OBS-URL: https://build.opensuse.org/request/show/206748
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=7
2013-11-13 13:28:26 +00:00
Tomáš Chvátal
94f280d8b0 Accepting request 204697 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=3
2013-10-25 09:37:09 +00:00
Sascha Peilicke
41630e8b17 - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=5
2013-10-24 11:18:04 +00:00
Stephan Kulow
57a37da9ed Accepting request 159556 from devel:languages:python
Replaces python-zope-event

OBS-URL: https://build.opensuse.org/request/show/159556
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=1
2013-03-18 06:14:21 +00:00
Sascha Peilicke
edf6d26e07 more testing
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=3
2013-03-15 14:16:08 +00:00
Sascha Peilicke
6d23bd8383 fix build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=2
2013-03-15 14:09:08 +00:00
Sascha Peilicke
4cdc3ddeae - Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=1
2013-03-15 14:08:04 +00:00
5 changed files with 57 additions and 13 deletions

View File

@@ -1,3 +1,37 @@
-------------------------------------------------------------------
Tue Aug 26 09:52:11 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems
-------------------------------------------------------------------
Tue Apr 1 16:06:08 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Make it compatible with older setuptools
-------------------------------------------------------------------
Thu Mar 27 00:40:11 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Normalize metadata directory name.
-------------------------------------------------------------------
Mon Jan 20 10:40:28 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 6.6.1
* Make signatures in ``tb_format`` Python 3.12+ compatible (#186)
-------------------------------------------------------------------
Mon Oct 28 21:53:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 6.6:
* Make tests compatible with Python 3.13 + add support for that
version.
* Drop support for Python 3.7.
-------------------------------------------------------------------
Fri Oct 4 04:40:08 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add missing psuffix to name for multibuild.
-------------------------------------------------------------------
Wed Aug 21 04:04:14 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zope.testrunner
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,14 +24,19 @@
%define psuffix %{nil}
%bcond_with test
%endif
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-zope.testrunner
Version: 6.5
Name: python-zope.testrunner%{psuffix}
Version: 6.6.1
Release: 0
Summary: Zope testrunner script
License: ZPL-2.1
URL: https://github.com/zopefoundation/zope.testrunner
Source: https://files.pythonhosted.org/packages/source/z/zope.testrunner/zope.testrunner-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/z/zope_testrunner/zope_testrunner-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -42,9 +47,14 @@ BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires: python-zope.exceptions
Requires: python-zope.interface
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%endif
%if %{with test}
BuildRequires: %{python_module zope.testing}
BuildRequires: %{python_module zope.testrunner = %{version}}
@@ -56,7 +66,7 @@ BuildRequires: %{pythons}
This package provides a flexible test runner with layer support.
%prep
%autosetup -p1 -n zope.testrunner-%{version}
%autosetup -p1 -n zope_testrunner-%{version}
find -size 0 -delete
%build
@@ -84,13 +94,16 @@ $python -m zope.testrunner --test-path=src -vv
%postun
%python_uninstall_alternative zope-testrunner
%pre
%python_libalternatives_reset_alternative zope-testrunner
%files %{python_files}
%license LICENSE.md
%doc README.rst
%python_alternative %{_bindir}/zope-testrunner
%{python_sitelib}/zope/testrunner
%{python_sitelib}/zope.testrunner-%{version}-py*-nspkg.pth
%{python_sitelib}/zope.testrunner-%{version}.dist-info
%{python_sitelib}/zope[_.]testrunner-%{version}.dist-info
%endif
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b859fc74d6f2b6c5dd8adf9dee4ec7405f73f290ecab2570ac636f8361228c8
size 159953

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d1ff88aa8dab42a2f0de2f522719f675e8977a4b82ece6526ae742e1fdabdbdc
size 155717

BIN
zope_testrunner-6.6.1.tar.gz LFS Normal file

Binary file not shown.