Skip to content

Commit

Permalink
feat: add damnit
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertRosca committed Jan 25, 2024
1 parent b8e367f commit 0f63b7a
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 0 deletions.
13 changes: 13 additions & 0 deletions custom-recipes/recipes/damnit/qscintilla-version.patch
Original file line number Diff line number Diff line change
@@ -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",
70 changes: 70 additions & 0 deletions custom-recipes/recipes/damnit/recipe.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0f63b7a

Please sign in to comment.