Skip to content

Commit bb28b7d

Browse files
CopilotDerThorsten
andauthored
Add wordcloud package recipe for emscripten-wasm32 (emscripten-forge#2863)
* Initial plan * Changes before error encountered Co-authored-by: DerThorsten <904752+DerThorsten@users.noreply.github.com> * Fix wordcloud recipe by adding missing Cython build dependencies Co-authored-by: DerThorsten <904752+DerThorsten@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: DerThorsten <904752+DerThorsten@users.noreply.github.com> Co-authored-by: Thorsten Beier <derthorstenbeier@gmail.com>
1 parent cd287ea commit bb28b7d

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
context:
2+
name: wordcloud
3+
version: 1.9.4
4+
5+
package:
6+
name: ${{ name }}
7+
version: ${{ version }}
8+
9+
source:
10+
- url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ version }}.tar.gz
11+
sha256: b273d8a5ded97d3ead904046b49464dcb71119ee79df875072a4c105cadd347a
12+
13+
build:
14+
number: 0
15+
script: ${{ PYTHON }} -m pip install . ${{ PIP_ARGS }}
16+
17+
requirements:
18+
build:
19+
- ${{ compiler('cxx') }}
20+
- cross-python_${{ target_platform }}
21+
- python
22+
- pip
23+
- cython >=0.29.33
24+
- setuptools
25+
- setuptools_scm
26+
host:
27+
- python
28+
run:
29+
- numpy >=1.6.1
30+
- pillow
31+
- matplotlib
32+
33+
tests:
34+
- script: pytester
35+
files:
36+
recipe:
37+
- test_import_wordcloud.py
38+
requirements:
39+
build:
40+
- pytester
41+
run:
42+
- pytester-run
43+
44+
about:
45+
license: MIT
46+
license_file: LICENSE
47+
summary: A little word cloud generator
48+
homepage: https://github.com/amueller/word_cloud
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def test_import_wordcloud():
2+
import wordcloud

0 commit comments

Comments
 (0)