[oe-commits] [openembedded-core] 20/21: python3-iniparse: use pypi.bbclass

git at git.openembedded.org git at git.openembedded.org
Sun Dec 10 22:52:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 4bdd665a103d044646e2c5a5ba4d0303dd347bef
Author: Tim Orling <timothy.t.orling at linux.intel.com>
AuthorDate: Mon Nov 27 20:09:17 2017 -0800

    python3-iniparse: use pypi.bbclass
    
    * Simplify recipe using pypi.bbclass
    
    Signed-off-by: Tim Orling <timothy.t.orling at linux.intel.com>
---
 meta/recipes-devtools/python/python3-iniparse_0.4.bb | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-iniparse_0.4.bb b/meta/recipes-devtools/python/python3-iniparse_0.4.bb
index f51ce64..7ab9fe3 100644
--- a/meta/recipes-devtools/python/python3-iniparse_0.4.bb
+++ b/meta/recipes-devtools/python/python3-iniparse_0.4.bb
@@ -4,17 +4,14 @@ LICENSE = "MIT & PSF"
 LIC_FILES_CHKSUM = "file://LICENSE-PSF;md5=1c78a5bb3584b353496d5f6f34edb4b2 \
                     file://LICENSE;md5=52f28065af11d69382693b45b5a8eb54"
 
-SRC_URI = "https://files.pythonhosted.org/packages/source/i/iniparse/iniparse-${PV}.tar.gz \
-           file://0001-Add-python-3-compatibility.patch "
+SRC_URI = "file://0001-Add-python-3-compatibility.patch"
 SRC_URI[md5sum] = "5e573e9e9733d97623881ce9bbe5eca6"
 SRC_URI[sha256sum] = "abc1ee12d2cfb2506109072d6c21e40b6c75a3fe90a9c924327d80bc0d99c054"
-UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/iniparse/"
 
-inherit distutils3
+inherit pypi distutils3
 
-RDEPENDS_${PN} += "python3-core python3-six"
 DEPENDS += "python3-six"
 
-BBCLASSEXTEND = "native nativesdk"
+RDEPENDS_${PN} += "python3-core python3-six"
 
-S = "${WORKDIR}/iniparse-${PV}"
+BBCLASSEXTEND = "native nativesdk"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list