Merge pull request #19372 from cotequeiroz/libgd
[feed/packages.git] / lang / python / python-jsonschema / patches / 001-setup.patch
1 --- /dev/null
2 +++ b/setup.py
3 @@ -0,0 +1,2 @@
4 +from setuptools import setup
5 +setup(use_scm_version=True)
6 --- /dev/null
7 +++ b/setup.cfg
8 @@ -0,0 +1,96 @@
9 +[metadata]
10 +name = jsonschema
11 +url = https://github.com/python-jsonschema/jsonschema
12 +project_urls =
13 + Funding = https://github.com/sponsors/Julian
14 + Tidelift = https://tidelift.com/subscription/pkg/pypi-jsonschema?utm_source=pypi-jsonschema&utm_medium=referral&utm_campaign=pypi-link
15 + Documentation = https://python-jsonschema.readthedocs.io/
16 + Changelog = https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst
17 + Source = https://github.com/python-jsonschema/jsonschema
18 + Issues = https://github.com/python-jsonschema/jsonschema/issues/
19 +description = An implementation of JSON Schema validation for Python
20 +long_description = file: README.rst
21 +long_description_content_type = text/x-rst
22 +author = Julian Berman
23 +author_email = Julian+jsonschema@GrayVines.com
24 +license = MIT
25 +classifiers =
26 + Development Status :: 5 - Production/Stable
27 + Intended Audience :: Developers
28 + License :: OSI Approved :: MIT License
29 + Operating System :: OS Independent
30 + Programming Language :: Python
31 + Programming Language :: Python :: 3.7
32 + Programming Language :: Python :: 3.8
33 + Programming Language :: Python :: 3.9
34 + Programming Language :: Python :: 3.10
35 + Programming Language :: Python :: 3.11
36 + Programming Language :: Python :: Implementation :: CPython
37 + Programming Language :: Python :: Implementation :: PyPy
38 +
39 +[options]
40 +packages = find:
41 +python_requires = >=3.7
42 +install_requires =
43 + attrs>=17.4.0
44 + importlib_metadata;python_version<'3.8'
45 + importlib_resources>=1.4.0;python_version<'3.9'
46 + pyrsistent>=0.14.0,!=0.17.0,!=0.17.1,!=0.17.2
47 + typing_extensions;python_version<'3.8'
48 +
49 +[options.extras_require]
50 +format =
51 + fqdn
52 + idna
53 + isoduration
54 + jsonpointer>1.13
55 + rfc3339-validator
56 + rfc3987
57 + uri_template
58 + webcolors>=1.11
59 +format_nongpl =
60 + fqdn
61 + idna
62 + isoduration
63 + jsonpointer>1.13
64 + rfc3339-validator
65 + rfc3986-validator>0.1.0
66 + uri_template
67 + webcolors>=1.11
68 +
69 +[options.entry_points]
70 +console_scripts =
71 + jsonschema = jsonschema.cli:main
72 +
73 +[options.package_data]
74 +jsonschema = schemas/*.json, schemas/*/*.json
75 +
76 +[flake8]
77 +ban-relative-imports = true
78 +inline-quotes = "
79 +exclude =
80 + jsonschema/__init__.py
81 + jsonschema/_reflect.py
82 +ignore =
83 + B008, # Barring function calls in default args. Ha, no.
84 + B306, # See https://github.com/PyCQA/flake8-bugbear/issues/131
85 + W503, # (flake8 default) old PEP8 boolean operator line breaks
86 +
87 +[mypy]
88 +ignore_missing_imports = true
89 +
90 +[pydocstyle]
91 +match = (?!(test_|_|compat|cli)).*\.py # see PyCQA/pydocstyle#323
92 +add-select =
93 + D410, # Trailing whitespace plz
94 +add-ignore =
95 + D107, # Hah, no
96 + D200, # 1-line docstrings don't need to be on one line
97 + D202, # One line is fine.
98 + D412, # Trailing whitespace plz
99 + D413, # No trailing whitespace plz
100 +
101 +[egg_info]
102 +tag_build =
103 +tag_date = 0
104 +