Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions cx_Freeze-8.5.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff -ur cx_Freeze-8.5.0/pyproject.toml cx_Freeze-8.5.0.new/pyproject.toml
--- cx_Freeze-8.5.0/pyproject.toml
+++ cx_Freeze-8.5.0.new/pyproject.toml
@@ -49,8 +49,7 @@
]
dynamic = ["version"]
keywords = ["cx-freeze cxfreeze cx_Freeze freeze python"]
-license = "PSF-2.0"
-license-files = ["LICENSE.md"]
+license = {text = "PSF-2.0"}
readme = "README.md"
requires-python = ">=3.10"

@@ -105,6 +104,7 @@

[tool.setuptools]
include-package-data = true
+license-files = ["LICENSE.md"]
zip-safe = false

[tool.setuptools.dynamic]
20 changes: 20 additions & 0 deletions freeze-core-0.4.2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
diff -ur freeze-core-0.4.2/pyproject.toml freeze-core-0.4.2.new/pyproject.toml
--- freeze-core-0.4.2/pyproject.toml
+++ freeze-core-0.4.2.new/pyproject.toml
@@ -39,8 +39,7 @@
]
dynamic = ["version"]
keywords = ["freeze-core freeze cx-freeze cxfreeze cx_Freeze python"]
-license = "MIT"
-license-files = ["LICENSE"]
+license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.10"

@@ -68,6 +67,7 @@

[tool.setuptools]
include-package-data = true
+license-files = ["LICENSE"]
package-dir = {"" = "src"}
zip-safe = false
4 changes: 2 additions & 2 deletions trixie/rules
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ build_mlat-client:
$(VENV)/bin/python -m build --skip-dependency-check --no-isolation --wheel -C="--build-option=--plat-name" -C="--build-option=$(PYTHON_HOST_PLATFORM)" --outdir $(CURDIR)/wheels freeze-core-0.4.2
$(VENV)/bin/python -m pip install --no-index --no-deps --ignore-installed --require-virtualenv $(CURDIR)/wheels/freeze_core-0.4.2*.whl
$(VENV)/bin/python -m build --skip-dependency-check --no-isolation --wheel -C="--build-option=--plat-name" -C="--build-option=$(PYTHON_HOST_PLATFORM)" --outdir $(CURDIR)/wheels cx_Freeze-8.5.0
$(VENV)/bin/python -m pip install --no-index --no-deps --ignore-installed --require-virtualenv $(CURDIR)/wheels/cx_freeze-8.5.0*.whl
$(VENV)/bin/python -m pip install --no-index --no-deps --ignore-installed --require-virtualenv $(CURDIR)/wheels/cx_Freeze-8.5.0-*.whl
# build mlat-client proper
$(VENV)/bin/python -m build --skip-dependency-check --no-isolation --wheel -C="--build-option=--plat-name" -C="--build-option=$(PYTHON_HOST_PLATFORM)" --outdir $(CURDIR)/wheels mlat-client
$(VENV)/bin/python -m pip install --no-index --no-deps --ignore-installed --require-virtualenv $(CURDIR)/wheels/mlatclient-*.whl
$(VENV)/bin/python -m pip install --no-index --no-deps --ignore-installed --require-virtualenv $(CURDIR)/wheels/MlatClient-*.whl

install_mlat-client:
# newer cxfreeze deletes --target-dir (see cxfreeze issue #1300), so we have to freeze to a temporary directory and
Expand Down