All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization] [PATCH] python-pysqlite: Remove recipe
@ 2020-11-17 16:14     ` zangrc
  2020-11-19 16:10       ` Bruce Ashfield
  0 siblings, 1 reply; 8+ messages in thread
From: zangrc @ 2020-11-17 16:14 UTC (permalink / raw)
  To: meta-virtualization

When I tried to change it to python3, it reported the following error:
| pysqlite is not supported on Python 3. When using Python 3, use the sqlite3 module from the standard library.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 .../python/python-pysqlite_2.6.3.bb           | 22 -------------------
 1 file changed, 22 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb

diff --git a/meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb b/meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb
deleted file mode 100644
index 6b8de00e..00000000
--- a/meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-DESCRIPTION = "DB-API 2.0 interface for SQLite 3.x"
-HOMEPAGE = "http://github.com/ghaering/pysqlite"
-SECTION = "devel/python"
-LICENSE = "Zlib"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a85bd923e5c830f8eb89db354ff72f38"
-
-SRC_URI[md5sum] = "7ff1cedee74646b50117acff87aa1cfa"
-SRC_URI[sha256sum] = "fe9c35216bf56c858b34c4b4c8be7e34566ddef29670e5a5b43f9cb8ecfbb28d"
-
-inherit setuptools3 pypi
-
-FILES_${PN} += "${datadir}/*"
-
-# DEPENDS_default: python-pip
-
-DEPENDS += " \
-        python-pip \
-        "
-
-# RDEPENDS_default: 
-RDEPENDS_${PN} += " \
-        "
-- 
2.25.1




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [meta-virtualization] [PATCH] python-futures: Remove recipe
@ 2020-11-17 16:15   ` zangrc
  2020-11-17 16:14     ` [meta-virtualization] [PATCH] python-pysqlite: " zangrc
  0 siblings, 1 reply; 8+ messages in thread
From: zangrc @ 2020-11-17 16:15 UTC (permalink / raw)
  To: meta-virtualization

| This backport is meant only for Python 2.
| It does not work on Python 3, and Python 3 users do not need it as the concurrent.futures package is available in the standard library.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 .../python/python-futures_git.bb              | 25 -------------------
 1 file changed, 25 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-futures_git.bb

diff --git a/meta-openstack/recipes-devtools/python/python-futures_git.bb b/meta-openstack/recipes-devtools/python/python-futures_git.bb
deleted file mode 100644
index 493aef17..00000000
--- a/meta-openstack/recipes-devtools/python/python-futures_git.bb
+++ /dev/null
@@ -1,25 +0,0 @@
-DESCRIPTION = "Backport of the concurrent.futures package from Python 3.2"
-HOMEPAGE = "https://github.com/agronholm/pythonfutures"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=dd6708d05936d3f6c4e20ed14c87b5e3"
-
-PV = "3.3.0+git${SRCPV}"
-SRCREV = "ec78e222ece60721fc92a6c650df3116cb15d24e"
-
-SRCNAME = "futures"
-SRC_URI = "git://github.com/agronholm/python${SRCNAME}.git"
-
-S = "${WORKDIR}/git"
-
-inherit setuptools3
-
-# DEPENDS_default: python-pip
-
-DEPENDS += " \
-        python-pip \
-        "
-
-# RDEPENDS_default: 
-RDEPENDS_${PN} += " \
-        "
-- 
2.25.1




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [meta-virtualization] [PATCH] python-functools32: Remove recipe
@ 2020-11-17 16:15 ` zangrc
  2020-11-17 16:15   ` [meta-virtualization] [PATCH] python-futures: " zangrc
  0 siblings, 1 reply; 8+ messages in thread
From: zangrc @ 2020-11-17 16:15 UTC (permalink / raw)
  To: meta-virtualization

This is a backport of the functools standard library module from Python 3.2.3 for use on Python 2.7 and PyPy. It includes new features lru_cache (Least-recently-used cache decorator).But the current version of python3 is 3.9.0, so remove this recipe.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 .../python/python-functools32_git.bb          | 30 -------------------
 1 file changed, 30 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-functools32_git.bb

diff --git a/meta-openstack/recipes-devtools/python/python-functools32_git.bb b/meta-openstack/recipes-devtools/python/python-functools32_git.bb
deleted file mode 100644
index 9744b522..00000000
--- a/meta-openstack/recipes-devtools/python/python-functools32_git.bb
+++ /dev/null
@@ -1,30 +0,0 @@
-SUMMARY = "Python higher-order functions and operations on callable objects"
-HOMEPAGE = "https://pypi.python.org/pypi/functools32"
-SECTION = "devel/python"
-LICENSE = "PSFv2"
-
-PV = "3.2.3-2"
-SRCREV = "ad90fa86e2f4f494a3aedb0571274f3bbc6d7ab5"
-
-SRCNAME = "functools32"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=27cf2345969ed18e6730e90fb0063a10"
-SRC_URI = "git://github.com/MiCHiLU/python-${SRCNAME}.git"
-
-S = "${WORKDIR}/git"
-
-inherit distutils3
-
-DISTUTILS_INSTALL_ARGS = "--root=${D} \
-    --prefix=${prefix} \
-    --install-lib=${PYTHON_SITEPACKAGES_DIR} \
-    --install-data=${datadir}"
-
-DEPENDS += " \
-	python-pbr \
-	"
-
-RDEPENDS_${PN} += "python-testtools \
-	python-pbr \
-	"
-
-- 
2.25.1




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [meta-virtualization] [PATCH] python-enum: Remove recipe
@ 2020-11-17 16:15 zangrc
  2020-11-17 16:15 ` [meta-virtualization] [PATCH] python-functools32: " zangrc
  0 siblings, 1 reply; 8+ messages in thread
From: zangrc @ 2020-11-17 16:15 UTC (permalink / raw)
  To: meta-virtualization

Important

Superseded by Python standard library.

Python 3 now has in its standard library an enum implementation (also available for older Python versions as the third-party enum34 distribution) that supersedes this library.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 .../python/python-enum_0.4.4.bb               | 20 -------------------
 1 file changed, 20 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-enum_0.4.4.bb

diff --git a/meta-openstack/recipes-devtools/python/python-enum_0.4.4.bb b/meta-openstack/recipes-devtools/python/python-enum_0.4.4.bb
deleted file mode 100644
index 4eb1ed5a..00000000
--- a/meta-openstack/recipes-devtools/python/python-enum_0.4.4.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-SUMMARY = "Robust enumerated type support in Python"
-DESCRIPTION = "This package provides a module for robust enumerations in Python."
-HOMEPAGE = "https://pypi.python.org/pypi/enum"
-SECTION = "devel/python"
-LICENSE = "GPLv2 | PSFv2"
-LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=4325afd396febcb659c36b49533135d4 \
-                    file://LICENSE.PSF;md5=1ad8a43fc3bbfea1585223c99f4c3e6f \
-"
-
-SRC_URI[md5sum] = "ce75c7c3c86741175a84456cc5bd531e"
-SRC_URI[sha256sum] = "9bdfacf543baf2350df7613eb37f598a802f346985ca0dc1548be6494140fdff"
-
-inherit setuptools3 pypi
-
-DEPENDS += " \
-        python-pip \
-"
-
-RDEPENDS_${PN} += " \
-"
-- 
2.25.1




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [meta-virtualization] [PATCH] python-pysqlite: Remove recipe
  2020-11-17 16:14     ` [meta-virtualization] [PATCH] python-pysqlite: " zangrc
@ 2020-11-19 16:10       ` Bruce Ashfield
  0 siblings, 0 replies; 8+ messages in thread
From: Bruce Ashfield @ 2020-11-19 16:10 UTC (permalink / raw)
  To: zangrc; +Cc: meta-virtualization

merged.

Bruce

In message: [meta-virtualization] [PATCH] python-pysqlite: Remove recipe
on 18/11/2020 zangrc wrote:

> When I tried to change it to python3, it reported the following error:
> | pysqlite is not supported on Python 3. When using Python 3, use the sqlite3 module from the standard library.
> 
> Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
> ---
>  .../python/python-pysqlite_2.6.3.bb           | 22 -------------------
>  1 file changed, 22 deletions(-)
>  delete mode 100644 meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb
> 
> diff --git a/meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb b/meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb
> deleted file mode 100644
> index 6b8de00e..00000000
> --- a/meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb
> +++ /dev/null
> @@ -1,22 +0,0 @@
> -DESCRIPTION = "DB-API 2.0 interface for SQLite 3.x"
> -HOMEPAGE = "http://github.com/ghaering/pysqlite"
> -SECTION = "devel/python"
> -LICENSE = "Zlib"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=a85bd923e5c830f8eb89db354ff72f38"
> -
> -SRC_URI[md5sum] = "7ff1cedee74646b50117acff87aa1cfa"
> -SRC_URI[sha256sum] = "fe9c35216bf56c858b34c4b4c8be7e34566ddef29670e5a5b43f9cb8ecfbb28d"
> -
> -inherit setuptools3 pypi
> -
> -FILES_${PN} += "${datadir}/*"
> -
> -# DEPENDS_default: python-pip
> -
> -DEPENDS += " \
> -        python-pip \
> -        "
> -
> -# RDEPENDS_default: 
> -RDEPENDS_${PN} += " \
> -        "
> -- 
> 2.25.1
> 
> 
> 

> 
> 
> 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-virtualization] [PATCH] python-pysqlite: Remove recipe
       [not found] <16483063CB70B824.5807@lists.yoctoproject.org>
@ 2020-12-08  6:28 ` zangrc
  2020-12-10 21:01   ` Bruce Ashfield
  0 siblings, 1 reply; 8+ messages in thread
From: zangrc @ 2020-12-08  6:28 UTC (permalink / raw)
  To: Zang, Ruochen, meta-virtualization@yoctoproject.org

Ping

Hello, I found that none of the patches submitted on November 17, 2020 have been merged. Do I need to re submit these patches?

> -----Original Message-----
> From: meta-virtualization@lists.yoctoproject.org <meta-
> virtualization@lists.yoctoproject.org> On Behalf Of zangrc
> Sent: Wednesday, November 18, 2020 12:14 AM
> To: meta-virtualization@yoctoproject.org
> Subject: [meta-virtualization] [PATCH] python-pysqlite: Remove recipe
> 
> When I tried to change it to python3, it reported the following error:
> | pysqlite is not supported on Python 3. When using Python 3, use the sqlite3
> module from the standard library.
> 
> Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
> ---
>  .../python/python-pysqlite_2.6.3.bb           | 22 -------------------
>  1 file changed, 22 deletions(-)
>  delete mode 100644 meta-openstack/recipes-devtools/python/python-
> pysqlite_2.6.3.bb
> 
> diff --git a/meta-openstack/recipes-devtools/python/python-
> pysqlite_2.6.3.bb b/meta-openstack/recipes-devtools/python/python-
> pysqlite_2.6.3.bb
> deleted file mode 100644
> index 6b8de00e..00000000
> --- a/meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb
> +++ /dev/null
> @@ -1,22 +0,0 @@
> -DESCRIPTION = "DB-API 2.0 interface for SQLite 3.x"
> -HOMEPAGE = "http://github.com/ghaering/pysqlite"
> -SECTION = "devel/python"
> -LICENSE = "Zlib"
> -LIC_FILES_CHKSUM =
> "file://LICENSE;md5=a85bd923e5c830f8eb89db354ff72f38"
> -
> -SRC_URI[md5sum] = "7ff1cedee74646b50117acff87aa1cfa"
> -SRC_URI[sha256sum] =
> "fe9c35216bf56c858b34c4b4c8be7e34566ddef29670e5a5b43f9cb8ecfbb2
> 8d"
> -
> -inherit setuptools3 pypi
> -
> -FILES_${PN} += "${datadir}/*"
> -
> -# DEPENDS_default: python-pip
> -
> -DEPENDS += " \
> -        python-pip \
> -        "
> -
> -# RDEPENDS_default:
> -RDEPENDS_${PN} += " \
> -        "
> --
> 2.25.1
> 
> 




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-virtualization] [PATCH] python-pysqlite: Remove recipe
  2020-12-08  6:28 ` zangrc
@ 2020-12-10 21:01   ` Bruce Ashfield
  0 siblings, 0 replies; 8+ messages in thread
From: Bruce Ashfield @ 2020-12-10 21:01 UTC (permalink / raw)
  To: zangrc; +Cc: meta-virtualization@yoctoproject.org

They were intended to be merged, and I don't see any in my queue that
I missed, so yes, please re-submit the ones that I missed.

Bruce

On Tue, Dec 8, 2020 at 1:28 AM zangrc <zangrc.fnst@cn.fujitsu.com> wrote:
>
> Ping
>
> Hello, I found that none of the patches submitted on November 17, 2020 have been merged. Do I need to re submit these patches?
>
> > -----Original Message-----
> > From: meta-virtualization@lists.yoctoproject.org <meta-
> > virtualization@lists.yoctoproject.org> On Behalf Of zangrc
> > Sent: Wednesday, November 18, 2020 12:14 AM
> > To: meta-virtualization@yoctoproject.org
> > Subject: [meta-virtualization] [PATCH] python-pysqlite: Remove recipe
> >
> > When I tried to change it to python3, it reported the following error:
> > | pysqlite is not supported on Python 3. When using Python 3, use the sqlite3
> > module from the standard library.
> >
> > Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
> > ---
> >  .../python/python-pysqlite_2.6.3.bb           | 22 -------------------
> >  1 file changed, 22 deletions(-)
> >  delete mode 100644 meta-openstack/recipes-devtools/python/python-
> > pysqlite_2.6.3.bb
> >
> > diff --git a/meta-openstack/recipes-devtools/python/python-
> > pysqlite_2.6.3.bb b/meta-openstack/recipes-devtools/python/python-
> > pysqlite_2.6.3.bb
> > deleted file mode 100644
> > index 6b8de00e..00000000
> > --- a/meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb
> > +++ /dev/null
> > @@ -1,22 +0,0 @@
> > -DESCRIPTION = "DB-API 2.0 interface for SQLite 3.x"
> > -HOMEPAGE = "http://github.com/ghaering/pysqlite"
> > -SECTION = "devel/python"
> > -LICENSE = "Zlib"
> > -LIC_FILES_CHKSUM =
> > "file://LICENSE;md5=a85bd923e5c830f8eb89db354ff72f38"
> > -
> > -SRC_URI[md5sum] = "7ff1cedee74646b50117acff87aa1cfa"
> > -SRC_URI[sha256sum] =
> > "fe9c35216bf56c858b34c4b4c8be7e34566ddef29670e5a5b43f9cb8ecfbb2
> > 8d"
> > -
> > -inherit setuptools3 pypi
> > -
> > -FILES_${PN} += "${datadir}/*"
> > -
> > -# DEPENDS_default: python-pip
> > -
> > -DEPENDS += " \
> > -        python-pip \
> > -        "
> > -
> > -# RDEPENDS_default:
> > -RDEPENDS_${PN} += " \
> > -        "
> > --
> > 2.25.1
> >
> >
>
>
>
>
> 
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [meta-virtualization] [PATCH] python-pysqlite: Remove recipe
@ 2020-12-15  7:09 zangrc
  0 siblings, 0 replies; 8+ messages in thread
From: zangrc @ 2020-12-15  7:09 UTC (permalink / raw)
  To: meta-virtualization

When I tried to change it to python3, it reported the following error:
| pysqlite is not supported on Python 3. When using Python 3, use the sqlite3 module from the standard library.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 .../python/python-pysqlite_2.6.3.bb           | 22 -------------------
 1 file changed, 22 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb

diff --git a/meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb b/meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb
deleted file mode 100644
index 6b8de00e..00000000
--- a/meta-openstack/recipes-devtools/python/python-pysqlite_2.6.3.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-DESCRIPTION = "DB-API 2.0 interface for SQLite 3.x"
-HOMEPAGE = "http://github.com/ghaering/pysqlite"
-SECTION = "devel/python"
-LICENSE = "Zlib"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a85bd923e5c830f8eb89db354ff72f38"
-
-SRC_URI[md5sum] = "7ff1cedee74646b50117acff87aa1cfa"
-SRC_URI[sha256sum] = "fe9c35216bf56c858b34c4b4c8be7e34566ddef29670e5a5b43f9cb8ecfbb28d"
-
-inherit setuptools3 pypi
-
-FILES_${PN} += "${datadir}/*"
-
-# DEPENDS_default: python-pip
-
-DEPENDS += " \
-        python-pip \
-        "
-
-# RDEPENDS_default: 
-RDEPENDS_${PN} += " \
-        "
-- 
2.25.1




^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-12-15  7:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-17 16:15 [meta-virtualization] [PATCH] python-enum: Remove recipe zangrc
2020-11-17 16:15 ` [meta-virtualization] [PATCH] python-functools32: " zangrc
2020-11-17 16:15   ` [meta-virtualization] [PATCH] python-futures: " zangrc
2020-11-17 16:14     ` [meta-virtualization] [PATCH] python-pysqlite: " zangrc
2020-11-19 16:10       ` Bruce Ashfield
     [not found] <16483063CB70B824.5807@lists.yoctoproject.org>
2020-12-08  6:28 ` zangrc
2020-12-10 21:01   ` Bruce Ashfield
  -- strict thread matches above, loose matches on Subject: below --
2020-12-15  7:09 zangrc

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.