<commit_before><commit_msg>libsys-hostname-long: Add Sys::Hostname::Long Perl module<commit_after>DESCRIPTION = "Sys::Hostname::Long - Try every conceivable way to get full hostname"
SECTION = "libs"
LICENSE = "Artistic|GPL"
BBCLASSEXTEND = "native"

PR = "r0"

SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SC/SCOTT/Sys-Hostname-Long-${PV}.tar.gz;name=sys-hostname-long-perl-${PV}"
SRC_URI[sys-hostname-long-perl-1.4.md5sum] = "a5b3c23754cbcff10e283d16c42ec3d3"
SRC_URI[sys-hostname-long-perl-1.4.sha256sum] = "9db6c8cd3ca0ba8dbf19969ed0a936cecb7f555c1cc8077b08cf8bf78b10c143"

S = "${WORKDIR}/Sys-Hostname-Long-${PV}"

inherit cpan

do_configure_prepend () {
	# Busybox compatibility
	sed -ri "s,hostname\ --fqdn,hostname -f," lib/Sys/Hostname/Long.pm
}

PACKAGE_ARCH = "all"
{'fraction_non_alphanumeric': 0.15708812260536398, 'fraction_numerical': 0.07790549169859515, 'mean_word_length': 5.87719298245614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '7478136', 'n_tokens_mistral': 370, 'n_tokens_neox': 339, 'n_words': 43}