plone.theme 4.0.0__tar.gz → 4.0.2__tar.gz

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.
Files changed (32) hide show
  1. {plone.theme-4.0.0 → plone_theme-4.0.2}/CHANGES.rst +20 -0
  2. {plone.theme-4.0.0/plone.theme.egg-info → plone_theme-4.0.2}/PKG-INFO +27 -2
  3. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone/theme/tests/testBrowserLayerPrecedence.py +15 -8
  4. {plone.theme-4.0.0 → plone_theme-4.0.2/plone.theme.egg-info}/PKG-INFO +27 -2
  5. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone.theme.egg-info/SOURCES.txt +0 -1
  6. {plone.theme-4.0.0 → plone_theme-4.0.2}/pyproject.toml +74 -1
  7. plone_theme-4.0.2/setup.cfg +4 -0
  8. {plone.theme-4.0.0 → plone_theme-4.0.2}/setup.py +8 -14
  9. plone.theme-4.0.0/setup.cfg +0 -22
  10. {plone.theme-4.0.0 → plone_theme-4.0.2}/CONTRIBUTING.rst +0 -0
  11. {plone.theme-4.0.0 → plone_theme-4.0.2}/MANIFEST.in +0 -0
  12. {plone.theme-4.0.0 → plone_theme-4.0.2}/README.rst +0 -0
  13. {plone.theme-4.0.0 → plone_theme-4.0.2}/docs/LICENSE.GPL +0 -0
  14. {plone.theme-4.0.0 → plone_theme-4.0.2}/docs/LICENSE.txt +0 -0
  15. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone/__init__.py +0 -0
  16. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone/theme/README.rst +0 -0
  17. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone/theme/__init__.py +0 -0
  18. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone/theme/configure.zcml +0 -0
  19. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone/theme/interfaces.py +0 -0
  20. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone/theme/layer.py +0 -0
  21. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone/theme/testing.py +0 -0
  22. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone/theme/tests/__init__.py +0 -0
  23. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone/theme/tests/default.pt +0 -0
  24. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone/theme/tests/interfaces.py +0 -0
  25. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone/theme/tests/mytheme.pt +0 -0
  26. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone/theme/tests/test_doctest.py +0 -0
  27. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone/theme/tests/tests.zcml +0 -0
  28. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone.theme.egg-info/dependency_links.txt +0 -0
  29. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone.theme.egg-info/namespace_packages.txt +0 -0
  30. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone.theme.egg-info/not-zip-safe +0 -0
  31. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone.theme.egg-info/requires.txt +0 -0
  32. {plone.theme-4.0.0 → plone_theme-4.0.2}/plone.theme.egg-info/top_level.txt +0 -0
@@ -8,6 +8,26 @@ Changelog
8
8
 
9
9
  .. towncrier release notes start
10
10
 
11
+ 4.0.2 (2024-11-30)
12
+ ------------------
13
+
14
+ Bug fixes:
15
+
16
+
17
+ - Fix removed `unittest.makeSuite` in python 3.13.
18
+ [petschki] (#27)
19
+
20
+
21
+ 4.0.1 (2023-10-07)
22
+ ------------------
23
+
24
+ Internal:
25
+
26
+
27
+ - Update configuration files.
28
+ [plone devs] (cfffba8c)
29
+
30
+
11
31
  4.0.0 (2023-04-27)
12
32
  ------------------
13
33
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plone.theme
3
- Version: 4.0.0
3
+ Version: 4.0.2
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
@@ -21,7 +21,13 @@ Classifier: Programming Language :: Python :: 3.9
21
21
  Classifier: Programming Language :: Python :: 3.10
22
22
  Classifier: Programming Language :: Python :: 3.11
23
23
  Requires-Python: >=3.8
24
+ Description-Content-Type: text/x-rst
25
+ Requires-Dist: setuptools
26
+ Requires-Dist: Products.CMFCore
27
+ Requires-Dist: Zope
24
28
  Provides-Extra: test
29
+ Requires-Dist: plone.app.testing; extra == "test"
30
+ Requires-Dist: plone.testing; extra == "test"
25
31
 
26
32
  Overview
27
33
  ========
@@ -132,6 +138,26 @@ Changelog
132
138
 
133
139
  .. towncrier release notes start
134
140
 
141
+ 4.0.2 (2024-11-30)
142
+ ------------------
143
+
144
+ Bug fixes:
145
+
146
+
147
+ - Fix removed `unittest.makeSuite` in python 3.13.
148
+ [petschki] (#27)
149
+
150
+
151
+ 4.0.1 (2023-10-07)
152
+ ------------------
153
+
154
+ Internal:
155
+
156
+
157
+ - Update configuration files.
158
+ [plone devs] (cfffba8c)
159
+
160
+
135
161
  4.0.0 (2023-04-27)
136
162
  ------------------
137
163
 
@@ -314,4 +340,3 @@ Fixes:
314
340
 
315
341
  - First stable release
316
342
  [wichert]
317
-
@@ -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
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plone.theme
3
- Version: 4.0.0
3
+ Version: 4.0.2
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
@@ -21,7 +21,13 @@ Classifier: Programming Language :: Python :: 3.9
21
21
  Classifier: Programming Language :: Python :: 3.10
22
22
  Classifier: Programming Language :: Python :: 3.11
23
23
  Requires-Python: >=3.8
24
+ Description-Content-Type: text/x-rst
25
+ Requires-Dist: setuptools
26
+ Requires-Dist: Products.CMFCore
27
+ Requires-Dist: Zope
24
28
  Provides-Extra: test
29
+ Requires-Dist: plone.app.testing; extra == "test"
30
+ Requires-Dist: plone.testing; extra == "test"
25
31
 
26
32
  Overview
27
33
  ========
@@ -132,6 +138,26 @@ Changelog
132
138
 
133
139
  .. towncrier release notes start
134
140
 
141
+ 4.0.2 (2024-11-30)
142
+ ------------------
143
+
144
+ Bug fixes:
145
+
146
+
147
+ - Fix removed `unittest.makeSuite` in python 3.13.
148
+ [petschki] (#27)
149
+
150
+
151
+ 4.0.1 (2023-10-07)
152
+ ------------------
153
+
154
+ Internal:
155
+
156
+
157
+ - Update configuration files.
158
+ [plone devs] (cfffba8c)
159
+
160
+
135
161
  4.0.0 (2023-04-27)
136
162
  ------------------
137
163
 
@@ -314,4 +340,3 @@ Fixes:
314
340
 
315
341
  - First stable release
316
342
  [wichert]
317
-
@@ -3,7 +3,6 @@ CONTRIBUTING.rst
3
3
  MANIFEST.in
4
4
  README.rst
5
5
  pyproject.toml
6
- setup.cfg
7
6
  setup.py
8
7
  docs/LICENSE.GPL
9
8
  docs/LICENSE.txt
@@ -1,8 +1,9 @@
1
1
  # Generated from:
2
2
  # https://github.com/plone/meta/tree/master/config/default
3
+ # See the inline comments on how to expand/tweak this configuration file
3
4
  [tool.towncrier]
4
- filename = "CHANGES.rst"
5
5
  directory = "news/"
6
+ filename = "CHANGES.rst"
6
7
  title_format = "{version} ({project_date})"
7
8
  underlines = ["-", ""]
8
9
 
@@ -36,12 +37,45 @@ directory = "tests"
36
37
  name = "Tests"
37
38
  showcontent = true
38
39
 
40
+ ##
41
+ # Add extra configuration options in .meta.toml:
42
+ # [pyproject]
43
+ # towncrier_extra_lines = """
44
+ # extra_configuration
45
+ # """
46
+ ##
47
+
39
48
  [tool.isort]
40
49
  profile = "plone"
41
50
 
51
+ ##
52
+ # Add extra configuration options in .meta.toml:
53
+ # [pyproject]
54
+ # isort_extra_lines = """
55
+ # extra_configuration
56
+ # """
57
+ ##
58
+
42
59
  [tool.black]
43
60
  target-version = ["py38"]
44
61
 
62
+ ##
63
+ # Add extra configuration options in .meta.toml:
64
+ # [pyproject]
65
+ # black_extra_lines = """
66
+ # extra_configuration
67
+ # """
68
+ ##
69
+
70
+ [tool.codespell]
71
+ ignore-words-list = "discreet,"
72
+ skip = "*.po,"
73
+ ##
74
+ # Add extra configuration options in .meta.toml:
75
+ # [pyproject]
76
+ # codespell_ignores = "foo,bar"
77
+ # codespell_skip = "*.po,*.map,package-lock.json"
78
+ ##
45
79
 
46
80
  [tool.dependencychecker]
47
81
  Zope = [
@@ -82,3 +116,42 @@ Zope = [
82
116
  'Products.CMFCore', 'Products.CMFDynamicViewFTI',
83
117
  ]
84
118
  python-dateutil = ['dateutil']
119
+
120
+ ##
121
+ # Add extra configuration options in .meta.toml:
122
+ # [pyproject]
123
+ # dependencies_ignores = "['zestreleaser.towncrier']"
124
+ # dependencies_mappings = [
125
+ # "gitpython = ['git']",
126
+ # "pygithub = ['github']",
127
+ # ]
128
+ # """
129
+ ##
130
+
131
+ [tool.check-manifest]
132
+ ignore = [
133
+ ".editorconfig",
134
+ ".meta.toml",
135
+ ".pre-commit-config.yaml",
136
+ "tox.ini",
137
+ ".flake8",
138
+ "mx.ini",
139
+
140
+ ]
141
+ ##
142
+ # Add extra configuration options in .meta.toml:
143
+ # [pyproject]
144
+ # check_manifest_ignores = """
145
+ # "*.map.js",
146
+ # "*.pyc",
147
+ # """
148
+ ##
149
+
150
+
151
+ ##
152
+ # Add extra configuration options in .meta.toml:
153
+ # [pyproject]
154
+ # extra_lines = """
155
+ # _your own configuration lines_
156
+ # """
157
+ ##
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -1,30 +1,24 @@
1
+ from pathlib import Path
1
2
  from setuptools import find_packages
2
3
  from setuptools import setup
3
4
 
4
- import os
5
5
 
6
-
7
- def read(*rnames):
8
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
9
-
10
-
11
- version = "4.0.0"
6
+ version = "4.0.2"
12
7
 
13
8
  long_description = (
14
- read("README.rst")
15
- + "\n"
16
- + read("plone", "theme", "README.rst")
17
- + "\n"
18
- + read("CHANGES.rst")
19
- + "\n"
9
+ f"{Path('README.rst').read_text()}\n"
10
+ f"{(Path('plone') / 'theme' / 'README.rst').read_text()}\n"
11
+ f"{Path('CHANGES.rst').read_text()}"
20
12
  )
21
13
 
22
-
23
14
  setup(
24
15
  name="plone.theme",
25
16
  version=version,
26
17
  description="Tools for managing themes in CMF and Plone sites",
27
18
  long_description=long_description,
19
+ long_description_content_type="text/x-rst",
20
+ # Get more strings from
21
+ # https://pypi.org/classifiers/
28
22
  classifiers=[
29
23
  "Development Status :: 5 - Production/Stable",
30
24
  "Environment :: Web Environment",
@@ -1,22 +0,0 @@
1
- [bdist_wheel]
2
- universal = 0
3
-
4
- [flake8]
5
- doctests = 1
6
- ignore =
7
- E501,
8
- W503,
9
- E203,
10
- E231,
11
-
12
- [check-manifest]
13
- ignore =
14
- .editorconfig
15
- .meta.toml
16
- .pre-commit-config.yaml
17
- tox.ini
18
-
19
- [egg_info]
20
- tag_build =
21
- tag_date = 0
22
-
File without changes
File without changes