From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mail.openembedded.org (Postfix) with ESMTP id 145AE7873D for ; Fri, 8 Dec 2017 22:46:00 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Dec 2017 14:46:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,379,1508828400"; d="scan'208";a="1306971" Received: from wrath.jf.intel.com ([10.54.70.11]) by orsmga008.jf.intel.com with ESMTP; 08 Dec 2017 14:46:01 -0800 From: Tim Orling To: openembedded-core@lists.openembedded.org Date: Fri, 8 Dec 2017 14:45:24 -0800 Message-Id: <9ae171ddc5b7f3d8b8a022be73f031588728b0dc.1512765771.git.timothy.t.orling@linux.intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: References: Subject: [PATCH v2 12/19] python-six: use pypi.bbclass X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2017 22:46:00 -0000 * Simplify python3-six by using pypi.bbclass - Use PYTHON_PN in .inc to avoid duplication in RDEPENDS Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python-six.inc | 8 +++----- meta/recipes-devtools/python/python3-six_1.11.0.bb | 4 +--- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/meta/recipes-devtools/python/python-six.inc b/meta/recipes-devtools/python/python-six.inc index f9e7d6429d0..aeac7e7e9fc 100644 --- a/meta/recipes-devtools/python/python-six.inc +++ b/meta/recipes-devtools/python/python-six.inc @@ -4,13 +4,11 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=35cec5bf04dd0820d0a18533ea7c774a" -SRC_URI = "https://files.pythonhosted.org/packages/source/s/six/six-${PV}.tar.gz" SRC_URI[md5sum] = "d12789f9baf7e9fb2524c0c64f1773f8" SRC_URI[sha256sum] = "70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9" -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/six/" -UPSTREAM_CHECK_REGEX = "/six/(?P(\d+[\.\-_]*)+)" +inherit pypi -BBCLASSEXTEND = "native nativesdk" +RDEPENDS_${PN} += "${PYTHON_PN}-io" -S = "${WORKDIR}/six-${PV}" +BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-six_1.11.0.bb b/meta/recipes-devtools/python/python3-six_1.11.0.bb index 38a47b77ddf..9c41f947625 100644 --- a/meta/recipes-devtools/python/python3-six_1.11.0.bb +++ b/meta/recipes-devtools/python/python3-six_1.11.0.bb @@ -1,4 +1,2 @@ -inherit setuptools3 require python-six.inc - -RDEPENDS_${PN} += "python3-io" +inherit setuptools3 -- 2.13.6