From af5037bae5c60b08ce368d9dd8ecc4a7e1d5ef02 Mon Sep 17 00:00:00 2001 From: conda-forge-admin Date: Wed, 27 Mar 2024 14:25:17 +0000 Subject: [PATCH] Initial feedstock commit with conda-smithy 3.34.0. --- conda-forge.yml | 1 + recipe/LICENSE.txt | 21 +++++++++++++++++ recipe/meta.yaml | 58 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 conda-forge.yml create mode 100644 recipe/LICENSE.txt create mode 100644 recipe/meta.yaml diff --git a/conda-forge.yml b/conda-forge.yml new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/conda-forge.yml @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/recipe/LICENSE.txt b/recipe/LICENSE.txt new file mode 100644 index 0000000..853efa5 --- /dev/null +++ b/recipe/LICENSE.txt @@ -0,0 +1,21 @@ +PostgreSQL License + +------------------------------------------------------------------------------- +This PyMEOS CFFI code is provided under The PostgreSQL License. + +Copyright (c) 2020, Université libre de Bruxelles and PyMEOS CFFI contributors + +PyMEOS CFFI includes MEOS, which includes portions of PostGIS version 3 source code released under the GNU General +Public License (GPLv2 or later). Copyright (c) 2001-2023, PostGIS contributors + +Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby +granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies. + +IN NO EVENT SHALL UNIVERSITÉ LIBRE DE BRUXELLES AND PYMEOS CFFI CONTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST +PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF UNIVERSITÉ LIBRE DE BRUXELLES AND PYMEOS CFFI CONTRIBUTORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +UNIVERSITÉ LIBRE DE BRUXELLES AND PYMEOS CFFI CONTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND UNIVERSITÉ LIBRE DE BRUXELLES AND PYMEOS CFFI CONTRIBUTORS HAVE NO OBLIGATIONS TO PROVIDE +MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. +------------------------------------------------------------------------------- \ No newline at end of file diff --git a/recipe/meta.yaml b/recipe/meta.yaml new file mode 100644 index 0000000..76af6ea --- /dev/null +++ b/recipe/meta.yaml @@ -0,0 +1,58 @@ +{% set name = "pymeos-cffi" %} +{% set version = "1.1.0" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name | replace("-", "_") }}/{{ name | replace("-", "_") }}-{{ version }}.tar.gz + sha256: 08d0b50293f2af458188aa3a41af0d6ecd2d2db91130128ddf33ffb47343d57b + +build: + skip: true # [win] + skip: true # [py<37] + number: 0 + script: {{ PYTHON }} -m pip install . -vv + +requirements: + build: + - {{ compiler('c') }} + host: + - python + - setuptools >=61.0 + - cffi + - pip + - meos + run: + - python + - cffi + - meos + - python-dateutil + - shapely + +test: + imports: + - pymeos_cffi + commands: + - pip check + - python -c "import pymeos_cffi; pymeos_cffi.meos_initialize('UTC'); pymeos_cffi.meos_finalize();" + requires: + - pip + +about: + summary: Python wrapper for the MEOS C Library. + description: | + PyMEOS CFFI is a Python wrapper for the MEOS C Library. It wraps all the exposed functions and takes care of many + of the necessary conversions between Python and C data types, as well as managing the errors occurring in the C + library. + license: PostgreSQL + license_file: LICENSE.txt + home: https://pymeos.readthedocs.io + doc_url: https://pymeos.readthedocs.io + dev_url: https://github.com/MobilityDB/PyMEOS + +extra: + recipe-maintainers: + - Diviloper + - estebanzimanyi