From 53520462c19102013b7b8d0d5c1b0ec7d5104275 Mon Sep 17 00:00:00 2001 From: DonatWulf <59470237+DonatWulf@users.noreply.github.com> Date: Sat, 24 Aug 2024 04:12:17 -0700 Subject: [PATCH 1/4] Add files via upload --- recipes/gggenomes/bld.bat | 2 + recipes/gggenomes/build.sh | 3 + recipes/gggenomes/meta.yaml | 110 ++++++++++++++++++++++++++++++++++++ 3 files changed, 115 insertions(+) create mode 100644 recipes/gggenomes/bld.bat create mode 100644 recipes/gggenomes/build.sh create mode 100644 recipes/gggenomes/meta.yaml diff --git a/recipes/gggenomes/bld.bat b/recipes/gggenomes/bld.bat new file mode 100644 index 0000000000000..9d97015ce956c --- /dev/null +++ b/recipes/gggenomes/bld.bat @@ -0,0 +1,2 @@ +"%R%" CMD INSTALL --build . %R_ARGS% +IF %ERRORLEVEL% NEQ 0 exit /B 1 diff --git a/recipes/gggenomes/build.sh b/recipes/gggenomes/build.sh new file mode 100644 index 0000000000000..b8d2635525637 --- /dev/null +++ b/recipes/gggenomes/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash +export DISABLE_AUTOBREW=1 +${R} CMD INSTALL --build . ${R_ARGS} diff --git a/recipes/gggenomes/meta.yaml b/recipes/gggenomes/meta.yaml new file mode 100644 index 0000000000000..c26ac9a00cfe3 --- /dev/null +++ b/recipes/gggenomes/meta.yaml @@ -0,0 +1,110 @@ +{% set version = '1.0.0' %} +{% set posix = 'm2-' if win else '' %} +{% set native = 'm2w64-' if win else '' %} + +package: + name: r-gggenomes + version: {{ version|replace("-", "_") }} + +source: + url: + - {{ cran_mirror }}/src/contrib/gggenomes_{{ version }}.tar.gz + - {{ cran_mirror }}/src/contrib/Archive/gggenomes/gggenomes_{{ version }}.tar.gz + sha256: 3cdee64dc9156a0cb3eb5d3bb8b83df751ced28b2b84cc1d545fafda179f7538 + +build: + merge_build_host: True # [win] + number: 0 + noarch: generic + rpaths: + - lib/R/lib/ + - lib/ + missing_dso_whitelist: + - '*/R.dll' # [win] + - '*/Rblas.dll' # [win] + - '*/Rlapack.dll' # [win] + +requirements: + build: + - {{ posix }}zip # [win] + - cross-r-base {{ r_base }} # [build_platform != target_platform] + host: + - r-base >=4.2 + - r-colorspace + - r-dplyr + - r-ellipsis + - r-ggplot2 >=3.5.0 + - r-jsonlite + - r-magrittr + - r-purrr + - r-readr >=2.0.0 + - r-rlang + - r-scales + - r-snakecase + - r-stringr + - r-tibble + - r-tidyr + - r-tidyselect + - r-vctrs + run: + - r-base >=4.2 + - r-colorspace + - r-dplyr + - r-ellipsis + - r-ggplot2 >=3.5.0 + - r-jsonlite + - r-magrittr + - r-purrr + - r-readr >=2.0.0 + - r-rlang + - r-scales + - r-snakecase + - r-stringr + - r-tibble + - r-tidyr + - r-tidyselect + - r-vctrs + +test: + commands: + - $R -e "library('gggenomes')" # [not win] + - "\"%R%\" -e \"library('gggenomes')\"" # [win] + +about: + home: https://github.com/thackl/gggenomes + license: MIT + summary: An extension of 'ggplot2' for creating complex genomic maps. It builds on the power + of 'ggplot2' and 'tidyverse' adding new 'ggplot2'-style geoms & positions and 'dplyr'-style + verbs to manipulate the underlying data. It implements a layout concept inspired + by 'ggraph' and introduces tracks to bring tidiness to the mess that is genomics + data. + license_family: MIT + license_file: + - '{{ environ["PREFIX"] }}/lib/R/share/licenses/MIT' + - LICENSE + +extra: + recipe-maintainers: + - DonatWulf + +# Package: gggenomes +# Title: A Grammar of Graphics for Comparative Genomics +# Version: 1.0.0 +# Authors@R: c( person("Thomas", "Hackl", email = "t.hackl@rug.nl", role = c("aut", "cre")), person("Markus J.", "Ankenbrand", email = "iimog@iimog.org", role = c("aut")), person("Bart", "van Adrichem", role = c("aut")), person("Kristina", "Haslinger", email = "k.haslinger@rug.nl", role = c("ctb", "sad"))) +# Description: An extension of 'ggplot2' for creating complex genomic maps. It builds on the power of 'ggplot2' and 'tidyverse' adding new 'ggplot2'-style geoms & positions and 'dplyr'-style verbs to manipulate the underlying data. It implements a layout concept inspired by 'ggraph' and introduces tracks to bring tidiness to the mess that is genomics data. +# License: MIT + file LICENSE +# URL: https://github.com/thackl/gggenomes +# BugReports: https://github.com/thackl/gggenomes/issues +# Encoding: UTF-8 +# LazyData: true +# RoxygenNote: 7.3.1 +# VignetteBuilder: knitr +# Depends: R (>= 3.4.2), ggplot2 (>= 3.5.0), +# Imports: vctrs, rlang, dplyr, tidyr, readr (>= 2.0.0), purrr, tibble, stringr, grid, jsonlite, snakecase, magrittr, scales, tidyselect, colorspace, methods, utils, ellipsis +# Suggests: testthat, ggtree, patchwork, Hmisc, knitr, ggrepel, IRanges, +# NeedsCompilation: no +# Packaged: 2024-06-27 07:06:49 UTC; iimog +# Author: Thomas Hackl [aut, cre], Markus J. Ankenbrand [aut], Bart van Adrichem [aut], Kristina Haslinger [ctb, sad] +# Maintainer: Thomas Hackl +# Repository: CRAN +# Date/Publication: 2024-06-28 09:30:06 UTC From ccea1d4e9df400e95f1939f225be8323c5345e6a Mon Sep 17 00:00:00 2001 From: DonatWulf <59470237+DonatWulf@users.noreply.github.com> Date: Sat, 24 Aug 2024 04:29:49 -0700 Subject: [PATCH 2/4] Update and rename bld.bat to bld.bat --- recipes/{gggenomes => r-gggenomes}/bld.bat | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename recipes/{gggenomes => r-gggenomes}/bld.bat (100%) diff --git a/recipes/gggenomes/bld.bat b/recipes/r-gggenomes/bld.bat similarity index 100% rename from recipes/gggenomes/bld.bat rename to recipes/r-gggenomes/bld.bat From 3df35e62fb16a4c8ce0283942017aa89e237e5c3 Mon Sep 17 00:00:00 2001 From: DonatWulf <59470237+DonatWulf@users.noreply.github.com> Date: Sat, 24 Aug 2024 04:30:11 -0700 Subject: [PATCH 3/4] Rename build.sh to build.sh --- recipes/{gggenomes => r-gggenomes}/build.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename recipes/{gggenomes => r-gggenomes}/build.sh (100%) diff --git a/recipes/gggenomes/build.sh b/recipes/r-gggenomes/build.sh similarity index 100% rename from recipes/gggenomes/build.sh rename to recipes/r-gggenomes/build.sh From f5393261699d4c9c53831bc2d56e71eba35e6400 Mon Sep 17 00:00:00 2001 From: DonatWulf <59470237+DonatWulf@users.noreply.github.com> Date: Sat, 24 Aug 2024 04:30:31 -0700 Subject: [PATCH 4/4] Update and rename meta.yaml to meta.yaml --- recipes/{gggenomes => r-gggenomes}/meta.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename recipes/{gggenomes => r-gggenomes}/meta.yaml (100%) diff --git a/recipes/gggenomes/meta.yaml b/recipes/r-gggenomes/meta.yaml similarity index 100% rename from recipes/gggenomes/meta.yaml rename to recipes/r-gggenomes/meta.yaml