From d70a4c01c8f424591177e3fde9535f597b8a7e8d Mon Sep 17 00:00:00 2001 From: Dinu Gherman Date: Fri, 28 Aug 2020 23:37:13 +0200 Subject: [PATCH 1/7] Add xyzspaces --- recipes/xyzspaces/meta.yaml | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 recipes/xyzspaces/meta.yaml diff --git a/recipes/xyzspaces/meta.yaml b/recipes/xyzspaces/meta.yaml new file mode 100644 index 0000000000000..20d7663d383ae --- /dev/null +++ b/recipes/xyzspaces/meta.yaml @@ -0,0 +1,45 @@ +{% set name = "xyzspaces" %} +{% set version = "0.3.2" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/heremaps/xyz-spaces-python/archive/{{ version }}.tar.gz + sha256: 060f023a9711d0d6abe1381ec2723ee8ec0c6551f24a413098295bf8b58121ed + +build: + number: 0 + skip: True # [py<36] + script: "{{ PYTHON }} -m pip install . -vv" + +requirements: + host: + - python + - pip + run: + - python + +test: + imports: + - xyzspaces + +about: + home: https://github.com/heremaps/xyz-spaces-python + license: Apache-2.0 + license_family: Apache + license_file: LICENSE + summary: 'Manage your XYZ Hub server or HERE Data Hub from Python.' + + description: | + xyzspaces provides a programmatic interface to a XYZ Hub or HERE Data Hub + geospatial database and service for Python 3.6+. It is + pure Python code with few core dependencies, but benefits from optional + requirements when used in a typical Jupyter notebook context. + doc_url: https://xyz-spaces-python.readthedocs.io/ + dev_url: https://github.com/heremaps/xyz-spaces-python + +extra: + recipe-maintainers: + - deeplook From 99c683c7d0380a01ada6fd927568012094c9ec8e Mon Sep 17 00:00:00 2001 From: Dinu Gherman Date: Sat, 29 Aug 2020 09:31:00 +0200 Subject: [PATCH 2/7] Remove skip, add noarch, add dependencies --- recipes/xyzspaces/meta.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/recipes/xyzspaces/meta.yaml b/recipes/xyzspaces/meta.yaml index 20d7663d383ae..8b47e8e6588b8 100644 --- a/recipes/xyzspaces/meta.yaml +++ b/recipes/xyzspaces/meta.yaml @@ -10,14 +10,20 @@ source: sha256: 060f023a9711d0d6abe1381ec2723ee8ec0c6551f24a413098295bf8b58121ed build: + noarch: python number: 0 - skip: True # [py<36] script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - python - pip + - fiona + - geobuf + - geojson + - geopandas + - requests + - turfpy>=0.0.3 run: - python From f028aff428d3c7295693353ab659584c4d7cd3a0 Mon Sep 17 00:00:00 2001 From: Dinu Gherman Date: Sat, 29 Aug 2020 09:33:29 +0200 Subject: [PATCH 3/7] Add space for lint --- recipes/xyzspaces/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/xyzspaces/meta.yaml b/recipes/xyzspaces/meta.yaml index 8b47e8e6588b8..974894b5e3a91 100644 --- a/recipes/xyzspaces/meta.yaml +++ b/recipes/xyzspaces/meta.yaml @@ -23,7 +23,7 @@ requirements: - geojson - geopandas - requests - - turfpy>=0.0.3 + - turfpy >=0.0.3 run: - python From 07662d8e38644b843d3302beed12de7f5de91ed6 Mon Sep 17 00:00:00 2001 From: Dinu Gherman Date: Sat, 29 Aug 2020 09:40:49 +0200 Subject: [PATCH 4/7] Move deps to pip section --- recipes/xyzspaces/meta.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes/xyzspaces/meta.yaml b/recipes/xyzspaces/meta.yaml index 974894b5e3a91..2ac93de1a8469 100644 --- a/recipes/xyzspaces/meta.yaml +++ b/recipes/xyzspaces/meta.yaml @@ -18,12 +18,13 @@ requirements: host: - python - pip + - pip: + - geobuf + - turfpy >=0.0.3 - fiona - - geobuf - geojson - geopandas - requests - - turfpy >=0.0.3 run: - python From 82254ba81bfbe7a09c0861a422089de867407663 Mon Sep 17 00:00:00 2001 From: Dinu Gherman Date: Sat, 29 Aug 2020 09:56:35 +0200 Subject: [PATCH 5/7] Move deps to run: section --- recipes/xyzspaces/meta.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes/xyzspaces/meta.yaml b/recipes/xyzspaces/meta.yaml index 2ac93de1a8469..77eebad636621 100644 --- a/recipes/xyzspaces/meta.yaml +++ b/recipes/xyzspaces/meta.yaml @@ -18,6 +18,9 @@ requirements: host: - python - pip + - setuptools + run: + - python - pip: - geobuf - turfpy >=0.0.3 @@ -25,8 +28,6 @@ requirements: - geojson - geopandas - requests - run: - - python test: imports: From 4d5c8004a97472dedede95a37fe50b234084fcc9 Mon Sep 17 00:00:00 2001 From: Dinu Gherman Date: Sat, 29 Aug 2020 09:58:14 +0200 Subject: [PATCH 6/7] Remove pip subsection in run: --- recipes/xyzspaces/meta.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes/xyzspaces/meta.yaml b/recipes/xyzspaces/meta.yaml index 77eebad636621..96322590e0cac 100644 --- a/recipes/xyzspaces/meta.yaml +++ b/recipes/xyzspaces/meta.yaml @@ -21,9 +21,8 @@ requirements: - setuptools run: - python - - pip: - - geobuf - - turfpy >=0.0.3 + - geobuf + - turfpy >=0.0.3 - fiona - geojson - geopandas From 7d9975c5825af47a8acefc594a5c8c1a56378b82 Mon Sep 17 00:00:00 2001 From: Dinu Gherman Date: Mon, 31 Aug 2020 17:07:29 +0200 Subject: [PATCH 7/7] Add maintainers --- recipes/xyzspaces/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/xyzspaces/meta.yaml b/recipes/xyzspaces/meta.yaml index 96322590e0cac..817b3e013fef6 100644 --- a/recipes/xyzspaces/meta.yaml +++ b/recipes/xyzspaces/meta.yaml @@ -50,3 +50,5 @@ about: extra: recipe-maintainers: - deeplook + - omanges + - sackh