All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Andrej Rode <andrej.rode@ettus.com>
Cc: openembeded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-python][PATCH v3 2/2] python-mprpc: add new recipe
Date: Thu, 27 Apr 2017 16:05:17 -0700	[thread overview]
Message-ID: <CAMKF1sosx80ehDcFOKdt88GDRTbW3i577y-zxFdZ4V4OuQkjYQ@mail.gmail.com> (raw)
In-Reply-To: <20170427211948.12255-2-andrej.rode@ettus.com>

On Thu, Apr 27, 2017 at 2:19 PM, Andrej Rode <andrej.rode@ettus.com> wrote:
> Add recipe for python-mprpc, a messagepack RPC library for python
>
> Signed-off-by: Andrej Rode <andrej.rode@ettus.com>
> ---
>  .../python-mprpc/files/0001-fix_setup_py.patch     | 34 ++++++++++++++++++++++
>  .../python-mprpc/python-mprpc_0.1.13.bb            | 17 +++++++++++
>  2 files changed, 51 insertions(+)
>  create mode 100644 meta-python/recipes-connectivity/python-mprpc/files/0001-fix_setup_py.patch
>  create mode 100644 meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.13.bb
>
> diff --git a/meta-python/recipes-connectivity/python-mprpc/files/0001-fix_setup_py.patch b/meta-python/recipes-connectivity/python-mprpc/files/0001-fix_setup_py.patch
> new file mode 100644
> index 0000000..f5df9b9
> --- /dev/null
> +++ b/meta-python/recipes-connectivity/python-mprpc/files/0001-fix_setup_py.patch
> @@ -0,0 +1,34 @@
> +From bda99eab9036d46e7bb06b446d11cab0b1dd8093 Mon Sep 17 00:00:00 2001
> +From: Andrej Rode <andrej.rode@ettus.com>
> +Date: Mon, 10 Apr 2017 16:49:50 -0700
> +Subject: [PATCH] setup: remove find_packages and only install mprpc
> +
> +Signed-off-by: Andrej Rode <andrej.rode@ettus.com>
> +---
> + setup.py | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/setup.py b/setup.py
> +index 5001d0c..4c0ba75 100644
> +--- a/setup.py
> ++++ b/setup.py
> +@@ -1,6 +1,6 @@
> + # -*- coding: utf-8 -*-
> +
> +-from setuptools import setup, Extension, find_packages
> ++from setuptools import setup, Extension
> +
> + setup(
> +     name='mprpc',
> +@@ -10,7 +10,7 @@ setup(
> +     author='Studio Ousia',
> +     author_email='ikuya@ousia.jp',
> +     url='http://github.com/studio-ousia/mprpc',
> +-    packages=find_packages(),
> ++    packages=['mprpc'],
> +     ext_modules=[
> +         Extension('mprpc.client', ['mprpc/client.c']),
> +         Extension('mprpc.server', ['mprpc/server.c'])
> +--
> +2.10.2
> +
> diff --git a/meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.13.bb b/meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.13.bb
> new file mode 100644
> index 0000000..78df00a
> --- /dev/null
> +++ b/meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.13.bb
> @@ -0,0 +1,17 @@
> +SUMMARY = "A gevent based messagpack rpc library"
> +DESCRIPTION = "mprpc is a fast implementation of the messagepack rpc protocol for python. \
> +It is based on gevent for handling connections and enabling concurrent connections."
> +HOMEPAGE = "https://github.com/studio-ousia/mprpc"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=4ba825394aec026b5f94edca44426859"
> +DEPENDS += "python-gevent"
> +RDEPENDS_${PN} += "python-gevent python-msgpack python-gsocketpool"
> +
> +SRC_URI_append = " \
> +    file://0001-fix_setup_py.patch;patch=1;pnum=1 \

I think you could just do SRC_URI += and remove patch=1 and pnum=1
they are defaults.

> +"
> +
> +SRC_URI[md5sum] = "449e6239eb5ff07b9cceb86e1ab0c2ee"
> +SRC_URI[sha256sum] = "5881cc7fbb8de814e2b4aa5958bfe147c5c301e46749190f0e6abf373cf56d82"
> +
> +inherit pypi setuptools
> --
> 2.10.2
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


  reply	other threads:[~2017-04-27 23:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-27 21:19 [meta-python][PATCH v3 1/2] python-gsocketpool: add new recipe Andrej Rode
2017-04-27 21:19 ` [meta-python][PATCH v3 2/2] python-mprpc: " Andrej Rode
2017-04-27 23:05   ` Khem Raj [this message]
2017-04-27 23:08     ` Andrej Rode
2017-04-27 23:30       ` Khem Raj
  -- strict thread matches above, loose matches on Subject: below --
2017-04-13 18:58 [meta-python][PATCH v3 1/2] python-gsocketpool: " Andrej Rode
2017-04-13 18:58 ` [meta-python][PATCH v3 2/2] python-mprpc: " Andrej Rode
2017-04-18 12:25   ` Martin Jansa

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=CAMKF1sosx80ehDcFOKdt88GDRTbW3i577y-zxFdZ4V4OuQkjYQ@mail.gmail.com \
    --to=raj.khem@gmail.com \
    --cc=andrej.rode@ettus.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.