Skip to content

Commit

Permalink
Merge pull request #65 from timsnyder/17_include_manpages
Browse files Browse the repository at this point in the history
include manpages
  • Loading branch information
scopatz authored Sep 11, 2019
2 parents bf6c04d + 4ccdf09 commit 4b1de47
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
6 changes: 6 additions & 0 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# pcre-feedstock recipe does not include --enable-jit
export NO_LIBPCRE1_JIT=1

pushd code

# Add a place for git config files.
mkdir -p $PREFIX/etc
make configure
Expand Down Expand Up @@ -37,4 +39,8 @@ git config --system http.sslCAInfo "${PREFIX}/ssl/cacert.pem"
mkdir -p $PREFIX/share/bash-completion/completions
cp contrib/completion/git-completion.bash $PREFIX/share/bash-completion/completions/git

popd # code

# Install manpages
mkdir -p $PREFIX/man
cp -r manpages/* $PREFIX/man
26 changes: 17 additions & 9 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,21 @@ package:
version: {{ version }}

source:
url: https://github.com/git/git/archive/v{{ version }}.tar.gz # [not win]
sha256: 7d84f5d6f48e95b467a04a8aa1d474e0d21abc7877998af945568d2634fea46a # [not win]
patches: # [not win]
- 0001-macOS-Do-not-use-the-system-Wish-urgh.patch # [not win]
- 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]
sha256: 501d8be861ebb8694df3f47f1f673996b1d1672e12559d4a07fae7a2eca3afc7 # [win64]
- 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: 1
number: 2
# git hardcodes paths to external utilities (e.g. curl)
detect_binary_files_with_prefix: true

Expand All @@ -40,7 +45,7 @@ requirements:
- gettext # [unix]
- libiconv # [unix]
- openssl # [unix]
- pcre # []unix
- pcre # [unix]
- perl # [unix]
- tk # [unix]
- zlib # [unix]
Expand Down Expand Up @@ -68,10 +73,13 @@ test:
- 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: COPYING # [not win]
license_file: code/COPYING # [not win]
summary: distributed version control system

extra:
Expand Down

0 comments on commit 4b1de47

Please sign in to comment.