<commit_before>packages:
  cmake:
    dependencies:
    - libexpat
    - libarchive
    - libcurl
    - libgcc
    - libstdcpp
    - libuv
    - musl
    - ncurses
    - librhash
    - zlib
  cmake-doc:
version: 3.9.5
builddependencies:
- gpp
- libstdcpp-dev
- ncurses-dev
- curl-headers
- libcurl
- expat-dev
- zlib-dev
- bzip2-dev
- libarchive-dev
- libuv-dev
- xz-dev
- rhash-dev
sources:
- https://cmake.org/files/v3.9/cmake-{{.Version}}.tar.gz
builder: panux
script:
- |
  {{extract "cmake" "gz"}}
  (cd cmake && ./configure --prefix=/usr --mandir=/share/man --datadir=/share/cmake --docdir=/share/doc/cmake --system-libs --no-system-jsoncpp)
  $(MAKE) -C cmake
  $(MAKE) -C cmake DESTDIR=$(shell pwd)/out/cmake install
  {{pkmv "usr/share/doc" "cmake" "cmake-doc"}}<commit_msg>temporary fix for cmake<commit_after>packages:
  cmake:
    dependencies:
    - libexpat
    - libarchive
    - libcurl
    - libgcc
    - libstdcpp
    - libuv
    - musl
    - ncurses
    - librhash
    - zlib
  cmake-doc:
version: 3.9.5
builddependencies:
- gpp
- libstdcpp-dev
- ncurses-dev
- curl-headers
- libcurl
- expat-dev
- zlib-dev
- bzip2-dev
- libarchive-dev
- libuv-dev
- xz-dev
- rhash-dev
sources:
- https://cmake.org/files/v3.9/cmake-{{.Version}}.tar.gz
builder: panux
script:
- |
  {{extract "cmake" "gz"}}
  (cd cmake && ./configure --prefix=/usr --mandir=/share/man --datadir=/share/cmake --docdir=/share/doc/cmake --system-libs --no-system-jsoncpp)
  $(MAKE) -C cmake
  $(MAKE) -C cmake DESTDIR=$(shell pwd)/out/cmake install
  {{pkmv "usr/share/doc" "cmake" "cmake-doc"}}
  (cd out/cmake/usr/share/cmake/Help/generator && rename ' ' '_' * && rename ' ' '_' * && rename ' ' '_' * && rename ' ' '_' *)
{'fraction_non_alphanumeric': 0.1784037558685446, 'fraction_numerical': 0.007042253521126761, 'mean_word_length': 2.537344398340249, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '782128', 'n_tokens_mistral': 723, 'n_tokens_neox': 690, 'n_words': 126}