From d36034ae74a81b0ec8e661e029ba43d9b9b0663f Mon Sep 17 00:00:00 2001 From: Peter Rowlands Date: Wed, 25 Nov 2020 16:47:22 +0900 Subject: [PATCH 1/6] Adding python-benedict --- recipes/python-benedict/meta.yaml | 53 +++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 recipes/python-benedict/meta.yaml diff --git a/recipes/python-benedict/meta.yaml b/recipes/python-benedict/meta.yaml new file mode 100644 index 0000000000000..e2b174c34820e --- /dev/null +++ b/recipes/python-benedict/meta.yaml @@ -0,0 +1,53 @@ +{% set name = "python-benedict" %} +{% set version = "0.22.0" %} + + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/python-benedict-{{ version }}.tar.gz + sha256: 2a5fda1307b0f0ecaf308706a169e31c7141bfbe03df8775d72be3b93d09091d + +build: + number: 0 + script: {{ PYTHON }} -m pip install . --no-deps -vv + +requirements: + host: + - pip + - python + run: + - ftfy + - mailchecker + - phonenumbers + - python + - python-dateutil + - python-slugify + - pyyaml + - requests + - six + - toml + - xmltodict + +test: + imports: + - benedict + - benedict.core + commands: + - pip check + requires: + - pip + +about: + home: https://github.com/fabiocaccamo/python-benedict + summary: python-benedict is a dict subclass with keylist/keypath support, I/O shortcuts (base64, csv, json, pickle, plist, query-string, toml, xml, yaml) and many utilities... for humans, obviously. + license: MIT + license_file: LICENSE.txt + +extra: + recipe-maintainers: + - pmrowla + - efiop + - shcheklein From cf80132f9968c132048849bded5ce9b0f2f96b62 Mon Sep 17 00:00:00 2001 From: Peter Rowlands Date: Wed, 25 Nov 2020 16:55:27 +0900 Subject: [PATCH 2/6] Adding mailchecker --- recipes/mailchecker/LICENSE-MIT | 22 +++++++++++++++++ recipes/mailchecker/meta.yaml | 43 +++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 recipes/mailchecker/LICENSE-MIT create mode 100644 recipes/mailchecker/meta.yaml diff --git a/recipes/mailchecker/LICENSE-MIT b/recipes/mailchecker/LICENSE-MIT new file mode 100644 index 0000000000000..d73cb1a70e1b2 --- /dev/null +++ b/recipes/mailchecker/LICENSE-MIT @@ -0,0 +1,22 @@ +Copyright (c) 2013 Francois-Guillaume Ribreau + +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/mailchecker/meta.yaml b/recipes/mailchecker/meta.yaml new file mode 100644 index 0000000000000..473f6a1623b2e --- /dev/null +++ b/recipes/mailchecker/meta.yaml @@ -0,0 +1,43 @@ +{% set name = "mailchecker" %} +{% set version = "3.3.17" %} + + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/mailchecker-{{ version }}.tar.gz + sha256: 69148b2c6131f4f68ad45f0a8c7a90e6c2ada4ee7cd37302a84cfc9df4c167e3 + +build: + number: 0 + noarch: python + script: {{ PYTHON }} -m pip install . --no-deps -vv + +requirements: + host: + - pip + - python + run: + - python + +test: + imports: + - MailChecker + commands: + - pip check + requires: + - pip + +about: + home: https://github.com/FGRibreau/mailchecker + summary: Cross-language email validation. Backed by a database of thousands throwable email providers. + license: MIT + license_file: LICENSE-MIT + +extra: + recipe-maintainers: + - pmrowla + - efiop + - shcheklein From 6fd0a70fb31440f7e509540820a092be387c7b64 Mon Sep 17 00:00:00 2001 From: Peter Rowlands Date: Wed, 25 Nov 2020 19:02:49 +0900 Subject: [PATCH 3/6] Add fabiocaccamo to python-benedict maintainers --- recipes/python-benedict/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/python-benedict/meta.yaml b/recipes/python-benedict/meta.yaml index e2b174c34820e..5a9577812c208 100644 --- a/recipes/python-benedict/meta.yaml +++ b/recipes/python-benedict/meta.yaml @@ -51,3 +51,4 @@ extra: - pmrowla - efiop - shcheklein + - fabiocaccamo From 21fb9f1bd1a7137ee4086541056639ace940d3b3 Mon Sep 17 00:00:00 2001 From: Peter Rowlands Date: Thu, 26 Nov 2020 13:18:13 +0900 Subject: [PATCH 4/6] python-benedict: fix ftfy dep versions --- recipes/python-benedict/meta.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/python-benedict/meta.yaml b/recipes/python-benedict/meta.yaml index 5a9577812c208..9f21e0ab55677 100644 --- a/recipes/python-benedict/meta.yaml +++ b/recipes/python-benedict/meta.yaml @@ -12,6 +12,7 @@ source: build: number: 0 + skip: true # [py<27] script: {{ PYTHON }} -m pip install . --no-deps -vv requirements: @@ -19,7 +20,8 @@ requirements: - pip - python run: - - ftfy + - ftfy <5.0 # [py==27] + - ftfy # [py>=34] - mailchecker - phonenumbers - python From 447199515a7e416b103da699d63c0f5e442ddaf9 Mon Sep 17 00:00:00 2001 From: Peter Rowlands Date: Thu, 26 Nov 2020 13:41:57 +0900 Subject: [PATCH 5/6] mailchecker: mark python ver in host/run --- recipes/mailchecker/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/mailchecker/meta.yaml b/recipes/mailchecker/meta.yaml index 473f6a1623b2e..f36141d8447d9 100644 --- a/recipes/mailchecker/meta.yaml +++ b/recipes/mailchecker/meta.yaml @@ -18,9 +18,9 @@ build: requirements: host: - pip - - python + - python >=2.7 run: - - python + - python >=2.7 test: imports: From c2c61aa0083e3696dae6b3732aa41f2c1ce0b071 Mon Sep 17 00:00:00 2001 From: Peter Rowlands Date: Fri, 27 Nov 2020 09:22:44 +0900 Subject: [PATCH 6/6] mark recipes noarch, python >=3.4 --- recipes/mailchecker/meta.yaml | 4 ++-- recipes/python-benedict/meta.yaml | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/recipes/mailchecker/meta.yaml b/recipes/mailchecker/meta.yaml index f36141d8447d9..5511383e93659 100644 --- a/recipes/mailchecker/meta.yaml +++ b/recipes/mailchecker/meta.yaml @@ -18,9 +18,9 @@ build: requirements: host: - pip - - python >=2.7 + - python >=3.4 run: - - python >=2.7 + - python >=3.4 test: imports: diff --git a/recipes/python-benedict/meta.yaml b/recipes/python-benedict/meta.yaml index 9f21e0ab55677..7d6ad7cef72b7 100644 --- a/recipes/python-benedict/meta.yaml +++ b/recipes/python-benedict/meta.yaml @@ -12,19 +12,18 @@ source: build: number: 0 - skip: true # [py<27] + noarch: python script: {{ PYTHON }} -m pip install . --no-deps -vv requirements: host: - pip - - python + - python >=3.4 run: - - ftfy <5.0 # [py==27] - - ftfy # [py>=34] + - ftfy - mailchecker - phonenumbers - - python + - python >=3.4 - python-dateutil - python-slugify - pyyaml