-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling cpython_module type recipe (#74)
#36 had a bug not supporting `cpython_module` type recipes. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
51fe634
commit af493ad
Showing
4 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package: | ||
name: pydoc_data | ||
version: 1.0.0 # Nonsense | ||
tag: | ||
- always | ||
top-level: | ||
- pydoc_data | ||
source: | ||
path: src | ||
build: | ||
type: cpython_module | ||
script: | | ||
wget ${PYTHON_ARCHIVE_URL} -O Python-${PYVERSION}.tgz | ||
tar -xf Python-${PYVERSION}.tgz | ||
cd Python-${PYVERSION}/Lib | ||
tar --exclude=__pycache__ -cf - pydoc_data | tar -C ${PKG_BUILD_DIR} -xf - | ||
about: | ||
license: PSF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[project] | ||
name = "pydoc_data" | ||
authors = [ | ||
{ name="Pyodide"}, | ||
] | ||
description = "Unvendored pydoc_data for Pyodide" | ||
version = "1.0.0" | ||
|
||
[build-system] | ||
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/", | ||
] | ||
exclude = [ | ||
"Python-*", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters