|
| 1 | +{% set version = '0.1-3' %} |
| 2 | +{% set posix = 'm2-' if win else '' %} |
| 3 | +{% set native = 'm2w64-' if win else '' %} |
| 4 | + |
| 5 | +package: |
| 6 | + name: r-getip |
| 7 | + version: {{ version|replace("-", "_") }} |
| 8 | + |
| 9 | +source: |
| 10 | + url: |
| 11 | + - {{ cran_mirror }}/src/contrib/getip_{{ version }}.tar.gz |
| 12 | + - {{ cran_mirror }}/src/contrib/Archive/getip/getip_{{ version }}.tar.gz |
| 13 | + sha256: 0ec1677309dc3f2d861d61e7b3de0e74d1fc94aefd03bc5a6c27059e30f3cc24 |
| 14 | + |
| 15 | +build: |
| 16 | + merge_build_host: True # [win] |
| 17 | + missing_dso_whitelist: |
| 18 | + - '*/R.dll' # [win] |
| 19 | + number: 0 |
| 20 | + rpaths: |
| 21 | + - lib/R/lib/ |
| 22 | + - lib/ |
| 23 | + |
| 24 | +requirements: |
| 25 | + build: |
| 26 | + - {{ compiler('c') }} # [not win] |
| 27 | + - {{ compiler('m2w64_c') }} # [win] |
| 28 | + - {{ posix }}filesystem # [win] |
| 29 | + - {{ posix }}sed # [win] |
| 30 | + - {{ posix }}grep # [win] |
| 31 | + - {{ posix }}autoconf |
| 32 | + - {{ posix }}automake # [not win] |
| 33 | + - {{ posix }}automake-wrapper # [win] |
| 34 | + - {{ posix }}pkg-config |
| 35 | + - {{ posix }}make |
| 36 | + - {{ posix }}coreutils # [win] |
| 37 | + - {{ posix }}zip # [win] |
| 38 | + - cross-r-base {{ r_base }} # [build_platform != target_platform] |
| 39 | + host: |
| 40 | + - r-base |
| 41 | + run: |
| 42 | + - r-base |
| 43 | + - {{ native }}gcc-libs # [win] |
| 44 | + |
| 45 | +test: |
| 46 | + commands: |
| 47 | + - $R -e "library('getip')" # [not win] |
| 48 | + - "\"%R%\" -e \"library('getip')\"" # [win] |
| 49 | + |
| 50 | +about: |
| 51 | + home: https://CRAN.R-project.org/package=getip |
| 52 | + license: BSD-2-Clause |
| 53 | + summary: A micro-package for getting your 'IP' address, either the local/internal or the public/external |
| 54 | + one. Currently only 'IPv4' addresses are supported. |
| 55 | + license_family: BSD |
| 56 | + license_file: |
| 57 | + - '{{ environ["PREFIX"] }}/lib/R/share/licenses/BSD_2_clause' |
| 58 | + - LICENSE |
| 59 | + |
| 60 | +extra: |
| 61 | + recipe-maintainers: |
| 62 | + - conda-forge/r |
| 63 | + - brendanf |
| 64 | + |
| 65 | +# Package: getip |
| 66 | +# Type: Package |
| 67 | +# Title: 'IP' Address 'Lookup' |
| 68 | +# Version: 0.1-3 |
| 69 | +# Description: A micro-package for getting your 'IP' address, either the local/internal or the public/external one. Currently only 'IPv4' addresses are supported. |
| 70 | +# License: BSD 2-clause License + file LICENSE |
| 71 | +# Depends: R (>= 3.0.0) |
| 72 | +# ByteCompile: yes |
| 73 | +# Authors@R: c(person("Drew", "Schmidt", role=c("aut", "cre"), email="[email protected]"), person("Wei-Chen", "Chen", role="aut")) |
| 74 | +# Maintainer: Drew Schmidt <[email protected]> |
| 75 | +# RoxygenNote: 7.1.2 |
| 76 | +# NeedsCompilation: yes |
| 77 | +# Packaged: 2023-01-23 17:13:11 UTC; mschmid3 |
| 78 | +# Author: Drew Schmidt [aut, cre], Wei-Chen Chen [aut] |
| 79 | +# Repository: CRAN |
| 80 | +# Date/Publication: 2023-01-25 16:50:02 UTC |
0 commit comments