From: Rongqing Li <rongqing.li@windriver.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: Re: [PATCH][meta-python] python-slip-dbus: add recipe
Date: Wed, 30 Jul 2014 15:28:41 +0800 [thread overview]
Message-ID: <53D89EA9.4020801@windriver.com> (raw)
In-Reply-To: <CAMKF1sppmXVJj8tkDv4=JJN1jkirMZuJ5pimJDoifcZyikaJRA@mail.gmail.com>
On 07/30/2014 02:49 PM, Khem Raj wrote:
> On Tue, Jul 29, 2014 at 11:10 PM, <rongqing.li@windriver.com> wrote:
>> +SECTION = "devel/python"
>> +LICENSE = "GPLv2+"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
>> +SRCNAME = "python-slip"
>> +
>> +SRC_URI = "https://fedorahosted.org/released/python-slip/python-slip-${PV}.tar.bz2"
>
> You could use SRCNAME in SRC_URI as well instead of hardcoding python-slip
>
>> +S = "${WORKDIR}/${SRCNAME}-${PV}"
>> +
>> +inherit setuptools
>> +
>> +SRC_URI[md5sum] = "fb3299d75af1a67ca6679d96ce839da6"
>> +SRC_URI[sha256sum] = "f47361ec52b608309b83c71905e692b6b363eaf3b8a7afdeff866cd94463ad5c"
>> +
>> +do_compile_prepend() {
>> + sed -e 's/@VERSION@/0.6.0/g' setup.py.in > setup.py
>
> could this somehow use PV and not 0.6.0 hardcoded ?
>
>> +}
>
> may be also run the recipe thru contrib/oe-stylize.py for formatting
> and structure.
>
Thanks, I will change them
--
Best Reagrds,
Roy | RongQing Li
prev parent reply other threads:[~2014-07-30 7:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-30 6:10 [PATCH][meta-python] python-slip-dbus: add recipe rongqing.li
2014-07-30 6:49 ` Khem Raj
2014-07-30 7:28 ` Rongqing Li [this message]
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=53D89EA9.4020801@windriver.com \
--to=rongqing.li@windriver.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.