pre_commit_mirror_maker_2 1.13.0.1__tar.gz → 1.14.0.1__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.
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/PKG-INFO +2 -2
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/all/.pre-commit-hooks.yaml +1 -1
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/languages.py +18 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/make_repo.py +2 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker_2.egg-info/PKG-INFO +2 -2
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/setup.cfg +2 -2
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/LICENSE +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/README.md +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/__init__.py +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/all/.version +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/golang/go.mod +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/golang/go.sum +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/golang/main.go +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/main.py +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/node/.npmignore +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/node/package.json +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/python/setup.py +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/ruby/pre_commit_fake_gem.gemspec +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/rust/Cargo.toml +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker/rust/main.rs +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker_2.egg-info/SOURCES.txt +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker_2.egg-info/dependency_links.txt +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker_2.egg-info/entry_points.txt +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker_2.egg-info/requires.txt +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/pre_commit_mirror_maker_2.egg-info/top_level.txt +0 -0
- {pre_commit_mirror_maker_2-1.13.0.1 → pre_commit_mirror_maker_2-1.14.0.1}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pre_commit_mirror_maker_2
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.14.0.1
|
|
4
4
|
Summary: Fork of pre-commit-mirror-maker
|
|
5
5
|
Home-page: https://github.com/GideonBear/pre-commit-mirror-maker-2
|
|
6
6
|
Author: Anthony Sottile
|
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
14
14
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
15
15
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
16
|
-
Requires-Python: >=3.
|
|
16
|
+
Requires-Python: >=3.11
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
19
|
Requires-Dist: packaging
|
|
@@ -36,6 +36,16 @@ def rust_get_package_versions(package_name: str) -> list[str]:
|
|
|
36
36
|
return list(reversed([version['num'] for version in resp['versions']]))
|
|
37
37
|
|
|
38
38
|
|
|
39
|
+
def haskell_get_package_versions(package_name: str) -> list[str]:
|
|
40
|
+
url = f'https://hackage.haskell.org/package/{package_name}/preferred.json'
|
|
41
|
+
resp = json.load(urllib.request.urlopen(url))
|
|
42
|
+
versions = {
|
|
43
|
+
*resp.get('normal-version', ()),
|
|
44
|
+
*resp.get('deprecated-version', ()),
|
|
45
|
+
}
|
|
46
|
+
return sorted(versions, key=version.parse)
|
|
47
|
+
|
|
48
|
+
|
|
39
49
|
def golang_get_package_versions(package_name: str) -> list[str]:
|
|
40
50
|
# https://pkg.go.dev/golang.org/x/mod/module#EscapePath
|
|
41
51
|
# https://github.com/golang/mod/blob/d271cf332fd221d661d13b186b51a11d7e66ff74/module/module.go#L707
|
|
@@ -78,6 +88,12 @@ def rust_get_additional_dependencies(
|
|
|
78
88
|
return [f'cli:{package_name}:{package_version}']
|
|
79
89
|
|
|
80
90
|
|
|
91
|
+
def haskell_get_additional_dependencies(
|
|
92
|
+
package_name: str, package_version: str,
|
|
93
|
+
) -> list[str]:
|
|
94
|
+
return [f'{package_name}-{package_version}']
|
|
95
|
+
|
|
96
|
+
|
|
81
97
|
def golang_get_additional_dependencies(
|
|
82
98
|
package_name: str, package_version: str,
|
|
83
99
|
) -> list[str]:
|
|
@@ -86,6 +102,7 @@ def golang_get_additional_dependencies(
|
|
|
86
102
|
|
|
87
103
|
LIST_VERSIONS = {
|
|
88
104
|
'golang': golang_get_package_versions,
|
|
105
|
+
'haskell': haskell_get_package_versions,
|
|
89
106
|
'node': node_get_package_versions,
|
|
90
107
|
'python': python_get_package_versions,
|
|
91
108
|
'ruby': ruby_get_package_versions,
|
|
@@ -94,6 +111,7 @@ LIST_VERSIONS = {
|
|
|
94
111
|
|
|
95
112
|
ADDITIONAL_DEPENDENCIES = {
|
|
96
113
|
'golang': golang_get_additional_dependencies,
|
|
114
|
+
'haskell': haskell_get_additional_dependencies,
|
|
97
115
|
'node': node_get_additional_dependencies,
|
|
98
116
|
'rust': rust_get_additional_dependencies,
|
|
99
117
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pre_commit_mirror_maker_2
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.14.0.1
|
|
4
4
|
Summary: Fork of pre-commit-mirror-maker
|
|
5
5
|
Home-page: https://github.com/GideonBear/pre-commit-mirror-maker-2
|
|
6
6
|
Author: Anthony Sottile
|
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
14
14
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
15
15
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
16
|
-
Requires-Python: >=3.
|
|
16
|
+
Requires-Python: >=3.11
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
19
|
Requires-Dist: packaging
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = pre_commit_mirror_maker_2
|
|
3
|
-
version = 1.
|
|
3
|
+
version = 1.14.0.1
|
|
4
4
|
description = Fork of pre-commit-mirror-maker
|
|
5
5
|
long_description = file: README.md
|
|
6
6
|
long_description_content_type = text/markdown
|
|
@@ -22,7 +22,7 @@ classifiers =
|
|
|
22
22
|
packages = find:
|
|
23
23
|
install_requires =
|
|
24
24
|
packaging
|
|
25
|
-
python_requires = >=3.
|
|
25
|
+
python_requires = >=3.11
|
|
26
26
|
|
|
27
27
|
[options.packages.find]
|
|
28
28
|
exclude =
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|