From 2b2fadb3226dc393e6e39e1fd6768674ec0fcf16 Mon Sep 17 00:00:00 2001 From: Guilian Luchini Date: Wed, 22 Apr 2020 10:19:07 -0600 Subject: [PATCH 01/10] Create GoodVibes meta.yaml --- recipes/GoodVibes/meta.yaml | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 recipes/GoodVibes/meta.yaml diff --git a/recipes/GoodVibes/meta.yaml b/recipes/GoodVibes/meta.yaml new file mode 100644 index 0000000000000..46b29c5cb6a57 --- /dev/null +++ b/recipes/GoodVibes/meta.yaml @@ -0,0 +1,40 @@ +{% set name = "goodvibes" %} +{% set version = "3.0.1" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + sha256: 6887cab5eeb82b4c9d960beb56f44778a9f5b8dc7911fd7610f916a2d64ec234 + + +build: + number: 0 + script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv " + +requirements: + host: + - numpy + - pip + - python + run: + - numpy + - python + +test: + imports: + - goodvibes + +about: + home: https://github.com/bobbypaton/goodvibes + license: CC-BY + license_family: CC-BY + license_file: LICENSE.txt + summary: Calculates quasi-harmonic free energies from Gaussian output files with temperature and haptic corrections + +extra: + recipe-maintainers: + - bobbypaton + - luchini18 From cbd72dac383ee3adc44f3ac4b9053aabfc52e96f Mon Sep 17 00:00:00 2001 From: Guilian Luchini Date: Wed, 22 Apr 2020 10:19:53 -0600 Subject: [PATCH 02/10] Delete example --- recipes/example/meta.yaml | 83 --------------------------------------- 1 file changed, 83 deletions(-) delete mode 100644 recipes/example/meta.yaml diff --git a/recipes/example/meta.yaml b/recipes/example/meta.yaml deleted file mode 100644 index e03c7195abbcf..0000000000000 --- a/recipes/example/meta.yaml +++ /dev/null @@ -1,83 +0,0 @@ -# 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 = "simplejson" %} -{% set version = "3.8.2" %} - -package: - name: {{ name|lower }} - version: {{ version }} - -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/{{ version }}.tar.gz - sha256: d58439c548433adcda98e695be53e526ba940a4b9c44fb9a05d92cd495cdd47f - # sha256 is the preferred checksum -- you can get it for a file with: - # `openssl sha256 `. - # 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" - -requirements: - build: - # If your project compiles code (such as a C extension) then add the required compilers as separate entries here. - # Compilers are named 'c', 'cxx' and 'fortran'. - - {{ compiler('c') }} - host: - - python - - pip - run: - - python - -test: - # Some packages might need a `test/commands` key to check CLI. - # List all the packages/modules that `run_test.py` imports. - imports: - - simplejson - - simplejson.tests - -about: - home: https://github.com/simplejson/simplejson - # Remember to specify the license variants for BSD, Apache, GPL, and LGPL. - # Prefer the short version, e.g: GPL-2.0 instead of GNU General Public License version 2.0 - # See https://opensource.org/licenses/alphabetical - license: MIT - # 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, - # (even if the license doesn't require it) using the license_file entry. - # See https://conda.pydata.org/docs/building/meta-yaml.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 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. - doc_url: https://simplejson.readthedocs.io/ - dev_url: https://github.com/simplejson/simplejson - -extra: - recipe-maintainers: - # GitHub IDs for maintainers of the recipe. - # Always check with the people listed below if they are OK becoming maintainers of the recipe. (There will be spam!) - - LisaSimpson - - LandoCalrissian From 6587943b703dcfce6832a10af66124c98ff8f711 Mon Sep 17 00:00:00 2001 From: Guilian Luchini Date: Wed, 22 Apr 2020 10:23:39 -0600 Subject: [PATCH 03/10] Edit meta.yaml --- recipes/GoodVibes/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/GoodVibes/meta.yaml b/recipes/GoodVibes/meta.yaml index 46b29c5cb6a57..74201a043ca8a 100644 --- a/recipes/GoodVibes/meta.yaml +++ b/recipes/GoodVibes/meta.yaml @@ -12,7 +12,7 @@ source: build: number: 0 - script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv " + script: "{{ PYTHON }} -m pip install . -vv" requirements: host: From 4ab120e2fc31deb6eb8caa3d6ad21aab781d51e8 Mon Sep 17 00:00:00 2001 From: Guilian Luchini Date: Wed, 22 Apr 2020 10:34:10 -0600 Subject: [PATCH 04/10] Update Licence in meta.yaml --- recipes/GoodVibes/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/GoodVibes/meta.yaml b/recipes/GoodVibes/meta.yaml index 74201a043ca8a..49c02b9350bcf 100644 --- a/recipes/GoodVibes/meta.yaml +++ b/recipes/GoodVibes/meta.yaml @@ -29,8 +29,8 @@ test: about: home: https://github.com/bobbypaton/goodvibes - license: CC-BY - license_family: CC-BY + license: MIT + license_family: MIT license_file: LICENSE.txt summary: Calculates quasi-harmonic free energies from Gaussian output files with temperature and haptic corrections From fff09b47fa8d6be58bf194f68cf0f0ff300876c5 Mon Sep 17 00:00:00 2001 From: Guilian Luchini Date: Wed, 22 Apr 2020 11:09:49 -0600 Subject: [PATCH 05/10] re-added example --- recipes/example/meta.yaml | 83 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 recipes/example/meta.yaml diff --git a/recipes/example/meta.yaml b/recipes/example/meta.yaml new file mode 100644 index 0000000000000..5ac3dea896dd5 --- /dev/null +++ b/recipes/example/meta.yaml @@ -0,0 +1,83 @@ +# 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 13 is convenient +# when copying and pasting from another recipe, but not really needed. +{% set name = "simplejson" %} +{% set version = "3.8.2" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +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 + # url: https://github.com/simplejson/{{ name }}/archive/{{ version }}.tar.gz + sha256: d58439c548433adcda98e695be53e526ba940a4b9c44fb9a05d92cd495cdd47f + # sha256 is the prefered checksum -- you can get it for a file with: + # `openssl sha256 `. + # 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/meta.html#building-noarch-packages 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. + # Note: --no-deps is currently required due to https://github.com/conda/conda-build/issues/3254 + # Once resolved, it should be removed. + script: "{{ PYTHON }} -m pip install . --no-deps -vv" + +requirements: + build: + # if your project compiles code (such as a C extension) then add the required compilers as separate entries here. + # compilers are named 'c', 'cxx' and 'fortran'. + - {{ compiler('c') }} + host: + - python + - pip + run: + - python + +test: + # Some package might need a `test/commands` key to check CLI. + # List all the packages/modules that `run_test.py` imports. + imports: + - simplejson + - simplejson.tests + +about: + home: http://github.com/simplejson/simplejson + # Remember to specify the license variants for BSD, Apache, GPL, and LGLP. + # Prefer the short version, e.g: GPL-2.0 instead of GNU General Public License version 2.0 + # See https://opensource.org/licenses/alphabetical + license: MIT + # 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, + # (even if the license doesn't require it) using the license_file entry. + # See http://conda.pydata.org/docs/building/meta-yaml.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 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. + doc_url: http://simplejson.readthedocs.io/ + dev_url: https://github.com/simplejson/simplejson + +extra: + recipe-maintainers: + # GitHub IDs for maintainers of the recipe. + # Always check with the people listed below if they are OK becoming maintainers of the recipe. (There will be spam!) + - LisaSimpson + - LandoCalrissian From 5c176170dd46d0c255e3d4bcf22bd59184334a81 Mon Sep 17 00:00:00 2001 From: Guilian Luchini Date: Wed, 22 Apr 2020 11:27:42 -0600 Subject: [PATCH 06/10] sha256 matches --- recipes/GoodVibes/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/GoodVibes/meta.yaml b/recipes/GoodVibes/meta.yaml index 49c02b9350bcf..0d3ed77156ed4 100644 --- a/recipes/GoodVibes/meta.yaml +++ b/recipes/GoodVibes/meta.yaml @@ -7,7 +7,7 @@ package: source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz - sha256: 6887cab5eeb82b4c9d960beb56f44778a9f5b8dc7911fd7610f916a2d64ec234 + sha256: 6c7dfef22868f57762e910888e45daf96e2e9cc6cbb7cf299cc6a22cec37ee5c build: From fdc7b6c15c1bea1314c24deb08cd155b4e977f72 Mon Sep 17 00:00:00 2001 From: Guilian Luchini Date: Wed, 22 Apr 2020 11:33:43 -0600 Subject: [PATCH 07/10] Revert sha256 --- recipes/GoodVibes/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/GoodVibes/meta.yaml b/recipes/GoodVibes/meta.yaml index 0d3ed77156ed4..49c02b9350bcf 100644 --- a/recipes/GoodVibes/meta.yaml +++ b/recipes/GoodVibes/meta.yaml @@ -7,7 +7,7 @@ package: source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz - sha256: 6c7dfef22868f57762e910888e45daf96e2e9cc6cbb7cf299cc6a22cec37ee5c + sha256: 6887cab5eeb82b4c9d960beb56f44778a9f5b8dc7911fd7610f916a2d64ec234 build: From 73d0f24783fb3f8dcfd65795f97fc355e7394f45 Mon Sep 17 00:00:00 2001 From: Guilian Luchini Date: Wed, 22 Apr 2020 11:37:13 -0600 Subject: [PATCH 08/10] Update meta.yaml --- recipes/GoodVibes/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/GoodVibes/meta.yaml b/recipes/GoodVibes/meta.yaml index 49c02b9350bcf..992ee4a26b86f 100644 --- a/recipes/GoodVibes/meta.yaml +++ b/recipes/GoodVibes/meta.yaml @@ -12,7 +12,7 @@ source: build: number: 0 - script: "{{ PYTHON }} -m pip install . -vv" + script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv " requirements: host: From 0ef6228adf82afcf865569f3fae5a4d391e86b60 Mon Sep 17 00:00:00 2001 From: Guilian Luchini Date: Wed, 22 Apr 2020 11:41:30 -0600 Subject: [PATCH 09/10] Update meta.yaml --- recipes/GoodVibes/meta.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/recipes/GoodVibes/meta.yaml b/recipes/GoodVibes/meta.yaml index 992ee4a26b86f..545b7f8a8cafa 100644 --- a/recipes/GoodVibes/meta.yaml +++ b/recipes/GoodVibes/meta.yaml @@ -11,17 +11,18 @@ source: build: + noarch: python number: 0 - script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv " - + script: "{{ PYTHON }} -m pip install . -vv" + + requirements: host: - - numpy - pip - python run: - - numpy - python + - numpy test: imports: From 9d909431679bc22a9dd615e117841db644eea5bb Mon Sep 17 00:00:00 2001 From: Guilian Luchini Date: Wed, 22 Apr 2020 11:48:27 -0600 Subject: [PATCH 10/10] examples/meta.yaml --- recipes/example/meta.yaml | 40 +++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/recipes/example/meta.yaml b/recipes/example/meta.yaml index 5ac3dea896dd5..e03c7195abbcf 100644 --- a/recipes/example/meta.yaml +++ b/recipes/example/meta.yaml @@ -1,7 +1,7 @@ # 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 13 is convenient +# 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 = "simplejson" %} {% set version = "3.8.2" %} @@ -12,32 +12,32 @@ 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 - # url: https://github.com/simplejson/{{ name }}/archive/{{ 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/{{ version }}.tar.gz sha256: d58439c548433adcda98e695be53e526ba940a4b9c44fb9a05d92cd495cdd47f - # sha256 is the prefered checksum -- you can get it for a file with: + # sha256 is the preferred checksum -- you can get it for a file with: # `openssl sha256 `. - # You may need the openssl package, available on conda-forge + # 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. + # 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/meta.html#building-noarch-packages for more details. + # 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. - # Note: --no-deps is currently required due to https://github.com/conda/conda-build/issues/3254 - # Once resolved, it should be removed. - script: "{{ PYTHON }} -m pip install . --no-deps -vv" + script: "{{ PYTHON }} -m pip install . -vv" requirements: build: - # if your project compiles code (such as a C extension) then add the required compilers as separate entries here. - # compilers are named 'c', 'cxx' and 'fortran'. + # If your project compiles code (such as a C extension) then add the required compilers as separate entries here. + # Compilers are named 'c', 'cxx' and 'fortran'. - {{ compiler('c') }} host: - python @@ -46,15 +46,15 @@ requirements: - python test: - # Some package might need a `test/commands` key to check CLI. + # Some packages might need a `test/commands` key to check CLI. # List all the packages/modules that `run_test.py` imports. imports: - simplejson - simplejson.tests about: - home: http://github.com/simplejson/simplejson - # Remember to specify the license variants for BSD, Apache, GPL, and LGLP. + home: https://github.com/simplejson/simplejson + # Remember to specify the license variants for BSD, Apache, GPL, and LGPL. # Prefer the short version, e.g: GPL-2.0 instead of GNU General Public License version 2.0 # See https://opensource.org/licenses/alphabetical license: MIT @@ -62,17 +62,17 @@ about: license_family: MIT # It is strongly encouraged to include a license file in the package, # (even if the license doesn't require it) using the license_file entry. - # See http://conda.pydata.org/docs/building/meta-yaml.html#license-file + # See https://conda.pydata.org/docs/building/meta-yaml.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 + # The remaining entries in this section are optional, but recommended. description: | simplejson is a simple, fast, complete, correct and extensible - JSON encoder and decoder for Python 2.5+ and + JSON 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. - doc_url: http://simplejson.readthedocs.io/ + doc_url: https://simplejson.readthedocs.io/ dev_url: https://github.com/simplejson/simplejson extra: