From 0f63b7a15db8e34c7a83a949ad9968725ef322b9 Mon Sep 17 00:00:00 2001 From: Robert Rosca <32569096+RobertRosca@users.noreply.github.com> Date: Thu, 25 Jan 2024 14:16:56 +0100 Subject: [PATCH] feat: add damnit --- .../recipes/damnit/qscintilla-version.patch | 13 ++++ custom-recipes/recipes/damnit/recipe.yaml | 70 +++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 custom-recipes/recipes/damnit/qscintilla-version.patch create mode 100644 custom-recipes/recipes/damnit/recipe.yaml diff --git a/custom-recipes/recipes/damnit/qscintilla-version.patch b/custom-recipes/recipes/damnit/qscintilla-version.patch new file mode 100644 index 00000000..66a84ce5 --- /dev/null +++ b/custom-recipes/recipes/damnit/qscintilla-version.patch @@ -0,0 +1,13 @@ +diff --git a/pyproject.toml b/pyproject.toml +index a4d321c..b4eefc0 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -25,7 +25,7 @@ dependencies = [ + "PyQt5", + "PyYAML", + "pyflakes", +- "QScintilla==2.13", ++ "QScintilla==2.13.*", + "xarray", + "scipy", + "supervisor", diff --git a/custom-recipes/recipes/damnit/recipe.yaml b/custom-recipes/recipes/damnit/recipe.yaml new file mode 100644 index 00000000..20942597 --- /dev/null +++ b/custom-recipes/recipes/damnit/recipe.yaml @@ -0,0 +1,70 @@ +context: + name: damnit + version: '0.1' + +package: + name: '{{ name|lower }}' + version: '{{ version }}' + +source: + git_url: https://github.com/European-XFEL/damnit + patches: + - qscintilla-version.patch + +build: + entry_points: + - amore-proto = damnit.cli:main + noarch: python + script: '{{ PYTHON }} -m pip install . -vv' + number: 0 + +requirements: + host: + - python >=3.6 + - flit-core >=3.2,<4 + - pip + run: + - python >=3.6 + - extra-data + - euxfel-bunch-pattern + - h5netcdf + - ipython + - kafka-python + - matplotlib-base + - mplcursors + - mpl-pan-zoom + - numpy + - openpyxl + - pandas <2 + - pyqt + - pyyaml + - pyflakes + - qscintilla2 =2.13 + - xarray + - scipy + - supervisor + - termcolor + - tomli + - pasha + - extra-geom + - zulip + - tabulate + +test: + imports: + - damnit + commands: + - pip check + - amore-proto --help + requires: + - pip + +about: + summary: Prototype for extracting and showing metadata (AMORE project) + license: BSD-3-Clause + license_file: LICENSE + +extra: + recipe-maintainers: + - RobertRosca +