python-twisted: update to latest upstream version
PATCH 1/2 python-twisted: update to latest upstream version
--- .../python/python-twisted_10.2.0.bb | 224 ------------------- .../python/python-twisted_12.0.0.bb | 234 ++++++++++++++++++++ 2 files changed, 234 insertions(+), 224 deletions(-) delete mode 100644 meta-oe/recipes-devtools/python/python-twisted_10.2.0.bb create mode 100644 meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb
meta-oe/recipes-devtools/python/python-twisted_10.2.0.bb deleted +0 -224
@@ -1,224 +0,0 @@ -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" - -#twisted/topfiles/NEWS:655: - Relicensed: Now under the MIT license, rather than LGPL. -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c3159ad36d96a939fcd8f2c2c9b9d08a" - -SRC_URI = "http://tmrc.mit.edu/mirror/twisted/Twisted/10.2/Twisted-${PV}.tar.bz2 " -SRC_URI[md5sum] = "73da62c793269eade8121da336b01ba5" -SRC_URI[sha256sum] = "562ed61c18aa72da99c23fb19c2c101d178995eb3a78ab3c09560a613e180c84" - -S = "${WORKDIR}/Twisted-${PV}" - -inherit setuptools - -do_install_append() { - # remove some useless files before packaging - find ${D} -name "*.bat" -o -name "*.c" -o -name "*.h" -exec rm {} \; -} - -PACKAGES += "\ - ${PN}-zsh \ - ${PN}-test \ - ${PN}-protocols \ - ${PN}-bin \ - ${PN}-conch \ - ${PN}-lore \ - ${PN}-mail \ - ${PN}-names \ - ${PN}-news \ - ${PN}-runner \ - ${PN}-web \ - ${PN}-words \ - ${PN}-flow \ - ${PN}-pair \ - ${PN}-core \ -" - -RDEPENDS_${PN} = "python-core python-zopeinterface" -RDEPENDS_${PN} += "\ - ${PN}-bin \ - ${PN}-conch \ - ${PN}-lore \ - ${PN}-mail \ - ${PN}-names \ - ${PN}-news \ - ${PN}-runner \ - ${PN}-web \ - ${PN}-words \ -" - -ALLOW_EMPTY_${PN} = "1" -FILES_${PN} = "" - -FILES_${PN}-test = " \ - ${libdir}/${PYTHON_DIR}/site-packages/twisted/test \ - ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/test \ -" - -FILES_${PN}-protocols = " \ - ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/ \ -" - -FILES_${PN}-zsh = " \ - ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zsh \ - ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zshcomp.* \ -" - -FILES_${PN}-bin = " \ - ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/_c_urlarg.so \ - ${libdir}/${PYTHON_DIR}/site-packages/twisted/spread/cBanana.so \ -" - -FILES_${PN}-conch = " \ - ${bindir}/ckeygen \ - ${bindir}/tkconch \ - ${bindir}/conch \ - ${bindir}/conchftp \ - ${bindir}/cftp \ - ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_conch.py* \ - ${libdir}/${PYTHON_DIR}/site-packages/twisted/conch \ -" - -FILES_${PN}-core = " \ -${bindir}/manhole \ -${bindir}/mktap \ -${bindir}/twistd \ -${bindir}/tap2deb \ -${bindir}/tap2rpm \ -${bindir}/tapconvert \ -${bindir}/tkmktap \ -${bindir}/trial \ -${bindir}/easy_install* \ -${bindir}/pyhtmlizer \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/*.so \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/__init__.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/notestplugin.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/testplugin.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_ftp.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_inet.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_manhole.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_portforward.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_socks.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_telnet.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_trial.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/dropin.cache \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/application \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/cred \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/enterprise \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/internet \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/manhole \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/manhole \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/persisted \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols\ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python\ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/timeoutqueue.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/filepath.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/dxprofile.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/plugin.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/htmlizer.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/__init__.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/dispatch.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/hook.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/threadpool.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/otp.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/usage.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/roots.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/versions.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/urlpath.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/util.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/components.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/logfile.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/runtime.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/reflect.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/context.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/threadable.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/rebuild.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/failure.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/lockfile.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/formmethod.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/finalize.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/win32.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/dist.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/shortcut.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zipstream.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/release.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/syslog.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/log.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/compat.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zshcomp.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/procutils.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/text.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/_twisted_zsh_stub \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/scripts/ \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/spread/ \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/tap/ \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/trial/ \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/__init__.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/_version.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/copyright.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/im.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/python/*.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/*.py* \ -" - -FILES_${PN}-lore = " \ -${bindir}/bookify \ -${bindir}/lore \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_lore.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/lore \ -" - -FILES_${PN}-mail = " \ -${bindir}/mailmail \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_mail.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/mail \ -" - -FILES_${PN}-names = " \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_names.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/names \ -" - -FILES_${PN}-news = " \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_news.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/news \ -" - -FILES_${PN}-runner = " \ -${libdir}/site-packages/twisted/runner/portmap.so \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/runner\ -" - -FILES_${PN}-web = " \ -${bindir}/websetroot \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_web.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/web\ -" - -FILES_${PN}-words = " \ -${bindir}/im \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_words.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/words\ -" - -FILES_${PN}-flow = " \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_flow.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/flow \" - -FILES_${PN}-pair = " \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_pair.py* \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/pair \ -" - -FILES_${PN}-dbg += " \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/*/.debug \ -${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/.debug \ -" -
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +234 -0
234 lines not on this page · raw message
Signature · 1 line
1.7.7.6
PATCH 2/2 python-zopeinterface: update to latest upstream version
--- .../python/python-zopeinterface_3.5.1.bb | 22 -------------------- .../python/python-zopeinterface_3.8.0.bb | 22 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 meta-oe/recipes-devtools/python/python-zopeinterface_3.5.1.bb create mode 100644 meta-oe/recipes-devtools/python/python-zopeinterface_3.8.0.bb
meta-oe/recipes-devtools/python/python-zopeinterface_3.5.1.bb deleted +0 -22
@@ -1,22 +0,0 @@ -DESCRIPTION = "Interface definitions for Zope products" -SECTION = "console/network" - -LICENSE = "ZPL-2.1" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e54fd776274c1b7423ec128974bd9d46" - -SRC_URI = "http://pypi.python.org/packages/source/z/zope.interface/zope.interface-${PV}.tar.gz" -SRC_URI[md5sum] = "685fc532550abb07cca6190c9cd2b901" -SRC_URI[sha256sum] = "b81d898532c47f73475c2d0c23580e289eed25923d007eca8e62750c0998bba0" - -S = "${WORKDIR}/zope.interface-${PV}" - -inherit setuptools - -RPROVIDES_${PN} += "zope-interfaces" -FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*.egg/*/*/.debug" -FILES_${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/zope/interface/*.c" -FILES_${PN}-doc += "${PYTHON_SITEPACKAGES_DIR}/zope/interface/*.txt" -FILES_${PN}-tests = " \ - ${PYTHON_SITEPACKAGES_DIR}/zope/interface/tests \ - ${PYTHON_SITEPACKAGES_DIR}/zope/interface/common/tests \ -"
meta-oe/recipes-devtools/python/python-zopeinterface_3.8.0.bb new file +22 -0
@@ -0,0 +1,22 @@ +DESCRIPTION = "Interface definitions for Zope products" +SECTION = "console/network" + +LICENSE = "ZPL-2.1" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e54fd776274c1b7423ec128974bd9d46" + +SRC_URI = "http://pypi.python.org/packages/source/z/zope.interface/zope.interface-${PV}.tar.gz" +SRC_URI[md5sum] = "685fc532550abb07cca6190c9cd2b901" +SRC_URI[sha256sum] = "b81d898532c47f73475c2d0c23580e289eed25923d007eca8e62750c0998bba0" + +S = "${WORKDIR}/zope.interface-${PV}" + +inherit setuptools + +RPROVIDES_${PN} += "zope-interfaces" +FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*.egg/*/*/.debug" +FILES_${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/zope/interface/*.c" +FILES_${PN}-doc += "${PYTHON_SITEPACKAGES_DIR}/zope/interface/*.txt" +FILES_${PN}-tests = " \ + ${PYTHON_SITEPACKAGES_DIR}/zope/interface/tests \ + ${PYTHON_SITEPACKAGES_DIR}/zope/interface/common/tests \ +"
Signature · 1 line
1.7.7.6
Hi Gary,
I was going to submit a similar patch. See my comments inline.
Quoted 6 lines · Gary Thomas
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +0
-0
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 9
Quoted 9 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +9
-0@@ -0,0 +1,234 @@ +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" + +#twisted/topfiles/NEWS:655: - Relicensed: Now under the MIT license, rather than LGPL. +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fc0f9dafb8baecfd2b77ff4bf64e6eaf"
I used "file://LICENSE;beginline=40;md5=3fced11d6df719b47505837a51c16ae5", so the checksum doesn't change when the header containing years and authors changes.
Quoted 29 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +29
-0+SRC_URI = "http://pypi.python.org/packages/source/T/Twisted/Twisted-${PV}.tar.bz2" +SRC_URI[md5sum] = "cf49a8676c21c50faf1b42b528049471" +SRC_URI[sha256sum] = "e5561c9714583fd052ea9e0b10331609a719b3878f9d2593e4c57eab0ba0effd" + +S = "${WORKDIR}/Twisted-${PV}" + +inherit setuptools + +do_install_append() { + # remove some useless files before packaging + find ${D} -name "*.bat" -o -name "*.c" -o -name "*.h" -exec rm {} \; +} + +PACKAGES += "\ + ${PN}-zsh \ + ${PN}-test \ + ${PN}-protocols \ + ${PN}-bin \ + ${PN}-conch \ + ${PN}-lore \ + ${PN}-mail \ + ${PN}-names \ + ${PN}-news \ + ${PN}-runner \ + ${PN}-web \ + ${PN}-words \ + ${PN}-flow \ + ${PN}-pair \ + ${PN}-core \
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 49
Quoted 10 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +10
-0+" + +RDEPENDS_${PN} = "python-core \ + python-io \ + python-fcntl \ + python-netclient \ + python-netserver \ + python-stringold \ + python-threading \ + python-zopeinterface"
This seems wrong, because ${PN} is an empty meta package. I guess most users only want some parts of twisted, like twisted-web etc. So the RDEPENDS should be set for the individual packages.
Quoted 11 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +11
-0+RDEPENDS_${PN} += "\ + ${PN}-bin \ + ${PN}-conch \ + ${PN}-core \ + ${PN}-lore \ + ${PN}-mail \ + ${PN}-names \ + ${PN}-news \ + ${PN}-protocols \ + ${PN}-runner \ + ${PN}-web \
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 70
Quoted 10 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +10
-0+ ${PN}-words \ +" + +ALLOW_EMPTY = "1" +FILES_${PN} = "" + +FILES_${PN}-test = " \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/test \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/test \ +"
RDEPENDS_${PN}-test = "${PN}"
Quoted 16 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +16
-0+ +FILES_${PN}-protocols = " \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/ \ +" + +FILES_${PN}-zsh = " \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zsh \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zshcomp.* \ +" + +# Note: these don't seem to be built +FILES_${PN}-bin = " \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/_c_urlarg.so \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/spread/cBanana.so \ +" +
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 96
Quoted 10 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +10
-0+FILES_${PN}-conch = " \ + ${bindir}/ckeygen \ + ${bindir}/tkconch \ + ${bindir}/conch \ + ${bindir}/conchftp \ + ${bindir}/cftp \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_conch.py* \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/conch \ +" +
RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 108
Quoted 12 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +12
-0+FILES_${PN}-core = " \ +${bindir}/manhole \ +${bindir}/mktap \ +${bindir}/twistd \ +${bindir}/tap2deb \ +${bindir}/tap2rpm \ +${bindir}/tapconvert \ +${bindir}/tkmktap \ +${bindir}/trial \ +${bindir}/easy_install* \ +${bindir}/pyhtmlizer \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/*.so \
It may be better to list the individual .so files, because twisted/python is also used by other packages, e.g. ${PN}-zsh:
${libdir}/${PYTHON_DIR}/site-packages/twisted/python/_epoll.so \
${libdir}/${PYTHON_DIR}/site-packages/twisted/python/_initgroups.so \
Quoted 61 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +61
-0+${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/__init__.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/notestplugin.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/testplugin.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_ftp.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_inet.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_manhole.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_portforward.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_socks.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_telnet.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_trial.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/dropin.cache \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/application \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/cred \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/enterprise \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/internet \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/manhole \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/manhole \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/persisted \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols\ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python\ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/timeoutqueue.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/filepath.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/dxprofile.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/plugin.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/htmlizer.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/__init__.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/dispatch.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/hook.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/threadpool.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/otp.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/usage.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/roots.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/versions.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/urlpath.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/util.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/components.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/logfile.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/runtime.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/reflect.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/context.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/threadable.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/rebuild.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/failure.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/lockfile.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/formmethod.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/finalize.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/win32.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/dist.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/shortcut.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zipstream.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/release.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/syslog.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/log.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/compat.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zshcomp.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/procutils.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/text.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/_twisted_zsh_stub \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/scripts/ \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/spread/ \
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 179
Quoted 10 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +10
-0+${libdir}/${PYTHON_DIR}/site-packages/twisted/tap/ \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/trial/ \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/__init__.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/_version.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/copyright.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/im.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/*.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/*.py* \ +"
RDEPENDS_${PN}-core = "python-core python-zopeinterface"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 186
Quoted 7 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +7
-0+ +FILES_${PN}-lore = " \ +${bindir}/bookify \ +${bindir}/lore \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_lore.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/lore \ +"
RDEPENDS_${PN}-lore = "${PN}-core"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 193
Quoted 7 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +7
-0+ +FILES_${PN}-mail = " \ +${bindir}/mailmail \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_mail.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/mail \ +" +
RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 197
Quoted 4 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +4
-0+FILES_${PN}-names = " \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_names.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/names \ +"
RDEPENDS_${PN}-names = "${PN}-core"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 202
Quoted 5 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +5
-0+ +FILES_${PN}-news = " \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_news.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/news \ +"
RDEPENDS_${PN}-news = "${PN}-core ${PN}-protocols"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 207
Quoted 5 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +5
-0+ +FILES_${PN}-runner = " \ +${libdir}/site-packages/twisted/runner/portmap.so \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/runner\ +"
RDEPENDS_${PN}-runner = "${PN}-core ${PN}-protocols"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 213
Quoted 6 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +6
-0+ +FILES_${PN}-web = " \ +${bindir}/websetroot \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_web.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/web\ +"
RDEPENDS_${PN}-web += "${PN}-core ${PN}-protocols"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 219
Quoted 6 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +6
-0+ +FILES_${PN}-words = " \ +${bindir}/im \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_words.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/words\ +"
RDEPENDS_${PN}-words += "${PN}-core"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 223
Quoted 4 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +4
-0+ +FILES_${PN}-flow = " \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_flow.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/flow \"
RDEPENDS_${PN}-flow += "${PN}-core"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 228
Quoted 5 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +5
-0+ +FILES_${PN}-pair = " \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_pair.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/pair \ +"
RDEPENDS_${PN}-pair += "${PN}-core"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 234
Quoted 6 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +6
-0+ +FILES_${PN}-dbg += " \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/*/.debug \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/.debug \ +" +
RDEPENDS_${PN}-dbg = "${PN}"
Regards,
Andreas
Quoted 3 lines · Andreas Oberritter
Hi Gary,
I was going to submit a similar patch. See my comments inline.
Feel free to submit yours - I have no investment in my version, it was purely an update of the one in the current repo with a couple of tweaks.
BTW, I couldn't figure out how to get 'git' to recognize this as a rename with changes when I commited the change. Any hints?
Quoted 303 lines · Gary Thomas
Quoted 6 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +0
-0meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 9
Quoted 9 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +9
-0@@ -0,0 +1,234 @@ +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" + +#twisted/topfiles/NEWS:655: - Relicensed: Now under the MIT license, rather than LGPL. +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fc0f9dafb8baecfd2b77ff4bf64e6eaf"I used "file://LICENSE;beginline=40;md5=3fced11d6df719b47505837a51c16ae5", so the checksum doesn't change when the header containing years and authors changes.
Quoted 29 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +29
-0+SRC_URI = "http://pypi.python.org/packages/source/T/Twisted/Twisted-${PV}.tar.bz2" +SRC_URI[md5sum] = "cf49a8676c21c50faf1b42b528049471" +SRC_URI[sha256sum] = "e5561c9714583fd052ea9e0b10331609a719b3878f9d2593e4c57eab0ba0effd" + +S = "${WORKDIR}/Twisted-${PV}" + +inherit setuptools + +do_install_append() { + # remove some useless files before packaging + find ${D} -name "*.bat" -o -name "*.c" -o -name "*.h" -exec rm {} \; +} + +PACKAGES += "\ + ${PN}-zsh \ + ${PN}-test \ + ${PN}-protocols \ + ${PN}-bin \ + ${PN}-conch \ + ${PN}-lore \ + ${PN}-mail \ + ${PN}-names \ + ${PN}-news \ + ${PN}-runner \ + ${PN}-web \ + ${PN}-words \ + ${PN}-flow \ + ${PN}-pair \ + ${PN}-core \meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 49
Quoted 10 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +10
-0+" + +RDEPENDS_${PN} = "python-core \ + python-io \ + python-fcntl \ + python-netclient \ + python-netserver \ + python-stringold \ + python-threading \ + python-zopeinterface"This seems wrong, because ${PN} is an empty meta package. I guess most users only want some parts of twisted, like twisted-web etc. So the RDEPENDS should be set for the individual packages.
Quoted 11 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +11
-0+RDEPENDS_${PN} += "\ + ${PN}-bin \ + ${PN}-conch \ + ${PN}-core \ + ${PN}-lore \ + ${PN}-mail \ + ${PN}-names \ + ${PN}-news \ + ${PN}-protocols \ + ${PN}-runner \ + ${PN}-web \meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 70
Quoted 10 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +10
-0+ ${PN}-words \ +" + +ALLOW_EMPTY = "1" +FILES_${PN} = "" + +FILES_${PN}-test = " \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/test \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/test \ +"RDEPENDS_${PN}-test = "${PN}"
Quoted 16 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +16
-0+ +FILES_${PN}-protocols = " \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/ \ +" + +FILES_${PN}-zsh = " \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zsh \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zshcomp.* \ +" + +# Note: these don't seem to be built +FILES_${PN}-bin = " \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/_c_urlarg.so \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/spread/cBanana.so \ +" +meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 96
Quoted 10 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +10
-0+FILES_${PN}-conch = " \ + ${bindir}/ckeygen \ + ${bindir}/tkconch \ + ${bindir}/conch \ + ${bindir}/conchftp \ + ${bindir}/cftp \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_conch.py* \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/conch \ +" +RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 108
Quoted 12 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +12
-0+FILES_${PN}-core = " \ +${bindir}/manhole \ +${bindir}/mktap \ +${bindir}/twistd \ +${bindir}/tap2deb \ +${bindir}/tap2rpm \ +${bindir}/tapconvert \ +${bindir}/tkmktap \ +${bindir}/trial \ +${bindir}/easy_install* \ +${bindir}/pyhtmlizer \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/*.so \It may be better to list the individual .so files, because twisted/python is also used by other packages, e.g. ${PN}-zsh:
${libdir}/${PYTHON_DIR}/site-packages/twisted/python/_epoll.so \
${libdir}/${PYTHON_DIR}/site-packages/twisted/python/_initgroups.so \Quoted 61 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +61
-0+${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/__init__.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/notestplugin.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/testplugin.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_ftp.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_inet.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_manhole.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_portforward.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_socks.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_telnet.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_trial.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/dropin.cache \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/application \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/cred \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/enterprise \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/internet \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/manhole \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/manhole \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/persisted \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols\ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python\ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/timeoutqueue.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/filepath.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/dxprofile.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/plugin.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/htmlizer.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/__init__.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/dispatch.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/hook.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/threadpool.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/otp.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/usage.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/roots.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/versions.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/urlpath.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/util.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/components.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/logfile.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/runtime.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/reflect.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/context.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/threadable.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/rebuild.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/failure.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/lockfile.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/formmethod.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/finalize.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/win32.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/dist.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/shortcut.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zipstream.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/release.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/syslog.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/log.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/compat.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zshcomp.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/procutils.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/text.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/_twisted_zsh_stub \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/scripts/ \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/spread/ \meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 179
Quoted 10 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +10
-0+${libdir}/${PYTHON_DIR}/site-packages/twisted/tap/ \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/trial/ \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/__init__.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/_version.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/copyright.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/im.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/*.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/*.py* \ +"RDEPENDS_${PN}-core = "python-core python-zopeinterface"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 186
Quoted 7 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +7
-0+ +FILES_${PN}-lore = " \ +${bindir}/bookify \ +${bindir}/lore \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_lore.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/lore \ +"RDEPENDS_${PN}-lore = "${PN}-core"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 193
Quoted 7 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +7
-0+ +FILES_${PN}-mail = " \ +${bindir}/mailmail \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_mail.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/mail \ +" +RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 197
Quoted 4 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +4
-0+FILES_${PN}-names = " \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_names.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/names \ +"RDEPENDS_${PN}-names = "${PN}-core"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 202
Quoted 5 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +5
-0+ +FILES_${PN}-news = " \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_news.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/news \ +"RDEPENDS_${PN}-news = "${PN}-core ${PN}-protocols"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 207
Quoted 5 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +5
-0+ +FILES_${PN}-runner = " \ +${libdir}/site-packages/twisted/runner/portmap.so \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/runner\ +"RDEPENDS_${PN}-runner = "${PN}-core ${PN}-protocols"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 213
Quoted 6 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +6
-0+ +FILES_${PN}-web = " \ +${bindir}/websetroot \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_web.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/web\ +"RDEPENDS_${PN}-web += "${PN}-core ${PN}-protocols"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 219
Quoted 6 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +6
-0+ +FILES_${PN}-words = " \ +${bindir}/im \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_words.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/words\ +"RDEPENDS_${PN}-words += "${PN}-core"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 223
Quoted 4 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +4
-0+ +FILES_${PN}-flow = " \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_flow.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/flow \"RDEPENDS_${PN}-flow += "${PN}-core"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 228
Quoted 5 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +5
-0+ +FILES_${PN}-pair = " \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_pair.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/pair \ +"RDEPENDS_${PN}-pair += "${PN}-core"
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb line 234
Quoted 6 lines
meta-oe/recipes-devtools/python/python-twisted_12.0.0.bb new file +6
-0+ +FILES_${PN}-dbg += " \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/*/.debug \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/.debug \ +" +RDEPENDS_${PN}-dbg = "${PN}"
Regards,
Andreas_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 8 lines · Gary Thomas
Quoted 3 lines · Andreas Oberritter
Hi Gary,
I was going to submit a similar patch. See my comments inline.
Feel free to submit yours - I have no investment in my version, it was purely
an update of the one in the current repo with a couple of tweaks.
I held it back, because I haven't decided yet what to do with the unpackaged files:
WARNING: For recipe python-twisted, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/python2.7/site-packages/Twisted-12.0.0-py2.7.egg-info WARNING: /usr/lib/python2.7/site-packages/Twisted-12.0.0-py2.7.egg-info/top_level.txt WARNING: /usr/lib/python2.7/site-packages/Twisted-12.0.0-py2.7.egg-info/requires.txt WARNING: /usr/lib/python2.7/site-packages/Twisted-12.0.0-py2.7.egg-info/SOURCES.txt WARNING: /usr/lib/python2.7/site-packages/Twisted-12.0.0-py2.7.egg-info/PKG-INFO WARNING: /usr/lib/python2.7/site-packages/Twisted-12.0.0-py2.7.egg-info/dependency_links.txt WARNING: /usr/lib/python2.7/site-packages/Twisted-12.0.0-py2.7.egg-info/not-zip-safe WARNING: /usr/lib/python2.7/site-packages/twisted/topfiles WARNING: /usr/lib/python2.7/site-packages/twisted/topfiles/README WARNING: /usr/lib/python2.7/site-packages/twisted/topfiles/NEWS WARNING: /usr/lib/python2.7/site-packages/twisted/topfiles/CREDITS WARNING: /usr/lib/python2.7/site-packages/twisted/topfiles/ChangeLog.Old WARNING: /usr/lib/python2.7/site-packages/twisted/python/_initgroups.c WARNING: /usr/lib/python2.7/site-packages/twisted/python/twisted-completion.zsh WARNING: /usr/lib/python2.7/site-packages/twisted/python/_epoll.c
I also wonder why _initgroups.c and _epoll.c don't get deleted by the command in do_install_append(). Did you observe the same behaviour?
Quoted 2 lines
BTW, I couldn't figure out how to get 'git' to recognize this as a rename with changes when I commited the change. Any hints?
It depends on the percentage of changed lines. See the --find-renames option of git-diff(1).
Regards,
Andreas
Quoted 13 lines · Andreas Oberritter
Quoted 8 lines · Gary Thomas
Quoted 3 lines · Andreas Oberritter
Hi Gary,
I was going to submit a similar patch. See my comments inline.
Feel free to submit yours - I have no investment in my version, it was purely
an update of the one in the current repo with a couple of tweaks.I held it back, because I haven't decided yet what to do with the unpackaged files:
Quoted 16 lines
WARNING: For recipe python-twisted, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/python2.7/site-packages/Twisted-12.0.0-py2.7.egg-info WARNING: /usr/lib/python2.7/site-packages/Twisted-12.0.0-py2.7.egg-info/top_level.txt WARNING: /usr/lib/python2.7/site-packages/Twisted-12.0.0-py2.7.egg-info/requires.txt WARNING: /usr/lib/python2.7/site-packages/Twisted-12.0.0-py2.7.egg-info/SOURCES.txt WARNING: /usr/lib/python2.7/site-packages/Twisted-12.0.0-py2.7.egg-info/PKG-INFO WARNING: /usr/lib/python2.7/site-packages/Twisted-12.0.0-py2.7.egg-info/dependency_links.txt WARNING: /usr/lib/python2.7/site-packages/Twisted-12.0.0-py2.7.egg-info/not-zip-safe WARNING: /usr/lib/python2.7/site-packages/twisted/topfiles WARNING: /usr/lib/python2.7/site-packages/twisted/topfiles/README WARNING: /usr/lib/python2.7/site-packages/twisted/topfiles/NEWS WARNING: /usr/lib/python2.7/site-packages/twisted/topfiles/CREDITS WARNING: /usr/lib/python2.7/site-packages/twisted/topfiles/ChangeLog.Old WARNING: /usr/lib/python2.7/site-packages/twisted/python/_initgroups.c WARNING: /usr/lib/python2.7/site-packages/twisted/python/twisted-completion.zsh WARNING: /usr/lib/python2.7/site-packages/twisted/python/_epoll.c
I see these as well - I'm not sure if it's useful to package them as they are just [human readable] information... Not terribly important on _my_ embedded platform :-)
Quoted 3 lines
I also wonder why
_initgroups.cand_epoll.cdon't get deleted by the command indo_install_append(). Did you observe the same behaviour?
Looks like at least a typo and something strange with the quoting? I just tried this:
packages/python/python-twisted_12.0.0.bb +2 -1
@@ -18,7 +18,8 @@ inherit setuptools do_install_append() { # remove some useless files before packaging - find ${D} -name "*.bat" -o -name "*.c" -o -name "*.h" -exec rm {} \; + find ${D} -name "*.bat" -o -name "*.c" -o -name "*.h" -print -exec rm \{} \; + find ${D} -name "*.bat" -o -name "*.c" -o -name "*.h" | xargs -t rm }
The first command (which I think needs the \{} instead of {} - at least that's how I've always seen it used) only finds a single .h file. The second version works properly (and is "cheaper" since all the files are deleted at once)
Quoted 6 lines
Quoted 3 lines
BTW, I couldn't figure out how to get 'git' to recognize this as a rename with changes when I commited the change. Any hints?
It depends on the percentage of changed lines. See the --find-renames option of git-diff(1).
Thanks
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------