Bring in line with Grayskull
# Note: there are many handy hints in comments in this example -- remove them when you've finalized your recipe
+# If your package is python based, we recommend using Grayskull to generate it instead:
+# https://github.com/conda-incubator/grayskull
# 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
@@ -28,11 +30,13 @@ build:
# 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"
+ # More info about selectors can be found in the conda-build docs:
+ # https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#preprocessing-selectors
+ script: {{ PYTHON }} -m pip install . -vv
+ number: 0
requirements:
build:
@@ -61,23 +65,25 @@ test:
about:
home: https://github.com/simplejson/simplejson
+ summary: 'Simple, fast, extensible JSON encoder/decoder for Python'
+ description: |
+ simplejson is a simple, fast, complete, correct and extensible
+ JSON <https://json.org> encoder and decoder for Python 2.5+ and
+ Python 3.3+. It is pure Python code with no dependencies, but includes
+ an optional C extension for a serious speed boost.
# Remember to specify the license variants for BSD, Apache, GPL, and LGPL.
# 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: MIT
- # The license_family, i.e. "BSD" if license is "BSD-3-Clause". (optional)
+ # The license_family, i.e. "BSD" if license is "BSD-3-Clause".
+ # Optional
license_family: MIT
- # It is strongly encouraged to include a license file in the package,
+ # It is required to include a license file in the package,
# (even if the license doesn't require it) using the license_file entry.
+ # Please also note that some projects have multiple license files which all need to be added using a valid yaml list.
# See https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#license-file
license_file: LICENSE.txt
- summary: 'Simple, fast, extensible JSON encoder/decoder for Python'
- # The remaining entries in this section are optional, but recommended.
- description: |
- simplejson is a simple, fast, complete, correct and extensible
- JSON <https://json.org> encoder and decoder for Python 2.5+ and
- Python 3.3+. It is pure Python code with no dependencies, but includes
- an optional C extension for a serious speed boost.
+ # The doc_url and dev_url are optional.
doc_url: https://simplejson.readthedocs.io/
dev_url: https://github.com/simplejson/simplejson
