Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta python merge #467

Closed
wants to merge 9 commits into from
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"

inherit pypi setuptools3

SRC_URI[sha256sum] = "646d9399c3c478fe475cfe523e84572ab31a340814ea977fb2774eca5a6549a2"
SRC_URI[sha256sum] = "dca67b5e369a5127ec00c8ea02de48517e39c1aad882e2e6d85da8050520cab6"

RDEPENDS:${PN} += "\
${PYTHON_PN}-asyncio \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/googleapis/google-api-python-client"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"

SRC_URI[sha256sum] = "659e9955f0f1e02fcce5dec85622eb5af1807572ef0f09c49d68d8426da670e7"
SRC_URI[sha256sum] = "07e6fdfc489a452d79c5efdc4cc2d5cfd7f7aa207dec82786bfcc436b208e027"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7b9bbbb543b6af3e6b53f9b7fb68f71d"


SRC_URI[md5sum] = "d22757338542e3742a335cea6210e419"
SRC_URI[sha256sum] = "52ddbaeca2dccf53ba2d6dec5676ca7bc3b2403ef8b37f7da78b7654bb3e10f0"
SRC_URI[sha256sum] = "1fbf909bac3f07faabd05a3f71b3c49428709c3c55f43770a3f76e0eb1b525d1"

inherit pypi setuptools3

Expand Down
18 changes: 18 additions & 0 deletions meta-python/recipes-devtools/python/python3-marshmallow_3.14.0.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
SUMMARY = "Simplified object serialization in python"
DESCRIPTION = "Marshmallow is an ORM/ODM/framework-agnostic library for converting complex datatypes, such as objects, to and from native Python datatypes."
AUTHOR = "Marius Kriegerowski <mk@quakesaver.net>"
HOMEPAGE = "https://github.com/marshmallow-code/marshmallow"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "\
file://LICENSE;md5=5bccd400dedfa74364481e56aacc0b4a \
file://docs/license.rst;md5=13da439ad060419fb7cf364523017cfb"

SRC_URI = "git://github.com/marshmallow-code/marshmallow.git;protocol=https;branch=dev"

SRCREV = "df4f8119111362180838d66cd7364812fa9df81d"

S = "${WORKDIR}/git"

inherit setuptools3

RDEPENDS:${PN} += "python3-core"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=19e8f490f9526b1de8

inherit pypi setuptools3

SRC_URI[sha256sum] = "1c9bb40503751087300dd12ce2e90899d68628977905c76effc48e66d089391e"
SRC_URI[sha256sum] = "6a1dc6584d24ef86f5b104bcad64fa0fe06ed36e5687f426e0445d363a041d18"

# http://errors.yoctoproject.org/Errors/Details/184715/
# Can't find required file: ../src/google/protobuf/descriptor.proto
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SRC_URI = "git://github.com/pybind/pybind11.git \
file://0001-Do-not-strip-binaries.patch \
file://0001-Do-not-check-pointer-size-when-cross-compiling.patch \
"
SRCREV = "65e95ea8675ea34bdd566d6461330f25c651e5a8"
SRCREV = "f7b499615e14d70ab098a20deb0cdb3889998a1a"

S = "${WORKDIR}/git"

Expand Down
3 changes: 3 additions & 0 deletions meta-python/recipes-devtools/python/python3-pycparser_2.20.bb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ RDEPENDS:${PN}:class-target += "\
${PYTHON_PN}-netclient \
${PYTHON_PN}-ply \
${PYTHON_PN}-pprint \
"

RSUGGESTS:${PN}:class-target += "\
cpp \
cpp-symlinks \
"
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4b802d2a65df4626623c79757f486af9"

PYPI_PACKAGE = "qrcode"
SRC_URI[sha256sum] = "d72861b65e26b611609f0547f0febe58aed8ae229d6bf4e675834f40742915b3"
SRC_URI[sha256sum] = "375a6ff240ca9bd41adc070428b5dfc1dcfbb0f2507f1ac848f6cded38956578"

inherit pypi setuptools3

Expand Down
24 changes: 0 additions & 24 deletions meta-python/recipes-devtools/python/python3-smpplib_2.1.0.bb

This file was deleted.

30 changes: 30 additions & 0 deletions meta-python/recipes-devtools/python/python3-smpplib_2.2.0.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
SUMMARY = "SMPP library for python"
SECTION = "devel/python"
LICENSE = "GPLv3.0"
LIC_FILES_CHKSUM = "file://README.md;md5=8b4e2ac8cf248f7b991784f88b630852"

PYPI_PACKAGE = "smpplib"
SRC_URI[sha256sum] = "3d513178a35573f66faac4ef2127c4bd73307ddb463d145b17b013cf709d9ddd"

inherit pypi setuptools3 ptest

SRC_URI += " \
file://run-ptest \
"

RDEPENDS:${PN} += " \
${PYTHON_PN}-logging \
${PYTHON_PN}-six \
"

RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \
${PYTHON_PN}-unittest \
${PYTHON_PN}-profile \
${PYTHON_PN}-mock \
"

do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/smpplib/tests/* ${D}${PTEST_PATH}/tests/
}