<commit_before>class MonoPackage (Package):
	def __init__ (self):
		Package.__init__ (self, 'mono', '2.6.3',
			sources = [
				'http://ftp.novell.com/pub/%{name}/sources/%{name}/%{name}-%{version}.tar.bz2',
				'patches/mono-runtime-relocation.patch'
			],
			configure_flags = [
				'--with-jit=yes',
				'--with-ikvm=no',
				'--with-mcs-docs=no',
				'--with-moonlight=no',
				'--enable-quiet-build'
			]

			# Mono (in libgc) likes to fail to build randomly
			self.make = 'for((i=0;i<20;i++)); do make && break; done'
		)

	def prep (self):
		Package.prep (self)
		self.sh ('patch -p1 < "%{sources[1]}"')

	def install (self):
		Package.install (self)
		if Package.profile.name == 'darwin':
			self.sh ('sed -ie "s/libcairo.so.2/libcairo.2.dylib/" "%{prefix}/etc/mono/config"')

MonoPackage ()<commit_msg>[bundle] fix mono package syntax error<commit_after>class MonoPackage (Package):
	def __init__ (self):
		Package.__init__ (self, 'mono', '2.6.3',
			sources = [
				'http://ftp.novell.com/pub/%{name}/sources/%{name}/%{name}-%{version}.tar.bz2',
				'patches/mono-runtime-relocation.patch'
			],
			configure_flags = [
				'--with-jit=yes',
				'--with-ikvm=no',
				'--with-mcs-docs=no',
				'--with-moonlight=no',
				'--enable-quiet-build'
			]
		)
		# Mono (in libgc) likes to fail to build randomly
		self.make = 'for((i=0;i<20;i++)); do make && break; done'

	def prep (self):
		Package.prep (self)
		self.sh ('patch -p1 < "%{sources[1]}"')

	def install (self):
		Package.install (self)
		if Package.profile.name == 'darwin':
			self.sh ('sed -ie "s/libcairo.so.2/libcairo.2.dylib/" "%{prefix}/etc/mono/config"')

MonoPackage ()
{'fraction_non_alphanumeric': 0.21506682867557717, 'fraction_numerical': 0.013365735115431349, 'mean_word_length': 3.255813953488372, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4984853', 'n_tokens_mistral': 752, 'n_tokens_neox': 650, 'n_words': 119}