From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f193.google.com (mail-il1-f193.google.com [209.85.166.193]) by mx.groups.io with SMTP id smtpd.web12.5807.1587934255502886877 for ; Sun, 26 Apr 2020 13:50:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NVkBYj0b; spf=pass (domain: gmail.com, ip: 209.85.166.193, mailfrom: ticotimo@gmail.com) Received: by mail-il1-f193.google.com with SMTP id f82so14766223ilh.8 for ; Sun, 26 Apr 2020 13:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=wm3XWNfNCc0wl5A8Paobt1x6BfrTYTIdXkJYycvKzq8=; b=NVkBYj0bFz5dv35W0Aeyjac3gKGQDUoSWYKCfxuK1xMZotaVAYZmWgx62x/DsBayc+ FKPDfvLLK4LYfFRIJjl9hRmRsawKrLRBbmhU1XkitOWmhzkMOESDlqE0/tUtpcYGigiw TMWzc2bBbkcWOjGqDUO2O7rTlm6zNwTuBX7J4jd7epYtHD1I+eUs+Mh3x/8IPvXS9PGx /nHqvADl9+n20xCM8Ji4460LYV1l+Qthd1DbJgEZ0DYXVgnx1+I32wIldM9KIe5vk7Xt tapDGkrhpyHEq5SNUfFp4vCnrHHHSp2lkTdX3xpllPtJ7T7qs13HqEAPSZVln2t7wW/p NSsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=wm3XWNfNCc0wl5A8Paobt1x6BfrTYTIdXkJYycvKzq8=; b=eVLjEwHKStoqJUWygLIV8+tVJA/2k0s1NzGf1p04mXogikC4VXfQzJAKA17fDJqVUR aswZWeh068vS0hnq3NK4i9n7uqoiHjdPKG0mtlGNo0JKmQIHaXvAduUYRG9LekWw9CU3 1/T/XOPPyQjoWrYBMrG9tRrrDcaMeAvu+hHinaSnKSuMHxIo0MOb3UBr5j3jjMeYBpud xQP8V6Mkr4IWLh8LzddhT53NVh5cDK1zvTNOXpms/SfRYm9yTTu3LnlrGxbiAUeS2CB2 YOml8ENeWyjalOBm6mxmXmz+9Vs9FWy0vnEnYxNU9OaLS56H7397CXHRPOGOnsfcU1c8 i8cA== X-Gm-Message-State: AGi0PuYG86oTaoK2a0vFIl+ajVrJmWEu25Pj1BqDFvCj/gYcAm7OehgN l8/EIw1CAPAIxZfuOQmEXHI0k1uC3AGSXQrw6uk= X-Google-Smtp-Source: APiQypI4DMFQw+jl5vHVT/FC7Y4eF/lSzfDMH7KJioH6TecysPe1Bd7IPrHSO8L5AdPoDbHBuRQg/sL+StjDEuj9GjM= X-Received: by 2002:a92:1b91:: with SMTP id f17mr18202659ill.142.1587934254797; Sun, 26 Apr 2020 13:50:54 -0700 (PDT) MIME-Version: 1.0 References: <16094BCD2252299B.10056@lists.openembedded.org> In-Reply-To: <16094BCD2252299B.10056@lists.openembedded.org> From: "Tim Orling" Date: Sun, 26 Apr 2020 13:50:44 -0700 Message-ID: Subject: Re: [oe] [meta-python][PATCH 1/2] python3-cryptography: merge bb and inc To: Khem Raj , openembedded-devel@lists.openembedded.org Content-Type: multipart/alternative; boundary="0000000000002f171705a437c12b" --0000000000002f171705a437c12b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable For some reason patchwork didn=E2=80=99t pick up these two patches On Sat, Apr 25, 2020 at 11:48 PM Tim Orling via lists.openembedded.org wrote: > From: Tim Orling > > Drop python-cryptography/ not used anywhere. > > Signed-off-by: Tim Orling > --- > .../python/python-cryptography.inc | 58 ------------------ > .../python/python-cryptography/run-ptest | 2 - > .../python/python3-cryptography_2.8.bb | 61 ++++++++++++++++++- > 3 files changed, 59 insertions(+), 62 deletions(-) > delete mode 100644 > meta-python/recipes-devtools/python/python-cryptography.inc > delete mode 100644 > meta-python/recipes-devtools/python/python-cryptography/run-ptest > > diff --git a/meta-python/recipes-devtools/python/python-cryptography.inc > b/meta-python/recipes-devtools/python/python-cryptography.inc > deleted file mode 100644 > index 5acd02d67d..0000000000 > --- a/meta-python/recipes-devtools/python/python-cryptography.inc > +++ /dev/null > @@ -1,58 +0,0 @@ > -SUMMARY =3D "Provides cryptographic recipes and primitives to python > developers" > -HOMEPAGE =3D "https://cryptography.io/" > -LICENSE =3D "Apache-2.0 | BSD" > -LIC_FILES_CHKSUM =3D "file://LICENSE;md5=3D097f805837700cfac572ac274cd3= 8124" > - > -LDSHARED +=3D "-pthread" > - > -DEPENDS +=3D " \ > - ${PYTHON_PN}-cffi \ > - ${PYTHON_PN}-cffi-native \ > - ${PYTHON_PN}-asn1crypto \ > - ${PYTHON_PN}-six \ > -" > - > -SRC_URI[md5sum] =3D "77730058b556c6d9838679a94c6229ce" > -SRC_URI[sha256sum] =3D > "3cda1f0ed8747339bbdf71b9f38ca74c7b592f24f65cdb3ab3765e4b02871651" > - > -RDEPENDS_${PN} +=3D " \ > - ${PYTHON_PN}-cffi \ > - ${PYTHON_PN}-idna \ > - ${PYTHON_PN}-asn1crypto \ > - ${PYTHON_PN}-setuptools \ > - ${PYTHON_PN}-six \ > -" > - > -RDEPENDS_${PN}_class-target +=3D " \ > - ${PYTHON_PN}-cffi \ > - ${PYTHON_PN}-idna \ > - ${PYTHON_PN}-numbers \ > - ${PYTHON_PN}-asn1crypto \ > - ${PYTHON_PN}-setuptools \ > - ${PYTHON_PN}-six \ > - ${PYTHON_PN}-threading \ > -" > - > -RDEPENDS_${PN}-ptest +=3D " \ > - ${PN} \ > - ${PYTHON_PN}-cryptography-vectors \ > - ${PYTHON_PN}-iso8601 \ > - ${PYTHON_PN}-pretend \ > - ${PYTHON_PN}-pytest \ > - ${PYTHON_PN}-pytz \ > -" > - > -inherit ptest > - > -do_install_ptest() { > - install -d ${D}${PTEST_PATH}/tests > - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ > - install -d ${D}${PTEST_PATH}/tests/hazmat > - cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/ > -} > - > -FILES_${PN}-dbg +=3D " \ > - > ${libdir}/${PYTHON_PN}2.7/site-packages/${SRCNAME}/hazmat/bindings/.debu= g \ > -" > - > -BBCLASSEXTEND =3D "native nativesdk" > diff --git > a/meta-python/recipes-devtools/python/python-cryptography/run-ptest > b/meta-python/recipes-devtools/python/python-cryptography/run-ptest > deleted file mode 100644 > index 0ba239c2a4..0000000000 > --- a/meta-python/recipes-devtools/python/python-cryptography/run-ptest > +++ /dev/null > @@ -1,2 +0,0 @@ > -#!/bin/sh > -py.test > diff --git a/meta-python/recipes-devtools/python/ > python3-cryptography_2.8.bb b/meta-python/recipes-devtools/python/ > python3-cryptography_2.8.bb > index 195923343b..c75dabb974 100644 > --- a/meta-python/recipes-devtools/python/python3-cryptography_2.8.bb > +++ b/meta-python/recipes-devtools/python/python3-cryptography_2.8.bb > @@ -1,8 +1,65 @@ > -inherit pypi setuptools3 > -require python-cryptography.inc > +SUMMARY =3D "Provides cryptographic recipes and primitives to python > developers" > +HOMEPAGE =3D "https://cryptography.io/" > +SECTION =3D "devel/python" > +LICENSE =3D "Apache-2.0 | BSD" > +LIC_FILES_CHKSUM =3D "file://LICENSE;md5=3D097f805837700cfac572ac274cd3= 8124" > > LDSHARED +=3D "-pthread" > > +SRC_URI[md5sum] =3D "77730058b556c6d9838679a94c6229ce" > +SRC_URI[sha256sum] =3D > "3cda1f0ed8747339bbdf71b9f38ca74c7b592f24f65cdb3ab3765e4b02871651" > + > SRC_URI +=3D " \ > file://run-ptest \ > " > + > +inherit pypi setuptools3 > + > +DEPENDS +=3D " \ > + ${PYTHON_PN}-cffi \ > + ${PYTHON_PN}-cffi-native \ > + ${PYTHON_PN}-asn1crypto \ > + ${PYTHON_PN}-six \ > +" > + > +RDEPENDS_${PN} +=3D " \ > + ${PYTHON_PN}-cffi \ > + ${PYTHON_PN}-idna \ > + ${PYTHON_PN}-asn1crypto \ > + ${PYTHON_PN}-setuptools \ > + ${PYTHON_PN}-six \ > +" > + > +RDEPENDS_${PN}_class-target +=3D " \ > + ${PYTHON_PN}-cffi \ > + ${PYTHON_PN}-idna \ > + ${PYTHON_PN}-numbers \ > + ${PYTHON_PN}-asn1crypto \ > + ${PYTHON_PN}-setuptools \ > + ${PYTHON_PN}-six \ > + ${PYTHON_PN}-threading \ > +" > + > +RDEPENDS_${PN}-ptest +=3D " \ > + ${PN} \ > + ${PYTHON_PN}-cryptography-vectors \ > + ${PYTHON_PN}-iso8601 \ > + ${PYTHON_PN}-pretend \ > + ${PYTHON_PN}-pytest \ > + ${PYTHON_PN}-pytz \ > +" > + > +inherit ptest > + > +do_install_ptest() { > + install -d ${D}${PTEST_PATH}/tests > + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ > + install -d ${D}${PTEST_PATH}/tests/hazmat > + cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/ > +} > + > +FILES_${PN}-dbg +=3D " \ > + > ${libdir}/${PYTHON_PN}2.7/site-packages/${SRCNAME}/hazmat/bindings/.debu= g \ > +" > + > +BBCLASSEXTEND =3D "native nativesdk" > -- > 2.25.0 > >=20 > --0000000000002f171705a437c12b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
For some=C2=A0reason patchwork didn=E2=80=99t pick u= p these two patches

On Sat, Apr 25, 2020 at 11:48 PM Tim Orling = via lists.openembedded.org &l= t;ticotimo=3Dgmail.com@= lists.openembedded.org> wrote:
From: Tim Orling <ticotimo@gmail.com>

Drop python-cryptography/ not used anywhere.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
---
=C2=A0.../python/python-cryptography.inc=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 | 58 ------------------
=C2=A0.../python/python-cryptography/run-ptest=C2=A0 =C2=A0 =C2=A0 |=C2=A0= 2 -
=C2=A0.../python/python3-cryptography_2.8.bb=C2=A0 =C2=A0 =C2= = =A0 =C2=A0 | 61 ++++++++++++++++++-
=C2=A03 files changed, 59 insertions(+), 62 deletions(-)
=C2=A0delete mode 100644 meta-python/recipes-devtools/python/python-crypto= graphy.inc
=C2=A0delete mode 100644 meta-python/recipes-devtools/python/python-crypto= graphy/run-ptest

diff --git a/meta-python/recipes-devtools/python/python-cryptography.inc b= /meta-python/recipes-devtools/python/python-cryptography.inc
deleted file mode 100644
index 5acd02d67d..0000000000
--- a/meta-python/recipes-devtools/python/python-cryptography.inc
+++ /dev/null
@@ -1,58 +0,0 @@
-SUMMARY =3D "Provides cryptographic recipes and primitives to python= developers"
-HOMEPAGE =3D "https://cryptography.io/"
-LICENSE =3D "Apache-2.0 | BSD"
-LIC_FILES_CHKSUM =3D "file://LICENSE;md5=3D097f805837700cfac572ac274= cd38124"
-
-LDSHARED +=3D "-pthread"
-
-DEPENDS +=3D " \
-=C2=A0 =C2=A0 ${PYTHON_PN}-cffi \
-=C2=A0 =C2=A0 ${PYTHON_PN}-cffi-native \
-=C2=A0 =C2=A0 ${PYTHON_PN}-asn1crypto \
-=C2=A0 =C2=A0 ${PYTHON_PN}-six \
-"
-
-SRC_URI[md5sum] =3D "77730058b556c6d9838679a94c6229ce"
-SRC_URI[sha256sum] =3D "3cda1f0ed8747339bbdf71b9f38ca74c7b592f24f65c= db3ab3765e4b02871651"
-
-RDEPENDS_${PN} +=3D " \
-=C2=A0 =C2=A0 ${PYTHON_PN}-cffi \
-=C2=A0 =C2=A0 ${PYTHON_PN}-idna \
-=C2=A0 =C2=A0 ${PYTHON_PN}-asn1crypto \
-=C2=A0 =C2=A0 ${PYTHON_PN}-setuptools \
-=C2=A0 =C2=A0 ${PYTHON_PN}-six \
-"
-
-RDEPENDS_${PN}_class-target +=3D " \
-=C2=A0 =C2=A0 ${PYTHON_PN}-cffi \
-=C2=A0 =C2=A0 ${PYTHON_PN}-idna \
-=C2=A0 =C2=A0 ${PYTHON_PN}-numbers \
-=C2=A0 =C2=A0 ${PYTHON_PN}-asn1crypto \
-=C2=A0 =C2=A0 ${PYTHON_PN}-setuptools \
-=C2=A0 =C2=A0 ${PYTHON_PN}-six \
-=C2=A0 =C2=A0 ${PYTHON_PN}-threading \
-"
-
-RDEPENDS_${PN}-ptest +=3D " \
-=C2=A0 =C2=A0 ${PN} \
-=C2=A0 =C2=A0 ${PYTHON_PN}-cryptography-vectors \
-=C2=A0 =C2=A0 ${PYTHON_PN}-iso8601 \
-=C2=A0 =C2=A0 ${PYTHON_PN}-pretend \
-=C2=A0 =C2=A0 ${PYTHON_PN}-pytest \
-=C2=A0 =C2=A0 ${PYTHON_PN}-pytz \
-"
-
-inherit ptest
-
-do_install_ptest() {
-=C2=A0 =C2=A0 install -d ${D}${PTEST_PATH}/tests
-=C2=A0 =C2=A0 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-=C2=A0 =C2=A0 install -d ${D}${PTEST_PATH}/tests/hazmat
-=C2=A0 =C2=A0 cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/<= br> -}
-
-FILES_${PN}-dbg +=3D " \
-=C2=A0 =C2=A0 ${libdir}/${PYTHON_PN}2.7/site-packages/${SRCNAME}/hazmat/b= indings/.debug \
-"
-
-BBCLASSEXTEND =3D "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-cryptography/run-p= test b/meta-python/recipes-devtools/python/python-cryptography/run-ptest deleted file mode 100644
index 0ba239c2a4..0000000000
--- a/meta-python/recipes-devtools/python/python-cryptography/run-ptest +++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-py.test
diff --git a/meta-python/recipes-devtools/python/python3-cryptogr= aphy_2.8.bb b/meta-python/recipes-devtools/python/python3-cryp= tography_2.8.bb
index 195923343b..c75dabb974 100644
--- a/meta-python/recipes-devtools/python/python3-cryptography_2.= 8.bb
+++ b/meta-python/recipes-devtools/python/python3-cryptography_2.= 8.bb
@@ -1,8 +1,65 @@
-inherit pypi setuptools3
-require python-cryptography.inc
+SUMMARY =3D "Provides cryptographic recipes and primitives to python= developers"
+HOMEPAGE =3D "https://cryptography.io/"
+SECTION =3D "devel/python"
+LICENSE =3D "Apache-2.0 | BSD"
+LIC_FILES_CHKSUM =3D "file://LICENSE;md5=3D097f805837700cfac572ac274= cd38124"

=C2=A0LDSHARED +=3D "-pthread"

+SRC_URI[md5sum] =3D "77730058b556c6d9838679a94c6229ce"
+SRC_URI[sha256sum] =3D "3cda1f0ed8747339bbdf71b9f38ca74c7b592f24f65c= db3ab3765e4b02871651"
+
=C2=A0SRC_URI +=3D " \
=C2=A0 =C2=A0 =C2=A0file://run-ptest \
=C2=A0"
+
+inherit pypi setuptools3
+
+DEPENDS +=3D " \
+=C2=A0 =C2=A0 ${PYTHON_PN}-cffi \
+=C2=A0 =C2=A0 ${PYTHON_PN}-cffi-native \
+=C2=A0 =C2=A0 ${PYTHON_PN}-asn1crypto \
+=C2=A0 =C2=A0 ${PYTHON_PN}-six \
+"
+
+RDEPENDS_${PN} +=3D " \
+=C2=A0 =C2=A0 ${PYTHON_PN}-cffi \
+=C2=A0 =C2=A0 ${PYTHON_PN}-idna \
+=C2=A0 =C2=A0 ${PYTHON_PN}-asn1crypto \
+=C2=A0 =C2=A0 ${PYTHON_PN}-setuptools \
+=C2=A0 =C2=A0 ${PYTHON_PN}-six \
+"
+
+RDEPENDS_${PN}_class-target +=3D " \
+=C2=A0 =C2=A0 ${PYTHON_PN}-cffi \
+=C2=A0 =C2=A0 ${PYTHON_PN}-idna \
+=C2=A0 =C2=A0 ${PYTHON_PN}-numbers \
+=C2=A0 =C2=A0 ${PYTHON_PN}-asn1crypto \
+=C2=A0 =C2=A0 ${PYTHON_PN}-setuptools \
+=C2=A0 =C2=A0 ${PYTHON_PN}-six \
+=C2=A0 =C2=A0 ${PYTHON_PN}-threading \
+"
+
+RDEPENDS_${PN}-ptest +=3D " \
+=C2=A0 =C2=A0 ${PN} \
+=C2=A0 =C2=A0 ${PYTHON_PN}-cryptography-vectors \
+=C2=A0 =C2=A0 ${PYTHON_PN}-iso8601 \
+=C2=A0 =C2=A0 ${PYTHON_PN}-pretend \
+=C2=A0 =C2=A0 ${PYTHON_PN}-pytest \
+=C2=A0 =C2=A0 ${PYTHON_PN}-pytz \
+"
+
+inherit ptest
+
+do_install_ptest() {
+=C2=A0 =C2=A0 install -d ${D}${PTEST_PATH}/tests
+=C2=A0 =C2=A0 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+=C2=A0 =C2=A0 install -d ${D}${PTEST_PATH}/tests/hazmat
+=C2=A0 =C2=A0 cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/<= br> +}
+
+FILES_${PN}-dbg +=3D " \
+=C2=A0 =C2=A0 ${libdir}/${PYTHON_PN}2.7/site-packages/${SRCNAME}/hazmat/b= indings/.debug \
+"
+
+BBCLASSEXTEND =3D "native nativesdk"
--
2.25.0


--0000000000002f171705a437c12b--