Skip to contentSkip to conversation

python-logutils: Add python3 version

PATCH In review Zang Ruochen 2 participants 2 messages Sep 4, 2019 – Sep 5, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-logutils: Add python3 version

---
 .../recipes-devtools/python/python-logutils.inc        | 16 ++++++++++++++++
 .../recipes-devtools/python/python-logutils_0.3.5.bb   | 18 ++----------------
 .../recipes-devtools/python/python3-logutils_0.3.5.bb  |  2 ++
 3 files changed, 20 insertions(+), 16 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-logutils.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb
meta-openstack/recipes-devtools/python/python-logutils.inc new file +16 -0
new file mode 100644
index 0000000..87ab631
@@ -0,0 +1,16 @@
+DESCRIPTION = "Set of handlers for the Python standard library's logging package"
+HOMEPAGE = "https://pypi.python.org/pypi/logutils"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=44c35f0b8e2a27a2f33a4e4a5c65d014"
+
+SRC_URI[md5sum] = "fcd2f8e9217bfa0b580f253b35a9d954"
+SRC_URI[sha256sum] = "bc058a25d5c209461f134e1f03cab637d66a7a5ccc12e593db56fbb279899a82"
+
+inherit pypi
+
+# avoid "error: option --single-version-externally-managed not recognized"
+DISTUTILS_INSTALL_ARGS = "--root=${D} \
+    --prefix=${prefix} \
+    --install-lib=${PYTHON_SITEPACKAGES_DIR} \
+    --install-data=${datadir}"
meta-openstack/recipes-devtools/python/python-logutils_0.3.5.bb +2 -16
index 51177b3..9331a16 100644
@@ -1,16 +1,2 @@
-DESCRIPTION = "Set of handlers for the Python standard library's logging package"
-HOMEPAGE = "https://pypi.python.org/pypi/logutils"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=44c35f0b8e2a27a2f33a4e4a5c65d014"
-
-SRC_URI[md5sum] = "fcd2f8e9217bfa0b580f253b35a9d954"
-SRC_URI[sha256sum] = "bc058a25d5c209461f134e1f03cab637d66a7a5ccc12e593db56fbb279899a82"
-
-inherit setuptools pypi
-
-# avoid "error: option --single-version-externally-managed not recognized"
-DISTUTILS_INSTALL_ARGS = "--root=${D} \
-    --prefix=${prefix} \
-    --install-lib=${PYTHON_SITEPACKAGES_DIR} \
-    --install-data=${datadir}"
+inherit setuptools
+require python-logutils.inc
meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb new file +2 -0
new file mode 100644
index 0000000..4d760e0
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-logutils.inc
Signature · 1 line
2.7.4
#1 lore raw

merged.

Bruce

In message: [meta-virtualization] [PATCH] python-logutils: Add python3 version

Quoted 72 lines · on 04/09/2019 Zang Ruochen wrote:
---
 .../recipes-devtools/python/python-logutils.inc        | 16 ++++++++++++++++
 .../recipes-devtools/python/python-logutils_0.3.5.bb   | 18 ++----------------
 .../recipes-devtools/python/python3-logutils_0.3.5.bb  |  2 ++
 3 files changed, 20 insertions(+), 16 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-logutils.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb
meta-openstack/recipes-devtools/python/python-logutils.inc new file +16 -0
new file mode 100644
index 0000000..87ab631
@@ -0,0 +1,16 @@
+DESCRIPTION = "Set of handlers for the Python standard library's logging package"
+HOMEPAGE = "https://pypi.python.org/pypi/logutils"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=44c35f0b8e2a27a2f33a4e4a5c65d014"
+
+SRC_URI[md5sum] = "fcd2f8e9217bfa0b580f253b35a9d954"
+SRC_URI[sha256sum] = "bc058a25d5c209461f134e1f03cab637d66a7a5ccc12e593db56fbb279899a82"
+
+inherit pypi
+
+# avoid "error: option --single-version-externally-managed not recognized"
+DISTUTILS_INSTALL_ARGS = "--root=${D} \
+    --prefix=${prefix} \
+    --install-lib=${PYTHON_SITEPACKAGES_DIR} \
+    --install-data=${datadir}"
meta-openstack/recipes-devtools/python/python-logutils_0.3.5.bb +2 -16
index 51177b3..9331a16 100644
@@ -1,16 +1,2 @@
-DESCRIPTION = "Set of handlers for the Python standard library's logging package"
-HOMEPAGE = "https://pypi.python.org/pypi/logutils"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=44c35f0b8e2a27a2f33a4e4a5c65d014"
-
-SRC_URI[md5sum] = "fcd2f8e9217bfa0b580f253b35a9d954"
-SRC_URI[sha256sum] = "bc058a25d5c209461f134e1f03cab637d66a7a5ccc12e593db56fbb279899a82"
-
-inherit setuptools pypi
-
-# avoid "error: option --single-version-externally-managed not recognized"
-DISTUTILS_INSTALL_ARGS = "--root=${D} \
-    --prefix=${prefix} \
-    --install-lib=${PYTHON_SITEPACKAGES_DIR} \
-    --install-data=${datadir}"
+inherit setuptools
+require python-logutils.inc
meta-openstack/recipes-devtools/python/python3-logutils_0.3.5.bb new file +2 -0
new file mode 100644
index 0000000..4d760e0
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-logutils.inc
Signature · 9 lines
2.7.4



-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization