<commit_before>"""ShutIt module. See http://shutit.tk
"""

from shutit_module import ShutItModule


class binspector(ShutItModule):

	def is_installed(self, shutit):
		return False

	def build(self, shutit):
		shutit.install('curl')
		shutit.install('git')
		shutit.install('python2.7-minimal')
		shutit.install('libc6')
		shutit.send('pushd /opt')
		shutit.send('git clone https://github.com/binspector/binspector.git')
		shutit.send('popd')
		shutit.send('pushd /opt/binspector')
		shutit.pause_point('CPATH')
		shutit.send('./configure.sh')
		shutit.send('./build.sh')
		shutit.send('./smoke_test.sh')
		shutit.send('popd')
		return True

def module():
	return binspector(
		'shutit.tk.binspector.binspector', 0.3132235246,
		description='binary inspector',
		maintainer='<EMAIL>',
		depends=['shutit.tk.setup']
	)
<commit_msg>pausepoint<commit_after>"""ShutIt module. See http://shutit.tk
"""

from shutit_module import ShutItModule


class binspector(ShutItModule):

	def is_installed(self, shutit):
		return False

	def build(self, shutit):
		shutit.install('curl')
		shutit.install('git')
		shutit.install('python2.7-minimal')
		shutit.install('libc6')
		shutit.install('mlocate')
		shutit.send('pushd /opt')
		shutit.send('git clone https://github.com/binspector/binspector.git')
		shutit.send('popd')
		shutit.send('pushd /opt/binspector')
		shutit.send('updatedb')
		shutit.pause_point('export CPATH=/usr/include/c++/4.8')
		shutit.send('./configure.sh')
		shutit.send('./build.sh')
		shutit.send('./smoke_test.sh')
		shutit.send('popd')
		return True

def module():
	return binspector(
		'shutit.tk.binspector.binspector', 0.3132235246,
		description='binary inspector',
		maintainer='<EMAIL>',
		depends=['shutit.tk.setup']
	)

{'fraction_non_alphanumeric': 0.1725129384703853, 'fraction_numerical': 0.017251293847038527, 'mean_word_length': 4.898305084745763, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '104472', 'n_tokens_mistral': 772, 'n_tokens_neox': 635, 'n_words': 97}