From a07c25a3ffbd5bc609de720edb68cb646236ab1d Mon Sep 17 00:00:00 2001 From: step21 Date: Sat, 6 Jun 2020 13:28:47 +0200 Subject: [PATCH 1/5] Added meta.yml for varint --- recipes/varint/meta.yaml | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 recipes/varint/meta.yaml diff --git a/recipes/varint/meta.yaml b/recipes/varint/meta.yaml new file mode 100644 index 0000000000000..7819673d66a6e --- /dev/null +++ b/recipes/varint/meta.yaml @@ -0,0 +1,41 @@ +{% set name = "varint" %} +{% set version = "1.0.2" %} + + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + sha256: a6ecc02377ac5ee9d65a6a8ad45c9ff1dac8ccee19400a5950fb51d594214ca5 + +build: + number: 0 + noarch: python + script: {{ PYTHON }} -m pip install . -vv + +requirements: + host: + - pip + - python + run: + - python + +test: + imports: + - varint + commands: + - pip check + requires: + - pip + +about: + home: http://github.com/fmoo/python-varint + summary: Simple python varint implementation + license: MIT + license_file: LICENSE + +extra: + recipe-maintainers: + - AddYourGitHubIdHere From fcda9f0c69219903fd52682f1e60df6ed2796a9a Mon Sep 17 00:00:00 2001 From: step21 Date: Sat, 6 Jun 2020 16:48:21 +0200 Subject: [PATCH 2/5] fixed maintainer --- recipes/varint/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/varint/meta.yaml b/recipes/varint/meta.yaml index 7819673d66a6e..ade2f2d957529 100644 --- a/recipes/varint/meta.yaml +++ b/recipes/varint/meta.yaml @@ -38,4 +38,4 @@ about: extra: recipe-maintainers: - - AddYourGitHubIdHere + - step21 From 3653c607aa39d4d010949e0713e60a9278e2f48b Mon Sep 17 00:00:00 2001 From: step21 Date: Sat, 6 Jun 2020 17:06:02 +0200 Subject: [PATCH 3/5] added License file --- recipes/varint/LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes/varint/LICENSE diff --git a/recipes/varint/LICENSE b/recipes/varint/LICENSE new file mode 100644 index 0000000000000..ae64fa3fe315e --- /dev/null +++ b/recipes/varint/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Peter Ruibal + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 7405b25a4593fe7df364888d098c08cf96fc9a8e Mon Sep 17 00:00:00 2001 From: step21 Date: Mon, 8 Jun 2020 19:54:14 +0200 Subject: [PATCH 4/5] switched to github release with license file --- recipes/varint/LICENSE | 21 --------------------- recipes/varint/meta.yaml | 2 +- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 recipes/varint/LICENSE diff --git a/recipes/varint/LICENSE b/recipes/varint/LICENSE deleted file mode 100644 index ae64fa3fe315e..0000000000000 --- a/recipes/varint/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Peter Ruibal - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/recipes/varint/meta.yaml b/recipes/varint/meta.yaml index ade2f2d957529..50ca70e02a2ed 100644 --- a/recipes/varint/meta.yaml +++ b/recipes/varint/meta.yaml @@ -7,7 +7,7 @@ package: version: {{ version }} source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + url: https://github.com/fmoo/python-varint/archive/{{ version }}.tar.gz sha256: a6ecc02377ac5ee9d65a6a8ad45c9ff1dac8ccee19400a5950fb51d594214ca5 build: From 40bef058b58ed7d9eee3af451798d423112602bb Mon Sep 17 00:00:00 2001 From: step21 Date: Mon, 8 Jun 2020 21:06:20 +0200 Subject: [PATCH 5/5] Fixed sha256 --- recipes/varint/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/varint/meta.yaml b/recipes/varint/meta.yaml index 50ca70e02a2ed..ee6664a917c34 100644 --- a/recipes/varint/meta.yaml +++ b/recipes/varint/meta.yaml @@ -8,7 +8,7 @@ package: source: url: https://github.com/fmoo/python-varint/archive/{{ version }}.tar.gz - sha256: a6ecc02377ac5ee9d65a6a8ad45c9ff1dac8ccee19400a5950fb51d594214ca5 + sha256: 8bf59ea0b2774478d757c7f0b256d1cb19b62aace29791565f260cbc29febcd0 build: number: 0