From 2badff799f71498099a75b3994388091f218e543 Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Wed, 9 Apr 2025 08:23:01 -0700 Subject: [PATCH 1/4] Add xtcocotools --- recipes/xtcocotools/meta.yaml | 50 +++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 recipes/xtcocotools/meta.yaml diff --git a/recipes/xtcocotools/meta.yaml b/recipes/xtcocotools/meta.yaml new file mode 100644 index 0000000000000..54f2595d730f4 --- /dev/null +++ b/recipes/xtcocotools/meta.yaml @@ -0,0 +1,50 @@ +{% set name = "xtcocotools" %} +{% set version = "1.14.3" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + - url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + sha256: 6434382784d206204d2a1b491dba359ff3464a2b9eb5890fbc0d868cad4e810f + +build: + number: 0 + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + +requirements: + build: + - {{ compiler('cxx') }} + - {{ stdlib('c') }} + - cython + host: + - cython + - matplotlib + - numpy >=1.20.0 + - pip + - python + - setuptools >=18.0 + run: + - matplotlib + - numpy >=1.20.0 + - python + +test: + imports: + - xtcocotools + commands: + - pip check + requires: + - pip + - python + +about: + home: https://github.com/jin-s13/xtcocoapi + summary: Extended COCO-API + license: MIT + license_file: LICENSE + +extra: + recipe-maintainers: + - jeongseok-meta From 6f7f39e6aadd162443daa3f3f30c5862d4b04386 Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Wed, 9 Apr 2025 08:34:29 -0700 Subject: [PATCH 2/4] Add cython to req.run --- recipes/xtcocotools/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/xtcocotools/meta.yaml b/recipes/xtcocotools/meta.yaml index 54f2595d730f4..4451f36d0277b 100644 --- a/recipes/xtcocotools/meta.yaml +++ b/recipes/xtcocotools/meta.yaml @@ -26,6 +26,7 @@ requirements: - python - setuptools >=18.0 run: + - cython - matplotlib - numpy >=1.20.0 - python From c7dc26bb932240b6d53a15566a51b199b6270bfa Mon Sep 17 00:00:00 2001 From: "Jeongseok (JS) Lee" <142548112+jeongseok-meta@users.noreply.github.com> Date: Sun, 13 Apr 2025 10:41:33 -0700 Subject: [PATCH 3/4] Update recipes/xtcocotools/meta.yaml Co-authored-by: Uwe L. Korn --- recipes/xtcocotools/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/xtcocotools/meta.yaml b/recipes/xtcocotools/meta.yaml index 4451f36d0277b..b3bb43dc30151 100644 --- a/recipes/xtcocotools/meta.yaml +++ b/recipes/xtcocotools/meta.yaml @@ -21,7 +21,7 @@ requirements: host: - cython - matplotlib - - numpy >=1.20.0 + - numpy - pip - python - setuptools >=18.0 From dacb5e38ccbeb52601485635bd551a996c5d92e7 Mon Sep 17 00:00:00 2001 From: "Jeongseok (JS) Lee" <142548112+jeongseok-meta@users.noreply.github.com> Date: Thu, 17 Apr 2025 12:25:19 -0700 Subject: [PATCH 4/4] Remove cython from req.build --- recipes/xtcocotools/meta.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes/xtcocotools/meta.yaml b/recipes/xtcocotools/meta.yaml index b3bb43dc30151..78a039803bb4e 100644 --- a/recipes/xtcocotools/meta.yaml +++ b/recipes/xtcocotools/meta.yaml @@ -17,7 +17,6 @@ requirements: build: - {{ compiler('cxx') }} - {{ stdlib('c') }} - - cython host: - cython - matplotlib