All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization] [PATCH] python-pysqlite: Remove recipe
@ 2020-12-15  7:09 zangrc
  2020-12-15  7:09 ` [meta-virtualization] [PATCH] python-futures: " zangrc
  0 siblings, 1 reply; 5+ 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] 5+ messages in thread

* [meta-virtualization] [PATCH] python-futures: Remove recipe
@ 2020-12-15  7:09 ` zangrc
  2020-12-15  7:09   ` [meta-virtualization] [PATCH] python-functools32: " zangrc
  0 siblings, 1 reply; 5+ messages in thread
From: zangrc @ 2020-12-15  7:09 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] 5+ messages in thread

* [meta-virtualization] [PATCH] python-functools32: Remove recipe
@ 2020-12-15  7:09   ` zangrc
  2020-12-21 22:15     ` Bruce Ashfield
  0 siblings, 1 reply; 5+ messages in thread
From: zangrc @ 2020-12-15  7:09 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] 5+ messages in thread

* Re: [meta-virtualization] [PATCH] python-functools32: Remove recipe
  2020-12-15  7:09   ` [meta-virtualization] [PATCH] python-functools32: " zangrc
@ 2020-12-21 22:15     ` Bruce Ashfield
  0 siblings, 0 replies; 5+ messages in thread
From: Bruce Ashfield @ 2020-12-21 22:15 UTC (permalink / raw)
  To: zangrc; +Cc: meta-virtualization

merged.

Bruce

In message: [meta-virtualization] [PATCH] python-functools32: Remove recipe
on 15/12/2020 zangrc wrote:

> 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	[flat|nested] 5+ messages in thread

* [meta-virtualization] [PATCH] python-functools32: Remove recipe
@ 2020-11-17 16:15 zangrc
  0 siblings, 0 replies; 5+ 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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15  7:09 [meta-virtualization] [PATCH] python-pysqlite: Remove recipe zangrc
2020-12-15  7:09 ` [meta-virtualization] [PATCH] python-futures: " zangrc
2020-12-15  7:09   ` [meta-virtualization] [PATCH] python-functools32: " zangrc
2020-12-21 22:15     ` Bruce Ashfield
  -- strict thread matches above, loose matches on Subject: below --
2020-11-17 16:15 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.