* [Buildroot] [PATCH] python-protobuf: Add support for Python implementation of Google's Protocol Buffers
@ 2012-09-08 13:41 Thiago A. Correa
0 siblings, 0 replies; 4+ messages in thread
From: Thiago A. Correa @ 2012-09-08 13:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
---
package/Config.in | 1 +
package/python-protobuf/Config.in | 11 +++++++++++
package/python-protobuf/python-protobuf.mk | 28 ++++++++++++++++++++++++++++
3 files changed, 40 insertions(+), 0 deletions(-)
create mode 100644 package/python-protobuf/Config.in
create mode 100644 package/python-protobuf/python-protobuf.mk
diff --git a/package/Config.in b/package/Config.in
index e129522..3aff270 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -276,6 +276,7 @@ source "package/python-mad/Config.in"
source "package/python-meld3/Config.in"
source "package/python-netifaces/Config.in"
source "package/python-nfc/Config.in"
+source "package/python-protobuf/Config.in"
source "package/python-pygame/Config.in"
source "package/python-serial/Config.in"
source "package/python-setuptools/Config.in"
diff --git a/package/python-protobuf/Config.in b/package/python-protobuf/Config.in
new file mode 100644
index 0000000..d2bf70d
--- /dev/null
+++ b/package/python-protobuf/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PYTHON_PROTOBUF
+ bool "python-protobuf"
+ depends on BR2_PACKAGE_PYTHON
+ select BR2_PACKAGE_PYTHON_SETUPTOOLS
+ help
+ Python implementation of the Google Protocol Buffers.
+
+ Protocol buffers are Google's language-neutral, platform-neutral,
+ extensible mechanism for serializing structured data.
+
+ http://code.google.com/p/protobuf/
diff --git a/package/python-protobuf/python-protobuf.mk b/package/python-protobuf/python-protobuf.mk
new file mode 100644
index 0000000..d632e00
--- /dev/null
+++ b/package/python-protobuf/python-protobuf.mk
@@ -0,0 +1,28 @@
+#############################################################
+#
+# python-protobuf
+#
+#############################################################
+
+PYTHON_PROTOBUF_VERSION = $(PROTOBUF_VERSION)
+PYTHON_PROTOBUF_SOURCE = $(PROTOBUF_SOURCE)
+PYTHON_PROTOBUF_SITE = $(PROTOBUF_SITE)
+PYTHON_PROTOBUF_LICENSE = BSD-3c
+PYTHON_PROTOBUF_LICENSE_FILES = COPYING.txt
+
+PYTHON_PROTOBUF_DEPENDENCIES = python host-python-setuptools host-python-distutilscross host-protobuf
+
+define PYTHON_PROTOBUF_BUILD_CMDS
+ (cd $(@D)/python; \
+ PYTHONXCPREFIX="$(STAGING_DIR)/usr/" \
+ LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
+ PATH=$(HOST_PATH) \
+ $(HOST_DIR)/usr/bin/python setup.py build -x)
+endef
+
+define PYTHON_PROTOBUF_INSTALL_TARGET_CMDS
+ (cd $(@D)/python; PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
+ $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
+endef
+
+$(eval $(generic-package))
--
1.7.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] python-protobuf: Add support for Python implementation of Google's Protocol Buffers
2012-09-07 6:23 ` Yegor Yefremov
@ 2012-09-08 13:22 ` Thiago A. Corrêa
0 siblings, 0 replies; 4+ messages in thread
From: Thiago A. Corrêa @ 2012-09-08 13:22 UTC (permalink / raw)
To: buildroot
Ops, will resend. Thanks for pointing out
On Fri, Sep 7, 2012 at 3:23 AM, Yegor Yefremov
<yegor_sub1@visionsystems.de> wrote:
> Am 06.09.2012 22:58, schrieb Thiago A. Correa:
>> python-protobuf: Add support for Python implementation of Google's Protocol Buffers
>>
>> Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
>> ---
>> package/python-protobuf/Config.in | 11 +++++++++++
>> package/python-protobuf/python-protobuf.mk | 28 ++++++++++++++++++++++++++++
>> 2 files changed, 39 insertions(+), 0 deletions(-)
>> create mode 100644 package/python-protobuf/Config.in
>> create mode 100644 package/python-protobuf/python-protobuf.mk
>>
>> diff --git a/package/python-protobuf/Config.in b/package/python-protobuf/Config.in
>> new file mode 100644
>> index 0000000..d2bf70d
>> --- /dev/null
>> +++ b/package/python-protobuf/Config.in
>> @@ -0,0 +1,11 @@
>> +config BR2_PACKAGE_PYTHON_PROTOBUF
>> + bool "python-protobuf"
>> + depends on BR2_PACKAGE_PYTHON
>> + select BR2_PACKAGE_PYTHON_SETUPTOOLS
>> + help
>> + Python implementation of the Google Protocol Buffers.
>> +
>> + Protocol buffers are Google's language-neutral, platform-neutral,
>> + extensible mechanism for serializing structured data.
>> +
>> + http://code.google.com/p/protobuf/
>> diff --git a/package/python-protobuf/python-protobuf.mk b/package/python-protobuf/python-protobuf.mk
>> new file mode 100644
>> index 0000000..d632e00
>> --- /dev/null
>> +++ b/package/python-protobuf/python-protobuf.mk
>> @@ -0,0 +1,28 @@
>> +#############################################################
>> +#
>> +# python-protobuf
>> +#
>> +#############################################################
>> +
>> +PYTHON_PROTOBUF_VERSION = $(PROTOBUF_VERSION)
>> +PYTHON_PROTOBUF_SOURCE = $(PROTOBUF_SOURCE)
>> +PYTHON_PROTOBUF_SITE = $(PROTOBUF_SITE)
>> +PYTHON_PROTOBUF_LICENSE = BSD-3c
>> +PYTHON_PROTOBUF_LICENSE_FILES = COPYING.txt
>> +
>> +PYTHON_PROTOBUF_DEPENDENCIES = python host-python-setuptools host-python-distutilscross host-protobuf
>> +
>> +define PYTHON_PROTOBUF_BUILD_CMDS
>> + (cd $(@D)/python; \
>> + PYTHONXCPREFIX="$(STAGING_DIR)/usr/" \
>> + LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
>> + PATH=$(HOST_PATH) \
>> + $(HOST_DIR)/usr/bin/python setup.py build -x)
>> +endef
>> +
>> +define PYTHON_PROTOBUF_INSTALL_TARGET_CMDS
>> + (cd $(@D)/python; PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
>> + $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
>> +endef
>> +
>> +$(eval $(generic-package))
>>
>
> I'm missing package/Config.in, where python-protobuf can be activated.
>
> Best regards,
> Yegor
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] python-protobuf: Add support for Python implementation of Google's Protocol Buffers
2012-09-06 20:58 Thiago A. Correa
@ 2012-09-07 6:23 ` Yegor Yefremov
2012-09-08 13:22 ` Thiago A. Corrêa
0 siblings, 1 reply; 4+ messages in thread
From: Yegor Yefremov @ 2012-09-07 6:23 UTC (permalink / raw)
To: buildroot
Am 06.09.2012 22:58, schrieb Thiago A. Correa:
> python-protobuf: Add support for Python implementation of Google's Protocol Buffers
>
> Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
> ---
> package/python-protobuf/Config.in | 11 +++++++++++
> package/python-protobuf/python-protobuf.mk | 28 ++++++++++++++++++++++++++++
> 2 files changed, 39 insertions(+), 0 deletions(-)
> create mode 100644 package/python-protobuf/Config.in
> create mode 100644 package/python-protobuf/python-protobuf.mk
>
> diff --git a/package/python-protobuf/Config.in b/package/python-protobuf/Config.in
> new file mode 100644
> index 0000000..d2bf70d
> --- /dev/null
> +++ b/package/python-protobuf/Config.in
> @@ -0,0 +1,11 @@
> +config BR2_PACKAGE_PYTHON_PROTOBUF
> + bool "python-protobuf"
> + depends on BR2_PACKAGE_PYTHON
> + select BR2_PACKAGE_PYTHON_SETUPTOOLS
> + help
> + Python implementation of the Google Protocol Buffers.
> +
> + Protocol buffers are Google's language-neutral, platform-neutral,
> + extensible mechanism for serializing structured data.
> +
> + http://code.google.com/p/protobuf/
> diff --git a/package/python-protobuf/python-protobuf.mk b/package/python-protobuf/python-protobuf.mk
> new file mode 100644
> index 0000000..d632e00
> --- /dev/null
> +++ b/package/python-protobuf/python-protobuf.mk
> @@ -0,0 +1,28 @@
> +#############################################################
> +#
> +# python-protobuf
> +#
> +#############################################################
> +
> +PYTHON_PROTOBUF_VERSION = $(PROTOBUF_VERSION)
> +PYTHON_PROTOBUF_SOURCE = $(PROTOBUF_SOURCE)
> +PYTHON_PROTOBUF_SITE = $(PROTOBUF_SITE)
> +PYTHON_PROTOBUF_LICENSE = BSD-3c
> +PYTHON_PROTOBUF_LICENSE_FILES = COPYING.txt
> +
> +PYTHON_PROTOBUF_DEPENDENCIES = python host-python-setuptools host-python-distutilscross host-protobuf
> +
> +define PYTHON_PROTOBUF_BUILD_CMDS
> + (cd $(@D)/python; \
> + PYTHONXCPREFIX="$(STAGING_DIR)/usr/" \
> + LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
> + PATH=$(HOST_PATH) \
> + $(HOST_DIR)/usr/bin/python setup.py build -x)
> +endef
> +
> +define PYTHON_PROTOBUF_INSTALL_TARGET_CMDS
> + (cd $(@D)/python; PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
> + $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
> +endef
> +
> +$(eval $(generic-package))
>
I'm missing package/Config.in, where python-protobuf can be activated.
Best regards,
Yegor
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] python-protobuf: Add support for Python implementation of Google's Protocol Buffers
@ 2012-09-06 20:58 Thiago A. Correa
2012-09-07 6:23 ` Yegor Yefremov
0 siblings, 1 reply; 4+ messages in thread
From: Thiago A. Correa @ 2012-09-06 20:58 UTC (permalink / raw)
To: buildroot
python-protobuf: Add support for Python implementation of Google's Protocol Buffers
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
---
package/python-protobuf/Config.in | 11 +++++++++++
package/python-protobuf/python-protobuf.mk | 28 ++++++++++++++++++++++++++++
2 files changed, 39 insertions(+), 0 deletions(-)
create mode 100644 package/python-protobuf/Config.in
create mode 100644 package/python-protobuf/python-protobuf.mk
diff --git a/package/python-protobuf/Config.in b/package/python-protobuf/Config.in
new file mode 100644
index 0000000..d2bf70d
--- /dev/null
+++ b/package/python-protobuf/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PYTHON_PROTOBUF
+ bool "python-protobuf"
+ depends on BR2_PACKAGE_PYTHON
+ select BR2_PACKAGE_PYTHON_SETUPTOOLS
+ help
+ Python implementation of the Google Protocol Buffers.
+
+ Protocol buffers are Google's language-neutral, platform-neutral,
+ extensible mechanism for serializing structured data.
+
+ http://code.google.com/p/protobuf/
diff --git a/package/python-protobuf/python-protobuf.mk b/package/python-protobuf/python-protobuf.mk
new file mode 100644
index 0000000..d632e00
--- /dev/null
+++ b/package/python-protobuf/python-protobuf.mk
@@ -0,0 +1,28 @@
+#############################################################
+#
+# python-protobuf
+#
+#############################################################
+
+PYTHON_PROTOBUF_VERSION = $(PROTOBUF_VERSION)
+PYTHON_PROTOBUF_SOURCE = $(PROTOBUF_SOURCE)
+PYTHON_PROTOBUF_SITE = $(PROTOBUF_SITE)
+PYTHON_PROTOBUF_LICENSE = BSD-3c
+PYTHON_PROTOBUF_LICENSE_FILES = COPYING.txt
+
+PYTHON_PROTOBUF_DEPENDENCIES = python host-python-setuptools host-python-distutilscross host-protobuf
+
+define PYTHON_PROTOBUF_BUILD_CMDS
+ (cd $(@D)/python; \
+ PYTHONXCPREFIX="$(STAGING_DIR)/usr/" \
+ LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
+ PATH=$(HOST_PATH) \
+ $(HOST_DIR)/usr/bin/python setup.py build -x)
+endef
+
+define PYTHON_PROTOBUF_INSTALL_TARGET_CMDS
+ (cd $(@D)/python; PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
+ $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
+endef
+
+$(eval $(generic-package))
--
1.7.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-09-08 13:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-08 13:41 [Buildroot] [PATCH] python-protobuf: Add support for Python implementation of Google's Protocol Buffers Thiago A. Correa
-- strict thread matches above, loose matches on Subject: below --
2012-09-06 20:58 Thiago A. Correa
2012-09-07 6:23 ` Yegor Yefremov
2012-09-08 13:22 ` Thiago A. Corrêa
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.