<commit_before>#
# Copyright 2019-2020 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# This software definition installs project called 'patchelf' which can be
# used to change rpath of a precompiled binary.

name "patchelf"

default_version "0.13.1"

license :project_license

skip_transitive_dependency_licensing true

# version_list: url=https://github.com/NixOS/patchelf/releases filter=*.tar.gz

version "0.13.1" do
  source sha256: "08c0237e89be74d61ddf8f6ff218439cdd62af572d568fb38913b53e222831de"
  relative_path "patchelf-0.13.1.20211127.72b6d44"
end

version "0.11" do
  source sha256: "e52378cc2f9379c6e84a04ac100a3589145533a7b0cd26ef23c79dfd8a9038f9"
  relative_path "patchelf-0.11.20200609.d6b2a72"
end

version "0.10" do
  source sha256: "b2deabce05c34ce98558c0efb965f209de592197b2c88e930298d740ead09019"
  relative_path "patchelf-0.10"
end

if version.satisfies?(">= 0.12")<commit_msg>Update comment to not update patchelf version<commit_after>#
# Copyright 2019-2020 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# This software definition installs project called 'patchelf' which can be
# used to change rpath of a precompiled binary.

name "patchelf"

default_version "0.13.1" # version greater than 0.13.1 require C++17 compiler to build

license :project_license

skip_transitive_dependency_licensing true

# version_list: url=https://github.com/NixOS/patchelf/releases filter=*.tar.gz

version "0.14.5" do
  source sha256: "113ada3f1ace08f0a7224aa8500f1fa6b08320d8f7df05ff58585286ec5faa6f"
  relative_path "patchelf-#{version}"
end

version "0.13.1" do
  source sha256: "08c0237e89be74d61ddf8f6ff218439cdd62af572d568fb38913b53e222831de"
  relative_path "patchelf-0.13.1.20211127.72b6d44"
end

version "0.11" do
  source sha256: "e52378cc2f9379c6e84a04ac100a3589145533a7b0cd26ef23c79dfd8a9038f9"
  relative_path "patchelf-0.11.20200609.d6b2a72"
end

version "0.10" do
  source sha256: "b2deabce05c34ce98558c0efb965f209de592197b2c88e930298d740ead09019"
  relative_path "patchelf-0.10"
end

if version.satisfies?(">= 0.12")
{'fraction_non_alphanumeric': 0.08098477486232589, 'fraction_numerical': 0.14318108195659215, 'mean_word_length': 5.302040816326531, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '6315012', 'n_tokens_mistral': 1329, 'n_tokens_neox': 1105, 'n_words': 309}