<commit_before>DESCRIPTION = "Python libSDL Bindings"
SECTION = "devel/python"
HOMEPAGE = "http://www.pygame.org"
PRIORITY = "optional"
LICENSE = "LGPL"
DEPENDS = "libsdl-x11 libsdl-image libsdl-mixer libsdl-net libsdl-ttf smpeg python-numeric"
SRCNAME = "pygame"
PR = "ml0"

SRC_URI = "\
  ftp://ftp.pygame.org/pub/pygame/${SRCNAME}-${PV}release.tar.gz \
  file://Setup"
S = "${WORKDIR}/${SRCNAME}-${PV}release"

inherit distutils

do_configure_prepend() {
	cat ${WORKDIR}/Setup >Setup
	SDL="`sdl-config --cflags` `sdl-config --libs`"; echo "SDL=$SDL" >Setup
}

do_stage() {
	distutils_stage_all
}

RDEPENDS = "python-numeric"<commit_msg>python-pygame 1.8.1 fix bug ending up missing shared objects<commit_after>DESCRIPTION = "Python libSDL Bindings"
SECTION = "devel/python"
HOMEPAGE = "http://www.pygame.org"
PRIORITY = "optional"
LICENSE = "LGPL"
DEPENDS = "libsdl-x11 libsdl-image libsdl-mixer libsdl-net libsdl-ttf smpeg python-numeric"
SRCNAME = "pygame"
PR = "ml1"

SRC_URI = "\
  ftp://ftp.pygame.org/pub/pygame/${SRCNAME}-${PV}release.tar.gz \
  file://Setup"
S = "${WORKDIR}/${SRCNAME}-${PV}release"

inherit distutils

do_configure_prepend() {
	cat ${WORKDIR}/Setup >Setup
	SDL="`sdl-config --cflags` `sdl-config --libs`"; echo "SDL=$SDL" >>Setup
}

do_stage() {
	distutils_stage_all
}

RDEPENDS = "python-numeric"
{'fraction_non_alphanumeric': 0.17496229260935142, 'fraction_numerical': 0.006787330316742082, 'mean_word_length': 4.769565217391304, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '235341', 'n_tokens_mistral': 549, 'n_tokens_neox': 517, 'n_words': 99}