pygments-openssl 1.6__tar.gz → 2.0__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.
- {pygments-openssl-1.6 → pygments_openssl-2.0}/CHANGES.rst +18 -0
- {pygments-openssl-1.6 → pygments_openssl-2.0}/LICENSE +1 -1
- {pygments-openssl-1.6/pygments_openssl.egg-info → pygments_openssl-2.0}/PKG-INFO +23 -5
- {pygments-openssl-1.6 → pygments_openssl-2.0/pygments_openssl.egg-info}/PKG-INFO +23 -5
- pygments_openssl-2.0/pygments_openssl.egg-info/requires.txt +1 -0
- {pygments-openssl-1.6 → pygments_openssl-2.0}/setup.cfg +2 -8
- {pygments-openssl-1.6 → pygments_openssl-2.0}/tests/test_lexer.py +19 -4
- {pygments-openssl-1.6 → pygments_openssl-2.0}/tox.ini +4 -3
- pygments-openssl-1.6/pygments_openssl.egg-info/requires.txt +0 -2
- {pygments-openssl-1.6 → pygments_openssl-2.0}/MANIFEST.in +0 -0
- {pygments-openssl-1.6 → pygments_openssl-2.0}/README.rst +0 -0
- {pygments-openssl-1.6 → pygments_openssl-2.0}/pygments_openssl/__init__.py +0 -0
- {pygments-openssl-1.6 → pygments_openssl-2.0}/pygments_openssl/lexer.py +0 -0
- {pygments-openssl-1.6 → pygments_openssl-2.0}/pygments_openssl.egg-info/SOURCES.txt +0 -0
- {pygments-openssl-1.6 → pygments_openssl-2.0}/pygments_openssl.egg-info/dependency_links.txt +0 -0
- {pygments-openssl-1.6 → pygments_openssl-2.0}/pygments_openssl.egg-info/entry_points.txt +0 -0
- {pygments-openssl-1.6 → pygments_openssl-2.0}/pygments_openssl.egg-info/not-zip-safe +0 -0
- {pygments-openssl-1.6 → pygments_openssl-2.0}/pygments_openssl.egg-info/top_level.txt +0 -0
- {pygments-openssl-1.6 → pygments_openssl-2.0}/pyproject.toml +0 -0
- {pygments-openssl-1.6 → pygments_openssl-2.0}/setup.py +0 -0
- {pygments-openssl-1.6 → pygments_openssl-2.0}/tests/__init__.py +0 -0
- {pygments-openssl-1.6 → pygments_openssl-2.0}/tests/test_installation.py +0 -0
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
2.0 - 2026-07-07
|
|
5
|
+
----------------
|
|
6
|
+
|
|
7
|
+
* Update INI lexer tests for Pygments >= 2.19.
|
|
8
|
+
[stefan]
|
|
9
|
+
|
|
10
|
+
* Remove support for universal wheels.
|
|
11
|
+
[stefan]
|
|
12
|
+
|
|
13
|
+
* Remove deprecated license classifier.
|
|
14
|
+
[stefan]
|
|
15
|
+
|
|
16
|
+
* Upgrade GitHub workflow.
|
|
17
|
+
[stefan]
|
|
18
|
+
|
|
19
|
+
* Require Python >= 3.5.
|
|
20
|
+
[stefan]
|
|
21
|
+
|
|
4
22
|
1.6 - 2023-09-14
|
|
5
23
|
----------------
|
|
6
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pygments-openssl
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0
|
|
4
4
|
Summary: Syntax coloring for OpenSSL configuration files
|
|
5
5
|
Home-page: https://github.com/stefanholek/pygments-openssl
|
|
6
6
|
Author: Stefan H. Holek
|
|
@@ -12,15 +12,15 @@ Classifier: Environment :: Plugins
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Classifier: Intended Audience :: End Users/Desktop
|
|
14
14
|
Classifier: Intended Audience :: System Administrators
|
|
15
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
16
15
|
Classifier: Operating System :: OS Independent
|
|
17
16
|
Classifier: Programming Language :: Python
|
|
18
|
-
Classifier: Programming Language :: Python :: 2
|
|
19
17
|
Classifier: Programming Language :: Python :: 3
|
|
20
18
|
Classifier: Topic :: Text Processing :: Filters
|
|
21
|
-
Requires-Python:
|
|
19
|
+
Requires-Python: >=3.5
|
|
22
20
|
Description-Content-Type: text/x-rst
|
|
23
21
|
License-File: LICENSE
|
|
22
|
+
Requires-Dist: pygments
|
|
23
|
+
Dynamic: license-file
|
|
24
24
|
|
|
25
25
|
================
|
|
26
26
|
pygments-openssl
|
|
@@ -66,6 +66,24 @@ To verify the installation run::
|
|
|
66
66
|
Changelog
|
|
67
67
|
=========
|
|
68
68
|
|
|
69
|
+
2.0 - 2026-07-07
|
|
70
|
+
----------------
|
|
71
|
+
|
|
72
|
+
* Update INI lexer tests for Pygments >= 2.19.
|
|
73
|
+
[stefan]
|
|
74
|
+
|
|
75
|
+
* Remove support for universal wheels.
|
|
76
|
+
[stefan]
|
|
77
|
+
|
|
78
|
+
* Remove deprecated license classifier.
|
|
79
|
+
[stefan]
|
|
80
|
+
|
|
81
|
+
* Upgrade GitHub workflow.
|
|
82
|
+
[stefan]
|
|
83
|
+
|
|
84
|
+
* Require Python >= 3.5.
|
|
85
|
+
[stefan]
|
|
86
|
+
|
|
69
87
|
1.6 - 2023-09-14
|
|
70
88
|
----------------
|
|
71
89
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pygments-openssl
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0
|
|
4
4
|
Summary: Syntax coloring for OpenSSL configuration files
|
|
5
5
|
Home-page: https://github.com/stefanholek/pygments-openssl
|
|
6
6
|
Author: Stefan H. Holek
|
|
@@ -12,15 +12,15 @@ Classifier: Environment :: Plugins
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Classifier: Intended Audience :: End Users/Desktop
|
|
14
14
|
Classifier: Intended Audience :: System Administrators
|
|
15
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
16
15
|
Classifier: Operating System :: OS Independent
|
|
17
16
|
Classifier: Programming Language :: Python
|
|
18
|
-
Classifier: Programming Language :: Python :: 2
|
|
19
17
|
Classifier: Programming Language :: Python :: 3
|
|
20
18
|
Classifier: Topic :: Text Processing :: Filters
|
|
21
|
-
Requires-Python:
|
|
19
|
+
Requires-Python: >=3.5
|
|
22
20
|
Description-Content-Type: text/x-rst
|
|
23
21
|
License-File: LICENSE
|
|
22
|
+
Requires-Dist: pygments
|
|
23
|
+
Dynamic: license-file
|
|
24
24
|
|
|
25
25
|
================
|
|
26
26
|
pygments-openssl
|
|
@@ -66,6 +66,24 @@ To verify the installation run::
|
|
|
66
66
|
Changelog
|
|
67
67
|
=========
|
|
68
68
|
|
|
69
|
+
2.0 - 2026-07-07
|
|
70
|
+
----------------
|
|
71
|
+
|
|
72
|
+
* Update INI lexer tests for Pygments >= 2.19.
|
|
73
|
+
[stefan]
|
|
74
|
+
|
|
75
|
+
* Remove support for universal wheels.
|
|
76
|
+
[stefan]
|
|
77
|
+
|
|
78
|
+
* Remove deprecated license classifier.
|
|
79
|
+
[stefan]
|
|
80
|
+
|
|
81
|
+
* Upgrade GitHub workflow.
|
|
82
|
+
[stefan]
|
|
83
|
+
|
|
84
|
+
* Require Python >= 3.5.
|
|
85
|
+
[stefan]
|
|
86
|
+
|
|
69
87
|
1.6 - 2023-09-14
|
|
70
88
|
----------------
|
|
71
89
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pygments
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = pygments-openssl
|
|
3
|
-
version =
|
|
3
|
+
version = 2.0
|
|
4
4
|
description = Syntax coloring for OpenSSL configuration files
|
|
5
5
|
long_description = file: README.rst, CHANGES.rst
|
|
6
6
|
long_description_content_type = text/x-rst
|
|
@@ -10,10 +10,8 @@ classifiers =
|
|
|
10
10
|
Intended Audience :: Developers
|
|
11
11
|
Intended Audience :: End Users/Desktop
|
|
12
12
|
Intended Audience :: System Administrators
|
|
13
|
-
License :: OSI Approved :: BSD License
|
|
14
13
|
Operating System :: OS Independent
|
|
15
14
|
Programming Language :: Python
|
|
16
|
-
Programming Language :: Python :: 2
|
|
17
15
|
Programming Language :: Python :: 3
|
|
18
16
|
Topic :: Text Processing :: Filters
|
|
19
17
|
keywords = sphinx, pygments, lexer, openssl, openssl.cnf, openssl.conf, syntax, coloring, colors, highlight
|
|
@@ -27,9 +25,8 @@ packages = find:
|
|
|
27
25
|
include_package_data = false
|
|
28
26
|
zip_safe = false
|
|
29
27
|
install_requires =
|
|
30
|
-
setuptools
|
|
31
28
|
pygments
|
|
32
|
-
python_requires = >=
|
|
29
|
+
python_requires = >=3.5
|
|
33
30
|
|
|
34
31
|
[options.packages.find]
|
|
35
32
|
exclude =
|
|
@@ -43,6 +40,3 @@ pygments.lexers =
|
|
|
43
40
|
tag_build =
|
|
44
41
|
tag_date = 0
|
|
45
42
|
|
|
46
|
-
[bdist_wheel]
|
|
47
|
-
universal = true
|
|
48
|
-
|
|
@@ -111,6 +111,7 @@ class LexerTests(unittest.TestCase):
|
|
|
111
111
|
self.assertEqual(tokens[1], (T_SPACE, ' '))
|
|
112
112
|
self.assertEqual(tokens[2], (token.Operator, '='))
|
|
113
113
|
self.assertEqual(tokens[3], (T_SPACE, ' '))
|
|
114
|
+
|
|
114
115
|
if pygments_version_info >= (2, 14, 0):
|
|
115
116
|
self.assertEqual(tokens[4], (token.String, '.'))
|
|
116
117
|
self.assertEqual(tokens[5], (T_SPACE, ' '))
|
|
@@ -136,8 +137,15 @@ class LexerTests(unittest.TestCase):
|
|
|
136
137
|
self.assertEqual(tokens[1], (T_SPACE, ' '))
|
|
137
138
|
self.assertEqual(tokens[2], (token.Operator, '='))
|
|
138
139
|
self.assertEqual(tokens[3], (T_SPACE, ' '))
|
|
139
|
-
|
|
140
|
-
|
|
140
|
+
|
|
141
|
+
if pygments_version_info >= (2, 19, 0):
|
|
142
|
+
self.assertEqual(tokens[4], (token.String, '"'))
|
|
143
|
+
self.assertEqual(tokens[5], (token.String, 'foo bar'))
|
|
144
|
+
self.assertEqual(tokens[6], (token.String, '"'))
|
|
145
|
+
self.assertEqual(tokens[7], (T_SPACE, '\n'))
|
|
146
|
+
else:
|
|
147
|
+
self.assertEqual(tokens[4], (token.String, '"foo bar"'))
|
|
148
|
+
self.assertEqual(tokens[5], (T_SPACE, '\n'))
|
|
141
149
|
|
|
142
150
|
def test_lex_rhs_single_quoted_string(self):
|
|
143
151
|
from pygments import token
|
|
@@ -155,8 +163,15 @@ class LexerTests(unittest.TestCase):
|
|
|
155
163
|
self.assertEqual(tokens[1], (T_SPACE, ' '))
|
|
156
164
|
self.assertEqual(tokens[2], (token.Operator, '='))
|
|
157
165
|
self.assertEqual(tokens[3], (T_SPACE, ' '))
|
|
158
|
-
|
|
159
|
-
|
|
166
|
+
|
|
167
|
+
if pygments_version_info >= (2, 19, 0):
|
|
168
|
+
self.assertEqual(tokens[4], (token.String, "'"))
|
|
169
|
+
self.assertEqual(tokens[5], (token.String, "foo bar"))
|
|
170
|
+
self.assertEqual(tokens[6], (token.String, "'"))
|
|
171
|
+
self.assertEqual(tokens[7], (T_SPACE, '\n'))
|
|
172
|
+
else:
|
|
173
|
+
self.assertEqual(tokens[4], (token.String, "'foo bar'"))
|
|
174
|
+
self.assertEqual(tokens[5], (T_SPACE, '\n'))
|
|
160
175
|
|
|
161
176
|
def test_lex_rhs_variable_name(self):
|
|
162
177
|
from pygments import token
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
# "pip install tox" and then run "tox" from this directory.
|
|
5
5
|
|
|
6
6
|
[tox]
|
|
7
|
-
envlist =
|
|
8
|
-
requires = virtualenv<20.22.0
|
|
7
|
+
envlist = py310, py311, py312, py313, py314, py315, pypy311
|
|
9
8
|
|
|
10
9
|
[testenv]
|
|
11
10
|
package = wheel
|
|
12
11
|
wheel_build_env = .pkg
|
|
13
|
-
commands =
|
|
12
|
+
commands =
|
|
13
|
+
python -m pip --disable-pip-version-check list
|
|
14
|
+
python -m unittest discover -t . -s tests {posargs}
|
|
14
15
|
|
|
15
16
|
[pytest]
|
|
16
17
|
testpaths = tests
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pygments-openssl-1.6 → pygments_openssl-2.0}/pygments_openssl.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|