pygments-openssl 1.5__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.
Files changed (22) hide show
  1. {pygments-openssl-1.5 → pygments_openssl-2.0}/CHANGES.rst +30 -0
  2. {pygments-openssl-1.5 → pygments_openssl-2.0}/LICENSE +1 -1
  3. {pygments-openssl-1.5/pygments_openssl.egg-info → pygments_openssl-2.0}/PKG-INFO +35 -8
  4. {pygments-openssl-1.5 → pygments_openssl-2.0/pygments_openssl.egg-info}/PKG-INFO +35 -8
  5. {pygments-openssl-1.5 → pygments_openssl-2.0}/pygments_openssl.egg-info/SOURCES.txt +1 -0
  6. {pygments-openssl-1.5 → pygments_openssl-2.0}/pygments_openssl.egg-info/entry_points.txt +0 -1
  7. pygments_openssl-2.0/pygments_openssl.egg-info/not-zip-safe +1 -0
  8. pygments_openssl-2.0/pygments_openssl.egg-info/requires.txt +1 -0
  9. {pygments-openssl-1.5 → pygments_openssl-2.0}/setup.cfg +4 -8
  10. {pygments-openssl-1.5 → pygments_openssl-2.0}/tests/test_lexer.py +30 -6
  11. {pygments-openssl-1.5 → pygments_openssl-2.0}/tox.ini +6 -2
  12. pygments-openssl-1.5/pygments_openssl.egg-info/requires.txt +0 -2
  13. {pygments-openssl-1.5 → pygments_openssl-2.0}/MANIFEST.in +0 -0
  14. {pygments-openssl-1.5 → pygments_openssl-2.0}/README.rst +0 -0
  15. {pygments-openssl-1.5 → pygments_openssl-2.0}/pygments_openssl/__init__.py +0 -0
  16. {pygments-openssl-1.5 → pygments_openssl-2.0}/pygments_openssl/lexer.py +0 -0
  17. {pygments-openssl-1.5 → pygments_openssl-2.0}/pygments_openssl.egg-info/dependency_links.txt +0 -0
  18. {pygments-openssl-1.5 → pygments_openssl-2.0}/pygments_openssl.egg-info/top_level.txt +0 -0
  19. {pygments-openssl-1.5 → pygments_openssl-2.0}/pyproject.toml +0 -0
  20. {pygments-openssl-1.5 → pygments_openssl-2.0}/setup.py +0 -0
  21. {pygments-openssl-1.5 → pygments_openssl-2.0}/tests/__init__.py +0 -0
  22. {pygments-openssl-1.5 → pygments_openssl-2.0}/tests/test_installation.py +0 -0
@@ -1,6 +1,36 @@
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
+
22
+ 1.6 - 2023-09-14
23
+ ----------------
24
+
25
+ * Update INI lexer tests for Pygments >= 2.14.
26
+ [stefan]
27
+
28
+ * Update tox.ini for latest tox.
29
+ [stefan]
30
+
31
+ * Add GitHub CI workflow.
32
+ [stefan]
33
+
4
34
  1.5 - 2022-02-27
5
35
  ----------------
6
36
 
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012-2021 Stefan H. Holek
1
+ Copyright (c) 2012-2026 Stefan H. Holek
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
@@ -1,27 +1,26 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pygments-openssl
3
- Version: 1.5
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
7
7
  Author-email: stefan@epy.co.at
8
8
  License: BSD-2-Clause
9
9
  Keywords: sphinx,pygments,lexer,openssl,openssl.cnf,openssl.conf,syntax,coloring,colors,highlight
10
- Platform: UNKNOWN
11
10
  Classifier: Development Status :: 5 - Production/Stable
12
11
  Classifier: Environment :: Plugins
13
12
  Classifier: Intended Audience :: Developers
14
13
  Classifier: Intended Audience :: End Users/Desktop
15
14
  Classifier: Intended Audience :: System Administrators
16
- Classifier: License :: OSI Approved :: BSD License
17
15
  Classifier: Operating System :: OS Independent
18
16
  Classifier: Programming Language :: Python
19
- Classifier: Programming Language :: Python :: 2
20
17
  Classifier: Programming Language :: Python :: 3
21
18
  Classifier: Topic :: Text Processing :: Filters
22
- Requires-Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7
19
+ Requires-Python: >=3.5
23
20
  Description-Content-Type: text/x-rst
24
21
  License-File: LICENSE
22
+ Requires-Dist: pygments
23
+ Dynamic: license-file
25
24
 
26
25
  ================
27
26
  pygments-openssl
@@ -67,6 +66,36 @@ To verify the installation run::
67
66
  Changelog
68
67
  =========
69
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
+
87
+ 1.6 - 2023-09-14
88
+ ----------------
89
+
90
+ * Update INI lexer tests for Pygments >= 2.14.
91
+ [stefan]
92
+
93
+ * Update tox.ini for latest tox.
94
+ [stefan]
95
+
96
+ * Add GitHub CI workflow.
97
+ [stefan]
98
+
70
99
  1.5 - 2022-02-27
71
100
  ----------------
72
101
 
@@ -129,5 +158,3 @@ Changelog
129
158
 
130
159
  * Initial release.
131
160
  [stefan]
132
-
133
-
@@ -1,27 +1,26 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pygments-openssl
3
- Version: 1.5
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
7
7
  Author-email: stefan@epy.co.at
8
8
  License: BSD-2-Clause
9
9
  Keywords: sphinx,pygments,lexer,openssl,openssl.cnf,openssl.conf,syntax,coloring,colors,highlight
10
- Platform: UNKNOWN
11
10
  Classifier: Development Status :: 5 - Production/Stable
12
11
  Classifier: Environment :: Plugins
13
12
  Classifier: Intended Audience :: Developers
14
13
  Classifier: Intended Audience :: End Users/Desktop
15
14
  Classifier: Intended Audience :: System Administrators
16
- Classifier: License :: OSI Approved :: BSD License
17
15
  Classifier: Operating System :: OS Independent
18
16
  Classifier: Programming Language :: Python
19
- Classifier: Programming Language :: Python :: 2
20
17
  Classifier: Programming Language :: Python :: 3
21
18
  Classifier: Topic :: Text Processing :: Filters
22
- Requires-Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7
19
+ Requires-Python: >=3.5
23
20
  Description-Content-Type: text/x-rst
24
21
  License-File: LICENSE
22
+ Requires-Dist: pygments
23
+ Dynamic: license-file
25
24
 
26
25
  ================
27
26
  pygments-openssl
@@ -67,6 +66,36 @@ To verify the installation run::
67
66
  Changelog
68
67
  =========
69
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
+
87
+ 1.6 - 2023-09-14
88
+ ----------------
89
+
90
+ * Update INI lexer tests for Pygments >= 2.14.
91
+ [stefan]
92
+
93
+ * Update tox.ini for latest tox.
94
+ [stefan]
95
+
96
+ * Add GitHub CI workflow.
97
+ [stefan]
98
+
70
99
  1.5 - 2022-02-27
71
100
  ----------------
72
101
 
@@ -129,5 +158,3 @@ Changelog
129
158
 
130
159
  * Initial release.
131
160
  [stefan]
132
-
133
-
@@ -12,6 +12,7 @@ pygments_openssl.egg-info/PKG-INFO
12
12
  pygments_openssl.egg-info/SOURCES.txt
13
13
  pygments_openssl.egg-info/dependency_links.txt
14
14
  pygments_openssl.egg-info/entry_points.txt
15
+ pygments_openssl.egg-info/not-zip-safe
15
16
  pygments_openssl.egg-info/requires.txt
16
17
  pygments_openssl.egg-info/top_level.txt
17
18
  tests/__init__.py
@@ -1,3 +1,2 @@
1
1
  [pygments.lexers]
2
2
  openssl = pygments_openssl.lexer:OpenSSLConfLexer
3
-
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = pygments-openssl
3
- version = 1.5
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
@@ -24,10 +22,11 @@ license = BSD-2-Clause
24
22
 
25
23
  [options]
26
24
  packages = find:
25
+ include_package_data = false
26
+ zip_safe = false
27
27
  install_requires =
28
- setuptools
29
28
  pygments
30
- python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
29
+ python_requires = >=3.5
31
30
 
32
31
  [options.packages.find]
33
32
  exclude =
@@ -41,6 +40,3 @@ pygments.lexers =
41
40
  tag_build =
42
41
  tag_date = 0
43
42
 
44
- [bdist_wheel]
45
- universal = true
46
-
@@ -1,7 +1,10 @@
1
1
  import unittest
2
+ import pygments
2
3
 
3
4
  from pygments_openssl.lexer import T_SPACE
4
5
 
6
+ pygments_version_info = tuple(map(int, pygments.__version__.split('.')))
7
+
5
8
 
6
9
  class LexerTests(unittest.TestCase):
7
10
 
@@ -108,8 +111,15 @@ class LexerTests(unittest.TestCase):
108
111
  self.assertEqual(tokens[1], (T_SPACE, ' '))
109
112
  self.assertEqual(tokens[2], (token.Operator, '='))
110
113
  self.assertEqual(tokens[3], (T_SPACE, ' '))
111
- self.assertEqual(tokens[4], (token.String, '. # Comment'))
112
- self.assertEqual(tokens[5], (T_SPACE, '\n'))
114
+
115
+ if pygments_version_info >= (2, 14, 0):
116
+ self.assertEqual(tokens[4], (token.String, '.'))
117
+ self.assertEqual(tokens[5], (T_SPACE, ' '))
118
+ self.assertEqual(tokens[6], (token.Comment.Single, '# Comment'))
119
+ self.assertEqual(tokens[7], (T_SPACE, '\n'))
120
+ else:
121
+ self.assertEqual(tokens[4], (token.String, '. # Comment'))
122
+ self.assertEqual(tokens[5], (T_SPACE, '\n'))
113
123
 
114
124
  def test_lex_rhs_double_quoted_string(self):
115
125
  from pygments import token
@@ -127,8 +137,15 @@ class LexerTests(unittest.TestCase):
127
137
  self.assertEqual(tokens[1], (T_SPACE, ' '))
128
138
  self.assertEqual(tokens[2], (token.Operator, '='))
129
139
  self.assertEqual(tokens[3], (T_SPACE, ' '))
130
- self.assertEqual(tokens[4], (token.String, '"foo bar"'))
131
- self.assertEqual(tokens[5], (T_SPACE, '\n'))
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'))
132
149
 
133
150
  def test_lex_rhs_single_quoted_string(self):
134
151
  from pygments import token
@@ -146,8 +163,15 @@ class LexerTests(unittest.TestCase):
146
163
  self.assertEqual(tokens[1], (T_SPACE, ' '))
147
164
  self.assertEqual(tokens[2], (token.Operator, '='))
148
165
  self.assertEqual(tokens[3], (T_SPACE, ' '))
149
- self.assertEqual(tokens[4], (token.String, "'foo bar'"))
150
- self.assertEqual(tokens[5], (T_SPACE, '\n'))
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'))
151
175
 
152
176
  def test_lex_rhs_variable_name(self):
153
177
  from pygments import token
@@ -4,10 +4,14 @@
4
4
  # "pip install tox" and then run "tox" from this directory.
5
5
 
6
6
  [tox]
7
- envlist = py27, py36, py37, py38, py39, py310, pypy, pypy3
7
+ envlist = py310, py311, py312, py313, py314, py315, pypy311
8
8
 
9
9
  [testenv]
10
- commands = python -m unittest discover -t . -s tests {posargs}
10
+ package = wheel
11
+ wheel_build_env = .pkg
12
+ commands =
13
+ python -m pip --disable-pip-version-check list
14
+ python -m unittest discover -t . -s tests {posargs}
11
15
 
12
16
  [pytest]
13
17
  testpaths = tests
@@ -1,2 +0,0 @@
1
- setuptools
2
- pygments
File without changes