Skip to content

Commit c3ba50f

Browse files
committed
ENH: Rework to a working config
1 parent f65fcc0 commit c3ba50f

File tree

4 files changed

+92
-73
lines changed

4 files changed

+92
-73
lines changed

recipes/pyflowy/conda_build_config.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

recipes/pyflowy/meta.yaml

Lines changed: 0 additions & 71 deletions
This file was deleted.

recipes/pyflowy/recipe.yaml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
schema_version: 1
2+
3+
context:
4+
name: pyflowy
5+
version: 0.0.1
6+
build_num: 0
7+
shasum: babe8f58e1d2cc3784a87a50bfbb904cac088ad51259a7a2ccb835d5e3f0dfd1
8+
9+
package:
10+
name: ${{ name|lower }}
11+
version: ${{ version }}
12+
13+
source:
14+
url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/pyflowy-${{ version }}.tar.gz
15+
sha256: ${{ shasum }}
16+
17+
build:
18+
skip:
19+
- if: python < 3.9
20+
then: true
21+
- win
22+
number: ${{ build_num }}
23+
string: h${{ hash }}_${{ build_num }}
24+
script: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
25+
26+
requirements:
27+
build:
28+
- ninja
29+
- meson
30+
- xtensor <0.25.0
31+
- xtensor-blas
32+
- xtensor-python
33+
- cmake
34+
- ${{ stdlib('c') }}
35+
- if: (build_platform != target_platform)
36+
then:
37+
- python
38+
- cross-python_${{ target_platform }}
39+
host:
40+
- python
41+
- meson-python
42+
- pybind11
43+
- pip
44+
- fmt
45+
- numpy
46+
- libnetcdf
47+
- hdf5
48+
- ${{ compiler('c') }}
49+
- ${{ compiler('cxx') }}
50+
- libcblas
51+
run:
52+
- python
53+
- fmt
54+
- pybind11 >=2.12.0
55+
- libnetcdf
56+
- hdf5
57+
- ${{ pin_compatible('numpy') }}
58+
59+
tests:
60+
- python:
61+
imports:
62+
- pyflowy
63+
- script:
64+
- pip check
65+
requirements:
66+
run:
67+
- pip
68+
69+
about:
70+
homepage: https://pypi.org/project/pyflowy/
71+
license: GPL-3.0-only AND MIT
72+
license_file:
73+
- LICENSE
74+
- subprojects/pdf_cpplib/LICENSE
75+
- subprojects/flowy/LICENSE
76+
- subprojects/flowy/thirdparty/tsl/LICENSE
77+
license_family: BSD
78+
summary: "Python bindings for flowy"
79+
repository: https://github.com/flowy-code/pyflowy
80+
81+
extra:
82+
recipe-maintainers:
83+
- HaoZeke
84+
- amritagos
85+
- MSallermann

recipes/pyflowy/variants.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
c_stdlib_version:
2+
- if: osx
3+
then: "11.0"
4+
MACOSX_SDK_VERSION:
5+
- "11.0"
6+
MACOSX_DEPLOYMENT_TARGET:
7+
- "11.0"

0 commit comments

Comments
 (0)