Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] python-pyroute2: new package
@ 2015-08-11 15:35 yegorslists at googlemail.com
  2015-08-18 21:15 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: yegorslists at googlemail.com @ 2015-08-11 15:35 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
Changes:
	v2: use the latest git version, that provides README.md as ASCII only file
	    add hook description

 package/Config.in                          |  1 +
 package/python-pyroute2/Config.in          |  7 +++++++
 package/python-pyroute2/python-pyroute2.mk | 21 +++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 100644 package/python-pyroute2/Config.in
 create mode 100644 package/python-pyroute2/python-pyroute2.mk

diff --git a/package/Config.in b/package/Config.in
index 47d14d7..3edd456 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -646,6 +646,7 @@ menu "external python modules"
 	source "package/python-pypcap/Config.in"
 	source "package/python-pyqt/Config.in"
 	source "package/python-pyro/Config.in"
+	source "package/python-pyroute2/Config.in"
 	source "package/python-pysendfile/Config.in"
 	source "package/python-pysnmp/Config.in"
 	source "package/python-pysnmp-apps/Config.in"
diff --git a/package/python-pyroute2/Config.in b/package/python-pyroute2/Config.in
new file mode 100644
index 0000000..068ecba
--- /dev/null
+++ b/package/python-pyroute2/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PYROUTE2
+	bool "python-pyroute2"
+	help
+	  Python netlink library - Linux network / netns / wireless / ipset
+	  configuration.
+
+	  https://github.com/svinota/pyroute2
diff --git a/package/python-pyroute2/python-pyroute2.mk b/package/python-pyroute2/python-pyroute2.mk
new file mode 100644
index 0000000..23c77b7
--- /dev/null
+++ b/package/python-pyroute2/python-pyroute2.mk
@@ -0,0 +1,21 @@
+#############################################################
+#
+# python-pyroute2
+#
+#############################################################
+
+PYTHON_PYROUTE2_VERSION = 16a8aced82c65b94eb9e15a7d773a3256763d155
+PYTHON_PYROUTE2_SITE = $(call github,svinota,pyroute2,$(PYTHON_PYROUTE2_VERSION))
+PYTHON_PYROUTE2_LICENSE = Apache-2.0, GPLv2+
+PYTHON_PYROUTE2_LICENSE_FILES = LICENSE.Apache.v2, LICENSE.GPL.v2
+PYTHON_PYROUTE2_SETUP_TYPE = distutils
+PYTHON_PYROUTE2_DEPENDENCIES = host-gawk
+
+# this hook is needed to create setup.py from setup.py.in
+define PYTHON_PYROUTE2_CREATE_SETUP_PY
+	$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) update-version
+endef
+
+PYTHON_PYROUTE2_PRE_CONFIGURE_HOOKS += PYTHON_PYROUTE2_CREATE_SETUP_PY
+
+$(eval $(python-package))
-- 
1.9.1

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

* [Buildroot] [PATCH v2] python-pyroute2: new package
  2015-08-11 15:35 [Buildroot] [PATCH v2] python-pyroute2: new package yegorslists at googlemail.com
@ 2015-08-18 21:15 ` Thomas Petazzoni
  2015-08-20 14:36   ` Yegor Yefremov
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2015-08-18 21:15 UTC (permalink / raw)
  To: buildroot

Yegor,

On Tue, 11 Aug 2015 17:35:26 +0200, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> Changes:
> 	v2: use the latest git version, that provides README.md as ASCII only file
> 	    add hook description

I've applied to next, after doing some additional changes:

    [Thomas:
      - fix legal info:
        * the license is GPLv2+ *or* Apache 2.0
        * the license files list separator is space, not comma
        * README.license.md has been added to the license files, since it
          contains some useful information about the licensing.
      - rewrap Config.in help text.]

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH v2] python-pyroute2: new package
  2015-08-18 21:15 ` Thomas Petazzoni
@ 2015-08-20 14:36   ` Yegor Yefremov
  2015-08-20 20:35     ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Yegor Yefremov @ 2015-08-20 14:36 UTC (permalink / raw)
  To: buildroot

On Tue, Aug 18, 2015 at 11:15 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Yegor,
>
> On Tue, 11 Aug 2015 17:35:26 +0200, yegorslists at googlemail.com wrote:
>> From: Yegor Yefremov <yegorslists@googlemail.com>
>>
>> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
>> ---
>> Changes:
>>       v2: use the latest git version, that provides README.md as ASCII only file
>>           add hook description
>
> I've applied to next, after doing some additional changes:
>
>     [Thomas:
>       - fix legal info:
>         * the license is GPLv2+ *or* Apache 2.0
>         * the license files list separator is space, not comma
>         * README.license.md has been added to the license files, since it
>           contains some useful information about the licensing.
>       - rewrap Config.in help text.]
>
> Thanks!

Thanks. Does it mean, that your tests are successful with master
branch (UTF-8 vs ASCII)?

Yegor

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

* [Buildroot] [PATCH v2] python-pyroute2: new package
  2015-08-20 14:36   ` Yegor Yefremov
@ 2015-08-20 20:35     ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2015-08-20 20:35 UTC (permalink / raw)
  To: buildroot

Dear Yegor Yefremov,

On Thu, 20 Aug 2015 16:36:12 +0200, Yegor Yefremov wrote:

> Thanks. Does it mean, that your tests are successful with master
> branch (UTF-8 vs ASCII)?

I didn't retest, I trusted the change done by the maintainer. We'll see
if the autobuilders agree when the next branch gets merged into master.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2015-08-20 20:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-11 15:35 [Buildroot] [PATCH v2] python-pyroute2: new package yegorslists at googlemail.com
2015-08-18 21:15 ` Thomas Petazzoni
2015-08-20 14:36   ` Yegor Yefremov
2015-08-20 20:35     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox