Skip to content

Commit dc0cd18

Browse files
committed
Added conda build files
1 parent ae8414f commit dc0cd18

File tree

2 files changed

+103
-0
lines changed

2 files changed

+103
-0
lines changed

makefiles/conda/bld.bat

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
set PYVER=%PY_VER%
2+
set N_ARCH=/
3+
4+
rem set
5+
rem @echo "HOWDY!"
6+
7+
rem Not using the downloaded sources while debugging
8+
rem cd C:\Users\Chris\svn\das2\core\devel\libdas2
9+
10+
nmake.exe /nologo /f makefiles\Windows.mak clean
11+
12+
if %ERRORLEVEL% NEQ 0 (
13+
EXIT /B 1
14+
)
15+
16+
nmake.exe /nologo /f makefiles\Windows.mak build
17+
18+
if %ERRORLEVEL% NEQ 0 (
19+
EXIT /B 2
20+
)
21+
22+
nmake.exe /nologo /f makefiles\Windows.mak run_test
23+
24+
if %ERRORLEVEL% NEQ 0 (
25+
EXIT /B 3
26+
)
27+
28+
nmake.exe /nologo /f makefiles\Windows.mak install
29+
30+
if %ERRORLEVEL% NEQ 0 (
31+
EXIT /B 4
32+
)
33+
34+
nmake.exe /nologo /f makefiles\Windows.mak pylib
35+
36+
if %ERRORLEVEL% NEQ 0 (
37+
EXIT /B 5
38+
)
39+
40+
41+
nmake.exe /nologo /f makefiles\Windows.mak pylib_test
42+
43+
if %ERRORLEVEL% NEQ 0 (
44+
EXIT /B 6
45+
)
46+
47+
nmake.exe /nologo /f makefiles\Windows.mak pylib_install
48+
49+
if %ERRORLEVEL% NEQ 0 (
50+
EXIT /B 7
51+
)

makefiles/conda/meta.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
2+
# Go generate the sha-hash run
3+
# HASH=$(openssl sha256 das2C-${VERSION}.tar.gz | awk '{print $2}')
4+
#
5+
# Example:
6+
# openssl sha256 das2C-2.3-pre3.tar.gz | awk '{print $2}'
7+
8+
{% set name = "das2C" %}
9+
{% set version = "2.3-pre3" %}
10+
{% set sha256 = "6362189d746045b2294810f28d9319f60f1f035a3df71667a1d09677248f3e2e" %}
11+
12+
13+
package:
14+
name: {{ name }}
15+
version: {{ version }}
16+
17+
source:
18+
fn: das2C-2.3-pre3.tar.gz
19+
url: https://github.com/das-developers/das2C/archive/refs/tags/v{{ version }}.tar.gz
20+
sha256: {{ sha256 }}
21+
22+
23+
build:
24+
# This is the zeroth build
25+
number: 0
26+
27+
requirements:
28+
build:
29+
- {{ compiler('c') }}
30+
31+
host:
32+
- expat
33+
- fftw
34+
- zlib
35+
- openssl
36+
- pthreads4w [win]
37+
38+
run:
39+
- expat
40+
- fftw
41+
- zlib
42+
- openssl
43+
- pthreads4w [win]
44+
45+
test:
46+
47+
48+
about:
49+
home: https://github.com/das-developers/das2C
50+
license: LGPL-2.1
51+
license_file: LICENSE
52+
summary: das2 stream utilities and catalog client in C

0 commit comments

Comments
 (0)