* [meta-python][PATCH] python-pyzmq : Add recipe for Python Zero Message Queue bindings.
@ 2015-02-12 14:36 Philip Balister
2015-02-12 20:44 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Philip Balister @ 2015-02-12 14:36 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Philip Balister <philip@balister.org>
---
.../python/python-pyzmq/club-rpath-out.patch | 26 +++++++++++++++++++++
.../recipes-devtools/python/python-pyzmq_14.5.0.bb | 27 ++++++++++++++++++++++
2 files changed, 53 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
create mode 100644 meta-python/recipes-devtools/python/python-pyzmq_14.5.0.bb
diff --git a/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch b/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
new file mode 100644
index 0000000..2dc3b73
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
@@ -0,0 +1,26 @@
+diff --git a/setup.py b/setup.py
+index 62df445..1fdbdeb 100755
+--- a/setup.py
++++ b/setup.py
+@@ -213,12 +213,6 @@ def settings_from_prefix(prefix=None, bundle_libzmq_dylib=False):
+ pass
+ # unused rpath args for OS X:
+ # settings['extra_link_args'] = ['-Wl,-rpath','-Wl,$ORIGIN/..']
+- else:
+- settings['runtime_library_dirs'] += ['$ORIGIN/..']
+- elif sys.platform != 'darwin':
+- settings['runtime_library_dirs'] += [
+- os.path.abspath(x) for x in settings['library_dirs']
+- ]
+
+ return settings
+
+@@ -592,8 +586,6 @@ class Configure(build_ext):
+ pass
+ # unused rpath args for OS X:
+ # settings['extra_link_args'] = ['-Wl,-rpath','-Wl,$ORIGIN/../zmq']
+- else:
+- settings['runtime_library_dirs'] = [ os.path.abspath(pjoin('.', 'zmq')) ]
+
+ line()
+ info("Configure: Autodetecting ZMQ settings...")
diff --git a/meta-python/recipes-devtools/python/python-pyzmq_14.5.0.bb b/meta-python/recipes-devtools/python/python-pyzmq_14.5.0.bb
new file mode 100644
index 0000000..8b921b5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyzmq_14.5.0.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Pyzmq provides Zero message queue access for the Python language"
+HOMEPAGE = "http://zeromq.org/bindings:python"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e"
+DEPENDS = "zeromq"
+
+SRC_URI = "https://pypi.python.org/packages/source/p/pyzmq/pyzmq-${PV}.tar.gz \
+ file://club-rpath-out.patch \
+"
+SRC_URI[md5sum] = "8d3351a8ca2ca2a272a3f96bcb963e41"
+SRC_URI[sha256sum] = "5d6e045634456cf5496f50871fd3e3a5ede2b90433284dbfe985bb67c97f77bd"
+
+S = "${WORKDIR}/pyzmq-${PV}"
+
+inherit setuptools pkgconfig
+
+FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug"
+
+do_compile_prepend() {
+ echo [global] > ${S}/setup.cfg
+ echo zmq_prefix = ${STAGING_DIR_HOST} >> ${S}/setup.cfg
+ echo have_sys_un_h = True >> ${S}/setup.cfg
+ echo skip_check_zmq = True >> ${S}/setup.cfg
+ echo libzmq_extension = False >> ${S}/setup.cfg
+ echo no_libzmq_extension = True >> ${S}/setup.cfg
+}
--
2.1.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-python][PATCH] python-pyzmq : Add recipe for Python Zero Message Queue bindings.
2015-02-12 14:36 [meta-python][PATCH] python-pyzmq : Add recipe for Python Zero Message Queue bindings Philip Balister
@ 2015-02-12 20:44 ` Martin Jansa
2015-02-13 14:51 ` Philip Balister
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2015-02-12 20:44 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3729 bytes --]
On Thu, Feb 12, 2015 at 09:36:38AM -0500, Philip Balister wrote:
> Signed-off-by: Philip Balister <philip@balister.org>
Drop space before ":" in subject.
> ---
> .../python/python-pyzmq/club-rpath-out.patch | 26 +++++++++++++++++++++
> .../recipes-devtools/python/python-pyzmq_14.5.0.bb | 27 ++++++++++++++++++++++
> 2 files changed, 53 insertions(+)
> create mode 100644 meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
> create mode 100644 meta-python/recipes-devtools/python/python-pyzmq_14.5.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch b/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
> new file mode 100644
> index 0000000..2dc3b73
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
> @@ -0,0 +1,26 @@
> +diff --git a/setup.py b/setup.py
> +index 62df445..1fdbdeb 100755
> +--- a/setup.py
> ++++ b/setup.py
> +@@ -213,12 +213,6 @@ def settings_from_prefix(prefix=None, bundle_libzmq_dylib=False):
> + pass
> + # unused rpath args for OS X:
> + # settings['extra_link_args'] = ['-Wl,-rpath','-Wl,$ORIGIN/..']
> +- else:
> +- settings['runtime_library_dirs'] += ['$ORIGIN/..']
> +- elif sys.platform != 'darwin':
> +- settings['runtime_library_dirs'] += [
> +- os.path.abspath(x) for x in settings['library_dirs']
> +- ]
> +
> + return settings
> +
> +@@ -592,8 +586,6 @@ class Configure(build_ext):
> + pass
> + # unused rpath args for OS X:
> + # settings['extra_link_args'] = ['-Wl,-rpath','-Wl,$ORIGIN/../zmq']
> +- else:
> +- settings['runtime_library_dirs'] = [ os.path.abspath(pjoin('.', 'zmq')) ]
> +
> + line()
> + info("Configure: Autodetecting ZMQ settings...")
> diff --git a/meta-python/recipes-devtools/python/python-pyzmq_14.5.0.bb b/meta-python/recipes-devtools/python/python-pyzmq_14.5.0.bb
> new file mode 100644
> index 0000000..8b921b5
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-pyzmq_14.5.0.bb
> @@ -0,0 +1,27 @@
> +SUMMARY = "Pyzmq provides Zero message queue access for the Python language"
> +HOMEPAGE = "http://zeromq.org/bindings:python"
> +SECTION = "devel/python"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e"
> +DEPENDS = "zeromq"
> +
> +SRC_URI = "https://pypi.python.org/packages/source/p/pyzmq/pyzmq-${PV}.tar.gz \
> + file://club-rpath-out.patch \
> +"
> +SRC_URI[md5sum] = "8d3351a8ca2ca2a272a3f96bcb963e41"
> +SRC_URI[sha256sum] = "5d6e045634456cf5496f50871fd3e3a5ede2b90433284dbfe985bb67c97f77bd"
> +
> +S = "${WORKDIR}/pyzmq-${PV}"
> +
> +inherit setuptools pkgconfig
> +
> +FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug"
> +
> +do_compile_prepend() {
> + echo [global] > ${S}/setup.cfg
> + echo zmq_prefix = ${STAGING_DIR_HOST} >> ${S}/setup.cfg
> + echo have_sys_un_h = True >> ${S}/setup.cfg
> + echo skip_check_zmq = True >> ${S}/setup.cfg
> + echo libzmq_extension = False >> ${S}/setup.cfg
> + echo no_libzmq_extension = True >> ${S}/setup.cfg
Use 4 spaces for indentation, no tabs in meta-oe and other sane layers!
> +}
> --
> 2.1.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-python][PATCH] python-pyzmq : Add recipe for Python Zero Message Queue bindings.
2015-02-12 20:44 ` Martin Jansa
@ 2015-02-13 14:51 ` Philip Balister
0 siblings, 0 replies; 3+ messages in thread
From: Philip Balister @ 2015-02-13 14:51 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3880 bytes --]
Sorry, temporary insanity. Fixing and resending.
Philip
On 02/12/2015 03:44 PM, Martin Jansa wrote:
> On Thu, Feb 12, 2015 at 09:36:38AM -0500, Philip Balister wrote:
>> Signed-off-by: Philip Balister <philip@balister.org>
>
> Drop space before ":" in subject.
>
>> ---
>> .../python/python-pyzmq/club-rpath-out.patch | 26 +++++++++++++++++++++
>> .../recipes-devtools/python/python-pyzmq_14.5.0.bb | 27 ++++++++++++++++++++++
>> 2 files changed, 53 insertions(+)
>> create mode 100644 meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
>> create mode 100644 meta-python/recipes-devtools/python/python-pyzmq_14.5.0.bb
>>
>> diff --git a/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch b/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
>> new file mode 100644
>> index 0000000..2dc3b73
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
>> @@ -0,0 +1,26 @@
>> +diff --git a/setup.py b/setup.py
>> +index 62df445..1fdbdeb 100755
>> +--- a/setup.py
>> ++++ b/setup.py
>> +@@ -213,12 +213,6 @@ def settings_from_prefix(prefix=None, bundle_libzmq_dylib=False):
>> + pass
>> + # unused rpath args for OS X:
>> + # settings['extra_link_args'] = ['-Wl,-rpath','-Wl,$ORIGIN/..']
>> +- else:
>> +- settings['runtime_library_dirs'] += ['$ORIGIN/..']
>> +- elif sys.platform != 'darwin':
>> +- settings['runtime_library_dirs'] += [
>> +- os.path.abspath(x) for x in settings['library_dirs']
>> +- ]
>> +
>> + return settings
>> +
>> +@@ -592,8 +586,6 @@ class Configure(build_ext):
>> + pass
>> + # unused rpath args for OS X:
>> + # settings['extra_link_args'] = ['-Wl,-rpath','-Wl,$ORIGIN/../zmq']
>> +- else:
>> +- settings['runtime_library_dirs'] = [ os.path.abspath(pjoin('.', 'zmq')) ]
>> +
>> + line()
>> + info("Configure: Autodetecting ZMQ settings...")
>> diff --git a/meta-python/recipes-devtools/python/python-pyzmq_14.5.0.bb b/meta-python/recipes-devtools/python/python-pyzmq_14.5.0.bb
>> new file mode 100644
>> index 0000000..8b921b5
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python-pyzmq_14.5.0.bb
>> @@ -0,0 +1,27 @@
>> +SUMMARY = "Pyzmq provides Zero message queue access for the Python language"
>> +HOMEPAGE = "http://zeromq.org/bindings:python"
>> +SECTION = "devel/python"
>> +LICENSE = "BSD"
>> +LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e"
>> +DEPENDS = "zeromq"
>> +
>> +SRC_URI = "https://pypi.python.org/packages/source/p/pyzmq/pyzmq-${PV}.tar.gz \
>> + file://club-rpath-out.patch \
>> +"
>> +SRC_URI[md5sum] = "8d3351a8ca2ca2a272a3f96bcb963e41"
>> +SRC_URI[sha256sum] = "5d6e045634456cf5496f50871fd3e3a5ede2b90433284dbfe985bb67c97f77bd"
>> +
>> +S = "${WORKDIR}/pyzmq-${PV}"
>> +
>> +inherit setuptools pkgconfig
>> +
>> +FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug"
>> +
>> +do_compile_prepend() {
>> + echo [global] > ${S}/setup.cfg
>> + echo zmq_prefix = ${STAGING_DIR_HOST} >> ${S}/setup.cfg
>> + echo have_sys_un_h = True >> ${S}/setup.cfg
>> + echo skip_check_zmq = True >> ${S}/setup.cfg
>> + echo libzmq_extension = False >> ${S}/setup.cfg
>> + echo no_libzmq_extension = True >> ${S}/setup.cfg
>
> Use 4 spaces for indentation, no tabs in meta-oe and other sane layers!
>
>> +}
>> --
>> 2.1.0
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 484 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-13 14:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-12 14:36 [meta-python][PATCH] python-pyzmq : Add recipe for Python Zero Message Queue bindings Philip Balister
2015-02-12 20:44 ` Martin Jansa
2015-02-13 14:51 ` Philip Balister
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.