|
1 | 1 | # recipe.yaml |
| 2 | +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json |
2 | 3 | schema_version: 1 |
3 | 4 |
|
4 | | -# this sets up "context variables" (in this case name and version) that |
5 | | -# can later be used in Jinja expressions |
6 | 5 | context: |
7 | | - version: 1.0.4 |
| 6 | + version: "1.0.4" |
8 | 7 | name: kececinumbers |
| 8 | + python_min: "3.11" |
9 | 9 |
|
10 | | -# top level package information (name and version) |
11 | 10 | package: |
12 | | - name: kececinumbers |
13 | | - version: 1.0.4 |
| 11 | + name: ${{ name }} |
| 12 | + version: ${{ version }} |
14 | 13 |
|
15 | | -# location to get the source from |
16 | | -#`source` are `url`, `sha256`, `md5`, `patches`, `file_name` and `target_directory` |
17 | 14 | source: |
18 | | - url: |
19 | | - sha256: |
| 15 | + url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ version }}.tar.gz |
| 16 | + sha256: 865857e05bb6af86f44da046df1b7e3baaeed6e7af4dc55a9f38a5b36c1bb6fa |
20 | 17 |
|
21 | | -# build number (should be incremented if a new build is made, but version is not incrementing) |
22 | 18 | build: |
23 | | - number: 1 |
24 | | - script: python -m pip install --no-deps --ignore-installed . |
25 | 19 | noarch: python |
| 20 | + number: 0 |
| 21 | + script: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation |
26 | 22 |
|
27 | | -# the requirements at build and runtime |
28 | 23 | requirements: |
29 | 24 | host: |
30 | | - - python |
| 25 | + - python ${{ python_min }}.* |
31 | 26 | - pip |
32 | | - - setuptools |
33 | | - - wheel |
34 | | - - requests |
| 27 | + - hatchling >=1.28.0 |
35 | 28 | run: |
36 | | - - python >=3.11 # hypercomplex uyumlu versiyon |
37 | | - - numpy # kececinumbers numpy kullanıyor |
38 | | - - pip |
39 | | - - requests |
40 | | - |
41 | | -# tests to validate that the package works as expected |
42 | | -#tests: |
43 | | -# requires: [] # veya boş liste |
44 | | -# - python: |
45 | | -# imports: |
46 | | -# - kececinumbers |
47 | | - |
48 | | -# information about the package |
49 | | -about: |
50 | | - homepage: https://github.com/WhiteSymmetry/kececinumbers/ |
51 | | - license: GPL-3.0-or-later |
52 | | - summary: 'kececinumbers' |
53 | | - description: | |
54 | | - kececinumbers |
55 | | - repository: https://github.com/WhiteSymmetry/kececinumbers/ |
56 | | - documentation: https://github.com/WhiteSymmetry/kececinumbers/ |
57 | | - |
58 | | -# the below is conda-forge specific! |
59 | | -extra: |
60 | | - recipe-maintainers: |
61 | | - - bilgi |
| 29 | + - python >=${{ python_min }} |
| 30 | + - numpy >=1.24.0 |
| 31 | + - requests >=2.32.0 |
| 32 | + - matplotlib >=3.7.0 |
| 33 | + - scipy >=1.11.0 |
| 34 | + - scikit-learn >=1.3.0 |
| 35 | + - sympy >=1.12.0 |
| 36 | + |
| 37 | +tests: |
| 38 | + - python: |
| 39 | + imports: |
| 40 | + - kececinumbers |
| 41 | + pip_check: true |
| 42 | + - script: |
| 43 | + - python -c "import kececinumbers; print(kececinumbers.__version__)" |
| 44 | + - python -c "import numpy, requests, matplotlib, scipy, sklearn, sympy" |
0 commit comments