File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717from pyparsing import ParseResults
1818from pyparsing import Suppress
1919from pyparsing import White
20- from pyparsing import oneOf
20+ from pyparsing import one_of
2121
2222from ozi_core .spdx import spdx_license_expression
2323
3232 + Combine (spdx_license_expression , join_string = ' ' )
3333).set_parse_action (lambda t : {str (t [0 ]): str (t [1 ])})
3434license_file = classifier + (
35- Keyword ('License-File' ) + dcolon + oneOf (['LICENSE' , 'LICENSE.txt' ])
35+ Keyword ('License-File' ) + dcolon + one_of (['LICENSE' , 'LICENSE.txt' ])
3636).set_parse_action (lambda t : {str (t [0 ]): str (t [1 ])})
3737pep639_headers <<= license_expression + license_file
3838pep639_headers_md <<= (
Original file line number Diff line number Diff line change 1313from pyparsing import Word
1414from pyparsing import ZeroOrMore
1515from pyparsing import alphanums
16- from pyparsing import oneOf
16+ from pyparsing import one_of
1717from spdx_license_list import LICENSES
1818
1919user_defined_license = Combine (
2929 + [Literal (lic .id ) for lic in LICENSES .values () if not lic .deprecated_id ],
3030).set_name ('License-ID' ) + ZeroOrMore (
3131 Keyword ('WITH' )
32- + oneOf (METADATA .spec .python .pkg .license .exceptions ).set_name ('License-Exception-ID' )
32+ + one_of (METADATA .spec .python .pkg .license .exceptions ).set_name ('License-Exception-ID' )
3333 | Keyword ('AND' ) + spdx_license_expression
3434 | Keyword ('OR' ) + spdx_license_expression ,
3535) | Literal (
Original file line number Diff line number Diff line change 11[wrap-file]
2- directory = OZI-2.0.14
3- source_url = https://github.com/OZI-Project/OZI/archive/refs/tags/2.0.14 .tar.gz
4- source_hash = 64730472eea8743bbd8fc4286d7b69caa038df6c683567b406c7d09a03621293
5- source_filename = OZI-2.0.14 .tar.gz
2+ directory = OZI-2.1.29
3+ source_url = https://github.com/OZI-Project/OZI/archive/refs/tags/2.1.29 .tar.gz
4+ source_hash = 1d464fa3bc50b0593778ff0e483f4c1103b42d5abc78d823733ec9441f45040e
5+ source_filename = OZI-2.1.29 .tar.gz
66
77[provide]
8- dependency_names = ozi, ozi-2.0.14
8+ dependency_names = ozi, ozi-2.1.29
99
You can’t perform that action at this time.
0 commit comments