From 1ae31787167240729a78a442a378ef354583c012 Mon Sep 17 00:00:00 2001 From: Andrey Zhizhikin Date: Mon, 20 Jan 2020 20:17:49 +0000 Subject: meta-python: rename python2 recipes to python3 eqiuvalent Rename recipes which were previously built with python2 to their python3 equivalents. Use new python3 classes (setuptools3) in those recipes. Signed-off-by: Andrey Zhizhikin Signed-off-by: Khem Raj --- .../recipes-extended/python-cson/python-cson_git.bb | 21 --------------------- .../python-cson/python3-cson_git.bb | 21 +++++++++++++++++++++ .../python-pyephem/python-pyephem_3.7.7.0.bb | 17 ----------------- .../python-pyephem/python3-pyephem_3.7.7.0.bb | 17 +++++++++++++++++ 4 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 meta-python/recipes-extended/python-cson/python-cson_git.bb create mode 100644 meta-python/recipes-extended/python-cson/python3-cson_git.bb delete mode 100644 meta-python/recipes-extended/python-pyephem/python-pyephem_3.7.7.0.bb create mode 100644 meta-python/recipes-extended/python-pyephem/python3-pyephem_3.7.7.0.bb (limited to 'meta-python/recipes-extended') diff --git a/meta-python/recipes-extended/python-cson/python-cson_git.bb b/meta-python/recipes-extended/python-cson/python-cson_git.bb deleted file mode 100644 index efb338cf28..0000000000 --- a/meta-python/recipes-extended/python-cson/python-cson_git.bb +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (C) 2015 Khem Raj -# Released under the MIT license (see COPYING.MIT for the terms) - -DESCRIPTION = "Python library for CSON (schema-compressed JSON)" -HOMEPAGE = "https://github.com/gt3389b/python-cson/" -LICENSE = "MIT" -SECTION = "devel/python" -LIC_FILES_CHKSUM = "file://LICENSE;md5=7709d2635e63ab96973055a23c2a4cac" - -SRCREV = "f3f2898c44bb16b951d3e9f2fbf6d1c4158edda2" -SRC_URI = "git://github.com/gt3389b/python-cson.git" - -S = "${WORKDIR}/git" - -RDEPENDS_${PN}_class-native = "" -DEPENDS_append_class-native = " python-native " - -inherit setuptools - -BBCLASSEXTEND = "native" - diff --git a/meta-python/recipes-extended/python-cson/python3-cson_git.bb b/meta-python/recipes-extended/python-cson/python3-cson_git.bb new file mode 100644 index 0000000000..5c74c7a307 --- /dev/null +++ b/meta-python/recipes-extended/python-cson/python3-cson_git.bb @@ -0,0 +1,21 @@ +# Copyright (C) 2015 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Python library for CSON (schema-compressed JSON)" +HOMEPAGE = "https://github.com/gt3389b/python-cson/" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7709d2635e63ab96973055a23c2a4cac" + +SRCREV = "f3f2898c44bb16b951d3e9f2fbf6d1c4158edda2" +SRC_URI = "git://github.com/gt3389b/python-cson.git" + +S = "${WORKDIR}/git" + +RDEPENDS_${PN}_class-native = "" +DEPENDS_append_class-native = " python-native " + +inherit setuptools3 + +BBCLASSEXTEND = "native" + diff --git a/meta-python/recipes-extended/python-pyephem/python-pyephem_3.7.7.0.bb b/meta-python/recipes-extended/python-pyephem/python-pyephem_3.7.7.0.bb deleted file mode 100644 index 422f0dbc43..0000000000 --- a/meta-python/recipes-extended/python-pyephem/python-pyephem_3.7.7.0.bb +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "PyEphem astronomical calculations" -HOMEPAGE = "http://rhodesmill.org/pyephem/" - -LICENSE = "LGPL-3.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=f288303760f6e5ceaafe3aaa32186ab1" - -SRC_URI[md5sum] = "46c035b4a903ff26e0d8ad0f1fe6cc35" -SRC_URI[sha256sum] = "607148429f85412915e32265779c0cf6d09f73aa97cf1ff0d101ac22c69c4436" - -PYPI_PACKAGE = "ephem" - -inherit pypi setuptools - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-math \ - " diff --git a/meta-python/recipes-extended/python-pyephem/python3-pyephem_3.7.7.0.bb b/meta-python/recipes-extended/python-pyephem/python3-pyephem_3.7.7.0.bb new file mode 100644 index 0000000000..38b3c0a4f8 --- /dev/null +++ b/meta-python/recipes-extended/python-pyephem/python3-pyephem_3.7.7.0.bb @@ -0,0 +1,17 @@ +SUMMARY = "PyEphem astronomical calculations" +HOMEPAGE = "http://rhodesmill.org/pyephem/" + +LICENSE = "LGPL-3.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=f288303760f6e5ceaafe3aaa32186ab1" + +SRC_URI[md5sum] = "46c035b4a903ff26e0d8ad0f1fe6cc35" +SRC_URI[sha256sum] = "607148429f85412915e32265779c0cf6d09f73aa97cf1ff0d101ac22c69c4436" + +PYPI_PACKAGE = "ephem" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-math \ + " -- cgit v1.2.3-54-g00ecf