<commit_before>PKG_NAME = python3
PKG_VERS = 3.3.0
PKG_EXT = tar.bz2
PKG_DIST_NAME = Python-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = http://www.python.org/ftp/python/$(PKG_VERS)
PKG_DIR = Python-$(PKG_VERS)

DEPENDS  = cross/zlib cross/openssl cross/sqlite cross/readline cross/ncurses cross/bzip2
#DEPENDS += native/$(PKG_NAME)

HOMEPAGE = http://www.python.org/
COMMENT  = Python Programming Language
LICENSE  =

HOST_ARCH = $(shell uname -m)
HOSTPYTHON_NATIVE = $(WORK_DIR)/$(PKG_DIR)/hostpython
HOSTPYTHON_LIB_NATIVE = $(WORK_DIR)/$(PKG_DIR)/build/lib.linux-$(HOST_ARCH)-3.3
PYTHON_LIB_CROSS = $(WORK_DIR)/$(PKG_DIR)/build/lib.linux-$(TC_ARCH)-3.3
HOSTPGEN_NATIVE = $(WORK_DIR)/$(PKG_DIR)/hostpgen<commit_msg>replace TC_ARCH with computed BUILD_ARCH since TC_TARGET has been added in main stream<commit_after>PKG_NAME = python3
PKG_VERS = 3.3.0
PKG_EXT = tar.bz2
PKG_DIST_NAME = Python-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = http://www.python.org/ftp/python/$(PKG_VERS)
PKG_DIR = Python-$(PKG_VERS)

DEPENDS  = cross/zlib cross/openssl cross/sqlite cross/readline cross/ncurses cross/bzip2
#DEPENDS += native/$(PKG_NAME)

HOMEPAGE = http://www.python.org/
COMMENT  = Python Programming Language
LICENSE  =

BUILD_ARCH = $(shell expr "$(TC_TARGET)" : '\([^-]*\)' )
HOST_ARCH = $(shell uname -m)
HOSTPYTHON_NATIVE = $(WORK_DIR)/$(PKG_DIR)/hostpython
HOSTPYTHON_LIB_NATIVE = $(WORK_DIR)/$(PKG_DIR)/build/lib.linux-$(HOST_ARCH)-3.3
PYTHON_LIB_CROSS = $(WORK_DIR)/$(PKG_DIR)/build/lib.linux-$(BUILD_ARCH)-3.3
HOSTPGEN_NATIVE = $(WORK_DIR)/$(PKG_DIR)/hostpgen
{'fraction_non_alphanumeric': 0.16141479099678457, 'fraction_numerical': 0.012861736334405145, 'mean_word_length': 5.64957264957265, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '1421567', 'n_tokens_mistral': 670, 'n_tokens_neox': 639, 'n_words': 95}