* [meta-virtualization][m-c-s][PATCH 1/3] tox: Add python3 version
@ 2020-02-13 19:48 nathan.hartman
2020-02-13 19:48 ` [meta-virtualization][m-c-s][PATCH 2/3] pep8: " Nathan Hartman
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: nathan.hartman @ 2020-02-13 19:48 UTC (permalink / raw)
To: meta-virtualization; +Cc: Nathan Hartman, Nathan Hartman
From: Nathan Hartman <hnathan918@gmail.com>
Signed-off-by: Nathan Hartman <nathan.hartman@windriver.com>
---
.../{python-tox_1.9.2.bb => python-tox.inc} | 17 +++++++----------
.../python/python3-tox_3.14.3.bb | 5 +++++
2 files changed, 12 insertions(+), 10 deletions(-)
rename meta-openstack/recipes-devtools/python/{python-tox_1.9.2.bb => python-tox.inc} (56%)
create mode 100644 meta-openstack/recipes-devtools/python/python3-tox_3.14.3.bb
diff --git a/meta-openstack/recipes-devtools/python/python-tox_1.9.2.bb b/meta-openstack/recipes-devtools/python/python-tox.inc
similarity index 56%
rename from meta-openstack/recipes-devtools/python/python-tox_1.9.2.bb
rename to meta-openstack/recipes-devtools/python/python-tox.inc
index 8184fb5..66b1355 100644
--- a/meta-openstack/recipes-devtools/python/python-tox_1.9.2.bb
+++ b/meta-openstack/recipes-devtools/python/python-tox.inc
@@ -2,21 +2,18 @@ DESCRIPTION = "virtualenv-based automation of test activities"
HOMEPAGE = "http://tox.testrun.org"
SECTION = "devel/python"
LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2d0fc2c2c954dc4d41043e67d4a8d8e7"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f24505dfbdd8c22c61de6383f2e74bf9"
-SRC_URI[md5sum] = "f4db4d6a82d6a651e457ba55ef370258"
-SRC_URI[sha256sum] = "3125a15da7381f59f835a25bd259a84acb7a69858c81e386c50027bd842bb91b"
-
-inherit setuptools3 pypi
+inherit pypi
DEPENDS += " \
- python-pip \
+ ${PYTHON_PN}-pip \
"
RDEPENDS_${PN} += " \
- python-virtualenv \
- python-py \
- python-pytest \
+ ${PYTHON_PN}-virtualenv \
+ ${PYTHON_PN}-py \
+ ${PYTHON_PN}-pytest \
"
do_install_append() {
@@ -24,7 +21,7 @@ do_install_append() {
install -d ${D}/${sysconfdir}/${SRCNAME}
cp ${S}/tox.ini ${D}/${sysconfdir}/${SRCNAME}
cp ${S}/setup.py ${D}/${sysconfdir}/${SRCNAME}
- cp ${S}/README.rst ${D}/${sysconfdir}/${SRCNAME}
+ cp ${S}/README.md ${D}/${sysconfdir}/${SRCNAME}
ln -s ${PYTHON_SITEPACKAGES_DIR}/tox ${D}/${sysconfdir}/${SRCNAME}/tox
}
diff --git a/meta-openstack/recipes-devtools/python/python3-tox_3.14.3.bb b/meta-openstack/recipes-devtools/python/python3-tox_3.14.3.bb
new file mode 100644
index 0000000..678413a
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-tox_3.14.3.bb
@@ -0,0 +1,5 @@
+inherit setuptools3
+require python-tox.inc
+
+SRC_URI[md5sum] = "8b695d482786dd51643e10953bbd8c89"
+SRC_URI[sha256sum] = "06ba73b149bf838d5cd25dc30c2dd2671ae5b2757cf98e5c41a35fe449f131b3"
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [meta-virtualization][m-c-s][PATCH 2/3] pep8: Add python3 version
2020-02-13 19:48 [meta-virtualization][m-c-s][PATCH 1/3] tox: Add python3 version nathan.hartman
@ 2020-02-13 19:48 ` Nathan Hartman
2020-02-13 19:48 ` [meta-virtualization][m-c-s][PATCH 3/3] mock: " Nathan Hartman
2020-02-27 22:20 ` [meta-virtualization][m-c-s][PATCH 1/3] tox: " Bruce Ashfield
2 siblings, 0 replies; 4+ messages in thread
From: Nathan Hartman @ 2020-02-13 19:48 UTC (permalink / raw)
To: meta-virtualization; +Cc: Nathan Hartman, Nathan Hartman
From: Nathan Hartman <hnathan918@gmail.com>
Signed-off-by: Nathan Hartman <nathan.hartman@windriver.com>
---
.../python/{python-pep8_1.6.2.bb => python-pep8.inc} | 10 +++++-----
.../recipes-devtools/python/python3-pep8_1.7.1.bb | 5 +++++
2 files changed, 10 insertions(+), 5 deletions(-)
rename meta-openstack/recipes-devtools/python/{python-pep8_1.6.2.bb => python-pep8.inc} (58%)
create mode 100644 meta-openstack/recipes-devtools/python/python3-pep8_1.7.1.bb
diff --git a/meta-openstack/recipes-devtools/python/python-pep8_1.6.2.bb b/meta-openstack/recipes-devtools/python/python-pep8.inc
similarity index 58%
rename from meta-openstack/recipes-devtools/python/python-pep8_1.6.2.bb
rename to meta-openstack/recipes-devtools/python/python-pep8.inc
index 7a131d7..959c3d1 100644
--- a/meta-openstack/recipes-devtools/python/python-pep8_1.6.2.bb
+++ b/meta-openstack/recipes-devtools/python/python-pep8.inc
@@ -2,13 +2,13 @@ DESCRIPTION = "Python style guide checker"
HOMEPAGE = "https://github.com/dreamhost/cliff"
SECTION = "devel/python"
LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://README.rst;md5=b0d37793ab91ca25ad5c200e9ea22331"
+LIC_FILES_CHKSUM = "file://README.rst;md5=d8ebbbe831259ce010179d2f310b0f3e"
SRC_URI[md5sum] = "a03bb494859e87b42601b61b1b043a0c"
SRC_URI[sha256sum] = "603a46e5c358ce20ac4807a0eeafac7505d1125a4c1bd8378757ada06f61bed8"
-inherit setuptools3 pypi
+inherit pypi
-RDEPENDS_${PN} += "python-prettytable \
- python-cmd2 \
- python-pyparsing"
\ No newline at end of file
+RDEPENDS_${PN} += "${PYTHON_PN}-prettytable \
+ ${PYTHON_PN}-cmd2 \
+ ${PYTHON_PN}-pyparsing"
\ No newline at end of file
diff --git a/meta-openstack/recipes-devtools/python/python3-pep8_1.7.1.bb b/meta-openstack/recipes-devtools/python/python3-pep8_1.7.1.bb
new file mode 100644
index 0000000..64fd154
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-pep8_1.7.1.bb
@@ -0,0 +1,5 @@
+inherit setuptools3
+require python-pep8.inc
+
+SRC_URI[md5sum] = "603821d06db945c71d811b5a8d78423c"
+SRC_URI[sha256sum] = "fe249b52e20498e59e0b5c5256aa52ee99fc295b26ec9eaa85776ffdb9fe6374"
\ No newline at end of file
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [meta-virtualization][m-c-s][PATCH 3/3] mock: Add python3 version
2020-02-13 19:48 [meta-virtualization][m-c-s][PATCH 1/3] tox: Add python3 version nathan.hartman
2020-02-13 19:48 ` [meta-virtualization][m-c-s][PATCH 2/3] pep8: " Nathan Hartman
@ 2020-02-13 19:48 ` Nathan Hartman
2020-02-27 22:20 ` [meta-virtualization][m-c-s][PATCH 1/3] tox: " Bruce Ashfield
2 siblings, 0 replies; 4+ messages in thread
From: Nathan Hartman @ 2020-02-13 19:48 UTC (permalink / raw)
To: meta-virtualization; +Cc: Nathan Hartman, Nathan Hartman
From: Nathan Hartman <hnathan918@gmail.com>
Signed-off-by: Nathan Hartman <nathan.hartman@windriver.com>
---
.../recipes-devtools/python/python-mock.inc | 14 ++++++++++++++
.../python/python-mock_1.0.1.bb | 17 -----------------
.../python/python3-mock_4.0.1.bb | 5 +++++
3 files changed, 19 insertions(+), 17 deletions(-)
create mode 100644 meta-openstack/recipes-devtools/python/python-mock.inc
delete mode 100644 meta-openstack/recipes-devtools/python/python-mock_1.0.1.bb
create mode 100644 meta-openstack/recipes-devtools/python/python3-mock_4.0.1.bb
diff --git a/meta-openstack/recipes-devtools/python/python-mock.inc b/meta-openstack/recipes-devtools/python/python-mock.inc
new file mode 100644
index 0000000..f05061f
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-mock.inc
@@ -0,0 +1,14 @@
+DESCRIPTION = "A Python Mocking and Patching Library for Testing"
+HOMEPAGE = "https://pypi.python.org/pypi/mock"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e"
+
+inherit pypi
+
+RDEPENDS_${PN} += "${PYTHON_PN}-prettytable \
+ ${PYTHON_PN}-cmd2 \
+ ${PYTHON_PN}-pyparsing \
+ ${PYTHON_PN}-mccabe \
+ ${PYTHON_PN}-pep8 \
+ ${PYTHON_PN}-pyflakes"
diff --git a/meta-openstack/recipes-devtools/python/python-mock_1.0.1.bb b/meta-openstack/recipes-devtools/python/python-mock_1.0.1.bb
deleted file mode 100644
index badb21c..0000000
--- a/meta-openstack/recipes-devtools/python/python-mock_1.0.1.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-DESCRIPTION = "A Python Mocking and Patching Library for Testing"
-HOMEPAGE = "https://pypi.python.org/pypi/mock"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=80e5ba73891255687dff3bee2b4cbb16"
-
-SRC_URI[md5sum] = "c3971991738caa55ec7c356bbc154ee2"
-SRC_URI[sha256sum] = "b839dd2d9c117c701430c149956918a423a9863b48b09c90e30a6013e7d2f44f"
-
-inherit setuptools3 pypi
-
-RDEPENDS_${PN} += "python-prettytable \
- python-cmd2 \
- python-pyparsing \
- python-mccabe \
- python-pep8 \
- python-pyflakes"
diff --git a/meta-openstack/recipes-devtools/python/python3-mock_4.0.1.bb b/meta-openstack/recipes-devtools/python/python3-mock_4.0.1.bb
new file mode 100644
index 0000000..3dcb028
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-mock_4.0.1.bb
@@ -0,0 +1,5 @@
+require python-mock.inc
+inherit setuptools3
+
+SRC_URI[md5sum] = "8f48ba3fd059e7cfad92f8354064adfd"
+SRC_URI[sha256sum] = "2a572b715f09dd2f0a583d8aeb5bb67d7ed7a8fd31d193cf1227a99c16a67bc3"
\ No newline at end of file
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [meta-virtualization][m-c-s][PATCH 1/3] tox: Add python3 version
2020-02-13 19:48 [meta-virtualization][m-c-s][PATCH 1/3] tox: Add python3 version nathan.hartman
2020-02-13 19:48 ` [meta-virtualization][m-c-s][PATCH 2/3] pep8: " Nathan Hartman
2020-02-13 19:48 ` [meta-virtualization][m-c-s][PATCH 3/3] mock: " Nathan Hartman
@ 2020-02-27 22:20 ` Bruce Ashfield
2 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2020-02-27 22:20 UTC (permalink / raw)
To: Nathan Hartman; +Cc: meta-virtualization, Nathan Hartman
Thanks Nathan,
These are now merged.
Bruce
In message: [meta-virtualization][m-c-s][PATCH 1/3] tox: Add python3 version
on 13/02/2020 Nathan Hartman wrote:
> From: Nathan Hartman <hnathan918@gmail.com>
>
> Signed-off-by: Nathan Hartman <nathan.hartman@windriver.com>
> ---
> .../{python-tox_1.9.2.bb => python-tox.inc} | 17 +++++++----------
> .../python/python3-tox_3.14.3.bb | 5 +++++
> 2 files changed, 12 insertions(+), 10 deletions(-)
> rename meta-openstack/recipes-devtools/python/{python-tox_1.9.2.bb => python-tox.inc} (56%)
> create mode 100644 meta-openstack/recipes-devtools/python/python3-tox_3.14.3.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-tox_1.9.2.bb b/meta-openstack/recipes-devtools/python/python-tox.inc
> similarity index 56%
> rename from meta-openstack/recipes-devtools/python/python-tox_1.9.2.bb
> rename to meta-openstack/recipes-devtools/python/python-tox.inc
> index 8184fb5..66b1355 100644
> --- a/meta-openstack/recipes-devtools/python/python-tox_1.9.2.bb
> +++ b/meta-openstack/recipes-devtools/python/python-tox.inc
> @@ -2,21 +2,18 @@ DESCRIPTION = "virtualenv-based automation of test activities"
> HOMEPAGE = "http://tox.testrun.org"
> SECTION = "devel/python"
> LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=2d0fc2c2c954dc4d41043e67d4a8d8e7"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=f24505dfbdd8c22c61de6383f2e74bf9"
>
> -SRC_URI[md5sum] = "f4db4d6a82d6a651e457ba55ef370258"
> -SRC_URI[sha256sum] = "3125a15da7381f59f835a25bd259a84acb7a69858c81e386c50027bd842bb91b"
> -
> -inherit setuptools3 pypi
> +inherit pypi
>
> DEPENDS += " \
> - python-pip \
> + ${PYTHON_PN}-pip \
> "
>
> RDEPENDS_${PN} += " \
> - python-virtualenv \
> - python-py \
> - python-pytest \
> + ${PYTHON_PN}-virtualenv \
> + ${PYTHON_PN}-py \
> + ${PYTHON_PN}-pytest \
> "
>
> do_install_append() {
> @@ -24,7 +21,7 @@ do_install_append() {
> install -d ${D}/${sysconfdir}/${SRCNAME}
> cp ${S}/tox.ini ${D}/${sysconfdir}/${SRCNAME}
> cp ${S}/setup.py ${D}/${sysconfdir}/${SRCNAME}
> - cp ${S}/README.rst ${D}/${sysconfdir}/${SRCNAME}
> + cp ${S}/README.md ${D}/${sysconfdir}/${SRCNAME}
>
> ln -s ${PYTHON_SITEPACKAGES_DIR}/tox ${D}/${sysconfdir}/${SRCNAME}/tox
> }
> diff --git a/meta-openstack/recipes-devtools/python/python3-tox_3.14.3.bb b/meta-openstack/recipes-devtools/python/python3-tox_3.14.3.bb
> new file mode 100644
> index 0000000..678413a
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-tox_3.14.3.bb
> @@ -0,0 +1,5 @@
> +inherit setuptools3
> +require python-tox.inc
> +
> +SRC_URI[md5sum] = "8b695d482786dd51643e10953bbd8c89"
> +SRC_URI[sha256sum] = "06ba73b149bf838d5cd25dc30c2dd2671ae5b2757cf98e5c41a35fe449f131b3"
> --
> 2.20.1
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-02-27 22:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-13 19:48 [meta-virtualization][m-c-s][PATCH 1/3] tox: Add python3 version nathan.hartman
2020-02-13 19:48 ` [meta-virtualization][m-c-s][PATCH 2/3] pep8: " Nathan Hartman
2020-02-13 19:48 ` [meta-virtualization][m-c-s][PATCH 3/3] mock: " Nathan Hartman
2020-02-27 22:20 ` [meta-virtualization][m-c-s][PATCH 1/3] tox: " Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.