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
1 change: 1 addition & 0 deletions integration_tests/recipes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ This directory contains a few curated recipes to test the build process of pyodi
### List of recipes and their purpose

- numpy: The most popular and widely used library in the scientific computing community.
- pywavelets: a library with C and Cython extensions that uses the NumPy-C API.
- orjson: Tests rust extension modules.
- zlib: Tests static libraries.
- geos: Tests shared libraries.
Expand Down
18 changes: 18 additions & 0 deletions integration_tests/recipes/pywavelets/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package:
name: pywavelets
version: 1.8.0
top-level:
- pywt
source:
sha256: f3800245754840adc143cbc29534a1b8fc4b8cff6e9d403326bd52b7bb5c35aa
url: https://files.pythonhosted.org/packages/48/45/bfaaab38545a33a9f06c61211fc3bea2e23e8a8e00fedeb8e57feda722ff/pywavelets-1.8.0.tar.gz
requirements:
host:
- numpy
run:
- numpy
about:
home: https://github.com/PyWavelets/pywt
PyPI: https://pypi.org/project/pywavelets
summary: PyWavelets, wavelet transform module
license: MIT
3 changes: 2 additions & 1 deletion pyodide_build/pypabuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
AVOIDED_REQUIREMENTS = [
# mesonpy installs patchelf in linux platform but we don't want it.
"patchelf",
"oldest-supported-numpy",
]

# corresponding env variables for symlinks
Expand Down Expand Up @@ -122,7 +123,7 @@ def remove_avoided_requirements(
for reqstr in list(requires):
req = Requirement(reqstr)
for avoid_name in set(avoided_requirements):
if avoid_name in req.name.lower():
if avoid_name == req.name.lower():
requires.remove(reqstr)
return requires

Expand Down