<commit_before># shapelib
# http://freecode.com/projects/shapelib
# http://packages.debian.org/sid/shapelib
# http://shapelib.sourcearchive.com/
xpProOption(shapelib)
set(SHPVER 1.2.10)
set(REPO https://github.com/smanders/shapelib)
set(PRO_SHAPELIB
  NAME shapelib
  WEB "shapelib" http://shapelib.maptools.org/ "Shapefile C Library website"
  LICENSE "open" http://shapelib.maptools.org/license.html "MIT Style -or- LGPL"
  DESC "reading, writing, updating ESRI Shapefiles"
  REPO "repo" ${REPO} "forked shapelib repo on github"
  VER ${SHPVER}
  GIT_ORIGIN git://github.com/smanders/shapelib.git
  GIT_UPSTREAM git://github.com/asapnet/shapelib.git
  GIT_TAG xp${SHPVER} # what to 'git checkout'
  GIT_REF v${SHPVER} # create patch from this tag to 'git checkout'
  DLURL http://shapelib.maptools.org/dl/shapelib-${SHPVER}.tar.gz
  DLMD5 4d96bd926167193d27bf14d56e2d484e
  PATCH ${PATCH_DIR}/shapelib.patch
  DIFF ${REPO}/compare/
  )
########################################
function(build_shapelib)
  if(NOT (XP_DEFAULT OR XP_PRO_SHAPELIB))
    return()
  endif()
  configure_file(${PRO_DIR}/use/usexp-shapelib-config.cmake ${STAGE_DIR}/share/cmake/
    @ONLY NEWLINE_STYLE LF
    )
  xpCmakeBuild(shapelib "" "-DSHAPELIB_VER=${SHPVER}")
endfunction()<commit_msg>shapelib - use mentioned download url<commit_after># shapelib
# http://freecode.com/projects/shapelib
# http://packages.debian.org/sid/shapelib
# http://shapelib.sourcearchive.com/
xpProOption(shapelib)
set(SHPVER 1.2.10)
set(REPO https://github.com/smanders/shapelib)
set(PRO_SHAPELIB
  NAME shapelib
  WEB "shapelib" http://shapelib.maptools.org/ "Shapefile C Library website"
  LICENSE "open" http://shapelib.maptools.org/license.html "MIT Style -or- LGPL"
  DESC "reading, writing, updating ESRI Shapefiles"
  REPO "repo" ${REPO} "forked shapelib repo on github"
  VER ${SHPVER}
  GIT_ORIGIN git://github.com/smanders/shapelib.git
  GIT_UPSTREAM git://github.com/asapnet/shapelib.git
  GIT_TAG xp${SHPVER} # what to 'git checkout'
  GIT_REF v${SHPVER} # create patch from this tag to 'git checkout'
  DLURL http://download.osgeo.org/shapelib/shapelib-${SHPVER}.tar.gz
  DLMD5 4d96bd926167193d27bf14d56e2d484e
  PATCH ${PATCH_DIR}/shapelib.patch
  DIFF ${REPO}/compare/
  )
########################################
function(build_shapelib)
  if(NOT (XP_DEFAULT OR XP_PRO_SHAPELIB))
    return()
  endif()
  configure_file(${PRO_DIR}/use/usexp-shapelib-config.cmake ${STAGE_DIR}/share/cmake/
    @ONLY NEWLINE_STYLE LF
    )
  xpCmakeBuild(shapelib "" "-DSHAPELIB_VER=${SHPVER}")
endfunction()
{'fraction_non_alphanumeric': 0.16269996098322279, 'fraction_numerical': 0.021069059695669138, 'mean_word_length': 4.894252873563218, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7114295', 'n_tokens_mistral': 1091, 'n_tokens_neox': 1037, 'n_words': 175}