[oe-commits] [meta-openembedded] 19/35: python-dateutil: 1.5 -> 2.4.2 and add python3 recipe

git at git.openembedded.org git at git.openembedded.org
Wed Jan 27 11:47:54 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit f065fc98738a46941e559b58361f4b8e060e3a67
Author: Sven Ebenfeld <sven.ebenfeld at gmail.com>
AuthorDate: Fri Jan 22 23:11:43 2016 +0100

    python-dateutil: 1.5 -> 2.4.2 and add python3 recipe
    
    Signed-off-by: Sven Ebenfeld <sven.ebenfeld at gmail.com>
---
 .../recipes-devtools/python/python-dateutil.inc    | 23 ++++++++++++++++++++++
 .../recipes-devtools/python/python-dateutil_1.5.bb | 22 ---------------------
 .../python/python-dateutil_2.4.2.bb                |  2 ++
 .../python/python3-dateutil_2.4.2.bb               |  2 ++
 4 files changed, 27 insertions(+), 22 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-dateutil.inc b/meta-python/recipes-devtools/python/python-dateutil.inc
new file mode 100644
index 0000000..b38c448
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-dateutil.inc
@@ -0,0 +1,23 @@
+SUMMARY = "Extensions to the standard Python datetime module"
+DESCRIPTION = "The dateutil module provides powerful extensions to the datetime module available in the Python standard library."
+HOMEPAGE = "https://dateutil.readthedocs.org"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=51430b33c900f45f999c459ee29ca493"
+PR = "r0"
+
+SRC_URI = "https://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI[md5sum] = "4ef68e1c485b09e9f034e10473e5add2"
+SRC_URI[sha256sum] = "3e95445c1db500a344079a47b171c45ef18f57d188dffdb0e4165c71bea8eb3d"
+
+SRCNAME = "python-dateutil"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+PACKAGES =+ "${PN}-zoneinfo"
+FILES_${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo"
+
+RDEPENDS_${PN} = "\
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-six \
+    "
diff --git a/meta-python/recipes-devtools/python/python-dateutil_1.5.bb b/meta-python/recipes-devtools/python/python-dateutil_1.5.bb
deleted file mode 100644
index 37f19a8..0000000
--- a/meta-python/recipes-devtools/python/python-dateutil_1.5.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-SUMMARY = "Extensions to the standard Python date/time support"
-HOMEPAGE = "http://labix.org/python-dateutil"
-SECTION = "devel/python"
-LICENSE = "PSF"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d82268718c68bda0b091006ec6e583c6"
-SRCNAME = "${BPN}"
-
-SRC_URI = "http://labix.org/download/python-dateutil/${SRCNAME}-${PV}.tar.gz"
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit setuptools
-
-PACKAGES =+ "${PN}-zoneinfo"
-FILES_${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo"
-
-RDEPENDS_${PN} = "\
-    python-core \
-    python-datetime \
-"
-
-SRC_URI[md5sum] = "35f3732db3f2cc4afdc68a8533b60a52"
-SRC_URI[sha256sum] = "c08aca7d85f8f8eed61e83b3423b829262c596a9a78f7ca3de0bcee2217d0e3b"
diff --git a/meta-python/recipes-devtools/python/python-dateutil_2.4.2.bb b/meta-python/recipes-devtools/python/python-dateutil_2.4.2.bb
new file mode 100644
index 0000000..12ae4c3
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-dateutil_2.4.2.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-dateutil.inc
diff --git a/meta-python/recipes-devtools/python/python3-dateutil_2.4.2.bb b/meta-python/recipes-devtools/python/python3-dateutil_2.4.2.bb
new file mode 100644
index 0000000..1d2baf5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-dateutil_2.4.2.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-dateutil.inc

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list