From 8198787a47670688b22a95193149ecd1c337897f Mon Sep 17 00:00:00 2001 From: jmtcsngr Date: Fri, 29 Jul 2022 11:46:03 +0000 Subject: [PATCH 1/3] add recipe for wr 0.32.0 --- CHANGELOG.md | 1 + recipes/wr/0.32.0/build.sh | 9 +++++++++ recipes/wr/0.32.0/meta.yaml | 24 ++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 recipes/wr/0.32.0/build.sh create mode 100644 recipes/wr/0.32.0/meta.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 69867b82..044e1bad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added #### Recipes + - wr 0.32.0 #### Features diff --git a/recipes/wr/0.32.0/build.sh b/recipes/wr/0.32.0/build.sh new file mode 100644 index 00000000..54078510 --- /dev/null +++ b/recipes/wr/0.32.0/build.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +mkdir -p "$PREFIX/bin" +cp wr "$PREFIX/bin/" + +mkdir -p "$PREFIX/share/doc/wr" +cp README.md "$PREFIX/share/doc/wr/" diff --git a/recipes/wr/0.32.0/meta.yaml b/recipes/wr/0.32.0/meta.yaml new file mode 100644 index 00000000..b5a27990 --- /dev/null +++ b/recipes/wr/0.32.0/meta.yaml @@ -0,0 +1,24 @@ +{% set version = "0.32.0" %} +{% set sha256 = "23ef9950cf3bce8395b599ac6b7f35d7032bff3f1a6707fb46b5f5149a3a8ed9" %} + +package: + name: wr + version: "{{ version }}" + +about: + home: https://github.com/VertebrateResequencing/wr + license: GPL3 + summary: "High performance Workflow Runner." + +build: + number: 0 + binary_relocation: false + +source: + url: https://github.com/VertebrateResequencing/wr/releases/download/v{{ version }}/wr-linux-x86-64.zip + fn: wr-{{ version }}.zip + sha256: {{ sha256 }} + +test: + commands: + - wr -h From d3f326d3cc70678bc15f136f792e791402535676 Mon Sep 17 00:00:00 2001 From: jmtcsngr Date: Fri, 29 Jul 2022 13:22:35 +0000 Subject: [PATCH 2/3] Update changelog for release 4.5.0 --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 044e1bad..7ab171bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +#### Recipes + +#### Features + +### Removed + +#### Recipes + +### Changed + +## [4.5.0] + +### Added + #### Recipes - wr 0.32.0 From b33842540993657f84130979722730b6c50a9f6d Mon Sep 17 00:00:00 2001 From: mksanger Date: Fri, 5 Aug 2022 10:09:37 +0100 Subject: [PATCH 3/3] Add baton 4.0.0 recipe --- CHANGELOG.md | 1 + recipes/baton/4.0.0/build.sh | 13 +++ recipes/baton/4.0.0/conda_build_config.yaml | 5 ++ recipes/baton/4.0.0/meta.yaml | 98 +++++++++++++++++++++ 4 files changed, 117 insertions(+) create mode 100755 recipes/baton/4.0.0/build.sh create mode 100644 recipes/baton/4.0.0/conda_build_config.yaml create mode 100644 recipes/baton/4.0.0/meta.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ab171bb..12de5c9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 #### Recipes - wr 0.32.0 + - baton 4.0.0 #### Features diff --git a/recipes/baton/4.0.0/build.sh b/recipes/baton/4.0.0/build.sh new file mode 100755 index 00000000..bd84254f --- /dev/null +++ b/recipes/baton/4.0.0/build.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +set -ex + +n="$CPU_COUNT" + +LD_LIBRARY_PATH=$PREFIX/lib ./configure --prefix="$PREFIX" \ + CFLAGS="-I$PREFIX/include -I$PREFIX/include/irods" \ + CPPFLAGS="-I$PREFIX/include -I$PREFIX/include/irods" \ + LDFLAGS="-L$PREFIX/lib" + +make -j $n +make install prefix="$PREFIX" diff --git a/recipes/baton/4.0.0/conda_build_config.yaml b/recipes/baton/4.0.0/conda_build_config.yaml new file mode 100644 index 00000000..a7ffa5b0 --- /dev/null +++ b/recipes/baton/4.0.0/conda_build_config.yaml @@ -0,0 +1,5 @@ + +irods: + - 4.2.7 + - 4.2.10 + - 4.2.11 diff --git a/recipes/baton/4.0.0/meta.yaml b/recipes/baton/4.0.0/meta.yaml new file mode 100644 index 00000000..9a2314a2 --- /dev/null +++ b/recipes/baton/4.0.0/meta.yaml @@ -0,0 +1,98 @@ +{% set version = "4.0.0" %} +{% set sha256 = "d1ecb00b784b442c7f9ccafab27c01f745bbe88d18c024aedea1237f345b5424" %} + +package: + name: baton-pkg + version: "{{ version }}" + +about: + home: https://github.com/wtsi-npg/baton + license: GPL2 + summary: "Client programs and API for use with iRODS (Integrated Rule-Oriented Data System)." + +build: + number: 0 + +source: + url: https://github.com/wtsi-npg/baton/releases/download/{{ version }}/baton-{{ version }}.tar.gz + fn: baton-{{ version }}.tar.gz + sha256: {{ sha256 }} + +requirements: + build: + - {{ compiler("c") }} + - autoconf + - automake + - libtool + - make + - perl + - pkg-config + host: + - irods-dev {{ irods }} + - libjansson-dev + - libssl-dev + +outputs: + - name: baton + version: {{ version }} + requirements: + build: + - {{ compiler("c") }} + - autoconf + - automake + - libtool + - make + - perl + - pkg-config + host: + - irods-dev {{ irods }} + - libjansson-dev + - libssl-dev + run: + - {{ pin_subpackage("libbaton", exact=True) }} + - irods-runtime {{ irods }} + - libjansson + - libssl + files: + - bin/baton-* + test: + commands: + - baton-list --version + + - name: libbaton + version: {{ version }} + requirements: + build: + - {{ compiler("c") }} + - autoconf + - automake + - libtool + - make + - perl + - pkg-config + host: + - irods-dev {{ irods }} + - libjansson-dev + - libssl-dev + run: + - irods-runtime {{ irods }} + - libjansson + - libssl + files: + - lib/libbaton.* + test: + commands: + - test -h ${PREFIX}/lib/libbaton.so + + - name: libbaton-dev + version: {{ version }} + requirements: + run: + - {{ pin_subpackage("libbaton", exact=True) }} + - irods-dev {{ irods }} + files: + - include/baton + - lib/pkgconfig/baton.pc + test: + commands: + - test -f ${PREFIX}/include/baton/baton.h