All of lore.kernel.org
 help / color / mirror / Atom feed
* Help with building app recipe
@ 2014-05-16 11:23 Neuer User
  2014-05-16 12:04 ` Anders Darander
  0 siblings, 1 reply; 6+ messages in thread
From: Neuer User @ 2014-05-16 11:23 UTC (permalink / raw)
  To: yocto

Hello

I am trying to build a simple recipe for a package called "pyotherside".
It currently looks like this:

------------------------------------------------------------------------
SUMMARY = "Python3 bindings for Qt5"
DESCRIPTION = "New framework for including pyhton interpreter into Qt5 apps"
HOMEPAGE = "http://thp.io/2011/pyotherside/"
LICENSE = "MIT"
LIC_FILES_CHKSUM =
"file://${COMMON_LICENSE_DIR\}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

PV = "1.2+git${SRCPV}"

SRCREV = "87e5eaf4707261dfcb37d7daadef018266c83d5a"

SRC_URI = "git://github.com/thp/pyotherside.git;branch=master;protocol=git \
           "
S = "${WORKDIR}/git/"

DEPENDS = "qtdeclarative python3 python3-native"
RDEPENDS_${PN} = "qtdeclarative-qmlplugins"

require recipes-qt/qt5/qt5.inc
------------------------------------------------------------------------


It is WIP, so e.g. the license is stil wrong.

The package depends on Qt5 and Python3.

I am currently experiencing two (rather small) problems:

1.) the configure step does not find "python3-config". It is located in
tmp/sysroots/i686-linux/usr/bin/python3-native

If I do a devshell and edit run.do_configure, I can add this path to the
PATH env variable, and then everything works.

How can I modify my recipe, so that this path is automatically added?

2.) The "python3-config" script just uses "#!/usr/bin/env python" to
define its interpreter, so the system starts the script with python2. If
I change the script manually, it works.

What would be the correct way to change my receipt to make it work? Or
would I need to change the python3 recipe to patch this file?

Thanks for your help!

Michael

P.S.: Seems, pyotherside is working nicely...



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

end of thread, other threads:[~2014-05-22 13:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-16 11:23 Help with building app recipe Neuer User
2014-05-16 12:04 ` Anders Darander
2014-05-16 12:16   ` Neuer User
2014-05-16 12:33     ` Neuer User
2014-05-17  5:18       ` Khem Raj
2014-05-22 13:50         ` Diego Sueiro

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.