[oe-commits] Michael 'Mickey' Lauer : python-dateutil: split out zoneinfo subpackage

GIT User account git at amethyst.openembedded.net
Wed Apr 22 18:53:23 UTC 2009


Module: openembedded.git
Branch: fso/milestone5.5
Commit: d02b2d551e15a565d99b11b03b6d259b31f6f17b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d02b2d551e15a565d99b11b03b6d259b31f6f17b

Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date:   Wed Apr 22 18:46:38 2009 +0000

python-dateutil: split out zoneinfo subpackage
also add to task-python-everything

---

 recipes/python/python-dateutil_1.4.1.bb |   10 ++++++----
 recipes/tasks/task-python-everything.bb |    3 ++-
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/recipes/python/python-dateutil_1.4.1.bb b/recipes/python/python-dateutil_1.4.1.bb
index e2b57cd..204c48d 100644
--- a/recipes/python/python-dateutil_1.4.1.bb
+++ b/recipes/python/python-dateutil_1.4.1.bb
@@ -3,16 +3,18 @@ HOMEPAGE = "http://labix.org/python-dateutil"
 SECTION = "devel/python"
 PRIORITY = "optional"
 LICENSE = "PSF"
-SRCNAME = "python-dateutil"
-PR = "0"
+SRCNAME = "${PN}"
+PR = "r1"
 
 SRC_URI = "http://labix.org/download/python-dateutil/${SRCNAME}-${PV}.tar.gz"
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit setuptools
 
-RDEPENDS = "\
+PACKAGES =+ "${PN}-zoneinfo"
+FILES_${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo"
+
+RDEPENDS_${PN} = "\
   python-core \
   python-datetime \
 "
-
diff --git a/recipes/tasks/task-python-everything.bb b/recipes/tasks/task-python-everything.bb
index 47fe227..a800262 100644
--- a/recipes/tasks/task-python-everything.bb
+++ b/recipes/tasks/task-python-everything.bb
@@ -2,7 +2,7 @@ DESCRIPTION= "Everything Python"
 HOMEPAGE = "http://www.vanille.de/projects/python.spy"
 LICENSE = "MIT"
 PV = "2.6"
-PR = "ml40"
+PR = "ml41"
 
 RDEPENDS = "\
   python-ao \
@@ -10,6 +10,7 @@ RDEPENDS = "\
   python-connexion \
   python-constraint \
   python-daap \
+  python-dateutil \
   python-dbus \
   python-dialog \
   python-docutils \





More information about the Openembedded-commits mailing list