plone.theme 4.0.1__py3-none-any.whl → 4.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
plone/theme/README.rst CHANGED
@@ -61,7 +61,7 @@ The other outputs "My Theme".
61
61
 
62
62
  Before we turn on the skin, we will get the default view.
63
63
 
64
- >>> from plone.testing.z2 import Browser
64
+ >>> from plone.testing.zope import Browser
65
65
  >>> browser = Browser(layer['app'])
66
66
 
67
67
  >>> browser.open(layer['portal'].absolute_url() + '/@@layer-test-view')
@@ -101,11 +101,18 @@ class TestPrecedenceWithNoThemeLayer(LayerPrecedenceTestCase):
101
101
 
102
102
 
103
103
  def test_suite():
104
- from unittest import makeSuite
105
- from unittest import TestSuite
106
-
107
- suite = TestSuite()
108
- suite.addTest(makeSuite(TestPrecedenceWithAdditiveLayerExtendingInterface))
109
- suite.addTest(makeSuite(TestPrecedenceWithAdditiveLayerExtendingDefault))
110
- suite.addTest(makeSuite(TestPrecedenceWithNoThemeLayer))
111
- return suite
104
+ import unittest
105
+
106
+ return unittest.TestSuite(
107
+ (
108
+ unittest.defaultTestLoader.loadTestsFromTestCase(
109
+ TestPrecedenceWithAdditiveLayerExtendingInterface
110
+ ),
111
+ unittest.defaultTestLoader.loadTestsFromTestCase(
112
+ TestPrecedenceWithAdditiveLayerExtendingDefault
113
+ ),
114
+ unittest.defaultTestLoader.loadTestsFromTestCase(
115
+ TestPrecedenceWithNoThemeLayer
116
+ ),
117
+ )
118
+ )
@@ -0,0 +1 @@
1
+ import sys, types, os;p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('plone',));importlib = __import__('importlib.util');__import__('importlib.machinery');m = sys.modules.setdefault('plone', importlib.util.module_from_spec(importlib.machinery.PathFinder.find_spec('plone', [os.path.dirname(p)])));m = m or sys.modules.setdefault('plone', types.ModuleType('plone'));mp = (m or []) and m.__dict__.setdefault('__path__',[]);(p not in mp) and mp.append(p)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plone.theme
3
- Version: 4.0.1
3
+ Version: 4.0.3
4
4
  Summary: Tools for managing themes in CMF and Plone sites
5
5
  Home-page: https://pypi.org/project/plone.theme
6
6
  Author: Plone Foundation
@@ -26,8 +26,8 @@ Requires-Dist: setuptools
26
26
  Requires-Dist: Products.CMFCore
27
27
  Requires-Dist: Zope
28
28
  Provides-Extra: test
29
- Requires-Dist: plone.app.testing ; extra == 'test'
30
- Requires-Dist: plone.testing ; extra == 'test'
29
+ Requires-Dist: plone.app.testing; extra == "test"
30
+ Requires-Dist: plone.testing; extra == "test"
31
31
 
32
32
  Overview
33
33
  ========
@@ -97,7 +97,7 @@ The other outputs "My Theme".
97
97
 
98
98
  Before we turn on the skin, we will get the default view.
99
99
 
100
- >>> from plone.testing.z2 import Browser
100
+ >>> from plone.testing.zope import Browser
101
101
  >>> browser = Browser(layer['app'])
102
102
 
103
103
  >>> browser.open(layer['portal'].absolute_url() + '/@@layer-test-view')
@@ -138,6 +138,25 @@ Changelog
138
138
 
139
139
  .. towncrier release notes start
140
140
 
141
+ 4.0.3 (2025-01-23)
142
+ ------------------
143
+
144
+ Bug fixes:
145
+
146
+
147
+ - Fix DeprecationWarnings. [maurits] (#4090)
148
+
149
+
150
+ 4.0.2 (2024-11-30)
151
+ ------------------
152
+
153
+ Bug fixes:
154
+
155
+
156
+ - Fix removed `unittest.makeSuite` in python 3.13.
157
+ [petschki] (#27)
158
+
159
+
141
160
  4.0.1 (2023-10-07)
142
161
  ------------------
143
162
 
@@ -1,5 +1,5 @@
1
- plone.theme-4.0.1-py3.11-nspkg.pth,sha256=A-p3CbMuHePaPWt53bhXUnHzJhSeZf4O2eZeA-vKGms,534
2
- plone/theme/README.rst,sha256=6u7mjKkf3shVg9jbDgYPWqkn9en3enpomai5OIF5IXc,3047
1
+ plone.theme-4.0.3-py3.13-nspkg.pth,sha256=BLI1R3lEMKmzB6WWJhK4b_5KSuPKCxbAXDyPjqDJtdY,462
2
+ plone/theme/README.rst,sha256=X6hHr1arlfB5tuqibJ6wsUO5NlsWNKVTHKd4yuRm5DE,3049
3
3
  plone/theme/__init__.py,sha256=MsSFjiLMLJZ7QhUPpVBWKiyDnCzryquRyr329NoCACI,2
4
4
  plone/theme/configure.zcml,sha256=wjELjwoNxcvN0igag4Ezjul-I7e8p_LbWpmyd-g-q84,291
5
5
  plone/theme/interfaces.py,sha256=rNceSPvfEJgG4n5X2VBEiDsbCAns_hUIa1HkvOklwlw,182
@@ -9,11 +9,11 @@ plone/theme/tests/__init__.py,sha256=MsSFjiLMLJZ7QhUPpVBWKiyDnCzryquRyr329NoCACI
9
9
  plone/theme/tests/default.pt,sha256=zmYkzviIJvkal3gydzK67j5SHaxEXSp5pFkeHmrmxlI,127
10
10
  plone/theme/tests/interfaces.py,sha256=5M_G75HdbSKdZM8nLnUXP2pjomz0MNlXgcRnTC2pjsY,318
11
11
  plone/theme/tests/mytheme.pt,sha256=uj0IFS6yYJqeycawDBtRJ7CPuBnUf9DBkd6wJF6Z60A,128
12
- plone/theme/tests/testBrowserLayerPrecedence.py,sha256=ACzZM7hvVzqZI_WH4O0BDHfRjDsrLyId-FWDYcnY5Bk,4058
12
+ plone/theme/tests/testBrowserLayerPrecedence.py,sha256=jtxtTVQ94fYgf_4GhoPgBkCcf38ARsy-Q13spLuE5qw,4213
13
13
  plone/theme/tests/test_doctest.py,sha256=4g4uS0AhaAsbGPQY9BgE6yKnnMAyX2nTbQMtkHqaPsY,513
14
14
  plone/theme/tests/tests.zcml,sha256=9jaoC2AtzQDQYl4ijsGTRndcIwhx8IIyIYmA94Xqt14,567
15
- plone.theme-4.0.1.dist-info/METADATA,sha256=W2cKdc262HQVGF8mQRKr3jRNpDqW20_ijI537xQAIq0,7458
16
- plone.theme-4.0.1.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
17
- plone.theme-4.0.1.dist-info/namespace_packages.txt,sha256=56bqrkG-vurYD0l15D71FPiDL7L3QqkfRWkYkdyS7WM,6
18
- plone.theme-4.0.1.dist-info/top_level.txt,sha256=56bqrkG-vurYD0l15D71FPiDL7L3QqkfRWkYkdyS7WM,6
19
- plone.theme-4.0.1.dist-info/RECORD,,
15
+ plone.theme-4.0.3.dist-info/METADATA,sha256=SMJhGIst290zqWAyDb3v4ez1hzS_jWw6dTyWjr_-pLA,7681
16
+ plone.theme-4.0.3.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
17
+ plone.theme-4.0.3.dist-info/namespace_packages.txt,sha256=56bqrkG-vurYD0l15D71FPiDL7L3QqkfRWkYkdyS7WM,6
18
+ plone.theme-4.0.3.dist-info/top_level.txt,sha256=56bqrkG-vurYD0l15D71FPiDL7L3QqkfRWkYkdyS7WM,6
19
+ plone.theme-4.0.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1 +0,0 @@
1
- import sys, types, os;has_mfs = sys.version_info > (3, 5);p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('plone',));importlib = has_mfs and __import__('importlib.util');has_mfs and __import__('importlib.machinery');m = has_mfs and sys.modules.setdefault('plone', importlib.util.module_from_spec(importlib.machinery.PathFinder.find_spec('plone', [os.path.dirname(p)])));m = m or sys.modules.setdefault('plone', types.ModuleType('plone'));mp = (m or []) and m.__dict__.setdefault('__path__',[]);(p not in mp) and mp.append(p)