<commit_before>class LibPngPackage (Package):
	def __init__ (self):
		Package.__init__(self, 'libpng', '1.4.12',
										 sources = ['http://downloads.sourceforge.net/sourceforge/libpng/libpng-1.4.12.tar.xz'],
										 configure_flags = ['--enable-shared'])

LibPngPackage()<commit_msg>Enable fat binaries on libpng package<commit_after>class LibPngPackage (Package):
	def __init__ (self):
		Package.__init__(self, 'libpng', '1.4.12',
										 sources = ['http://downloads.sourceforge.net/sourceforge/libpng/libpng-1.4.12.tar.xz'],
										 configure_flags = ['--enable-shared'])

		#This package would like to be built with fat binaries
		if Package.profile.m64 == True:
			self.fat_build = True

	def arch_build (self, arch):
		if arch == 'darwin-fat': #multi-arch  build pass
			self.local_ld_flags = ['-arch i386' , '-arch x86_64']
			self.local_gcc_flags = ['-arch i386' , '-arch x86_64', '-Os']
			self.local_configure_flags = ['--disable-dependency-tracking']

		Package.arch_build (self, arch)


LibPngPackage()
{'fraction_non_alphanumeric': 0.15579357351509251, 'fraction_numerical': 0.0311587147030185, 'mean_word_length': 3.737327188940092, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1259245', 'n_tokens_mistral': 425, 'n_tokens_neox': 344, 'n_words': 73}