added my Recipes
This commit is contained in:
17
meta-openembedded/meta-python/COPYING.MIT
Normal file
17
meta-openembedded/meta-python/COPYING.MIT
Normal file
@@ -0,0 +1,17 @@
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
39
meta-openembedded/meta-python/README
Normal file
39
meta-openembedded/meta-python/README
Normal file
@@ -0,0 +1,39 @@
|
||||
meta-python
|
||||
================================
|
||||
|
||||
Introduction
|
||||
-------------------------
|
||||
|
||||
This layer is intended to be the home of python modules for OpenEmbedded.
|
||||
|
||||
Dependencies
|
||||
-------------------------
|
||||
|
||||
The meta-python layer depends on:
|
||||
|
||||
URI: git://git.openembedded.org/openembedded-core
|
||||
layers: meta
|
||||
branch: mickledore
|
||||
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
layers: meta-oe
|
||||
branch: mickledore
|
||||
|
||||
Contributing
|
||||
-------------------------
|
||||
|
||||
The meta-openembedded mailinglist
|
||||
(openembedded-devel@lists.openembedded.org) is used for questions,
|
||||
comments and patch review. It is subscriber only, so please register
|
||||
before posting.
|
||||
|
||||
Send pull requests to openembedded-devel@lists.openembedded.org with
|
||||
'[meta-python][mickledore]' in the subject.
|
||||
|
||||
When sending single patches, please use something like:
|
||||
git send-email -M -1 --to=openembedded-devel@lists.openembedded.org --subject-prefix='meta-python][mickledore][PATCH'
|
||||
|
||||
Maintenance
|
||||
-------------------------
|
||||
|
||||
Layer maintainers: Armin Kuster <akuster808@gmail.com>
|
||||
63
meta-openembedded/meta-python/classes/bandit.bbclass
Normal file
63
meta-openembedded/meta-python/classes/bandit.bbclass
Normal file
@@ -0,0 +1,63 @@
|
||||
# Class to scan Python code for security issues, using Bandit.
|
||||
#
|
||||
# $ bitbake python-foo -c bandit
|
||||
#
|
||||
# Writes the report to $DEPLOY_DIR/bandit/python-foo.html.
|
||||
# No output if no issues found, a warning if issues found.
|
||||
#
|
||||
# https://github.com/PyCQA/bandit
|
||||
|
||||
# Default location of sources, based on standard distutils
|
||||
BANDIT_SOURCE ?= "${S}/build"
|
||||
|
||||
# The report format to use.
|
||||
# https://bandit.readthedocs.io/en/latest/formatters/index.html
|
||||
BANDIT_FORMAT ?= "html"
|
||||
|
||||
# Whether a scan should be done every time the recipe is built.
|
||||
#
|
||||
# By default the scanning needs to be done explicitly, but by setting BANDIT_AUTO
|
||||
# to 1 the scan will be done whenever the recipe it built. Note that you
|
||||
# shouldn't set BANDIT_AUTO to 1 globally as it will then try to scan every
|
||||
# recipe, including non-Python recipes, causing circular loops.
|
||||
BANDIT_AUTO ?= "0"
|
||||
|
||||
# Whether Bandit finding issues results in a warning (0) or an error (1).
|
||||
BANDIT_FATAL ?= "0"
|
||||
|
||||
do_bandit[depends] = "python3-bandit-native:do_populate_sysroot"
|
||||
python do_bandit() {
|
||||
import os, subprocess
|
||||
try:
|
||||
report = d.expand("${DEPLOY_DIR}/bandit/${PN}-${PV}.${BANDIT_FORMAT}")
|
||||
os.makedirs(os.path.dirname(report), exist_ok=True)
|
||||
|
||||
args = ("bandit",
|
||||
"--format", d.getVar("BANDIT_FORMAT"),
|
||||
"--output", report,
|
||||
"-ll",
|
||||
"--recursive", d.getVar("BANDIT_SOURCE"))
|
||||
subprocess.check_output(args, stderr=subprocess.STDOUT)
|
||||
bb.note("Bandit found no issues (report written to %s)" % report)
|
||||
except subprocess.CalledProcessError as e:
|
||||
if e.returncode == 1:
|
||||
if oe.types.boolean(d.getVar("BANDIT_FATAL")):
|
||||
bb.error("Bandit found issues (report written to %s)" % report)
|
||||
else:
|
||||
bb.warn("Bandit found issues (report written to %s)" % report)
|
||||
else:
|
||||
bb.error("Bandit failed:\n" + e.output.decode("utf-8"))
|
||||
}
|
||||
|
||||
python() {
|
||||
before = "do_build"
|
||||
after = "do_compile"
|
||||
|
||||
if oe.types.boolean(d.getVar("BANDIT_AUTO")):
|
||||
bb.build.addtask("do_bandit", before, after, d)
|
||||
else:
|
||||
bb.build.addtask("do_bandit", None, after, d)
|
||||
}
|
||||
|
||||
# TODO: store report in sstate
|
||||
# TODO: a way to pass extra args or .bandit file, basically control -ll
|
||||
@@ -0,0 +1,28 @@
|
||||
export STAGING_INCDIR
|
||||
export STAGING_LIBDIR
|
||||
|
||||
# LDSHARED is the ld *command* used to create shared library
|
||||
export LDSHARED = "${CCLD} -shared"
|
||||
# LDXXSHARED is the ld *command* used to create shared library of C++
|
||||
# objects
|
||||
export LDCXXSHARED = "${CXX} -shared"
|
||||
# CCSHARED are the C *flags* used to create objects to go into a shared
|
||||
# library (module)
|
||||
export CCSHARED = "-fPIC -DPIC"
|
||||
# LINKFORSHARED are the flags passed to the $(CC) command that links
|
||||
# the python executable
|
||||
export LINKFORSHARED = "${SECURITY_CFLAGS} -Xlinker -export-dynamic"
|
||||
|
||||
FILES:${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*"
|
||||
|
||||
FILES:${PN}-staticdev += "\
|
||||
${PYTHON_SITEPACKAGES_DIR}/*.a \
|
||||
"
|
||||
FILES:${PN}-dev += "\
|
||||
${datadir}/pkgconfig \
|
||||
${libdir}/pkgconfig \
|
||||
${PYTHON_SITEPACKAGES_DIR}/*.la \
|
||||
"
|
||||
python __anonymous() {
|
||||
bb.warn("distutils-common-base.bbclass is deprecated, please use setuptools3-base.bbclass instead")
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
DEPENDS:append:class-target = " ${PYTHON_PN}-native ${PYTHON_PN}"
|
||||
DEPENDS:append:class-nativesdk = " ${PYTHON_PN}-native ${PYTHON_PN}"
|
||||
RDEPENDS:${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}"
|
||||
|
||||
inherit distutils-common-base python3native python3targetconfig
|
||||
|
||||
python __anonymous() {
|
||||
bb.warn("distutils3-base.bbclass is deprecated, please use setuptools3-base.bbclass instead")
|
||||
|
||||
71
meta-openembedded/meta-python/classes/distutils3.bbclass
Normal file
71
meta-openembedded/meta-python/classes/distutils3.bbclass
Normal file
@@ -0,0 +1,71 @@
|
||||
inherit distutils3-base
|
||||
|
||||
B = "${WORKDIR}/build"
|
||||
distutils_do_configure[cleandirs] = "${B}"
|
||||
|
||||
DISTUTILS_BUILD_ARGS ?= ""
|
||||
DISTUTILS_INSTALL_ARGS ?= "--root=${D} \
|
||||
--prefix=${prefix} \
|
||||
--install-lib=${PYTHON_SITEPACKAGES_DIR} \
|
||||
--install-data=${datadir}"
|
||||
|
||||
DISTUTILS_PYTHON = "python3"
|
||||
DISTUTILS_PYTHON:class-native = "nativepython3"
|
||||
|
||||
DISTUTILS_SETUP_PATH ?= "${S}"
|
||||
|
||||
python __anonymous() {
|
||||
bb.warn("distutils3.bbclass is deprecated, please use setuptools3.bbclass instead")
|
||||
}
|
||||
|
||||
distutils3_do_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
distutils3_do_compile() {
|
||||
cd ${DISTUTILS_SETUP_PATH}
|
||||
NO_FETCH_BUILD=1 \
|
||||
STAGING_INCDIR=${STAGING_INCDIR} \
|
||||
STAGING_LIBDIR=${STAGING_LIBDIR} \
|
||||
${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py \
|
||||
build --build-base=${B} ${DISTUTILS_BUILD_ARGS} || \
|
||||
bbfatal_log "'${PYTHON_PN} setup.py build ${DISTUTILS_BUILD_ARGS}' execution failed."
|
||||
}
|
||||
distutils3_do_compile[vardepsexclude] = "MACHINE"
|
||||
|
||||
distutils3_do_install() {
|
||||
cd ${DISTUTILS_SETUP_PATH}
|
||||
install -d ${D}${PYTHON_SITEPACKAGES_DIR}
|
||||
STAGING_INCDIR=${STAGING_INCDIR} \
|
||||
STAGING_LIBDIR=${STAGING_LIBDIR} \
|
||||
PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR} \
|
||||
${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py \
|
||||
build --build-base=${B} install --skip-build ${DISTUTILS_INSTALL_ARGS} || \
|
||||
bbfatal_log "'${PYTHON_PN} setup.py install ${DISTUTILS_INSTALL_ARGS}' execution failed."
|
||||
|
||||
# support filenames with *spaces*
|
||||
find ${D} -name "*.py" -exec grep -q ${D} {} \; \
|
||||
-exec sed -i -e s:${D}::g {} \;
|
||||
|
||||
for i in ${D}${bindir}/* ${D}${sbindir}/*; do
|
||||
if [ -f "$i" ]; then
|
||||
sed -i -e s:${PYTHON}:${USRBINPATH}/env\ ${DISTUTILS_PYTHON}:g $i
|
||||
sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
|
||||
fi
|
||||
done
|
||||
|
||||
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth
|
||||
|
||||
#
|
||||
# FIXME: Bandaid against wrong datadir computation
|
||||
#
|
||||
if [ -e ${D}${datadir}/share ]; then
|
||||
mv -f ${D}${datadir}/share/* ${D}${datadir}/
|
||||
rmdir ${D}${datadir}/share
|
||||
fi
|
||||
}
|
||||
distutils3_do_install[vardepsexclude] = "MACHINE"
|
||||
|
||||
EXPORT_FUNCTIONS do_configure do_compile do_install
|
||||
|
||||
export LDSHARED="${CCLD} -shared"
|
||||
@@ -0,0 +1,82 @@
|
||||
#
|
||||
# Lists of the ptest in meta-python, sorted into two sets by the time they take
|
||||
# Please keep these sorted in alphabetical order
|
||||
#
|
||||
# A first pass at getting all meta-python recipes which inherit ptest
|
||||
# meta_python_ptest_recipes=$(bitbake-layers show-recipes --recipes-only --layer meta-python --inherits ptest --bare | tr '\n' ' ' | pcregrep -o1 '^NOTE:.+===(.+)$')
|
||||
#
|
||||
# ptests which take less than ~30s each
|
||||
PTESTS_FAST_META_PYTHON = "\
|
||||
python3-ansicolors \
|
||||
python3-asgiref \
|
||||
python3-aspectlib \
|
||||
python3-blinker \
|
||||
python3-cachetools \
|
||||
python3-cbor2 \
|
||||
python3-click \
|
||||
python3-dominate \
|
||||
python3-execnet \
|
||||
python3-geojson \
|
||||
python3-html2text \
|
||||
python3-inflection \
|
||||
python3-intervals \
|
||||
python3-ipy \
|
||||
python3-iso3166 \
|
||||
python3-parse-type \
|
||||
python3-polyline \
|
||||
python3-precise-runner \
|
||||
python3-prettytable \
|
||||
python3-ptyprocess \
|
||||
python3-pyasn1-modules \
|
||||
python3-pyroute2 \
|
||||
python3-pyserial \
|
||||
python3-pytoml \
|
||||
python3-requests-file \
|
||||
python3-requests-toolbelt \
|
||||
python3-semver \
|
||||
python3-serpent \
|
||||
python3-simpleeval \
|
||||
python3-smpplib \
|
||||
python3-soupsieve \
|
||||
python3-sqlparse \
|
||||
python3-u-msgpack-python \
|
||||
python3-unidiff \
|
||||
python3-uritemplate \
|
||||
python3-xmltodict \
|
||||
python3-xxhash \
|
||||
"
|
||||
|
||||
PTESTS_SLOW_META_PYTHON = "\
|
||||
python3-lz4 \
|
||||
"
|
||||
|
||||
PTESTS_PROBLEMS_META_PYTHON ="\
|
||||
python3-appdirs \
|
||||
python3-betamax \
|
||||
python3-dnspython \
|
||||
python3-fastjsonschema \
|
||||
python3-gpiod \
|
||||
python3-gunicorn \
|
||||
python3-inotify \
|
||||
python3-jdcal \
|
||||
python3-jsmin \
|
||||
python3-license-expression \
|
||||
python3-msgpack \
|
||||
python3-multidict \
|
||||
python3-ordered-set \
|
||||
python3-parse \
|
||||
python3-pillow \
|
||||
python3-pint \
|
||||
python3-py-cpuinfo \
|
||||
python3-pytest-lazy-fixture \
|
||||
python3-pyzmq \
|
||||
python3-scrypt \
|
||||
python3-service-identity \
|
||||
python3-trustme \
|
||||
python3-typeguard \
|
||||
python3-whoosh \
|
||||
python3-ujson \
|
||||
python3-xlrd \
|
||||
python3-yappi \
|
||||
python3-yarl \
|
||||
"
|
||||
19
meta-openembedded/meta-python/conf/layer.conf
Normal file
19
meta-openembedded/meta-python/conf/layer.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
# We might have a conf and classes directory, append to BBPATH
|
||||
BBPATH .= ":${LAYERDIR}"
|
||||
|
||||
# We have recipes directories, add to BBFILES
|
||||
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
|
||||
|
||||
BBFILE_COLLECTIONS += "meta-python"
|
||||
BBFILE_PATTERN_meta-python := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_meta-python = "5"
|
||||
|
||||
# This should only be incremented on significant changes that will
|
||||
# cause compatibility issues with other layers
|
||||
LAYERVERSION_meta-python = "1"
|
||||
|
||||
LAYERDEPENDS_meta-python = "core (>= 12) openembedded-layer"
|
||||
|
||||
LAYERSERIES_COMPAT_meta-python = "mickledore"
|
||||
|
||||
LICENSE_PATH += "${LAYERDIR}/licenses"
|
||||
15
meta-openembedded/meta-python/licenses/CRC32C-ADLER
Normal file
15
meta-openembedded/meta-python/licenses/CRC32C-ADLER
Normal file
@@ -0,0 +1,15 @@
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the author be held liable for any damages
|
||||
arising from the use of this software.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
16
meta-openembedded/meta-python/licenses/LLNL
Normal file
16
meta-openembedded/meta-python/licenses/LLNL
Normal file
@@ -0,0 +1,16 @@
|
||||
Legal Notice
|
||||
|
||||
*** Legal Notice for all LLNL-contributed files ***
|
||||
|
||||
Copyright (c) 1996. The Regents of the University of California. All rights reserved.
|
||||
|
||||
Permission to use, copy, modify, and distribute this software for any purpose without
|
||||
fee is hereby granted, provided that this entire notice is included in all copies of any software which is or includes a copy or modification of this software and in all copies of the supporting documentation for such software.
|
||||
|
||||
This work was produced at the University of California, Lawrence Livermore National
|
||||
Laboratory under contract no. W-7405-ENG-48 between the U.S. Department of Energy and The Regents of the University of California for the operation of UC LLNL.
|
||||
|
||||
DISCLAIMER
|
||||
|
||||
This software was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any liability or responsibility for the accuracy, completeness, or usefulness of any
|
||||
information, apparatus, product, or process disclosed, or represents that its use would not infringe privately-owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes.
|
||||
37
meta-openembedded/meta-python/licenses/Unicode
Normal file
37
meta-openembedded/meta-python/licenses/Unicode
Normal file
@@ -0,0 +1,37 @@
|
||||
COPYRIGHT AND PERMISSION NOTICE
|
||||
|
||||
Copyright 1991-2015 Unicode, Inc. All rights reserved.
|
||||
Distributed under the Terms of Use in
|
||||
http://www.unicode.org/copyright.html.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Unicode data files and any associated documentation
|
||||
(the "Data Files") or Unicode software and any associated documentation
|
||||
(the "Software") to deal in the Data Files or Software
|
||||
without restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, and/or sell copies of
|
||||
the Data Files or Software, and to permit persons to whom the Data Files
|
||||
or Software are furnished to do so, provided that
|
||||
(a) this copyright and permission notice appear with all copies
|
||||
of the Data Files or Software,
|
||||
(b) this copyright and permission notice appear in associated
|
||||
documentation, and
|
||||
(c) there is clear notice in each modified Data File or in the Software
|
||||
as well as in the documentation associated with the Data File(s) or
|
||||
Software that the data or software has been modified.
|
||||
|
||||
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
|
||||
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
||||
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
|
||||
NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
|
||||
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
||||
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of a copyright holder
|
||||
shall not be used in advertising or otherwise to promote the sale,
|
||||
use or other dealings in these Data Files or Software without prior
|
||||
written authorization of the copyright holder.
|
||||
14
meta-openembedded/meta-python/licenses/WTFPL
Normal file
14
meta-openembedded/meta-python/licenses/WTFPL
Normal file
@@ -0,0 +1,14 @@
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim or modified
|
||||
copies of this license document, and changing it is allowed as long
|
||||
as the name is changed.
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
SUMMARY = "A simple connection pool for gevent"
|
||||
DESCRIPTION = "creates a pool of connections that can be used with gevent"
|
||||
HOMEPAGE = "https://github.com/studio-ousia/gsocketpool"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=4ba825394aec026b5f94edca44426859"
|
||||
DEPENDS += "${PYTHON_PN}-gevent"
|
||||
RDEPENDS:${PN} += "${PYTHON_PN}-gevent"
|
||||
|
||||
SRC_URI[md5sum] = "49f5f292ef1b60944ae92ca426a5e550"
|
||||
SRC_URI[sha256sum] = "f2e2749aceadce6b27ca52e2b0a64af99797746a8681e1a2963f72007c14cb14"
|
||||
|
||||
inherit pypi setuptools3
|
||||
@@ -0,0 +1,11 @@
|
||||
DESCRIPTION = "HTTP/2 State-Machine based protocol implementation"
|
||||
HOMEPAGE = "https://github.com/python-hyper/hyper-h2"
|
||||
LICENSE = "MIT"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=aa3b9b4395563dd427be5f022ec321c1"
|
||||
|
||||
SRC_URI[sha256sum] = "a83aca08fbe7aacb79fec788c9c0bac936343560ed9ec18b82a13a12c28d2abb"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += "${PYTHON_PN}-hpack ${PYTHON_PN}-hyperframe"
|
||||
@@ -0,0 +1,10 @@
|
||||
DESCRIPTION = "Pure-Python HPACK header compression"
|
||||
HOMEPAGE = "https://github.com/python-hyper/hpack"
|
||||
LICENSE = "MIT"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393"
|
||||
|
||||
SRC_URI[md5sum] = "27e01514ef06dc9fa0798d3dcb7de47c"
|
||||
SRC_URI[sha256sum] = "fc41de0c63e687ebffde81187a948221294896f6bdc0ae2312708df339430095"
|
||||
|
||||
inherit pypi setuptools3
|
||||
@@ -0,0 +1,9 @@
|
||||
DESCRIPTION = "HTTP/2 framing layer for Python"
|
||||
HOMEPAGE = "https://github.com/python-hyper/hyperframe"
|
||||
LICENSE = "MIT"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393"
|
||||
|
||||
SRC_URI[sha256sum] = "ae510046231dc8e9ecb1a6586f63d2347bf4c8905914aa84ba585ae85f28a914"
|
||||
|
||||
inherit pypi setuptools3
|
||||
@@ -0,0 +1,9 @@
|
||||
DESCRIPTION = "A pure-Python implementation of the HTTP/2 priority tree"
|
||||
HOMEPAGE = "https://github.com/python-hyper/priority"
|
||||
LICENSE = "MIT"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=ae57d8a09fc8b6b164d7357339619045"
|
||||
|
||||
SRC_URI[sha256sum] = "c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0"
|
||||
|
||||
inherit pypi setuptools3
|
||||
@@ -0,0 +1,12 @@
|
||||
DESCRIPTION = "Python-based Network Connectivity Management"
|
||||
HOMEPAGE = "https://pypi.python.org/pypi/pyconnman/"
|
||||
LICENSE = "Apache-2.0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
SRC_URI[md5sum] = "d60bdffbd9c920f005fdc5e05a8b94cd"
|
||||
SRC_URI[sha256sum] = "d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f9ad926"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} = "connman python3-dbus python3-pprint python3-future"
|
||||
@@ -0,0 +1,15 @@
|
||||
SUMMARY = "Python Remote Objects"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=cd13dafd4eeb0802bb6efea6b4a4bdbc"
|
||||
|
||||
SRC_URI[sha256sum] = "511f5b0804e92dd77dc33adf9c947787e3f9e9c5a96b12162f0557a7c4ce21fb"
|
||||
|
||||
PYPI_PACKAGE = "Pyro4"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${PYTHON_PN}-logging \
|
||||
${PYTHON_PN}-serpent \
|
||||
${PYTHON_PN}-threading \
|
||||
"
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "Python bindings for the Apache Thrift RPC system"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515"
|
||||
|
||||
SRC_URI[sha256sum] = "2b5b6488fcded21f9d312aa23c9ff6a0195d0f6ae26ddbd5ad9e3e25dfc14408"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
# Use different filename to prevent conflicts with thrift itself
|
||||
PYPI_SRC_URI:append = ";downloadfilename=${BP}.${PYPI_PACKAGE_EXT}"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-logging \
|
||||
${PYTHON_PN}-six \
|
||||
${PYTHON_PN}-stringold \
|
||||
${PYTHON_PN}-threading \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,16 @@
|
||||
SUMMARY = "Twisted Web Sockets"
|
||||
HOMEPAGE = "https://github.com/MostAwesomeDude/txWS"
|
||||
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=76699830db7fa9e897f6a1ad05f98ec8"
|
||||
|
||||
DEPENDS = "python3-twisted python3-six python3-vcversioner python3-six-native python3-vcversioner-native"
|
||||
|
||||
SRC_URI = "git://github.com/MostAwesomeDude/txWS.git;branch=master;protocol=https"
|
||||
SRCREV= "88cf6d9b9b685ffa1720644bd53c742afb10a414"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit setuptools3
|
||||
|
||||
PIP_INSTALL_PACKAGE = "txWS"
|
||||
@@ -0,0 +1,9 @@
|
||||
SUMMARY = "Python TUN/TAP tunnel module"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=13f7629e8e4989b66b4a913ab05a91de"
|
||||
|
||||
SRC_URI[sha256sum] = "20b53ea7a09dfe173c00ec0a00eea508b05e959f5dc4b4bb698aa52252192f8f"
|
||||
|
||||
PYPI_PACKAGE = "python-pytun"
|
||||
|
||||
inherit pypi setuptools3
|
||||
@@ -0,0 +1,43 @@
|
||||
Add dependency of __init__.py
|
||||
|
||||
Tasks must be done after exec of __init__, which creates the
|
||||
src/_generated directory that tasks are based on.
|
||||
|
||||
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
|
||||
|
||||
Upstream-Status: Submitted
|
||||
(However it seems that this project is out of maintanence.)
|
||||
|
||||
diff -ruN telepathy-python-0.15.19-orig/src/Makefile.am telepathy-python-0.15.19/src/Makefile.am
|
||||
--- telepathy-python-0.15.19-orig/src/Makefile.am 2011-03-10 08:51:49.000000000 +0800
|
||||
+++ telepathy-python-0.15.19/src/Makefile.am 2011-03-10 08:54:45.000000000 +0800
|
||||
@@ -39,17 +39,17 @@
|
||||
XSLTPROC_OPTS = --nonet --novalid --xinclude
|
||||
tools_dir = $(top_srcdir)/tools
|
||||
|
||||
-_generated/interfaces.py: $(tools_dir)/python-interfaces-generator.xsl $(wildcard $(spec_dir)/*.xml)
|
||||
+_generated/interfaces.py: _generated/__init__.py $(tools_dir)/python-interfaces-generator.xsl $(wildcard $(spec_dir)/*.xml)
|
||||
$(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \
|
||||
$(tools_dir)/python-interfaces-generator.xsl \
|
||||
$(spec_dir)/all.xml
|
||||
|
||||
-_generated/constants.py: $(tools_dir)/python-constants-generator.xsl $(wildcard $(spec_dir)/*.xml)
|
||||
+_generated/constants.py: _generated/__init__.py $(tools_dir)/python-constants-generator.xsl $(wildcard $(spec_dir)/*.xml)
|
||||
$(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \
|
||||
$(tools_dir)/python-constants-generator.xsl \
|
||||
$(spec_dir)/all.xml
|
||||
|
||||
-_generated/errors.py: $(tools_dir)/python-errors-generator.xsl $(wildcard $(spec_dir)/*.xml)
|
||||
+_generated/errors.py: _generated/__init__.py $(tools_dir)/python-errors-generator.xsl $(wildcard $(spec_dir)/*.xml)
|
||||
$(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \
|
||||
$(tools_dir)/python-errors-generator.xsl \
|
||||
$(spec_dir)/all.xml
|
||||
@@ -58,7 +58,7 @@
|
||||
$(AM_V_GEN)$(mkdir_p) $(dir $@)
|
||||
@echo "# Placeholder for package" > $@
|
||||
|
||||
-_generated/%.py: $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml
|
||||
+_generated/%.py: _generated/__init__.py $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml
|
||||
$(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \
|
||||
$(tools_dir)/spec-to-python.xsl \
|
||||
$(spec_dir)/$*.xml
|
||||
@@ -0,0 +1,26 @@
|
||||
commit f6c67662145de889055a86a6b3b12c70a45fc8d5
|
||||
Author: Dongxiao Xu <dongxiao.xu@intel.com>
|
||||
Date: Wed Sep 7 16:02:20 2011 +0800
|
||||
|
||||
Avoid duplicated installation of errors.py
|
||||
|
||||
newer version of autotools don't seem to like listing files to install
|
||||
twice. Remove one errors.py from the installation list.
|
||||
|
||||
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
|
||||
|
||||
Upstream-Status: Inappropriate [upstream inactive]
|
||||
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 5c27dfe..7536e43 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -11,7 +11,7 @@ telepathy_PYTHON = \
|
||||
|
||||
# telepathy._generated.* auto-generated modules
|
||||
spec_dir = $(top_srcdir)/spec
|
||||
-spec_files := $(patsubst $(spec_dir)%.xml,_generated%.py,$(wildcard $(spec_dir)/*.xml))
|
||||
+spec_files := $(filter-out _generated/errors.py, $(patsubst $(spec_dir)%.xml,_generated%.py,$(wildcard $(spec_dir)/*.xml)))
|
||||
|
||||
BUILT_SOURCES = \
|
||||
_generated/interfaces.py \
|
||||
@@ -0,0 +1,26 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
automake 1.12 has deprecated use of mkdir_p, and it recommends
|
||||
use of MKDIR_P instead. Changed the code to avoid these kind
|
||||
of warning-errors.
|
||||
|
||||
| make[1]: _generated/: Command not found
|
||||
| make[1]: *** [_generated/__init__.py] Error 127
|
||||
| make[1]: Leaving directory `/srv/home/nitin/builds2/build0/tmp/work/i586-poky-linux/telepathy-python-0.15.19-r4/telepathy-python-0.15.19/src'
|
||||
| make: *** [all-recursive] Error 1
|
||||
|
||||
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
|
||||
2012/07/10
|
||||
Index: telepathy-python-0.15.19/src/Makefile.am
|
||||
===================================================================
|
||||
--- telepathy-python-0.15.19.orig/src/Makefile.am
|
||||
+++ telepathy-python-0.15.19/src/Makefile.am
|
||||
@@ -55,7 +55,7 @@ _generated/errors.py: _generated/__init_
|
||||
$(spec_dir)/all.xml
|
||||
|
||||
_generated/__init__.py:
|
||||
- $(AM_V_GEN)$(mkdir_p) $(dir $@)
|
||||
+ $(AM_V_GEN)$(MKDIR_P) $(dir $@)
|
||||
@echo "# Placeholder for package" > $@
|
||||
|
||||
_generated/%.py: _generated/__init__.py $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml
|
||||
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "Telepathy IM framework - Python package"
|
||||
HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
|
||||
LICENSE = "LGPL-2.1-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
|
||||
file://src/utils.py;beginline=1;endline=17;md5=9a07d1a9791a7429a14e7b25c6c86822"
|
||||
|
||||
DEPENDS = "libxslt-native"
|
||||
|
||||
SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-python/telepathy-python-${PV}.tar.gz \
|
||||
file://parallel_make.patch \
|
||||
file://remove_duplicate_install.patch \
|
||||
file://telepathy-python_fix_for_automake_1.12.patch"
|
||||
|
||||
PR = "r6"
|
||||
|
||||
S = "${WORKDIR}/telepathy-python-${PV}"
|
||||
|
||||
inherit autotools python3native
|
||||
|
||||
SRC_URI[md5sum] = "f7ca25ab3c88874015b7e9728f7f3017"
|
||||
SRC_URI[sha256sum] = "244c0e1bf4bbd78ae298ea659fe10bf3a73738db550156767cc2477aedf72376"
|
||||
|
||||
FILES:${PN} += "\
|
||||
${libdir}/python*/site-packages/telepathy/*.py \
|
||||
${libdir}/python*/site-packages/telepathy/*/*.py \
|
||||
"
|
||||
|
||||
do_install:append () {
|
||||
rm -fr ${D}${libdir}/python*/site-packages/telepathy/__pycache__
|
||||
rm -fr ${D}${libdir}/python*/site-packages/telepathy/__pycache__
|
||||
rm -fr ${D}${libdir}/python*/site-packages/telepathy/*/__pycache__
|
||||
rm -fr ${D}${libdir}/python*/site-packages/telepathy/*/__pycache__
|
||||
}
|
||||
RDEPENDS:${PN} += "python3-dbus"
|
||||
@@ -0,0 +1,7 @@
|
||||
SUMMARY = "meta-python build test image"
|
||||
|
||||
IMAGE_INSTALL = "packagegroup-core-boot"
|
||||
|
||||
LICENSE = "MIT"
|
||||
|
||||
inherit core-image
|
||||
@@ -0,0 +1,5 @@
|
||||
require meta-python-image-base.bb
|
||||
|
||||
SUMMARY = "meta-python build test image"
|
||||
|
||||
IMAGE_INSTALL += "packagegroup-meta-python3"
|
||||
@@ -0,0 +1,25 @@
|
||||
DESCRIPTION = "Recipe to trigger execution of all meta-python ptest images."
|
||||
HOMEPAGE = "https://www.openembedded.org/"
|
||||
|
||||
LICENSE = "MIT"
|
||||
|
||||
inherit features_check nopackages
|
||||
REQUIRED_DISTRO_FEATURES = "ptest"
|
||||
|
||||
require conf/include/ptest-packagelists-meta-python.inc
|
||||
|
||||
# Include the full set of ptests
|
||||
PTESTS_META_PYTHON = "${PTESTS_FAST_META_PYTHON} ${PTESTS_SLOW_META_PYTHON}"
|
||||
|
||||
do_testimage[noexec] = "1"
|
||||
do_testimage[depends] = "${@' '.join(['meta-python-ptest-image-'+x+':do_testimage' for x in d.getVar('PTESTS_META_PYTHON').split()])}"
|
||||
|
||||
do_build[depends] = "${@' '.join(['meta-python-ptest-image-'+x+':do_build' for x in d.getVar('PTESTS_META_PYTHON').split()])}"
|
||||
|
||||
# normally image.bbclass would do this
|
||||
EXCLUDE_FROM_WORLD = "1"
|
||||
|
||||
python () {
|
||||
if bb.utils.contains('IMAGE_CLASSES', 'testimage', True, False, d):
|
||||
bb.build.addtask("do_testimage", "", "", d)
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
require meta-python-ptest-all-image.bb
|
||||
|
||||
DESCRIPTION = "Recipe to trigger execution of all fast meta-python ptest images."
|
||||
|
||||
PTESTS_META_PYTHON = "${PTESTS_FAST_META_PYTHON}"
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
inherit features_check
|
||||
REQUIRED_DISTRO_FEATURES = "ptest"
|
||||
|
||||
require conf/include/ptest-packagelists-meta-python.inc
|
||||
|
||||
require meta-python-image-base.bb
|
||||
|
||||
SUMMARY = "meta-python ptest test image"
|
||||
|
||||
DESCRIPTION += "Also including the ${MCNAME} ptest package."
|
||||
HOMEPAGE = "https://www.openembedded.org/"
|
||||
|
||||
PTESTS_META_PYTHON = "${PTESTS_SLOW_META_PYTHON} ${PTESTS_FAST_META_PYTHON}"
|
||||
|
||||
IMAGE_INSTALL:append = " ${MCNAME}-ptest openssh"
|
||||
|
||||
BBCLASSEXTEND = "${@' '.join(['mcextend:'+x for x in d.getVar('PTESTS_META_PYTHON').split()])}"
|
||||
|
||||
# The image can be sufficiently large (~1.8GB) that we need to be careful that it fits in a live
|
||||
# image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the
|
||||
# box) and explicitly add up to 1500MB.
|
||||
IMAGE_OVERHEAD_FACTOR = "1.0"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE = "324288"
|
||||
# If a particular ptest needs more space, it can be customized:
|
||||
#IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-<pn> = "1024288"
|
||||
|
||||
# ptests need more memory than standard to avoid the OOM killer
|
||||
QB_MEM = "-m 1024"
|
||||
# If a particular ptest needs more memory, it can be customized:
|
||||
#QB_MEM:virtclass-mcextend-<pn> = "-m 4096"
|
||||
|
||||
TEST_SUITES = "ping ssh parselogs ptest"
|
||||
|
||||
# Sadly at the moment the full set of ptests is not robust enough and sporadically fails in random places
|
||||
PTEST_EXPECT_FAILURE = "1"
|
||||
|
||||
python () {
|
||||
if not d.getVar("MCNAME"):
|
||||
raise bb.parse.SkipRecipe("No class extension set")
|
||||
}
|
||||
|
||||
@@ -0,0 +1,548 @@
|
||||
SUMMARY = "Meta-python ptest packagegroups"
|
||||
|
||||
inherit packagegroup
|
||||
|
||||
PROVIDES = "${PACKAGES}"
|
||||
PACKAGES = ' \
|
||||
packagegroup-meta-python3 \
|
||||
'
|
||||
|
||||
# Note that python3-cvxopt requires Fortran support. To enable this,
|
||||
# add the following to your local.conf:
|
||||
# FORTRAN:forcevariable = ",fortran"
|
||||
RDEPENDS:packagegroup-meta-python3 = "\
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "systemd", "python3-systemd", "", d)} \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "x11 systemd", "python3-blivetgui", "", d)} \
|
||||
gyp \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "pam", "pamela", "", d)} \
|
||||
pyrtm \
|
||||
python3-absl \
|
||||
python3-aenum \
|
||||
python3-aiofiles \
|
||||
python3-aiohttp \
|
||||
python3-aiohttp-jinja2 \
|
||||
python3-aiohue \
|
||||
python3-aiosignal \
|
||||
python3-alembic \
|
||||
python3-ansi2html \
|
||||
python3-ansicolors \
|
||||
python3-appdirs \
|
||||
python3-apply-defaults \
|
||||
python3-argcomplete \
|
||||
python3-argexec \
|
||||
python3-argh \
|
||||
python3-arpeggio \
|
||||
python3-asciitree \
|
||||
python3-aspectlib \
|
||||
python3-astor \
|
||||
python3-astroid \
|
||||
python3-asttokens \
|
||||
python3-async-timeout \
|
||||
python3-asyncio-glib \
|
||||
python3-attr \
|
||||
python3-autobahn \
|
||||
python3-automat \
|
||||
python3-aws-iot-device-sdk-python \
|
||||
python3-backcall \
|
||||
python3-bandit \
|
||||
python3-beautifulsoup4 \
|
||||
python3-behave \
|
||||
python3-betamax \
|
||||
python3-bitarray \
|
||||
python3-bitstring \
|
||||
python3-bitstruct \
|
||||
python3-blinker \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "systemd", "python3-blivet", "", d)} \
|
||||
python3-booleanpy \
|
||||
python3-cachecontrol \
|
||||
python3-cached-property \
|
||||
python3-cachetools \
|
||||
python3-can \
|
||||
python3-cantools \
|
||||
python3-cassandra-driver \
|
||||
python3-cbor2 \
|
||||
python3-cerberus \
|
||||
python3-chardet \
|
||||
python3-charset-normalizer \
|
||||
python3-cheetah \
|
||||
python3-click \
|
||||
python3-click-repl \
|
||||
python3-click-spinner \
|
||||
python3-cmd2 \
|
||||
python3-colorama \
|
||||
python3-coloredlogs \
|
||||
python3-colorlog \
|
||||
python3-colorzero \
|
||||
python3-configargparse \
|
||||
python3-configobj \
|
||||
python3-configshell-fb \
|
||||
python3-constantly \
|
||||
python3-contextlib2 \
|
||||
python3-coverage \
|
||||
python3-cppy \
|
||||
python3-crcmod \
|
||||
python3-croniter \
|
||||
python3-cson \
|
||||
python3-custom-inherit \
|
||||
${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'python3-cvxopt', '', d)} \
|
||||
python3-cycler \
|
||||
python3-cytoolz \
|
||||
python3-dateparser \
|
||||
python3-dateutil \
|
||||
python3-dbus-next \
|
||||
python3-dbussy \
|
||||
python3-decorator \
|
||||
python3-decouple \
|
||||
python3-defusedxml \
|
||||
python3-dill \
|
||||
python3-diskcache \
|
||||
python3-distro \
|
||||
python3-django \
|
||||
python3-django-south \
|
||||
python3-djangorestframework \
|
||||
python3-dnspython \
|
||||
python3-docopt \
|
||||
python3-docutils \
|
||||
python3-dominate \
|
||||
python3-dynamic-dispatch \
|
||||
python3-ecdsa \
|
||||
python3-editables \
|
||||
python3-editor \
|
||||
python3-email-validator \
|
||||
python3-engineio \
|
||||
python3-et-xmlfile \
|
||||
python3-eth-abi \
|
||||
python3-eth-account \
|
||||
python3-eth-hash \
|
||||
python3-eth-keyfile \
|
||||
python3-eth-keys \
|
||||
python3-eth-rlp \
|
||||
python3-eth-typing \
|
||||
python3-eth-utils \
|
||||
python3-evdev \
|
||||
python3-execnet \
|
||||
python3-fann2 \
|
||||
python3-fasteners \
|
||||
python3-fastjsonschema \
|
||||
python3-fastnumbers \
|
||||
python3-fields \
|
||||
python3-flask \
|
||||
python3-flask-babel \
|
||||
python3-flask-bootstrap \
|
||||
python3-flask-jsonpify \
|
||||
python3-flask-jwt \
|
||||
python3-flask-login \
|
||||
python3-flask-mail \
|
||||
python3-flask-migrate \
|
||||
python3-flask-nav \
|
||||
python3-flask-pymongo \
|
||||
python3-flask-restful \
|
||||
python3-flask-script \
|
||||
python3-flask-sijax \
|
||||
python3-flask-socketio \
|
||||
python3-flask-sqlalchemy \
|
||||
python3-flask-uploads \
|
||||
python3-flask-user \
|
||||
python3-flask-versioned \
|
||||
python3-flask-wtf \
|
||||
python3-flask-xstatic \
|
||||
python3-future \
|
||||
python3-frozenlist \
|
||||
python3-gast \
|
||||
python3-gcovr \
|
||||
python3-geojson \
|
||||
python3-geomet \
|
||||
python3-gevent \
|
||||
python3-gmpy2 \
|
||||
python3-gmqtt \
|
||||
python3-gnupg \
|
||||
python3-google-api-python-client \
|
||||
python3-gpiod \
|
||||
python3-gpsd-py3 \
|
||||
python3-graphviz \
|
||||
python3-greenlet \
|
||||
python3-greenstalk \
|
||||
python3-grpcio \
|
||||
python3-grpcio-tools \
|
||||
python3-gsocketpool \
|
||||
python3-gunicorn \
|
||||
python3-h11 \
|
||||
python3-h2 \
|
||||
python3-h5py \
|
||||
python3-hatchling \
|
||||
python3-haversine \
|
||||
python3-hpack \
|
||||
python3-html2text \
|
||||
python3-html5lib \
|
||||
python3-httplib2 \
|
||||
python3-huey \
|
||||
python3-humanfriendly \
|
||||
python3-humanize \
|
||||
python3-hyperframe \
|
||||
python3-hyperlink \
|
||||
python3-icu \
|
||||
python3-idna \
|
||||
python3-idna \
|
||||
python3-idna-ssl \
|
||||
python3-ifaddr \
|
||||
python3-imageio \
|
||||
python3-imgtool \
|
||||
python3-incremental \
|
||||
python3-inflection \
|
||||
python3-inotify \
|
||||
python3-intelhex \
|
||||
python3-intervals \
|
||||
python3-ipaddress \
|
||||
python3-ipy \
|
||||
python3-ipython \
|
||||
python3-ipython-genutils \
|
||||
python3-iso3166 \
|
||||
python3-isodate \
|
||||
python3-isort \
|
||||
python3-itsdangerous \
|
||||
python3-javaobj-py3 \
|
||||
python3-jdatetime \
|
||||
python3-jdcal \
|
||||
python3-jedi \
|
||||
python3-jmespath \
|
||||
python3-joblib \
|
||||
python3-jsmin \
|
||||
python3-jsonpatch \
|
||||
python3-jsonpath-rw \
|
||||
python3-jsonpointer \
|
||||
python3-jsonref \
|
||||
python3-jsonrpcserver \
|
||||
python3-jsonschema \
|
||||
python3-jstyleson \
|
||||
python3-kconfiglib \
|
||||
python3-keras-applications \
|
||||
python3-keras-preprocessing \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "x11 opengl", "python3-kivy", "", d)} \
|
||||
python3-kiwisolver \
|
||||
python3-kmod \
|
||||
python3-langtable \
|
||||
python3-lazy-object-proxy \
|
||||
python3-libconf \
|
||||
python3-license-expression \
|
||||
python3-ldap \
|
||||
python3-lockfile \
|
||||
python3-lorem \
|
||||
python3-lrparsing \
|
||||
python3-lru-dict \
|
||||
python3-luma-core \
|
||||
python3-luma-oled \
|
||||
python3-lxml \
|
||||
python3-lz4 \
|
||||
python3-m2crypto \
|
||||
python3-markupsafe \
|
||||
python3-matplotlib \
|
||||
python3-mccabe \
|
||||
python3-meh \
|
||||
python3-meld3 \
|
||||
python3-mock \
|
||||
python3-monotonic \
|
||||
python3-mpmath \
|
||||
python3-msgpack \
|
||||
python3-msk \
|
||||
python3-msm \
|
||||
python3-multidict \
|
||||
python3-mypy \
|
||||
python3-mypy-extensions \
|
||||
python3-natsort \
|
||||
python3-netaddr \
|
||||
python3-netifaces \
|
||||
python3-networkx \
|
||||
python3-nmap \
|
||||
python3-nocasedict \
|
||||
python3-nocaselist \
|
||||
python3-ntplib \
|
||||
python3-oauthlib \
|
||||
python3-obd \
|
||||
python3-openpyxl \
|
||||
python3-ordered-set \
|
||||
python3-padaos \
|
||||
python3-padatious \
|
||||
python3-paho-mqtt \
|
||||
python3-pako \
|
||||
python3-pandas \
|
||||
python3-parallax \
|
||||
python3-paramiko \
|
||||
python3-parse \
|
||||
python3-parse-type \
|
||||
python3-parsimonious \
|
||||
python3-parso \
|
||||
python3-passlib \
|
||||
python3-pastedeploy \
|
||||
python3-pathspec \
|
||||
python3-pathtools3 \
|
||||
python3-pep8 \
|
||||
python3-periphery \
|
||||
python3-petact \
|
||||
python3-pexpect \
|
||||
python3-pickleshare \
|
||||
python3-pid \
|
||||
python3-pika \
|
||||
python3-pillow \
|
||||
python3-pint \
|
||||
python3-pkcs11 \
|
||||
python3-pkgconfig \
|
||||
python3-pocketsphinx \
|
||||
python3-polyline \
|
||||
python3-portalocker \
|
||||
python3-posix-ipc \
|
||||
python3-prctl \
|
||||
python3-precise-runner \
|
||||
python3-prettytable \
|
||||
python3-priority \
|
||||
python3-process-tests \
|
||||
python3-progress \
|
||||
python3-prompt-toolkit \
|
||||
python3-protobuf \
|
||||
python3-ptyprocess \
|
||||
python3-pulsectl \
|
||||
python3-py-cpuinfo \
|
||||
python3-py-ubjson \
|
||||
python3-pyalsaaudio \
|
||||
python3-pyasn1-modules \
|
||||
python3-pyatspi \
|
||||
python3-pyaudio \
|
||||
python3-pybind11 \
|
||||
python3-pybind11-json \
|
||||
python3-pybluez \
|
||||
python3-pychromecast \
|
||||
python3-pycocotools \
|
||||
python3-pycodestyle \
|
||||
python3-pyconnman \
|
||||
python3-pycurl \
|
||||
python3-pydbus \
|
||||
python3-pydbus-manager \
|
||||
python3-pydicti \
|
||||
python3-pyephem \
|
||||
python3-pyexpect \
|
||||
python3-pyfanotify \
|
||||
python3-pyfirmata \
|
||||
python3-pyflakes \
|
||||
python3-pyhamcrest \
|
||||
python3-pyiface \
|
||||
python3-pyinotify \
|
||||
python3-pyjks \
|
||||
python3-pyjwt \
|
||||
python3-pykickstart \
|
||||
python3-pykwalify \
|
||||
python3-pylint \
|
||||
python3-pylyrics \
|
||||
python3-pymetno \
|
||||
python3-pymisp \
|
||||
python3-pymongo \
|
||||
python3-pymysql \
|
||||
python3-pynacl \
|
||||
python3-pynetlinux \
|
||||
python3-pyparted \
|
||||
python3-pyperclip \
|
||||
python3-pyperf \
|
||||
python3-pyrad \
|
||||
python3-pyro4 \
|
||||
python3-pyroute2 \
|
||||
python3-pyrsistent \
|
||||
python3-pyscaffold \
|
||||
python3-pyserial \
|
||||
python3-pysonos \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "systemd", "python3-pystemd", "", d)} \
|
||||
python3-pytest-asyncio \
|
||||
python3-pytest-benchmark \
|
||||
python3-pytest-cache \
|
||||
python3-pytest-forked \
|
||||
python3-pytest-helpers-namespace \
|
||||
python3-pytest-html \
|
||||
python3-pytest-lazy-fixture \
|
||||
python3-pytest-metadata \
|
||||
python3-pytest-tempdir \
|
||||
python3-pytest-timeout \
|
||||
python3-pytest-xdist \
|
||||
python3-pythonping \
|
||||
python3-python-vlc \
|
||||
python3-pytoml \
|
||||
python3-pytun \
|
||||
python3-pytz-deprecation-shim \
|
||||
python3-pyudev \
|
||||
python3-pyusb \
|
||||
python3-pywbem \
|
||||
python3-pywbemtools \
|
||||
python3-pyyaml \
|
||||
python3-pyzmq \
|
||||
python3-qrcode \
|
||||
python3-raven \
|
||||
python3-rdflib \
|
||||
python3-redis \
|
||||
python3-regex \
|
||||
python3-requests-file \
|
||||
python3-requests-ftp \
|
||||
python3-requests-futures \
|
||||
python3-requests-oauthlib \
|
||||
python3-requests-toolbelt \
|
||||
python3-rfc3339-validator \
|
||||
python3-rfc3986-validator \
|
||||
python3-rfc3987 \
|
||||
python3-rlp \
|
||||
python3-robotframework \
|
||||
python3-robotframework-seriallibrary \
|
||||
python3-rsa \
|
||||
python3-ruamel-yaml \
|
||||
python3-scrypt \
|
||||
python3-sdnotify \
|
||||
python3-semver \
|
||||
python3-send2trash \
|
||||
python3-sentry-sdk \
|
||||
python3-serpent \
|
||||
python3-service-identity \
|
||||
python3-setuptools-declarative-requirements \
|
||||
python3-setuptools-scm-git-archive \
|
||||
python3-sh \
|
||||
python3-sijax \
|
||||
python3-simpleeval \
|
||||
python3-simplejson \
|
||||
python3-slip-dbus \
|
||||
python3-smbus \
|
||||
python3-smbus2 \
|
||||
python3-smpplib \
|
||||
python3-snappy \
|
||||
python3-socketio \
|
||||
python3-soupsieve \
|
||||
python3-speaklater \
|
||||
python3-speedtest-cli \
|
||||
python3-spidev \
|
||||
python3-spidev \
|
||||
python3-sqlalchemy \
|
||||
python3-sqlparse \
|
||||
python3-sqlsoup \
|
||||
python3-stevedore \
|
||||
python3-supervisor \
|
||||
python3-sympy \
|
||||
python3-tabulate \
|
||||
python3-term \
|
||||
python3-termcolor \
|
||||
python3-textparser \
|
||||
python3-texttable \
|
||||
python3-thrift \
|
||||
python3-tinyrecord \
|
||||
python3-tornado \
|
||||
python3-toolz \
|
||||
python3-tqdm \
|
||||
python3-trafaret \
|
||||
python3-trafaret-config \
|
||||
python3-traitlets \
|
||||
python3-transitions \
|
||||
python3-trustme \
|
||||
python3-twine \
|
||||
python3-twisted \
|
||||
python3-twitter \
|
||||
python3-twofish \
|
||||
python3-txaio \
|
||||
python3-txdbus \
|
||||
python3-txws \
|
||||
python3-typed-ast \
|
||||
python3-typeguard \
|
||||
python3-tzlocal \
|
||||
python3-u-msgpack-python \
|
||||
python3-uinput \
|
||||
python3-ujson \
|
||||
python3-unidiff \
|
||||
python3-uritemplate \
|
||||
python3-vcversioner \
|
||||
python3-versiontools \
|
||||
python3-visitor \
|
||||
python3-waitress \
|
||||
python3-watchdog \
|
||||
python3-watchdogdev \
|
||||
python3-web3 \
|
||||
python3-webcolors \
|
||||
python3-webencodings \
|
||||
python3-websocket-client \
|
||||
python3-websockets \
|
||||
python3-werkzeug \
|
||||
python3-werkzeug \
|
||||
python3-whoosh \
|
||||
python3-wrapt \
|
||||
python3-wtforms \
|
||||
python3-xlrd \
|
||||
python3-xlsxwriter \
|
||||
python3-xmlrunner \
|
||||
python3-xmltodict \
|
||||
python3-xmodem \
|
||||
python3-xstatic \
|
||||
python3-xstatic-font-awesome \
|
||||
python3-xxhash \
|
||||
python3-yamlloader \
|
||||
python3-yappi \
|
||||
python3-yarl \
|
||||
python3-zopeinterface \
|
||||
telepathy-python3 \
|
||||
unattended-upgrades \
|
||||
"
|
||||
|
||||
RDEPENDS:packagegroup-meta-python3-ptest = "\
|
||||
python3-ansicolors-ptest \
|
||||
python3-appdirs-ptest \
|
||||
python3-betamax-ptest \
|
||||
python3-blinker-ptest \
|
||||
python3-cachetools-ptest \
|
||||
python3-cbor2-ptest \
|
||||
python3-click-ptest \
|
||||
python3-dnspython-ptest \
|
||||
python3-dominate-ptest \
|
||||
python3-geojson-ptest \
|
||||
python3-gunicorn-ptest \
|
||||
python3-hexbytes \
|
||||
python3-html2text-ptest \
|
||||
python3-inflection-ptest \
|
||||
python3-intervals-ptest \
|
||||
python3-ipy-ptest \
|
||||
python3-iso3166-ptest \
|
||||
python3-jdcal-ptest \
|
||||
python3-jinja2-ptest \
|
||||
python3-jsmin-ptest \
|
||||
python3-jsonpointer-ptest \
|
||||
python3-license-expression-ptest \
|
||||
python3-markupsafe-ptest \
|
||||
python3-msgpack-ptest \
|
||||
python3-multidict-ptest \
|
||||
python3-ordered-set-ptest \
|
||||
python3-parse-ptest \
|
||||
python3-parse-type-ptest \
|
||||
python3-pint-ptest \
|
||||
python3-polyline-ptest \
|
||||
python3-precise-runner-ptest \
|
||||
python3-prettytable-ptest \
|
||||
python3-ptyprocess-ptest \
|
||||
python3-pyasn1-modules-ptest \
|
||||
python3-pyroute2-ptest \
|
||||
python3-pyserial-ptest \
|
||||
python3-pytest-lazy-fixture-ptest \
|
||||
python3-pytoml-ptest \
|
||||
python3-pyzmq-ptest \
|
||||
python3-requests-file-ptest \
|
||||
python3-requests-toolbelt-ptest \
|
||||
python3-scrypt-ptest \
|
||||
python3-semver-ptest \
|
||||
python3-serpent-ptest \
|
||||
python3-simpleeval-ptest \
|
||||
python3-smpplib-ptest \
|
||||
python3-soupsieve-ptest \
|
||||
python3-sqlparse-ptest \
|
||||
python3-typeguard-ptest \
|
||||
python3-ujson-ptest \
|
||||
python3-u-msgpack-python-ptest \
|
||||
python3-unidiff-ptest \
|
||||
python3-uritemplate-ptest \
|
||||
python3-webcolors-ptest \
|
||||
python3-whoosh-ptest \
|
||||
python3-wpa-supplicant \
|
||||
python3-xlrd-ptest \
|
||||
python3-xmltodict-ptest \
|
||||
python3-xxhash-ptest \
|
||||
python3-yappi-ptest \
|
||||
python3-yarl-ptest \
|
||||
python3-pyasn1-ptest \
|
||||
"
|
||||
|
||||
EXCLUDE_FROM_WORLD = "1"
|
||||
@@ -0,0 +1,34 @@
|
||||
From bfe579283e5fcab60172818bfe4e6e1d40c2bed0 Mon Sep 17 00:00:00 2001
|
||||
From: Kurt Kiefer <kurt.kiefer@arthrex.com>
|
||||
Date: Mon, 18 Oct 2021 11:21:14 -0700
|
||||
Subject: [PATCH] Fix for Python 3.10 compatibility
|
||||
|
||||
The collections.abc module replaces collections for Python 3.10
|
||||
|
||||
Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
|
||||
---
|
||||
pylib/gyp/common.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pylib/gyp/common.py b/pylib/gyp/common.py
|
||||
index b268d229..4f9cb0ec 100644
|
||||
--- a/pylib/gyp/common.py
|
||||
+++ b/pylib/gyp/common.py
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
-import collections
|
||||
+import collections.abc
|
||||
import errno
|
||||
import filecmp
|
||||
import os.path
|
||||
@@ -494,7 +494,7 @@ def uniquer(seq, idfun=None):
|
||||
|
||||
|
||||
# Based on http://code.activestate.com/recipes/576694/.
|
||||
-class OrderedSet(collections.MutableSet):
|
||||
+class OrderedSet(collections.abc.MutableSet):
|
||||
def __init__(self, iterable=None):
|
||||
self.end = end = []
|
||||
end += [None, end, end] # sentinel node for doubly linked list
|
||||
@@ -0,0 +1,17 @@
|
||||
DESCRIPTION = "GYP is a Meta-Build system: a build system that generates other build systems."
|
||||
HOMEPAGE = "https://gyp.gsrc.io/"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=ab828cb8ce4c62ee82945a11247b6bbd"
|
||||
SECTION = "devel"
|
||||
|
||||
SRC_URI = "git://chromium.googlesource.com/external/gyp;protocol=https;branch=master \
|
||||
file://0001-Fix-for-Python-3.10-compatibility.patch \
|
||||
"
|
||||
SRCREV = "caa60026e223fc501e8b337fd5086ece4028b1c6"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "0.1+git${SRCPV}"
|
||||
|
||||
inherit setuptools3
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,16 @@
|
||||
SUMMARY = "jsonref is a library for automatic dereferencing of JSON Reference objects for Python"
|
||||
HOMEPAGE = "https://github.com/gazpachoking/jsonref"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=a34264f25338d41744dca1abfe4eb18f"
|
||||
|
||||
SRC_URI[sha256sum] = "51d3e18b83ca7170ff51286a0e1a6719d8b7fcc7abdb16b189395a8536996b97"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${PYTHON_PN}-core \
|
||||
${PYTHON_PN}-json \
|
||||
${PYTHON_PN}-netclient \
|
||||
"
|
||||
@@ -0,0 +1,15 @@
|
||||
DESCRIPTION = "Pamela: yet another Python wrapper for PAM"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=3f9b78307cdde4e6a4976bfd82a0e7f3"
|
||||
|
||||
SRC_URI[md5sum] = "5fc14f5275383ed8bdd509007af0323d"
|
||||
SRC_URI[sha256sum] = "65c9389bef7d1bb0b168813b6be21964df32016923aac7515bdf05366acbab6c"
|
||||
|
||||
PYPI_PACKAGE = "pamela"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} = "libpam"
|
||||
|
||||
inherit features_check
|
||||
REQUIRED_DISTRO_FEATURES = "pam"
|
||||
@@ -0,0 +1,36 @@
|
||||
SUMMARY = "Python interface for Remember The Milk API"
|
||||
AUTHOR = "Sridhar Ratnakumar / srid"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=a53cbc7cb75660694e138ba973c148df"
|
||||
|
||||
PYPI_PACKAGE_EXT = "tar.bz2"
|
||||
|
||||
SRC_URI[md5sum] = "7c87da94656b620dfe532ca63d642eb8"
|
||||
SRC_URI[sha256sum] = "b2d701b25ad3f9a1542057f3eb492c5c1d7dbe2b8d1e8f763043dcc14ee1d933"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
PACKAGES =+ "${PN}-tests ${PN}-samples"
|
||||
|
||||
FILES:${PN}-samples += " \
|
||||
${PYTHON_SITEPACKAGES_DIR}/rtm/samples \
|
||||
"
|
||||
|
||||
FILES:${PN}-tests += " \
|
||||
${PYTHON_SITEPACKAGES_DIR}/rtm/tests \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-json \
|
||||
${PYTHON_PN}-logging \
|
||||
${PYTHON_PN}-netclient \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-samples += " \
|
||||
${PN} \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-tests += " \
|
||||
${PN} \
|
||||
${PYTHON_PN}-unittest \
|
||||
"
|
||||
@@ -0,0 +1,31 @@
|
||||
From 0981eee9f0198c2045dc0eaa78a005d06fc7bfe4 Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Eduardo Moreira dos Santos <cems@cemshost.com.br>
|
||||
Date: Tue, 28 Mar 2017 18:23:44 -0300
|
||||
Subject: [PATCH] Workaround for issue 2 [1]
|
||||
|
||||
[1] https://pagure.io/python-daemon/issue/2
|
||||
---
|
||||
version.py | 7 ++++---
|
||||
1 file changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/version.py b/version.py
|
||||
index d58422a377ee..293e2d64c2b7 100644
|
||||
--- a/version.py
|
||||
+++ b/version.py
|
||||
@@ -648,9 +648,10 @@ class ChangelogAwareDistribution(distutils.dist.Distribution, object):
|
||||
|
||||
@lru_cache(maxsize=128)
|
||||
def get_version_info(self):
|
||||
- changelog_path = get_changelog_path(self)
|
||||
- version_info = generate_version_info_from_changelog(changelog_path)
|
||||
- return version_info
|
||||
+ return {
|
||||
+ 'version': '2.1.2',
|
||||
+ 'maintainer': 'Ben Finney'
|
||||
+ }
|
||||
|
||||
def get_version(self):
|
||||
version_info = self.get_version_info()
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
SUMMARY = "Migrations for Django"
|
||||
DESCRIPTION = "South is an intelligent database migrations library for the Django web framework. It is database-independent and DVCS-friendly, as well as a whole host of other features."
|
||||
HOMEPAGE = "http://south.aeracode.org/"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=17;endline=18;md5=2155d8ae21e7c23101d5febac696b27e"
|
||||
|
||||
SRC_URI[md5sum] = "c76a9758b2011bc3b6c39f881bba2f66"
|
||||
SRC_URI[sha256sum] = "d360bd31898f9df59f6faa786551065bba45b35e7ee3c39b381b4fbfef7392f4"
|
||||
|
||||
PYPI_PACKAGE = "South"
|
||||
inherit pypi
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-django \
|
||||
"
|
||||
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "A high-level Python Web framework"
|
||||
HOMEPAGE = "http://www.djangoproject.com/"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
|
||||
|
||||
PYPI_PACKAGE = "Django"
|
||||
inherit pypi
|
||||
|
||||
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/"
|
||||
|
||||
FILES:${PN} += "${datadir}/django"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-compression \
|
||||
${PYTHON_PN}-ctypes \
|
||||
${PYTHON_PN}-datetime \
|
||||
${PYTHON_PN}-email \
|
||||
${PYTHON_PN}-html \
|
||||
${PYTHON_PN}-json \
|
||||
${PYTHON_PN}-logging \
|
||||
${PYTHON_PN}-multiprocessing \
|
||||
${PYTHON_PN}-netserver \
|
||||
${PYTHON_PN}-numbers \
|
||||
${PYTHON_PN}-pkgutil \
|
||||
${PYTHON_PN}-pytz \
|
||||
${PYTHON_PN}-threading \
|
||||
${PYTHON_PN}-unixadmin \
|
||||
${PYTHON_PN}-xml \
|
||||
${PYTHON_PN}-distutils \
|
||||
"
|
||||
|
||||
CVE_PRODUCT = "django"
|
||||
@@ -0,0 +1,14 @@
|
||||
DESCRIPTION = "An extension that includes Bootstrap in your project, without any boilerplate code."
|
||||
LICENSE = "Apache-2.0 & MIT & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=a03749709f06118a17349deb5a210619"
|
||||
|
||||
SRC_URI[md5sum] = "e40d50f5c5b6438c1c6200a6f2871f81"
|
||||
SRC_URI[sha256sum] = "cb08ed940183f6343a64e465e83b3a3f13c53e1baabb8d72b5da4545ef123ac8"
|
||||
|
||||
PYPI_PACKAGE = "Flask-Bootstrap"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-dominate \
|
||||
${PYTHON_PN}-flask \
|
||||
${PYTHON_PN}-visitor \
|
||||
"
|
||||
@@ -0,0 +1,12 @@
|
||||
DESCRIPTION = "Scripting support for flask"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e686048adb69341fc8a08caeda528b41"
|
||||
|
||||
SRC_URI[md5sum] = "3fbd91fe13cebedfb2431331f6eabb68"
|
||||
SRC_URI[sha256sum] = "6425963d91054cfcc185807141c7314a9c5ad46325911bd24dcb489bd0161c65"
|
||||
|
||||
PYPI_PACKAGE = "Flask-Script"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-flask \
|
||||
"
|
||||
@@ -0,0 +1,8 @@
|
||||
DESCRIPTION = "An extension for the Flask microframework that adds Sijax support."
|
||||
HOMEPAGE = "https://github.com/spantaleev/flask-sijax"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=266adc7b911b7c84b837bf77196e1ba6"
|
||||
|
||||
PYPI_PACKAGE = "Flask-Sijax"
|
||||
RDEPENDS:${PN} = "${PYTHON_PN}-sijax"
|
||||
@@ -0,0 +1,16 @@
|
||||
DESCRIPTION = "XStatic support for flask"
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=659968f6ebd4b70b6c3190d20b4a924c"
|
||||
|
||||
SRC_URI[md5sum] = "2f56023e1444c8bd1fec41afe93de743"
|
||||
SRC_URI[sha256sum] = "226ea8e97065a9488b59bfe5c94af4c6e2ea70a25052e301fb231a1381490133"
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/python-flask-xstatic:"
|
||||
SRC_URI += "file://remove-pip-requires.patch"
|
||||
|
||||
PYPI_PACKAGE = "Flask-XStatic"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-flask \
|
||||
${PYTHON_PN}-xstatic \
|
||||
"
|
||||
@@ -0,0 +1,7 @@
|
||||
--- Flask-XStatic-0.0.1/setup.py.orig 2015-01-30 08:01:56.000000000 -0800
|
||||
+++ Flask-XStatic-0.0.1/setup.py 2017-04-17 21:40:32.570181626 -0700
|
||||
@@ -1,4 +1,3 @@
|
||||
-from pip.req import parse_requirements
|
||||
import setuptools
|
||||
|
||||
with open('README.rst') as f:
|
||||
@@ -0,0 +1,10 @@
|
||||
SUMMARY = "Patch ssl.match_hostname for Unicode(idna) domains support"
|
||||
HOMEPAGE = "https://github.com/aio-libs/idna-ssl"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=a61b9c5aec8796b64a6bf15d42605073"
|
||||
|
||||
SRC_URI[md5sum] = "dd44ec53bac36e68446766fd8d3835bd"
|
||||
SRC_URI[sha256sum] = "a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c"
|
||||
|
||||
PYPI_PACKAGE = "idna-ssl"
|
||||
inherit pypi
|
||||
@@ -0,0 +1,55 @@
|
||||
From 07d4f095a9e22ae676a8d68073101131e65012dc Mon Sep 17 00:00:00 2001
|
||||
From: Koen Kooi <koen@dominion.thruhere.net>
|
||||
Date: Tue, 15 Nov 2011 13:16:54 +0100
|
||||
Subject: [PATCH] python imaging setup.py: force paths for zlib, freetype and jpeg and don't add host paths
|
||||
|
||||
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
---
|
||||
setup.py | 14 +++-----------
|
||||
1 files changed, 3 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 5d4d53a..b1a22ec 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -34,10 +34,10 @@ def libinclude(root):
|
||||
# TIFF_ROOT = libinclude("/opt/tiff")
|
||||
|
||||
TCL_ROOT = None
|
||||
-JPEG_ROOT = None
|
||||
-ZLIB_ROOT = None
|
||||
+JPEG_ROOT = os.environ['STAGING_LIBDIR']
|
||||
+ZLIB_ROOT = os.environ['STAGING_LIBDIR']
|
||||
TIFF_ROOT = None
|
||||
-FREETYPE_ROOT = None
|
||||
+FREETYPE_ROOT = os.environ['STAGING_LIBDIR'], os.environ['STAGING_INCDIR']
|
||||
LCMS_ROOT = None
|
||||
|
||||
# FIXME: add mechanism to explicitly *disable* the use of a library
|
||||
@@ -147,7 +147,6 @@ class pil_build_ext(build_ext):
|
||||
add_directory(library_dirs, "/opt/local/lib")
|
||||
add_directory(include_dirs, "/opt/local/include")
|
||||
|
||||
- add_directory(library_dirs, "/usr/local/lib")
|
||||
# FIXME: check /opt/stuff directories here?
|
||||
|
||||
prefix = sysconfig.get_config_var("prefix")
|
||||
@@ -207,13 +206,6 @@ class pil_build_ext(build_ext):
|
||||
if os.path.isfile(os.path.join(tcl_dir, "tk.h")):
|
||||
add_directory(include_dirs, tcl_dir)
|
||||
|
||||
- # standard locations
|
||||
- add_directory(library_dirs, "/usr/local/lib")
|
||||
- add_directory(include_dirs, "/usr/local/include")
|
||||
-
|
||||
- add_directory(library_dirs, "/usr/lib")
|
||||
- add_directory(include_dirs, "/usr/include")
|
||||
-
|
||||
#
|
||||
# insert new dirs *before* default libs, to avoid conflicts
|
||||
# between Python PYD stub libs and real libraries
|
||||
--
|
||||
1.7.2.5
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
At least lcms wasn't deterministicly detected from sysroot.
|
||||
|
||||
This will allow to export LCMS_ENABLED=False when lcms isn't in PACKAGECONFIG.
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
|
||||
diff -uNr Imaging-1.1.7.orig/setup.py Imaging-1.1.7/setup.py
|
||||
--- Imaging-1.1.7.orig/setup.py 2013-07-22 10:17:02.081457075 +0200
|
||||
+++ Imaging-1.1.7/setup.py 2013-07-22 13:10:09.029707492 +0200
|
||||
@@ -39,6 +39,12 @@
|
||||
TIFF_ROOT = None
|
||||
FREETYPE_ROOT = os.environ['STAGING_LIBDIR'], os.environ['STAGING_INCDIR']
|
||||
LCMS_ROOT = None
|
||||
+TCL_ENABLED = os.getenv('TCL_ENABLED', "True")
|
||||
+JPEG_ENABLED = os.getenv('JPEG_ENABLED', "True")
|
||||
+ZLIB_ENABLED = os.getenv('ZLIB_ENABLED', "True")
|
||||
+TIFF_ENABLED = os.getenv('TIFF_ENABLED', "True")
|
||||
+FREETYPE_ENABLED = os.getenv('FREETYPE_ENABLED', "True")
|
||||
+LCMS_ENABLED = os.getenv('LCMS_ENABLED', "True")
|
||||
|
||||
# FIXME: add mechanism to explicitly *disable* the use of a library
|
||||
|
||||
@@ -220,22 +226,22 @@
|
||||
zlib = jpeg = tiff = freetype = tcl = tk = lcms = None
|
||||
feature = feature()
|
||||
|
||||
- if find_include_file(self, "zlib.h"):
|
||||
+ if ZLIB_ENABLED == 'True' and find_include_file(self, "zlib.h"):
|
||||
if find_library_file(self, "z"):
|
||||
feature.zlib = "z"
|
||||
elif sys.platform == "win32" and find_library_file(self, "zlib"):
|
||||
feature.zlib = "zlib" # alternative name
|
||||
|
||||
- if find_include_file(self, "jpeglib.h"):
|
||||
+ if JPEG_ENABLED == 'True' and find_include_file(self, "jpeglib.h"):
|
||||
if find_library_file(self, "jpeg"):
|
||||
feature.jpeg = "jpeg"
|
||||
elif sys.platform == "win32" and find_library_file(self, "libjpeg"):
|
||||
feature.jpeg = "libjpeg" # alternative name
|
||||
|
||||
- if find_library_file(self, "tiff"):
|
||||
+ if TIFF_ENABLED == 'True' and find_library_file(self, "tiff"):
|
||||
feature.tiff = "tiff"
|
||||
|
||||
- if find_library_file(self, "freetype"):
|
||||
+ if FREETYPE_ENABLED == 'True' and find_library_file(self, "freetype"):
|
||||
# look for freetype2 include files
|
||||
freetype_version = 0
|
||||
for dir in self.compiler.include_dirs:
|
||||
@@ -256,11 +262,11 @@
|
||||
if dir:
|
||||
add_directory(self.compiler.include_dirs, dir, 0)
|
||||
|
||||
- if find_include_file(self, "lcms.h"):
|
||||
+ if LCMS_ENABLED == 'True' and find_include_file(self, "lcms.h"):
|
||||
if find_library_file(self, "lcms"):
|
||||
feature.lcms = "lcms"
|
||||
|
||||
- if _tkinter and find_include_file(self, "tk.h"):
|
||||
+ if TCL_ENABLED == 'True' and _tkinter and find_include_file(self, "tk.h"):
|
||||
# the library names may vary somewhat (e.g. tcl84 or tcl8.4)
|
||||
version = TCL_VERSION[0] + TCL_VERSION[2]
|
||||
if find_library_file(self, "tcl" + version):
|
||||
@@ -0,0 +1,30 @@
|
||||
Upstream-Status: Backport
|
||||
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
||||
|
||||
From c6040f618d8f2706a7b46d1cdf37d1a587f9701f Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Stromnov <stromnov@gmail.com>
|
||||
Date: Thu, 28 Nov 2013 16:58:43 +0400
|
||||
Subject: [PATCH] fix compiling with FreeType 2.5.1
|
||||
|
||||
---
|
||||
_imagingft.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/_imagingft.c b/_imagingft.c
|
||||
index 47d50bd..f19555b 100644
|
||||
--- a/_imagingft.c
|
||||
+++ b/_imagingft.c
|
||||
@@ -59,7 +59,11 @@ struct {
|
||||
const char* message;
|
||||
} ft_errors[] =
|
||||
|
||||
+#if defined(USE_FREETYPE_2_1)
|
||||
+#include FT_ERRORS_H
|
||||
+#else
|
||||
#include <freetype/fterrors.h>
|
||||
+#endif
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/* font objects */
|
||||
--
|
||||
1.8.5.1
|
||||
@@ -0,0 +1,38 @@
|
||||
python-imaging: CVE-2016-2533
|
||||
|
||||
the patch comes from:
|
||||
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-2533
|
||||
https://github.com/python-pillow/Pillow/commit/ae453aa18b66af54e7ff716f4ccb33adca60afd4#diff-8ff6909c159597e22288ad818938fd6b
|
||||
|
||||
PCD decoder overruns the shuffle buffer, Fixes #568
|
||||
|
||||
Signed-off-by: Li Wang <li.wang@windriver.com>
|
||||
---
|
||||
libImaging/PcdDecode.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/libImaging/PcdDecode.c b/libImaging/PcdDecode.c
|
||||
index b6898e3..c02d005 100644
|
||||
--- a/libImaging/PcdDecode.c
|
||||
+++ b/libImaging/PcdDecode.c
|
||||
@@ -47,7 +47,7 @@ ImagingPcdDecode(Imaging im, ImagingCodecState state, UINT8* buf, int bytes)
|
||||
out[0] = ptr[x];
|
||||
out[1] = ptr[(x+4*state->xsize)/2];
|
||||
out[2] = ptr[(x+5*state->xsize)/2];
|
||||
- out += 4;
|
||||
+ out += 3;
|
||||
}
|
||||
|
||||
state->shuffle((UINT8*) im->image[state->y],
|
||||
@@ -62,7 +62,7 @@ ImagingPcdDecode(Imaging im, ImagingCodecState state, UINT8* buf, int bytes)
|
||||
out[0] = ptr[x+state->xsize];
|
||||
out[1] = ptr[(x+4*state->xsize)/2];
|
||||
out[2] = ptr[(x+5*state->xsize)/2];
|
||||
- out += 4;
|
||||
+ out += 3;
|
||||
}
|
||||
|
||||
state->shuffle((UINT8*) im->image[state->y],
|
||||
--
|
||||
1.7.9.5
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
Avoid getting host sysroot paths in the library paths to fix issue like:
|
||||
|
||||
| /home/andrei/work/yocto/build-rpi-master/tmp/sysroots/x86_64-linux/usr/lib/libz.so: file not recognized: File format not recognized
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
|
||||
|
||||
|
||||
Index: Imaging-1.1.7/setup.py
|
||||
===================================================================
|
||||
--- Imaging-1.1.7.orig/setup.py
|
||||
+++ Imaging-1.1.7/setup.py
|
||||
@@ -155,11 +155,6 @@ class pil_build_ext(build_ext):
|
||||
|
||||
# FIXME: check /opt/stuff directories here?
|
||||
|
||||
- prefix = sysconfig.get_config_var("prefix")
|
||||
- if prefix:
|
||||
- add_directory(library_dirs, os.path.join(prefix, "lib"))
|
||||
- add_directory(include_dirs, os.path.join(prefix, "include"))
|
||||
-
|
||||
#
|
||||
# locate tkinter libraries
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
From 3484bdfa7adbaebcf8bb8e7d4820f64b12717932 Mon Sep 17 00:00:00 2001
|
||||
From: Mingli Yu <mingli.yu@windriver.com>
|
||||
Date: Fri, 29 Jul 2016 15:37:18 +0800
|
||||
Subject: [PATCH] python-mccabe: remove unnecessary setup_requires
|
||||
pytest-runner
|
||||
|
||||
* Remove setup_requires pytest-runner as the
|
||||
setup_requires pytest-runner actually is not
|
||||
used for pytest which only in do_compile phase
|
||||
via setup.py build
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
|
||||
---
|
||||
setup.py | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index e59903d..bf2aaba 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -33,7 +33,6 @@ setup(
|
||||
license='Expat license',
|
||||
py_modules=['mccabe'],
|
||||
zip_safe=False,
|
||||
- setup_requires=['pytest-runner'],
|
||||
tests_require=['pytest'],
|
||||
entry_points={
|
||||
'flake8.extension': [
|
||||
--
|
||||
2.8.1
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
From 322e781c67d7a78fc2cfc3d377f50b825fc64abb Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Fri, 2 Jun 2017 20:21:01 -0700
|
||||
Subject: [PATCH] it tries to define this function differently than it is
|
||||
defined in sys/time.h.
|
||||
|
||||
Use the definition from system
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Packages/RNG/Src/ranf.c | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/Packages/RNG/Src/ranf.c b/Packages/RNG/Src/ranf.c
|
||||
index 5ca7dc5..e669fa8 100644
|
||||
--- a/Packages/RNG/Src/ranf.c
|
||||
+++ b/Packages/RNG/Src/ranf.c
|
||||
@@ -149,9 +149,6 @@ void Mixranf(int *s,u32 s48[2])
|
||||
#else
|
||||
struct timeval tv;
|
||||
struct timezone tz;
|
||||
-#if !defined(__sgi)
|
||||
- int gettimeofday(struct timeval *, struct timezone *);
|
||||
-#endif
|
||||
|
||||
(void)gettimeofday(&tv,&tz);
|
||||
s48[0] = (u32)tv.tv_sec;
|
||||
--
|
||||
2.13.0
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
From ed44474c11f577c1644910964a917a4cf701bb0f Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
|
||||
Date: Tue, 26 Jan 2016 14:24:26 -0500
|
||||
Subject: [PATCH] reflect 2.1 reporting for key imports
|
||||
|
||||
GnuPG 2.1 changes how it reports key imports. These changes should
|
||||
make the pygpgme test suite compatible with GnuPG 2.1.
|
||||
|
||||
See also:
|
||||
https://lists.gnupg.org/pipermail/gnupg-devel/2016-January/030718.html
|
||||
|
||||
Upstream-Status: Backport
|
||||
|
||||
Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
|
||||
|
||||
---
|
||||
tests/test_import.py | 22 +++++++++++-----------
|
||||
1 file changed, 11 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/tests/test_import.py b/tests/test_import.py
|
||||
index 10eb816..597eb47 100644
|
||||
--- a/tests/test_import.py
|
||||
+++ b/tests/test_import.py
|
||||
@@ -55,7 +55,7 @@ class ImportTestCase(GpgHomeTestCase):
|
||||
ctx = gpgme.Context()
|
||||
with self.keyfile('key1.sec') as fp:
|
||||
result = ctx.import_(fp)
|
||||
- self.assertEqual(result.considered, 1)
|
||||
+ self.assertEqual(result.considered, 3)
|
||||
self.assertEqual(result.no_user_id, 0)
|
||||
self.assertEqual(result.imported, 1)
|
||||
self.assertEqual(result.imported_rsa, 0)
|
||||
@@ -64,18 +64,18 @@ class ImportTestCase(GpgHomeTestCase):
|
||||
self.assertEqual(result.new_sub_keys, 0)
|
||||
self.assertEqual(result.new_signatures, 0)
|
||||
self.assertEqual(result.new_revocations, 0)
|
||||
- self.assertEqual(result.secret_read, 1)
|
||||
- self.assertEqual(result.secret_imported, 1)
|
||||
+ self.assertEqual(result.secret_read, 3)
|
||||
+ self.assertEqual(result.secret_imported, 2)
|
||||
self.assertEqual(result.secret_unchanged, 0)
|
||||
self.assertEqual(result.skipped_new_keys, 0)
|
||||
self.assertEqual(result.not_imported, 0)
|
||||
self.assertEqual(len(result.imports), 2)
|
||||
self.assertEqual(result.imports[0],
|
||||
('E79A842DA34A1CA383F64A1546BB55F0885C65A4',
|
||||
- None, gpgme.IMPORT_NEW | gpgme.IMPORT_SECRET))
|
||||
+ None, gpgme.IMPORT_NEW))
|
||||
self.assertEqual(result.imports[1],
|
||||
('E79A842DA34A1CA383F64A1546BB55F0885C65A4',
|
||||
- None, gpgme.IMPORT_NEW))
|
||||
+ None, gpgme.IMPORT_NEW | gpgme.IMPORT_SECRET))
|
||||
# can we get the public key?
|
||||
key = ctx.get_key('E79A842DA34A1CA383F64A1546BB55F0885C65A4')
|
||||
# can we get the secret key?
|
||||
@@ -102,17 +102,17 @@ class ImportTestCase(GpgHomeTestCase):
|
||||
fp = BytesIO(b'\n'.join(keys))
|
||||
ctx = gpgme.Context()
|
||||
result = ctx.import_(fp)
|
||||
- self.assertEqual(result.considered, 3)
|
||||
+ self.assertEqual(result.considered, 5)
|
||||
self.assertEqual(result.no_user_id, 0)
|
||||
self.assertEqual(result.imported, 2)
|
||||
- self.assertEqual(result.imported_rsa, 1)
|
||||
+ self.assertEqual(result.imported_rsa, 0)
|
||||
self.assertEqual(result.unchanged, 0)
|
||||
self.assertEqual(result.new_user_ids, 0)
|
||||
self.assertEqual(result.new_sub_keys, 0)
|
||||
self.assertEqual(result.new_signatures, 1)
|
||||
self.assertEqual(result.new_revocations, 0)
|
||||
- self.assertEqual(result.secret_read, 1)
|
||||
- self.assertEqual(result.secret_imported, 1)
|
||||
+ self.assertEqual(result.secret_read, 3)
|
||||
+ self.assertEqual(result.secret_imported, 2)
|
||||
self.assertEqual(result.secret_unchanged, 0)
|
||||
self.assertEqual(result.skipped_new_keys, 0)
|
||||
self.assertEqual(result.not_imported, 0)
|
||||
@@ -122,10 +122,10 @@ class ImportTestCase(GpgHomeTestCase):
|
||||
None, gpgme.IMPORT_NEW))
|
||||
self.assertEqual(result.imports[1],
|
||||
('E79A842DA34A1CA383F64A1546BB55F0885C65A4',
|
||||
- None, gpgme.IMPORT_NEW | gpgme.IMPORT_SECRET))
|
||||
+ None, gpgme.IMPORT_SIG))
|
||||
self.assertEqual(result.imports[2],
|
||||
('E79A842DA34A1CA383F64A1546BB55F0885C65A4',
|
||||
- None, gpgme.IMPORT_SIG))
|
||||
+ None, gpgme.IMPORT_NEW | gpgme.IMPORT_SECRET))
|
||||
self.assertEqual(result.imports[3],
|
||||
('93C2240D6B8AA10AB28F701D2CF46B7FC97E6B0F',
|
||||
None, gpgme.IMPORT_NEW))
|
||||
@@ -0,0 +1,52 @@
|
||||
From ba0dc8273e4f83bcd2d43baa5910aae34b93048c Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
|
||||
Date: Mon, 1 Feb 2016 19:25:12 -0500
|
||||
Subject: [PATCH] passphrase_cb is deprecated
|
||||
|
||||
https://bugs.gnupg.org/gnupg/issue767 indicates that
|
||||
gpgme_set_passphrase_cb is a deprecated corner of the API and that
|
||||
developers using gpgme should really rely on the gpg-agent to handle
|
||||
this stuff. This should actually simplify things for most
|
||||
installations -- just strip out all passphrase handling from your
|
||||
application entirely, relying on gpg to figure out how to find the
|
||||
agent, and relying on the agent figuring out how to prompt the user
|
||||
(if necessary).
|
||||
|
||||
However, if a developer really wants to use the passphrase callback
|
||||
approach, they'll have to use loopback pinentry. This sets up the
|
||||
test suite to be able to make those tests.
|
||||
|
||||
Upstream-Status: Backport
|
||||
|
||||
Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
|
||||
|
||||
---
|
||||
tests/util.py | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/util.py b/tests/util.py
|
||||
index cd803c2..86892ca 100644
|
||||
--- a/tests/util.py
|
||||
+++ b/tests/util.py
|
||||
@@ -28,7 +28,9 @@ keydir = os.path.join(os.path.dirname(__file__), 'keys')
|
||||
|
||||
class GpgHomeTestCase(unittest.TestCase):
|
||||
|
||||
- gpg_conf_contents = ''
|
||||
+ gpg_conf_contents = 'pinentry-mode loopback'
|
||||
+ gpg_agent_conf_contents = 'allow-loopback-pinentry'
|
||||
+
|
||||
import_keys = []
|
||||
|
||||
def keyfile(self, key):
|
||||
@@ -41,6 +43,10 @@ class GpgHomeTestCase(unittest.TestCase):
|
||||
fp.write(self.gpg_conf_contents.encode('UTF-8'))
|
||||
fp.close()
|
||||
|
||||
+ fp = open(os.path.join(self._gpghome, 'gpg-agent.conf'), 'wb')
|
||||
+ fp.write(self.gpg_agent_conf_contents.encode('UTF-8'))
|
||||
+ fp.close()
|
||||
+
|
||||
# import requested keys into the keyring
|
||||
ctx = gpgme.Context()
|
||||
for key in self.import_keys:
|
||||
@@ -0,0 +1,30 @@
|
||||
From 579b5930e15de8855bf63b3c20b6c3aaf894c3eb Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
|
||||
Date: Mon, 1 Feb 2016 19:27:59 -0500
|
||||
Subject: [PATCH] handle generic error when no passphrase callback present
|
||||
|
||||
apparently gpg 2.1 returns ERR_GENERAL right now if the pinentry was
|
||||
in loopback mode and no passphrase callback was supplied. Earlier
|
||||
versions supplied ERR_BAD_PASSPHRASE.
|
||||
|
||||
Upstream-Status: Backport
|
||||
|
||||
Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
|
||||
|
||||
---
|
||||
tests/test_passphrase.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/test_passphrase.py b/tests/test_passphrase.py
|
||||
index 0a235e9..35b3c59 100644
|
||||
--- a/tests/test_passphrase.py
|
||||
+++ b/tests/test_passphrase.py
|
||||
@@ -41,7 +41,7 @@ class PassphraseTestCase(GpgHomeTestCase):
|
||||
new_sigs = ctx.sign(plaintext, signature, gpgme.SIG_MODE_CLEAR)
|
||||
except gpgme.GpgmeError as exc:
|
||||
self.assertEqual(exc.args[0], gpgme.ERR_SOURCE_GPGME)
|
||||
- self.assertEqual(exc.args[1], gpgme.ERR_BAD_PASSPHRASE)
|
||||
+ self.assertEqual(exc.args[1], gpgme.ERR_GENERAL)
|
||||
else:
|
||||
self.fail('gpgme.GpgmeError not raised')
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
GPG_AGENT_INFO= python test_all.py -v 2>&1 | sed -e '/\.\.\. ok/ s/^/PASS: /g' -e '/\.\.\. [ERROR|FAIL]/ s/^/FAIL: /g' -e '/\.\.\. skipped/ s/^/SKIP: /g' -e 's/ \.\.\. ok//g' -e 's/ \.\.\. ERROR//g' -e 's/ \.\.\. FAIL//g' -e 's/ \.\.\. skipped//g'
|
||||
@@ -0,0 +1,15 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
Index: Pyrex-0.9.8.4/Pyrex/Distutils/extension.py
|
||||
===================================================================
|
||||
--- Pyrex-0.9.8.4.orig/Pyrex/Distutils/extension.py
|
||||
+++ Pyrex-0.9.8.4/Pyrex/Distutils/extension.py
|
||||
@@ -15,7 +15,7 @@ except ImportError:
|
||||
warnings = None
|
||||
|
||||
class Extension(_Extension.Extension):
|
||||
- _Extension.Extension.__doc__ + \
|
||||
+ _Extension.Extension.__doc__ or "" + \
|
||||
"""pyrex_include_dirs : [string]
|
||||
list of directories to search for Pyrex header files (.pxd) (in
|
||||
Unix form for portability)
|
||||
@@ -0,0 +1,13 @@
|
||||
SUMMARY = "Abseil Python Common Libraries"
|
||||
HOMEPAGE = "https://github.com/abseil/abseil-py"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
SRC_URI[sha256sum] = "d2c244d01048ba476e7c080bd2c6df5e141d211de80223460d5b3b8a2a58433d"
|
||||
|
||||
PYPI_PACKAGE = "absl-py"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,14 @@
|
||||
SUMMARY = "Advanced Enumerations library"
|
||||
HOMEPAGE = "https://pypi.org/project/aenum/"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://aenum/LICENSE;md5=c6a85477543f8b8591b9c1f82abebbe9"
|
||||
|
||||
SRC_URI[sha256sum] = "3e531c91860a81f885f7e6e97d219ae9772cb899580084788935dad7d9742ef0"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-pprint \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,17 @@
|
||||
SUMMARY = "Simple DNS resolver for asyncio"
|
||||
DESCRIPTION = "aiodns provides a simple way for doing asynchronous DNS resolutions using pycares."
|
||||
HOMEPAGE = "https://github.com/saghul/aiodns"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=a565d8b5d06b9620968a135a2657b093"
|
||||
|
||||
SRC_URI[md5sum] = "181e11935c78965de2b2b7b0e5efba8d"
|
||||
SRC_URI[sha256sum] = "946bdfabe743fceeeb093c8a010f5d1645f708a241be849e17edfb0e49e08cd6"
|
||||
|
||||
PYPI_PACKAGE = "aiodns"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${PYTHON_PN}-asyncio \
|
||||
${PYTHON_PN}-pycares \
|
||||
"
|
||||
@@ -0,0 +1,15 @@
|
||||
SUMMARY = "File support for asyncio"
|
||||
DESCRIPTION = "Asynchronous local file IO library for asyncio and Python"
|
||||
HOMEPAGE = "https://github.com/aio-libs/aiohttp"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
|
||||
|
||||
SRC_URI[sha256sum] = "edd247df9a19e0db16534d4baaf536d6609a43e1de5401d7a4c1c148753a1635"
|
||||
|
||||
PYPI_PACKAGE = "aiofiles"
|
||||
|
||||
inherit pypi python_poetry_core
|
||||
|
||||
RDEPENDS:${PN} = "\
|
||||
${PYTHON_PN}-asyncio \
|
||||
"
|
||||
@@ -0,0 +1,15 @@
|
||||
SUMMARY = "jinja2 template renderer for aiohttp.web (http server for asyncio)"
|
||||
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=29dca541e03964615590ca7b50392d97"
|
||||
|
||||
SRC_URI[sha256sum] = "8d149b2a57d91f794b33a394ea5bc66b567f38c74a5a6a9477afc2450f105c01"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${PYTHON_PN}-jinja2 \
|
||||
${PYTHON_PN}-aiohttp \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,27 @@
|
||||
SUMMARY = "Async http client/server framework"
|
||||
DESCRIPTION = "Asynchronous HTTP client/server framework for asyncio and Python"
|
||||
HOMEPAGE = "https://github.com/aio-libs/aiohttp"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=748073912af33aa59430d3702aa32d41"
|
||||
|
||||
SRC_URI[sha256sum] = "bf2e1a9162c1e441bf805a1fd166e249d574ca04e03b34f97e2928769e91ab5c"
|
||||
|
||||
PYPI_PACKAGE = "aiohttp"
|
||||
inherit python_setuptools_build_meta pypi
|
||||
|
||||
RDEPENDS:${PN} = "\
|
||||
${PYTHON_PN}-async-timeout \
|
||||
${PYTHON_PN}-attrs \
|
||||
${PYTHON_PN}-chardet \
|
||||
${PYTHON_PN}-html \
|
||||
${PYTHON_PN}-idna-ssl \
|
||||
${PYTHON_PN}-json \
|
||||
${PYTHON_PN}-misc \
|
||||
${PYTHON_PN}-multidict \
|
||||
${PYTHON_PN}-netserver \
|
||||
${PYTHON_PN}-typing-extensions \
|
||||
${PYTHON_PN}-yarl \
|
||||
${PYTHON_PN}-cchardet \
|
||||
${PYTHON_PN}-charset-normalizer \
|
||||
${PYTHON_PN}-aiosignal \
|
||||
"
|
||||
@@ -0,0 +1,16 @@
|
||||
DESCRIPTION = "Asynchronous library to control Philips Hue"
|
||||
HOMEPAGE = "https://pypi.org/project/aiohue/"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=dab31a1d28183826937f4b152143a33f"
|
||||
|
||||
SRC_URI[sha256sum] = "069af6bb0a7d34d566538af57cc10fb691ee04f844204e4f67d95a57f0b91a46"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${PYTHON_PN}-aiohttp \
|
||||
${PYTHON_PN}-asyncio-throttle \
|
||||
${PYTHON_PN}-profile \
|
||||
${PYTHON_PN}-awesomeversion \
|
||||
"
|
||||
@@ -0,0 +1,17 @@
|
||||
DESCRIPTION = "An asynchronous serial port library for Python"
|
||||
HOMEPAGE = "https://github.com/changyuheng/aioserial.py"
|
||||
SECTION = "devel/python"
|
||||
|
||||
LICENSE = "MPL-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=650b9179efef1ea560df5c08bc32b494"
|
||||
|
||||
PYPI_PACKAGE = "aioserial"
|
||||
|
||||
SRC_URI[sha256sum] = "702bf03b0eb84b8ef2d8dac5cb925e1e685dce98f77b125569bc6fd2b3b58228"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-core \
|
||||
${PYTHON_PN}-pyserial \
|
||||
"
|
||||
@@ -0,0 +1,14 @@
|
||||
SUMMARY = "A list of registered asynchronous callbacks"
|
||||
HOMEPAGE = "https://github.com/aio-libs/aiosignal"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c"
|
||||
|
||||
SRC_URI[sha256sum] = "54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
RDEPENDS:${PN} = "\
|
||||
${PYTHON_PN}-frozenlist \
|
||||
"
|
||||
@@ -0,0 +1,19 @@
|
||||
DESCRIPTION = "A database migration tool for SQLAlchemy"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3023b042cb6002cb398344b51c67093"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
SRC_URI[sha256sum] = "457eafbdc0769d855c2c92cbafe6b7f319f916c80cf4ed02b8f394f38b51b89d"
|
||||
|
||||
PYPI_PACKAGE = "alembic"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-dateutil \
|
||||
${PYTHON_PN}-editor \
|
||||
${PYTHON_PN}-mako \
|
||||
${PYTHON_PN}-sqlalchemy \
|
||||
${PYTHON_PN}-misc \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,20 @@
|
||||
DESCRPTION = "ansi2html - Convert text with ANSI color codes to HTML or to LaTeX"
|
||||
HOMEPAGE = "https://github.com/ralphbean/ansi2html"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3000208d539ec061b899bce1d9ce9404"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
|
||||
PYPI_PACKAGE = "ansi2html"
|
||||
|
||||
SRC_URI[sha256sum] = "38b82a298482a1fa2613f0f9c9beb3db72a8f832eeac58eb2e47bf32cd37f6d5"
|
||||
|
||||
inherit pypi python_setuptools_build_meta
|
||||
|
||||
DEPENDS += " \
|
||||
${PYTHON_PN}-setuptools-scm-native \
|
||||
${PYTHON_PN}-setuptools-scm-git-archive-native \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
${PYTHON_PN}-six \
|
||||
${PYTHON_PN}-compression \
|
||||
"
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pytest -o log_cli=true -o log_cli_level=INFO test.py| sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
|
||||
@@ -0,0 +1,24 @@
|
||||
DESCRIPTION = "Add ANSI colors and decorations to your strings"
|
||||
|
||||
LICENSE = "ISC"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=aef5566ac4fede9815eccf124c281317"
|
||||
|
||||
SRC_URI[sha256sum] = "99f94f5e3348a0bcd43c82e5fc4414013ccc19d70bd939ad71e0133ce9c372e0"
|
||||
|
||||
PYPI_PACKAGE_EXT = "zip"
|
||||
|
||||
inherit pypi setuptools3 ptest
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
cp -f ${S}/test/test.py ${D}${PTEST_PATH}/
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,11 @@
|
||||
SUMMARY = "ANTLR runtime for Python"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=ab3c64dc056e158882a9a6b35a2f4a6e"
|
||||
|
||||
SRC_URI[sha256sum] = "0a8b82f55032734f43ed6b60b8a48c25754721a75cd714eb1fe9ce6ed418b361"
|
||||
|
||||
PYPI_PACKAGE = "antlr4-python3-runtime"
|
||||
|
||||
inherit pypi python_setuptools_build_meta
|
||||
|
||||
BBCLASSEXTEND = "nativesdk native"
|
||||
@@ -0,0 +1,29 @@
|
||||
From 4fb61d7c621599b0db9c2c45f4243f07936c5953 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 13 Oct 2021 08:20:00 -0700
|
||||
Subject: [PATCH] setup.py: Do not use 2to3
|
||||
|
||||
This helps compiling with setuptools 0.58+
|
||||
and it seems to compile fine with python3
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
setup.py | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 9fe4902..f2098e1 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -2,8 +2,6 @@ import os
|
||||
import sys
|
||||
|
||||
extra = {}
|
||||
-if sys.version_info >= (3, 0):
|
||||
- extra.update(use_2to3=True)
|
||||
|
||||
try:
|
||||
from setuptools import setup, find_packages
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pytest | sed -e 's/\[100%\]//g' | sed -e 's/\.\.F/: FAIL/g' | sed -e 's/\.\.\./: PASS/g'
|
||||
@@ -0,0 +1,21 @@
|
||||
SUMMARY = "A small Python module for determining appropriate + platform-specific dirs, e.g. a user data dir."
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "d6bca12613174185dd9abc8a29f4f012"
|
||||
SRC_URI[sha256sum] = "7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"
|
||||
|
||||
inherit pypi setuptools3 ptest
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/test
|
||||
cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
SUMMARY = "Apply values to optional params"
|
||||
HOMEPAGE = "https://github.com/bcb/apply_defaults"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=c89120516900f96f4c60d35fdc4c3f15"
|
||||
|
||||
PYPI_PACKAGE = "apply_defaults"
|
||||
|
||||
SRC_URI[sha256sum] = "3773de3491b94c0fe44310f1a85888389cdc71e1544b343bce0d2bd6991acea5"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += "python3-core"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "Argcomplete provides easy, extensible command line tab completion of arguments for your Python script."
|
||||
HOMEPAGE = "https://github.com/kislyuk/argcomplete"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2ee41112a44fe7014dce33e26468ba93"
|
||||
|
||||
SRC_URI[sha256sum] = "fe3ce77125f434a0dd1bffe5f4643e64126d5731ce8d173d36f62fa43d6eb6f7"
|
||||
|
||||
PYPI_PACKAGE = "argcomplete"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-core \
|
||||
${PYTHON_PN}-io \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
SUMMARY = "Expose your Python functions to the command line with one easy step!"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=ea70b07c354e36056bd35e17c9c3face"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
SRC_URI[md5sum] = "448635948823309312ea9f70b30b6c2d"
|
||||
SRC_URI[sha256sum] = "61f9ae9322e38ae64996848421afbdb018239a99c4e796fe064f172d6c98c3bf"
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
RDEPENDS:${PN} += "\
|
||||
python3-dynamic-dispatch \
|
||||
python3-typeguard \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,14 @@
|
||||
SUMMARY = "Pattern matching and various utilities for file systems paths."
|
||||
|
||||
LICENSE = "LGPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=cede70b648dcc81baf5b431d38905bad"
|
||||
|
||||
SRC_URI[sha256sum] = "e9535b8c84dc9571a48999094fda7f33e63c3f1b74f3e5f3ac0105a58405bb65"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${PYTHON_PN}-logging \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,17 @@
|
||||
SUMMARY = "Arpeggio is a recursive descent parser with memoization based on PEG grammars (aka Packrat parser)"
|
||||
HOMEPAGE = "https://pypi.org/project/Arpeggio/"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=33b8d1ba459a2fa4d801acfd1d1b7ceb"
|
||||
|
||||
SRC_URI[sha256sum] = "d6b03839019bb8a68785f9292ee6a36b1954eb84b925b84a6b8a5e1e26d3ed3d"
|
||||
|
||||
PYPI_PACKAGE = "Arpeggio"
|
||||
inherit pypi setuptools3
|
||||
|
||||
# setup.py of Arpeggio needs this.
|
||||
DEPENDS += "\
|
||||
${PYTHON_PN}-pytest-runner-native \
|
||||
${PYTHON_PN}-wheel-native \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,9 @@
|
||||
SUMMARY = "Draws ASCII trees."
|
||||
HOMEPAGE = "http://github.com/mbr/asciitree"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=a985ccb0df374f2a8cab75010bf8db73"
|
||||
|
||||
SRC_URI[md5sum] = "2570b31e563b69da1aff54509db8ac6a"
|
||||
SRC_URI[sha256sum] = "4aa4b9b649f85e3fcb343363d97564aa1fb62e249677f2e18a96765145cc0f6e"
|
||||
|
||||
inherit pypi setuptools3
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
|
||||
@@ -0,0 +1,29 @@
|
||||
DESCRIPTION = "ASGI is a standard for Python asynchronous web apps and servers to communicate with each other, and positioned as an asynchronous successor to WSGI."
|
||||
HOMEPAGE = "https://pypi.org/project/asgiref/"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
|
||||
|
||||
SRC_URI += "file://run-ptest \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "9567dfe7bd8d3c8c892227827c41cce860b368104c3431da67a0c5a65a949506"
|
||||
|
||||
export BUILD_SYS
|
||||
export HOST_SYS
|
||||
|
||||
inherit pypi ptest setuptools3
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
${PYTHON_PN}-asyncio \
|
||||
${PYTHON_PN}-io \
|
||||
${PYTHON_PN}-multiprocessing \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
@@ -0,0 +1,32 @@
|
||||
# Copyright (C) 2021 Khem Raj <raj.khem@gmail.com>
|
||||
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||
|
||||
SUMMARY = "An aspect-oriented programming, monkey-patch and decorators library."
|
||||
DESCRIPTION = " It is useful when changing behavior in existing code is desired. \
|
||||
It includes tools for debugging and testing: simple mock/record and a complete capture/replay framework."
|
||||
HOMEPAGE = "https://github.com/ionelmc/python-aspectlib"
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=80721ace117fd1f814049ecb81c6be76"
|
||||
|
||||
SRC_URI[sha256sum] = "a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92"
|
||||
|
||||
inherit ptest pypi setuptools3
|
||||
|
||||
SRC_URI += "file://run-ptest \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
|
||||
RDEPENDS:${PN}-ptest += "\
|
||||
python3-process-tests \
|
||||
python3-pytest \
|
||||
python3-tornado \
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} += "python3-core python3-fields"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,36 @@
|
||||
From 1a477968593a14ee9c8597c1ed4e8b61a7731e15 Mon Sep 17 00:00:00 2001
|
||||
From: Mingli Yu <mingli.yu@windriver.com>
|
||||
Date: Wed, 23 Dec 2020 02:23:13 +0000
|
||||
Subject: [PATCH] rtrip.py: convert to python3
|
||||
|
||||
As Python 2 reached end of life (EOL), so convert rtrip.py to python3.
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/berkerpeksag/astor/pull/192]
|
||||
|
||||
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
|
||||
---
|
||||
astor/rtrip.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/astor/rtrip.py b/astor/rtrip.py
|
||||
index 8b108e7..e2e30a6 100755
|
||||
--- a/astor/rtrip.py
|
||||
+++ b/astor/rtrip.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/env python
|
||||
+#! /usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Part of the astor library for Python AST manipulation.
|
||||
@@ -160,7 +160,7 @@ def usage(msg):
|
||||
|
||||
Usage:
|
||||
|
||||
- python -m astor.rtrip [readonly] [<source>]
|
||||
+ python3 -m astor.rtrip [readonly] [<source>]
|
||||
|
||||
|
||||
This utility tests round-tripping of Python source to AST
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
SUMMARY = "Easy manipulation of Python source via the AST."
|
||||
HOMEPAGE = "https://github.com/berkerpeksag/astor"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=561205fdabc3ec52cae2d30815b8ade7"
|
||||
|
||||
SRC_URI = "git://github.com/berkerpeksag/astor.git;branch=master;protocol=https \
|
||||
file://0001-rtrip.py-convert-to-python3.patch \
|
||||
"
|
||||
SRCREV ?= "c7553c79f9222e20783fe9bd8a553f932e918072"
|
||||
|
||||
inherit setuptools3
|
||||
PIP_INSTALL_PACKAGE = "astor"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,35 @@
|
||||
SUMMARY = "An abstract syntax tree for Python with inference support."
|
||||
HOMEPAGE = "https://pypi.python.org/pypi/astroid"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1"
|
||||
|
||||
SRC_URI[sha256sum] = "af4e0aff46e2868218502789898269ed95b663fba49e65d91c1e09c966266c34"
|
||||
|
||||
inherit pypi python_setuptools_build_meta
|
||||
|
||||
DEPENDS += "\
|
||||
${PYTHON_PN}-pytest-runner-native \
|
||||
${PYTHON_PN}-wheel-native \
|
||||
"
|
||||
|
||||
PACKAGES =+ "${PN}-tests"
|
||||
|
||||
FILES:${PN}-tests += " \
|
||||
${PYTHON_SITEPACKAGES_DIR}/astroid/test* \
|
||||
${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}:class-target += "\
|
||||
${PYTHON_PN}-distutils \
|
||||
${PYTHON_PN}-lazy-object-proxy \
|
||||
${PYTHON_PN}-logging \
|
||||
${PYTHON_PN}-six \
|
||||
${PYTHON_PN}-wrapt \
|
||||
${PYTHON_PN}-setuptools \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-tests:class-target += "\
|
||||
${PYTHON_PN}-unittest \
|
||||
${PYTHON_PN}-xml \
|
||||
"
|
||||
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "The asttokens module annotates Python abstract syntax trees (ASTs)"
|
||||
HOMEPAGE = "https://github.com/gristlabs/asttokens"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
|
||||
|
||||
PYPI_PACKAGE = "asttokens"
|
||||
|
||||
inherit pypi python_setuptools_build_meta
|
||||
|
||||
SRC_URI[sha256sum] = "4622110b2a6f30b77e1473affaa97e711bc2f07d3f10848420ff1898edbe94f3"
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${PYTHON_PN}-six \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "asyncio-compatible timeout context manager"
|
||||
DESCRIPTION = "\
|
||||
The context manager is useful in cases when you want to apply \
|
||||
timeout logic around block of code or in cases when asyncio.wait_for() \
|
||||
is not suitable. Also it's much faster than asyncio.wait_for() because \
|
||||
timeout doesn't create a new task."
|
||||
HOMEPAGE = "https://github.com/aio-libs/async-timeout"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=4fa41f15bb5f23b6d3560c5845eb8d57"
|
||||
|
||||
SRC_URI[sha256sum] = "7d87a4e8adba8ededb52e579ce6bc8276985888913620c935094c2276fd83382"
|
||||
|
||||
PYPI_PACKAGE = "async-timeout"
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} = "\
|
||||
${PYTHON_PN}-asyncio \
|
||||
"
|
||||
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "asyncio-compatible timeout context manager"
|
||||
DESCRIPTION = "\
|
||||
The context manager is useful in cases when you want to apply \
|
||||
timeout logic around block of code or in cases when asyncio.wait_for() \
|
||||
is not suitable. Also it's much faster than asyncio.wait_for() because \
|
||||
timeout doesn't create a new task."
|
||||
HOMEPAGE = "https://github.com/aio-libs/async-timeout"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=4fa41f15bb5f23b6d3560c5845eb8d57"
|
||||
|
||||
SRC_URI[sha256sum] = "2163e1640ddb52b7a8c80d0a67a08587e5d245cc9c553a74a847056bc2976b15"
|
||||
|
||||
PYPI_PACKAGE = "async-timeout"
|
||||
inherit pypi python_setuptools_build_meta
|
||||
|
||||
RDEPENDS:${PN} = "\
|
||||
${PYTHON_PN}-asyncio \
|
||||
"
|
||||
@@ -0,0 +1,15 @@
|
||||
SUMMARY = "A simple optionally-async python inotify library, focused on simplicity of use and operation, and leveraging modern Python features"
|
||||
HOMEPAGE = "https://gitlab.com/Taywee/asyncinotify"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec941a1cd6616454970d03cb9c9e8f8"
|
||||
|
||||
SRC_URI[sha256sum] = "da812bf2be6a76aac6670b766eec4564d9484da6595d3ce1f9bba8ba78c30445"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-asyncio \
|
||||
python3-core \
|
||||
python3-ctypes \
|
||||
python3-io \
|
||||
"
|
||||
@@ -0,0 +1,11 @@
|
||||
SUMMARY = "An implementation of the Python 3 asyncio event loop on top of GLib"
|
||||
AUTHOR = "James Henstridge"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"
|
||||
|
||||
inherit setuptools3 pypi
|
||||
|
||||
SRC_URI[md5sum] = "60153055e76ceaacdfbaeafb03d61dd9"
|
||||
SRC_URI[sha256sum] = "fe3ceb2ba5f541330c07ca1bd7ae792468d625bad1acf5354a3a7a0b9fd87521"
|
||||
|
||||
RDEPENDS:${PN} += "python3-asyncio python3-pygobject"
|
||||
@@ -0,0 +1,9 @@
|
||||
DESCRIPTION = "Simple, easy-to-use throttler for asyncio."
|
||||
HOMEPAGE = "https://github.com/hallazzang/asyncio-throttle"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=c7906e56b70808e1ade6ca05e0bb48d5"
|
||||
|
||||
SRC_URI[sha256sum] = "2675282e99d9129ecc446f917e174bc205c65e36c602aa18603b4948567fcbd4"
|
||||
|
||||
inherit pypi setuptools3
|
||||
@@ -0,0 +1,8 @@
|
||||
DESCRIPTION = "Simple decorator to set attributes of target function or class in a DRY way"
|
||||
HOMEPAGE = "https://github.com/denis-ryzhkov/attr"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=02c113fb406eab0537c0cf4334f57c07"
|
||||
|
||||
SRC_URI[sha256sum] = "1ceebca768181cdcce9827611b1d728e592be5d293911539ea3d0b0bfa1146f4"
|
||||
|
||||
inherit pypi setuptools3
|
||||
@@ -0,0 +1,23 @@
|
||||
DESCRIPTION = "WebSocket client & server library, WAMP real-time framework"
|
||||
HOMEPAGE = "http://crossbar.io/autobahn"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3e2c2c2cc2915edc5321b0e6b1d3f5f8"
|
||||
|
||||
SRC_URI[sha256sum] = "c5ef8ca7422015a1af774a883b8aef73d4954c9fcd182c9b5244e08e973f7c3a"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${PYTHON_PN}-twisted \
|
||||
${PYTHON_PN}-zopeinterface \
|
||||
${PYTHON_PN}-py-ubjson \
|
||||
${PYTHON_PN}-cbor2 \
|
||||
${PYTHON_PN}-u-msgpack-python \
|
||||
${PYTHON_PN}-lz4 \
|
||||
${PYTHON_PN}-snappy \
|
||||
${PYTHON_PN}-pyopenssl \
|
||||
${PYTHON_PN}-txaio \
|
||||
${PYTHON_PN}-six \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,16 @@
|
||||
DESCRIPTION = "Self-service finite-state machines for the programmer on the go"
|
||||
HOMEPAGE = "https://github.com/glyph/Automat"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477"
|
||||
|
||||
SRC_URI[sha256sum] = "e56beb84edad19dcc11d30e8d9b895f75deeb5ef5e96b84a467066b3b84bb04e"
|
||||
|
||||
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
|
||||
|
||||
PYPI_PACKAGE = "Automat"
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
${PYTHON_PN}-attrs \
|
||||
${PYTHON_PN}-six \
|
||||
"
|
||||
@@ -0,0 +1,11 @@
|
||||
DESCRIPTION = "One version package to rule them all, One version package to find them, One version package to bring them all, and in the darkness bind them."
|
||||
HOMEPAGE = "https://pypi.org/project/awesomeversion/"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENCE.md;md5=92622b5a8e216099be741d78328bae5d"
|
||||
|
||||
SRC_URI[sha256sum] = "2f4190d333e81e10b2a4e156150ddb3596f5f11da67e9d51ba39057aa7a17f7e"
|
||||
|
||||
RDEPENDS:${PN} += "python3-profile python3-logging"
|
||||
|
||||
inherit pypi setuptools3
|
||||
@@ -0,0 +1,29 @@
|
||||
From 36f8106535150b970c75e8b8456ebc5a7d1dbdb3 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 2 Mar 2022 11:11:01 -0800
|
||||
Subject: [PATCH] setup.py: Use setuptools instead of distutils
|
||||
|
||||
distutils is deprecated and will be gone in 3.12+
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/aws/aws-iot-device-sdk-python/pull/305]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
setup.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 3846bae..d0c2b8d 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -3,7 +3,7 @@ sys.path.insert(0, 'AWSIoTPythonSDK')
|
||||
import AWSIoTPythonSDK
|
||||
currentVersion = AWSIoTPythonSDK.__version__
|
||||
|
||||
-from distutils.core import setup
|
||||
+from setuptools import setup
|
||||
setup(
|
||||
name = 'AWSIoTPythonSDK',
|
||||
packages=['AWSIoTPythonSDK', 'AWSIoTPythonSDK.core',
|
||||
--
|
||||
2.35.1
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user