makepatch 0.2.7__tar.gz → 0.2.8__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 (23) hide show
  1. {makepatch-0.2.7 → makepatch-0.2.8}/CHANGELOG.md +4 -0
  2. {makepatch-0.2.7 → makepatch-0.2.8}/PKG-INFO +1 -1
  3. {makepatch-0.2.7 → makepatch-0.2.8}/pyproject.toml +1 -1
  4. {makepatch-0.2.7 → makepatch-0.2.8}/src/makepatch/hooks/_patch.py +4 -7
  5. {makepatch-0.2.7 → makepatch-0.2.8}/.editorconfig +0 -0
  6. {makepatch-0.2.7 → makepatch-0.2.8}/.gitignore +0 -0
  7. {makepatch-0.2.7 → makepatch-0.2.8}/.idea/inspectionProfiles/Project_Default.xml +0 -0
  8. {makepatch-0.2.7 → makepatch-0.2.8}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
  9. {makepatch-0.2.7 → makepatch-0.2.8}/.idea/makepatch.iml +0 -0
  10. {makepatch-0.2.7 → makepatch-0.2.8}/.idea/modules.xml +0 -0
  11. {makepatch-0.2.7 → makepatch-0.2.8}/.idea/workspace.xml +0 -0
  12. {makepatch-0.2.7 → makepatch-0.2.8}/README.md +0 -0
  13. {makepatch-0.2.7 → makepatch-0.2.8}/src/makepatch/__hooks__.py +0 -0
  14. {makepatch-0.2.7 → makepatch-0.2.8}/src/makepatch/__init__.py +0 -0
  15. {makepatch-0.2.7 → makepatch-0.2.8}/src/makepatch/_config.py +0 -0
  16. {makepatch-0.2.7 → makepatch-0.2.8}/src/makepatch/_types/__init__.pyi +0 -0
  17. {makepatch-0.2.7 → makepatch-0.2.8}/src/makepatch/_types/hatch.pyi +0 -0
  18. {makepatch-0.2.7 → makepatch-0.2.8}/src/makepatch/core/__init__.py +0 -0
  19. {makepatch-0.2.7 → makepatch-0.2.8}/src/makepatch/core/_patcher.py +0 -0
  20. {makepatch-0.2.7 → makepatch-0.2.8}/src/makepatch/hooks/__init__.py +0 -0
  21. {makepatch-0.2.7 → makepatch-0.2.8}/src/makepatch/scripts/__init__.py +0 -0
  22. {makepatch-0.2.7 → makepatch-0.2.8}/src/makepatch/scripts/_rebuild.py +0 -0
  23. {makepatch-0.2.7 → makepatch-0.2.8}/uv.lock +0 -0
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## 0.2.x
4
4
 
5
+ ### 0.2.8
6
+
7
+ - Fixed `uv sync` failure
8
+
5
9
  ### 0.2.7
6
10
 
7
11
  - Fixed the issue not fixed in previous version.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: makepatch
3
- Version: 0.2.7
3
+ Version: 0.2.8
4
4
  Summary: Hatch build hook to easily hard-fork packages with patches!
5
5
  Project-URL: source, https://github.com/AlphaKR93/packages/tree/main/python/makepatch
6
6
  Project-URL: issues, https://github.com/AlphaKR93/packages/issues
@@ -16,7 +16,7 @@ rebuild-patches = "makepatch.scripts:rebuild_patches"
16
16
  [project]
17
17
  name = "makepatch"
18
18
  readme = "README.md"
19
- version = "0.2.7"
19
+ version = "0.2.8"
20
20
  authors = [{ name = "Alpha", email = "dev@alpha93.kr" }]
21
21
  description = "Hatch build hook to easily hard-fork packages with patches!"
22
22
  license = "MIT"
@@ -24,13 +24,10 @@ class PatcherBuildHook(BuildHookInterface):
24
24
  config = self.__config
25
25
  patcher = self.__patcher
26
26
 
27
- if self.target_name == "wheel":
28
- if patcher.has_sdist_cache():
29
- dst = self.__dst = config.project_root / "src" / config.module_name
30
- build_data["force_include"][str(dst)] = dst.name
31
- return
32
-
33
- raise RuntimeError("sdist doesn't have patched packages")
27
+ if self.target_name == "wheel" and patcher.has_sdist_cache():
28
+ dst = self.__dst = config.project_root / "src" / config.module_name
29
+ build_data["force_include"][str(dst)] = dst.name
30
+ return
34
31
 
35
32
  patcher.resolve_src()
36
33
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes