All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 3/4] python-efl: Upgrade to 1.8.1 and update packaging to match old packages
Date: Mon, 20 Jan 2014 18:42:36 +0100	[thread overview]
Message-ID: <1390239757-27055-3-git-send-email-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <1390239757-27055-1-git-send-email-Martin.Jansa@gmail.com>

* announcement:
  http://sourceforge.net/mailarchive/message.php?msg_id=31862842
* like in efl recipe create packages matching with old separate recipes

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-efl/recipes-devtools/python/python-efl.inc    | 41 ++++++++++++++++++++--
 .../recipes-devtools/python/python-efl_1.8.0.bb    |  4 ---
 .../recipes-devtools/python/python-efl_1.8.1.bb    |  4 +++
 3 files changed, 43 insertions(+), 6 deletions(-)
 delete mode 100644 meta-efl/recipes-devtools/python/python-efl_1.8.0.bb
 create mode 100644 meta-efl/recipes-devtools/python/python-efl_1.8.1.bb

diff --git a/meta-efl/recipes-devtools/python/python-efl.inc b/meta-efl/recipes-devtools/python/python-efl.inc
index c608bac..cca3562 100644
--- a/meta-efl/recipes-devtools/python/python-efl.inc
+++ b/meta-efl/recipes-devtools/python/python-efl.inc
@@ -12,7 +12,6 @@ DEPENDS = "python-cython-native python-pyrex-native python-numeric eina"
 RDEPENDS_${PN} += "python-lang"
 
 PROVIDES = "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas"
-RPROVIDES_${PN} += "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas"
 
 # necessary to let the call for python-config succeed
 export BUILD_SYS
@@ -27,7 +26,45 @@ SRC_URI = "\
 "
 S = "${WORKDIR}/${SRCNAME}-${SRCVER}"
 
+do_install_append() {
+    # drop all .pyo, pyc files
+    find ${D}${libdir}/${PYTHON_DIR}/site-packages -name \*.pyo -o -name \*.pyc | xargs rm -f
+}
+
+PACKAGES += "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas ${PN}-examples"
+
+FILES_${PN} = " \
+    ${libdir}/${PYTHON_DIR}/site-packages/python_efl*egg-info \
+    ${libdir}/${PYTHON_DIR}/site-packages/efl/eo.so \
+    ${libdir}/${PYTHON_DIR}/site-packages/efl/utils \
+    ${libdir}/${PYTHON_DIR}/site-packages/efl/__init__.py \
+"
 FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*.egg/*/*/.debug"
+FILES_${PN}-dev += "${libdir}/${PYTHON_DIR}/site-packages/*/*.la"
 
-PACKAGES += "${PN}-examples"
 FILES_${PN}-examples = "${datadir}/${PN}/examples"
+
+FILES_python-ecore = " \
+    ${libdir}/${PYTHON_DIR}/site-packages/ecore/ \
+    ${libdir}/${PYTHON_DIR}/site-packages/efl/ecore.so \
+"
+FILES_python-eldbus = " \
+    ${libdir}/${PYTHON_DIR}/site-packages/e_dbus/ \
+    ${libdir}/${PYTHON_DIR}/site-packages/efl/dbus_mainloop.so \
+"
+FILES_python-edje = " \
+    ${libdir}/${PYTHON_DIR}/site-packages/edje/ \
+    ${libdir}/${PYTHON_DIR}/site-packages/efl/edje*so \
+"
+FILES_python-elementary = " \
+    ${libdir}/${PYTHON_DIR}/site-packages/elementary/ \
+    ${libdir}/${PYTHON_DIR}/site-packages/efl/elementary/ \
+"
+FILES_python-emotion = " \
+    ${libdir}/${PYTHON_DIR}/site-packages/emotion/ \
+    ${libdir}/${PYTHON_DIR}/site-packages/efl/emotion.so \
+"
+FILES_python-evas = " \
+    ${libdir}/${PYTHON_DIR}/site-packages/evas/ \
+    ${libdir}/${PYTHON_DIR}/site-packages/efl/evas.so \
+"
diff --git a/meta-efl/recipes-devtools/python/python-efl_1.8.0.bb b/meta-efl/recipes-devtools/python/python-efl_1.8.0.bb
deleted file mode 100644
index a6ae64e..0000000
--- a/meta-efl/recipes-devtools/python/python-efl_1.8.0.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require ${BPN}.inc
-
-SRC_URI[md5sum] = "58a55193caee3c2c74fd962cc17bc9c1"
-SRC_URI[sha256sum] = "8f883c325e30ee3eb2fa38822fa353a22207441b385f4e167cf9c1cf855638f7"
diff --git a/meta-efl/recipes-devtools/python/python-efl_1.8.1.bb b/meta-efl/recipes-devtools/python/python-efl_1.8.1.bb
new file mode 100644
index 0000000..15009f6
--- /dev/null
+++ b/meta-efl/recipes-devtools/python/python-efl_1.8.1.bb
@@ -0,0 +1,4 @@
+require ${BPN}.inc
+
+SRC_URI[md5sum] = "ca71f501c7e0479f15d2746380b0f81d"
+SRC_URI[sha256sum] = "90ea20d0a90448fd1dcd56210bf34cb9a78905852d83620617bf164f1cef5edc"
-- 
1.8.5.3



  parent reply	other threads:[~2014-01-20 17:42 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15 17:17 [meta-efl][WIP][PATCHv2 0/7] Major efl upgrade Martin Jansa
2014-01-15 17:17 ` [meta-efl][WIP][PATCHv2 1/7] meta-efl: Add efl 1.8.4, elementary 1.8.3, terminology 0.4.0 and python-efl 1.8.0 recipes Martin Jansa
2014-01-15 17:17 ` [meta-efl][WIP][PATCHv2 2/7] webkit-efl: Add recipe with snapshot from r159807 Martin Jansa
2014-01-15 17:17 ` [meta-efl][WIP][PATCHv2 3/7] enjoy: Upgrade to version from git Martin Jansa
2014-01-15 17:17 ` [meta-efl][WIP][PATCHv2 4/7] libeflvala: Fix build of tests Martin Jansa
2014-01-15 17:17 ` [meta-efl][WIP][PATCHv2 5/7] eve: bump SRCREV to catch up with edbus2 -> eldbus rename Martin Jansa
2014-01-15 17:17 ` [meta-efl][WIP][PATCHv2 6/7] e-wm: Drop evas-.*-loader.* from RDEPENDS Martin Jansa
2014-01-15 17:17 ` [meta-efl][WIP][PATCHv2 7/7] webkit-efl: Try to disable llint/jit to fix armv[45] build Martin Jansa
2014-01-20 17:42 ` [PATCH 1/4] elementary: Add PACKAGECONFIG for ewebkit and disable it by default Martin Jansa
2014-01-20 17:42   ` [PATCH 2/4] efl: Adjust packaging to match more with old 1.7 separate recipes Martin Jansa
2014-01-22 14:26     ` Otavio Salvador
2014-01-20 17:42   ` Martin Jansa [this message]
2014-01-22 14:28     ` [PATCH 3/4] python-efl: Upgrade to 1.8.1 and update packaging to match old packages Otavio Salvador
2014-01-20 17:42   ` [PATCH 4/4] e-wm: Add recipe for 0.18.2 Martin Jansa
2014-01-22 11:51     ` [meta-efl][PATCHv2 1/5] efl: Adjust packaging to match more with old 1.7 separate recipes Martin Jansa
2014-01-22 11:51       ` [meta-efl][PATCHv2 2/5] python-efl: Upgrade to 1.8.1 and update packaging to match old packages Martin Jansa
2014-01-22 11:51       ` [meta-efl][PATCHv2 3/5] e-wm: Add recipe for 0.18.2 Martin Jansa
2014-01-22 11:51       ` [meta-efl][PATCHv2 4/5] elfe: Replace svn with git version Martin Jansa
2014-01-22 11:51       ` [meta-efl][PATCHv2 5/5] evas-generic-loaders: package generic pdf loaders as well Martin Jansa
2014-01-22 14:25   ` [PATCH 1/4] elementary: Add PACKAGECONFIG for ewebkit and disable it by default Otavio Salvador

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1390239757-27055-3-git-send-email-Martin.Jansa@gmail.com \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.