-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathmeta.yaml
92 lines (79 loc) · 2.72 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{% set version = "2.23.0" %}
package:
name: git
version: {{ version }}
source:
- url: https://github.com/git/git/archive/v{{ version }}.tar.gz # [not win]
folder: code # [not win]
sha256: 7d84f5d6f48e95b467a04a8aa1d474e0d21abc7877998af945568d2634fea46a # [not win]
patches: # [not win]
- 0001-macOS-Do-not-use-the-system-Wish-urgh.patch # [not win]
- url: https://mirrors.edge.kernel.org/pub/software/scm/git/git-manpages-{{ version }}.tar.gz # [not win]
folder: manpages # [not win]
sha256: a5b0998f95c2290386d191d34780d145ea67e527fac98541e0350749bf76be75 # [not win]
- url: https://github.com/git-for-windows/git/releases/download/v{{ version }}.windows.1/PortableGit-{{ version }}-64-bit.7z.exe # [win64]
folder: . # [win64]
sha256: 501d8be861ebb8694df3f47f1f673996b1d1672e12559d4a07fae7a2eca3afc7 # [win64]
build:
number: 2
# git hardcodes paths to external utilities (e.g. curl)
detect_binary_files_with_prefix: true
requirements:
build:
- {{ compiler('c') }} # [unix]
- autoconf # [unix]
- make # [unix]
- 7za # [win]
host:
- curl # [unix]
- expat # [unix]
- gettext # [unix]
- libiconv # [unix]
- openssl # [unix]
- pcre # [unix]
- perl # [unix]
- tk # [unix]
- zlib # [unix]
run:
- curl # [unix]
- expat # [unix]
- gettext # [unix]
- libiconv # [unix]
- openssl # [unix]
- pcre # [unix]
- perl # [unix]
- tk # [unix]
- zlib # [unix]
test:
commands:
# Verify git location.
- test -f $PREFIX/bin/git # [unix]
- test -f $PREFIX/bin/gitk # [unix]
- test -f $PREFIX/bin/git-credential-osxkeychain # [osx]
- if not exist %LIBRARY_PREFIX%\\bin\\git.exe exit 1 # [win]
# Verify interactive support.
- test -f $PREFIX/libexec/git-core/git-add--interactive # [unix]
# Run git commands.
- git --version
- git clone https://github.com/conda-forge/git-feedstock
# Git credential commands
- git-credential-osxkeychain 2>&1 | grep -q usage # [osx]
# test completions
- bash $PREFIX/share/bash-completion/completions/git # [unix]
- conda inspect linkages -p $PREFIX $PKG_NAME # [not win]
- conda inspect objects -p $PREFIX $PKG_NAME # [osx]
# confirm toplevel manpage
- test -f $PREFIX/man/man1/git.1 # [not win]
about:
home: https://git-scm.com/
license: GPL v2 and LGPL 2.1
license_file: code/COPYING # [not win]
summary: distributed version control system
extra:
recipe-maintainers:
- jakirkham
- msarahan
- pelson
- scopatz
- ocefpaf
- dougalsutherland