[oe-commits] [meta-openembedded] 28/84: python-snimpy: refactor to use pypi class

git at git.openembedded.org git at git.openembedded.org
Wed Nov 15 17:36:27 UTC 2017


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

armin_kuster pushed a commit to branch master-next
in repository meta-openembedded.

commit ac80fc77ccb536205f9237a8260f9d036978682a
Author: Derek Straka <derek at asterius.io>
AuthorDate: Wed Nov 1 13:36:56 2017 -0400

    python-snimpy: refactor to use pypi class
    
    Signed-off-by: Derek Straka <derek at asterius.io>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-python/recipes-devtools/python/python-snimpy_0.8.11.bb | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-snimpy_0.8.11.bb b/meta-python/recipes-devtools/python/python-snimpy_0.8.11.bb
index cbdc6bd..e0747b7 100644
--- a/meta-python/recipes-devtools/python/python-snimpy_0.8.11.bb
+++ b/meta-python/recipes-devtools/python/python-snimpy_0.8.11.bb
@@ -3,21 +3,15 @@ DESCRIPTION = "Snimpy is a Python-based tool providing a simple interface to bui
 HOMEPAGE = "https://pypi.python.org/pypi/snimpy"
 SECTION = "devel/python"
 
-DEPENDS = "libsmi python-cffi-native python-vcversioner-native"
+DEPENDS += "libsmi python-cffi-native python-vcversioner-native"
 
 LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://docs/license.rst;md5=7c53ab2d1240828625c3e093d049d4f4"
 
-SRCNAME = "snimpy"
-
-SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
-
 SRC_URI[md5sum] = "7f6270ce2e7206df165602e66d5ceb96"
 SRC_URI[sha256sum] = "10410614c7bff1053ca65bd760ce919f1a074f4988b857df4c57cf35847922b0"
 
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit setuptools
+inherit pypi setuptools
 
 RDEPENDS_${PN} = "python-cffi \
                   python-pycparser \

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


More information about the Openembedded-commits mailing list