plone.batching 2.0.5__tar.gz → 2.0.7__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 (35) hide show
  1. {plone.batching-2.0.5 → plone_batching-2.0.7}/CHANGES.rst +21 -0
  2. {plone.batching-2.0.5 → plone_batching-2.0.7}/MANIFEST.in +1 -1
  3. {plone.batching-2.0.5/plone.batching.egg-info → plone_batching-2.0.7}/PKG-INFO +44 -3
  4. {plone.batching-2.0.5 → plone_batching-2.0.7}/pyproject.toml +86 -3
  5. plone_batching-2.0.7/setup.cfg +4 -0
  6. {plone.batching-2.0.5 → plone_batching-2.0.7}/setup.py +15 -10
  7. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone/batching/batch.py +0 -1
  8. {plone.batching-2.0.5 → plone_batching-2.0.7/src/plone.batching.egg-info}/PKG-INFO +44 -3
  9. plone_batching-2.0.7/src/plone.batching.egg-info/SOURCES.txt +30 -0
  10. plone.batching-2.0.5/lint-requirements.txt +0 -4
  11. plone.batching-2.0.5/plone.batching.egg-info/SOURCES.txt +0 -32
  12. plone.batching-2.0.5/setup.cfg +0 -23
  13. {plone.batching-2.0.5 → plone_batching-2.0.7}/CONTRIBUTING.rst +0 -0
  14. {plone.batching-2.0.5 → plone_batching-2.0.7}/README.rst +0 -0
  15. {plone.batching-2.0.5 → plone_batching-2.0.7}/docs/LICENSE.txt +0 -0
  16. {plone.batching-2.0.5 → plone_batching-2.0.7}/docs/index.rst +0 -0
  17. {plone.batching-2.0.5 → plone_batching-2.0.7}/docs/usage.rst +0 -0
  18. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone/__init__.py +0 -0
  19. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone/batching/__init__.py +0 -0
  20. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone/batching/batch_macros.pt +0 -0
  21. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone/batching/batching.rst +0 -0
  22. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone/batching/batchnavigation.pt +0 -0
  23. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone/batching/batchnavigation_bootstrap.pt +0 -0
  24. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone/batching/browser.py +0 -0
  25. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone/batching/configure.zcml +0 -0
  26. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone/batching/interfaces.py +0 -0
  27. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone/batching/tests/__init__.py +0 -0
  28. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone/batching/tests/test_batching.py +0 -0
  29. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone/batching/utils.py +0 -0
  30. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone.batching.egg-info/dependency_links.txt +0 -0
  31. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone.batching.egg-info/entry_points.txt +0 -0
  32. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone.batching.egg-info/namespace_packages.txt +0 -0
  33. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone.batching.egg-info/not-zip-safe +0 -0
  34. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone.batching.egg-info/requires.txt +0 -0
  35. {plone.batching-2.0.5 → plone_batching-2.0.7/src}/plone.batching.egg-info/top_level.txt +0 -0
@@ -8,6 +8,27 @@ Changelog
8
8
 
9
9
  .. towncrier release notes start
10
10
 
11
+ 2.0.7 (2025-09-10)
12
+ ------------------
13
+
14
+ Internal:
15
+
16
+
17
+ - Update configuration files.
18
+ [plone devs] (6e36bcc4)
19
+ - Move distribution to src layout [gforcada] (#4217)
20
+
21
+
22
+ 2.0.6 (2023-06-16)
23
+ ------------------
24
+
25
+ Internal:
26
+
27
+
28
+ - Update configuration files.
29
+ [plone devs] (55bda5c9, 69cb8571, 9e6e627d)
30
+
31
+
11
32
  2.0.5 (2023-05-22)
12
33
  ------------------
13
34
 
@@ -1,7 +1,7 @@
1
1
  include *.txt *.rst
2
2
 
3
3
  recursive-include docs *
4
- recursive-include plone *
4
+ recursive-include src *
5
5
 
6
6
  global-exclude *pyc
7
7
  include pyproject.toml
@@ -1,7 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: plone.batching
3
- Version: 2.0.5
4
- Summary: Batching facilities used in Plone.
3
+ Version: 2.0.7
4
+ Summary: Batching facilities used in Plone
5
5
  Home-page: https://pypi.org/project/plone.batching
6
6
  Author: Plone Foundation
7
7
  Author-email: plone-developers@lists.sourceforge.net
@@ -21,7 +21,27 @@ 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: AccessControl
26
+ Requires-Dist: setuptools
27
+ Requires-Dist: Zope
28
+ Requires-Dist: zope.interface
29
+ Requires-Dist: zope.schema
24
30
  Provides-Extra: test
31
+ Requires-Dist: zope.component; extra == "test"
32
+ Requires-Dist: zope.publisher; extra == "test"
33
+ Dynamic: author
34
+ Dynamic: author-email
35
+ Dynamic: classifier
36
+ Dynamic: description
37
+ Dynamic: description-content-type
38
+ Dynamic: home-page
39
+ Dynamic: keywords
40
+ Dynamic: license
41
+ Dynamic: provides-extra
42
+ Dynamic: requires-dist
43
+ Dynamic: requires-python
44
+ Dynamic: summary
25
45
 
26
46
  Welcome to Plone batching's documentation!
27
47
  ==========================================
@@ -41,6 +61,27 @@ Changelog
41
61
 
42
62
  .. towncrier release notes start
43
63
 
64
+ 2.0.7 (2025-09-10)
65
+ ------------------
66
+
67
+ Internal:
68
+
69
+
70
+ - Update configuration files.
71
+ [plone devs] (6e36bcc4)
72
+ - Move distribution to src layout [gforcada] (#4217)
73
+
74
+
75
+ 2.0.6 (2023-06-16)
76
+ ------------------
77
+
78
+ Internal:
79
+
80
+
81
+ - Update configuration files.
82
+ [plone devs] (55bda5c9, 69cb8571, 9e6e627d)
83
+
84
+
44
85
  2.0.5 (2023-05-22)
45
86
  ------------------
46
87
 
@@ -1,8 +1,12 @@
1
1
  # Generated from:
2
- # https://github.com/plone/meta/tree/master/config/default
2
+ # https://github.com/plone/meta/tree/main/src/plone/meta/default
3
+ # See the inline comments on how to expand/tweak this configuration file
4
+ [build-system]
5
+ requires = ["setuptools>=68.2,<77", "wheel"]
6
+
3
7
  [tool.towncrier]
4
- filename = "CHANGES.rst"
5
8
  directory = "news/"
9
+ filename = "CHANGES.rst"
6
10
  title_format = "{version} ({project_date})"
7
11
  underlines = ["-", ""]
8
12
 
@@ -33,15 +37,48 @@ showcontent = true
33
37
 
34
38
  [[tool.towncrier.type]]
35
39
  directory = "tests"
36
- name = "Tests"
40
+ name = "Tests:"
37
41
  showcontent = true
38
42
 
43
+ ##
44
+ # Add extra configuration options in .meta.toml:
45
+ # [pyproject]
46
+ # towncrier_extra_lines = """
47
+ # extra_configuration
48
+ # """
49
+ ##
50
+
39
51
  [tool.isort]
40
52
  profile = "plone"
41
53
 
54
+ ##
55
+ # Add extra configuration options in .meta.toml:
56
+ # [pyproject]
57
+ # isort_extra_lines = """
58
+ # extra_configuration
59
+ # """
60
+ ##
61
+
42
62
  [tool.black]
43
63
  target-version = ["py38"]
44
64
 
65
+ ##
66
+ # Add extra configuration options in .meta.toml:
67
+ # [pyproject]
68
+ # black_extra_lines = """
69
+ # extra_configuration
70
+ # """
71
+ ##
72
+
73
+ [tool.codespell]
74
+ ignore-words-list = "discreet,assertin,thet,"
75
+ skip = "*.po,"
76
+ ##
77
+ # Add extra configuration options in .meta.toml:
78
+ # [pyproject]
79
+ # codespell_ignores = "foo,bar"
80
+ # codespell_skip = "*.po,*.map,package-lock.json"
81
+ ##
45
82
 
46
83
  [tool.dependencychecker]
47
84
  Zope = [
@@ -82,3 +119,49 @@ Zope = [
82
119
  'Products.CMFCore', 'Products.CMFDynamicViewFTI',
83
120
  ]
84
121
  python-dateutil = ['dateutil']
122
+ pytest-plone = ['pytest', 'zope.pytestlayer', 'plone.testing', 'plone.app.testing']
123
+
124
+ ##
125
+ # Add extra configuration options in .meta.toml:
126
+ # [pyproject]
127
+ # dependencies_ignores = "['zestreleaser.towncrier']"
128
+ # dependencies_mappings = [
129
+ # "gitpython = ['git']",
130
+ # "pygithub = ['github']",
131
+ # ]
132
+ ##
133
+
134
+ [tool.check-manifest]
135
+ ignore = [
136
+ ".editorconfig",
137
+ ".flake8",
138
+ ".meta.toml",
139
+ ".pre-commit-config.yaml",
140
+ "dependabot.yml",
141
+ "mx.ini",
142
+ "tox.ini",
143
+
144
+ ]
145
+
146
+ ##
147
+ # Add extra configuration options in .meta.toml:
148
+ # [pyproject]
149
+ # check_manifest_ignores = """
150
+ # "*.map.js",
151
+ # "*.pyc",
152
+ # """
153
+ # check_manifest_extra_lines = """
154
+ # ignore-bad-ideas = [
155
+ # "some/test/file/PKG-INFO",
156
+ # ]
157
+ # """
158
+ ##
159
+
160
+
161
+ ##
162
+ # Add extra configuration options in .meta.toml:
163
+ # [pyproject]
164
+ # extra_lines = """
165
+ # _your own configuration lines_
166
+ # """
167
+ ##
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -1,20 +1,24 @@
1
+ from pathlib import Path
1
2
  from setuptools import find_packages
2
3
  from setuptools import setup
3
4
 
4
5
 
5
- version = "2.0.5"
6
+ version = "2.0.7"
7
+
8
+ long_description = (
9
+ f"{Path('README.rst').read_text()}\n"
10
+ f"{Path('CHANGES.rst').read_text()}\n"
11
+ f"{(Path('docs') / 'usage.rst').read_text()}"
12
+ )
6
13
 
7
14
  setup(
8
15
  name="plone.batching",
9
16
  version=version,
10
- description="Batching facilities used in Plone.",
11
- long_description="\n".join(
12
- [
13
- open("README.rst").read(),
14
- open("CHANGES.rst").read(),
15
- open("docs/usage.rst").read(),
16
- ]
17
- ),
17
+ description="Batching facilities used in Plone",
18
+ long_description=long_description,
19
+ long_description_content_type="text/x-rst",
20
+ # Get more strings from
21
+ # https://pypi.org/classifiers/
18
22
  classifiers=[
19
23
  "Development Status :: 5 - Production/Stable",
20
24
  "Environment :: Web Environment",
@@ -35,8 +39,9 @@ setup(
35
39
  author_email="plone-developers@lists.sourceforge.net",
36
40
  url="https://pypi.org/project/plone.batching",
37
41
  license="GPL",
38
- packages=find_packages(),
42
+ packages=find_packages("src"),
39
43
  namespace_packages=["plone"],
44
+ package_dir={"": "src"},
40
45
  include_package_data=True,
41
46
  zip_safe=False,
42
47
  python_requires=">=3.8",
@@ -11,7 +11,6 @@ class BaseBatch:
11
11
  """A sequence batch splits up a large number of items over multiple pages"""
12
12
 
13
13
  size = first = start = end = 0
14
- navlist = []
15
14
  numpages = pagenumber = pagerange = pagenumber = 0
16
15
  orphan = overlap = 0
17
16
  b_start_str = "b_start"
@@ -1,7 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: plone.batching
3
- Version: 2.0.5
4
- Summary: Batching facilities used in Plone.
3
+ Version: 2.0.7
4
+ Summary: Batching facilities used in Plone
5
5
  Home-page: https://pypi.org/project/plone.batching
6
6
  Author: Plone Foundation
7
7
  Author-email: plone-developers@lists.sourceforge.net
@@ -21,7 +21,27 @@ 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: AccessControl
26
+ Requires-Dist: setuptools
27
+ Requires-Dist: Zope
28
+ Requires-Dist: zope.interface
29
+ Requires-Dist: zope.schema
24
30
  Provides-Extra: test
31
+ Requires-Dist: zope.component; extra == "test"
32
+ Requires-Dist: zope.publisher; extra == "test"
33
+ Dynamic: author
34
+ Dynamic: author-email
35
+ Dynamic: classifier
36
+ Dynamic: description
37
+ Dynamic: description-content-type
38
+ Dynamic: home-page
39
+ Dynamic: keywords
40
+ Dynamic: license
41
+ Dynamic: provides-extra
42
+ Dynamic: requires-dist
43
+ Dynamic: requires-python
44
+ Dynamic: summary
25
45
 
26
46
  Welcome to Plone batching's documentation!
27
47
  ==========================================
@@ -41,6 +61,27 @@ Changelog
41
61
 
42
62
  .. towncrier release notes start
43
63
 
64
+ 2.0.7 (2025-09-10)
65
+ ------------------
66
+
67
+ Internal:
68
+
69
+
70
+ - Update configuration files.
71
+ [plone devs] (6e36bcc4)
72
+ - Move distribution to src layout [gforcada] (#4217)
73
+
74
+
75
+ 2.0.6 (2023-06-16)
76
+ ------------------
77
+
78
+ Internal:
79
+
80
+
81
+ - Update configuration files.
82
+ [plone devs] (55bda5c9, 69cb8571, 9e6e627d)
83
+
84
+
44
85
  2.0.5 (2023-05-22)
45
86
  ------------------
46
87
 
@@ -0,0 +1,30 @@
1
+ CHANGES.rst
2
+ CONTRIBUTING.rst
3
+ MANIFEST.in
4
+ README.rst
5
+ pyproject.toml
6
+ setup.py
7
+ docs/LICENSE.txt
8
+ docs/index.rst
9
+ docs/usage.rst
10
+ src/plone/__init__.py
11
+ src/plone.batching.egg-info/PKG-INFO
12
+ src/plone.batching.egg-info/SOURCES.txt
13
+ src/plone.batching.egg-info/dependency_links.txt
14
+ src/plone.batching.egg-info/entry_points.txt
15
+ src/plone.batching.egg-info/namespace_packages.txt
16
+ src/plone.batching.egg-info/not-zip-safe
17
+ src/plone.batching.egg-info/requires.txt
18
+ src/plone.batching.egg-info/top_level.txt
19
+ src/plone/batching/__init__.py
20
+ src/plone/batching/batch.py
21
+ src/plone/batching/batch_macros.pt
22
+ src/plone/batching/batching.rst
23
+ src/plone/batching/batchnavigation.pt
24
+ src/plone/batching/batchnavigation_bootstrap.pt
25
+ src/plone/batching/browser.py
26
+ src/plone/batching/configure.zcml
27
+ src/plone/batching/interfaces.py
28
+ src/plone/batching/utils.py
29
+ src/plone/batching/tests/__init__.py
30
+ src/plone/batching/tests/test_batching.py
@@ -1,4 +0,0 @@
1
- # Generated from:
2
- # https://github.com/plone/meta/tree/master/config/default
3
- pipdeptree==2.3.3
4
- z3c.dependencychecker==2.10
@@ -1,32 +0,0 @@
1
- CHANGES.rst
2
- CONTRIBUTING.rst
3
- MANIFEST.in
4
- README.rst
5
- lint-requirements.txt
6
- pyproject.toml
7
- setup.cfg
8
- setup.py
9
- docs/LICENSE.txt
10
- docs/index.rst
11
- docs/usage.rst
12
- plone/__init__.py
13
- plone.batching.egg-info/PKG-INFO
14
- plone.batching.egg-info/SOURCES.txt
15
- plone.batching.egg-info/dependency_links.txt
16
- plone.batching.egg-info/entry_points.txt
17
- plone.batching.egg-info/namespace_packages.txt
18
- plone.batching.egg-info/not-zip-safe
19
- plone.batching.egg-info/requires.txt
20
- plone.batching.egg-info/top_level.txt
21
- plone/batching/__init__.py
22
- plone/batching/batch.py
23
- plone/batching/batch_macros.pt
24
- plone/batching/batching.rst
25
- plone/batching/batchnavigation.pt
26
- plone/batching/batchnavigation_bootstrap.pt
27
- plone/batching/browser.py
28
- plone/batching/configure.zcml
29
- plone/batching/interfaces.py
30
- plone/batching/utils.py
31
- plone/batching/tests/__init__.py
32
- plone/batching/tests/test_batching.py
@@ -1,23 +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
- conf.py
19
-
20
- [egg_info]
21
- tag_build =
22
- tag_date = 0
23
-