<commit_before>class LibsoupPackage (GnomeXzPackage):
	def __init__ (self):
		GnomeXzPackage.__init__ (self, 'libsoup', '2.50', '0')
		self.configure_flags = [
			'--disable-gtk-doc',
			'--without-gnome'
		]

	def arch_build (self, arch):
		if arch == 'darwin-32':
				self.local_ld_flags = ['-arch i386']
				self.local_gcc_flags = ['-arch i386']
				self.local_configure_flags.extend (['--build=i386-apple-darwin11.2.0'])
				# The following will only work with bash according to:
				# http://www.gossamer-threads.com/lists/python/python/30602
				os.environ['VERSIONER_PYTHON_PREFER_32_BIT'] = 'yes'
		elif arch == 'darwin-64':
				self.local_ld_flags = ['-arch x86_64']
				self.local_gcc_flags = ['-arch x86_64']
				self.local_configure_flags.extend (['--build=x86_64-apple-darwin11.2.0'])

		Package.arch_build (self, arch, defaults = False)
		
LibsoupPackage ()<commit_msg>libsoup: Simplify the package<commit_after>GnomeXzPackage ('libsoup', version_major = '2.50', version_minor = '0', configure_flags = [ 
	'--disable-gtk-doc',
	'--without-gnome' 
])
{'fraction_non_alphanumeric': 0.1636876763875823, 'fraction_numerical': 0.045155221072436504, 'mean_word_length': 4.115384615384615, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '6301465', 'n_tokens_mistral': 473, 'n_tokens_neox': 397, 'n_words': 70}