Comment cleaning
-# Note: there are many handy hints in comments in this example -- remove them when you've finalized your recipe
-
-# Jinja variables help maintain the recipe as you'll update the version only here.
-# Using the name variable with the URL in line 14 is convenient
-# when copying and pasting from another recipe, but not really needed.
{% set name = "OpenFisca-Core" %}
{% set version = "35.7.6" %}
@@ -12,26 +7,12 @@ package:
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
- # If getting the source from GitHub, remove the line above,
- # uncomment the line below, and modify as needed. Use releases if available:
- # url: https://github.com/simplejson/simplejson/releases/download/{{ version }}/simplejson-{{ version }}.tar.gz
- # and otherwise fall back to archive:
- # url: https://github.com/simplejson/simplejson/archive/v{{ version }}.tar.gz
sha256: 2e199a2a504625393f17dd26c363d3af1eda4f78a0470e40a87b2d9684bb0724
- # sha256 is the preferred checksum -- you can get it for a file with:
- # `openssl sha256 <file name>`.
- # You may need the openssl package, available on conda-forge:
- # `conda install openssl -c conda-forge``
+
build:
- # Uncomment the following line if the package is pure Python and the recipe is exactly the same for all platforms.
- # It is okay if the dependencies are not built for all platforms/versions, although selectors are still not allowed.
- # See https://conda-forge.org/docs/maintainer/knowledge_base.html#noarch-python for more details.
noarch: python
number: 0
- # If the installation is complex, or different between Unix and Windows, use separate bld.bat and build.sh files instead of this key.
- # By default, the package will be built for the Python versions supported by conda-forge and for all major OSs.
- # Add the line "skip: True # [py<35]" (for example) to limit to Python 3.5 and newer, or "skip: True # [not win]" to limit to Windows.
script: "{{ PYTHON }} -m pip install . -vv"
entry_points:
- openfisca = openfisca_core.scripts.openfisca_command:main
@@ -63,16 +44,11 @@ test:
- pytest
- pip
commands:
- #- pip check
- openfisca --help
- openfisca-run-test --help
- # Can't run pytest as we do not have the source code of openfisca-core in this CI.
- #- pytest tests
about:
home: https://openfisca.org
- # Use the SPDX identifier, e.g: GPL-2.0-only instead of GNU General Public License version 2.0
- # See https://spdx.org/licenses/
license_family: AGPL
license: AGPL-3.0-only
license_file: LICENSE
