<commit_before>DESCRIPTION = "Twisted is an event-driven networking framework written in Python and licensed under the LGPL. \
Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols                   \
(including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more."
HOMEPAGE = "http://www.twistedmatrix.com"
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "LGPL"
PR = "r3"

SRC_URI = "http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-${PV}.tar.bz2 "
S = "${WORKDIR}/Twisted-${PV}"

inherit setuptools

PACKAGES =+ "${PN}-src"
RDEPENDS_{PN}-src = "${PN}"
FILES_${PN}-src = " \
	${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*.py \
	${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/*.py \
	"
PACKAGES =+ "${PN}-selftest"
RDEPENDS_{PN}-selftest = "${PN}"
FILES_${PN}-selftest = "${libdir}/${PYTHON_DIR}/site-packages/twisted/*/test"


PACKAGES += "\
  ${PN}-zsh \
  ${PN}-test \
  ${PN}-protocols \
  ${PN}-bin \
  ${PN}-conch \
  ${PN}-lore \
  ${PN}-mail \
  ${PN}-names \
  ${PN}-news \
  ${PN}-runner \
  ${PN}-web \<commit_msg>python-twisted: remove some more .py files<commit_after>DESCRIPTION = "Twisted is an event-driven networking framework written in Python and licensed under the LGPL. \
Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols                   \
(including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more."
HOMEPAGE = "http://www.twistedmatrix.com"
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "LGPL"
PR = "r4"

SRC_URI = "http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-${PV}.tar.bz2 "
S = "${WORKDIR}/Twisted-${PV}"

inherit setuptools

PACKAGES =+ "${PN}-src"
RDEPENDS_{PN}-src = "${PN}"
FILES_${PN}-src = " \
	${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py \
	${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*.py \
	${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/*.py \
	"
PACKAGES =+ "${PN}-selftest"
RDEPENDS_{PN}-selftest = "${PN}"
FILES_${PN}-selftest = "${libdir}/${PYTHON_DIR}/site-packages/twisted/*/test"


PACKAGES += "\
  ${PN}-zsh \
  ${PN}-test \
  ${PN}-protocols \
  ${PN}-bin \
  ${PN}-conch \
  ${PN}-lore \
  ${PN}-mail \
  ${PN}-names \
  ${PN}-news \
  ${PN}-runner \
  ${PN}-web \
{'fraction_non_alphanumeric': 0.2128691053327457, 'fraction_numerical': 0.0035257822829440283, 'mean_word_length': 3.5219123505976095, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3938446', 'n_tokens_mistral': 900, 'n_tokens_neox': 874, 'n_words': 168}