mirror of https://github.com/pyodide/pyodide.git
Fix OOT incompatible recipes (#4937)
This commit is contained in:
parent
50ffb0e847
commit
7c771fa633
|
@ -10,7 +10,11 @@ version = "1.0.0"
|
|||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
ignore-vcs = true
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
ignore-vcs = true
|
||||
include = [
|
||||
"_hashlib.so",
|
||||
]
|
||||
|
|
|
@ -10,7 +10,11 @@ version = "1.0.0"
|
|||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
ignore-vcs = true
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
ignore-vcs = true
|
||||
include = [
|
||||
"lzma.py",
|
||||
"_lzma.so",
|
||||
|
|
|
@ -10,7 +10,11 @@ version = "1.0.0"
|
|||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
ignore-vcs = true
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
ignore-vcs = true
|
||||
include = [
|
||||
"_pydecimal.py",
|
||||
]
|
||||
|
|
|
@ -10,7 +10,11 @@ version = "1.0.0"
|
|||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
ignore-vcs = true
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
ignore-vcs = true
|
||||
include = [
|
||||
"pydoc_data/",
|
||||
]
|
||||
|
|
|
@ -38,7 +38,7 @@ def test_keyboard_input():
|
|||
|
||||
from auditwheel_emscripten import get_imports
|
||||
|
||||
dist_dir = Path(__file__).parent / "dist"
|
||||
dist_dir = Path(pytest.pyodide_dist_dir) # type: ignore[attr-defined]
|
||||
wheel_path = next(dist_dir.glob("pygame_ce-*.whl"))
|
||||
assert wheel_path.exists()
|
||||
all_libs = get_imports(wheel_path)
|
||||
|
|
|
@ -19,6 +19,6 @@ build:
|
|||
echo PYTHONPATH: $PYTHONPATH
|
||||
echo _PYTHON_HOST_PLATFORM: $_PYTHON_HOST_PLATFORM
|
||||
cflags: |
|
||||
-I$(PYODIDE_ROOT)/packages/sharedlib-test/src/include
|
||||
-I$(PKGDIR)/../sharedlib-test/src/include
|
||||
ldflags: |
|
||||
$(PYODIDE_ROOT)/packages/sharedlib-test/build/sharedlib-test-1.0/dist/sharedlib-test.so
|
||||
$(PKGDIR)/../sharedlib-test/build/sharedlib-test-1.0/dist/sharedlib-test.so
|
||||
|
|
|
@ -10,7 +10,11 @@ version = "1.0.0"
|
|||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
ignore-vcs = true
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
ignore-vcs = true
|
||||
include = [
|
||||
"_sqlite3.so",
|
||||
"sqlite3/",
|
||||
|
|
|
@ -10,7 +10,11 @@ version = "1.0.0"
|
|||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
ignore-vcs = true
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
ignore-vcs = true
|
||||
include = [
|
||||
"_ssl.so",
|
||||
"ssl.py",
|
||||
|
|
|
@ -10,7 +10,11 @@ version = "1.0.0"
|
|||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
ignore-vcs = true
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
ignore-vcs = true
|
||||
include = [
|
||||
"_test*.so",
|
||||
"_ctypes_test.so",
|
||||
|
|
Loading…
Reference in New Issue