* [Buildroot] [PATCH] libmpeg2: fix sparc32 build
From: Arnout Vandecappelle @ 2017-04-27 19:30 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170427112243.2b5693c0@free-electrons.com>
On 27-04-17 11:22, Thomas Petazzoni wrote:
> Hello,
>
> On Thu, 27 Apr 2017 11:15:34 +0200, Peter Korsgaard wrote:
>
>> > I am not sure this is the completely correct solution, and Arnout
>> > proposed another solution, see:
>>
>> > https://patchwork.ozlabs.org/patch/749138/
>> > https://patchwork.ozlabs.org/patch/749137/
>>
>> > The second patch has the explanation why Waldemar patch is not really
>> > correct.
>>
>> Ok. Can I take this as an acked-by for the check-bin-arch / pkg-generic
>> changes then? ;)
>
> I haven't reviewed the implementation details, but on the general
> principles, yes, I'm OK. It's a bit annoying to extend the package
> infrastructure for such a specific case, but I don't really see a
> better solution here, except hacking libmpeg2 to remove the runtime
> detection logic.
>
> On the other hand, do we care enough about libmpeg2 on SPARC to extend
> the package infrastructure just for this purpose? In the end, even if
> Waldemar's solution is not "correct", it avoids the need to extend the
> package infrastructure just for a purpose of a single package that will
> most likely never ever be used on SPARC.
>
> Arnout, what do you think?
When I spun that patch, I expected there would be more use cases than just
libmpeg2. But the autobuilders don't point to anything obvious, so perhaps not.
I've marked as Rejected in patchwork. We can pick it up again if something else
turns up.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply
* [Buildroot] [git commit] docs/manual: PEP8 coding style for Python scripts
From: Peter Korsgaard @ 2017-04-27 19:37 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=bb1c63763d862419e22f30b90fcd5179d40a0c5a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The advantages of using a pre-existing coding style instead of creating
our own are:
- documenting on the manual takes a single sentence;
- there are automatic tools to help during development/review.
So document that PEP8 recommendation should be followed.
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
docs/manual/writing-rules.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/docs/manual/writing-rules.txt b/docs/manual/writing-rules.txt
index e2ad41e..3a2c8dc 100644
--- a/docs/manual/writing-rules.txt
+++ b/docs/manual/writing-rules.txt
@@ -143,3 +143,8 @@ http://www.methods.co.nz/asciidoc/[asciidoc] format.
For further details about the http://www.methods.co.nz/asciidoc/[asciidoc]
syntax, refer to http://www.methods.co.nz/asciidoc/userguide.html[].
+
+=== Support scripts
+
+Some scripts in the +support/+ directory are written in Python and should follow
+the https://www.python.org/dev/peps/pep-0008/[PEP8 Style Guide for Python Code].
^ permalink raw reply related
* [Buildroot] [PATCH] docs/manual: PEP8 coding style for Python scripts
From: Peter Korsgaard @ 2017-04-27 19:39 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170424013356.2228-1-ricardo.martincoski@gmail.com>
>>>>> "Ricardo" == Ricardo Martincoski <ricardo.martincoski@gmail.com> writes:
> The advantages of using a pre-existing coding style instead of creating
> our own are:
> - documenting on the manual takes a single sentence;
> - there are automatic tools to help during development/review.
> So document that PEP8 recommendation should be followed.
Seems sensible to me. Committed, thanks.
> Cc: Arnout Vandecappelle <arnout@mind.be>
> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> Cc: Samuel Martin <s.martin49@gmail.com>
> Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
> Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
> ---
> Here is the sentence I didn't add:
> The use of https://pypi.python.org/pypi/pycodestyle[Python style guide checker]
> is recommended before submitting new scripts.
> I mentioned in a thread the tool pep8/pycodestyle
> From https://pypi.python.org/pypi/pycodestyle :
> "This package used to be called pep8 but was renamed to pycodestyle to
> reduce confusion"
> Old url: https://pypi.python.org/pypi/pep8
> Also Thomas DS mentioned the tool flake8 that seems to me to group:
> pycodestyle + pyflakes + mccabe
> http://flake8.pycqa.org/en/latest/
Ok. We don't get new python scripts that often, so it probably isn't a
huge deal.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [Bug 9846] New: musl libc not installed correctly in target folder
From: bugzilla at busybox.net @ 2017-04-27 20:03 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9846
Bug ID: 9846
Summary: musl libc not installed correctly in target folder
Product: buildroot
Version: 2017.02.1
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: stefan at nilsson.tk
CC: buildroot at uclibc.org
Target Milestone: ---
Created attachment 7051
--> https://bugs.busybox.net/attachment.cgi?id=7051&action=edit
defconfigs for glibc/musl respectively
I am the deveveloper of a custom i386 based embedded Linux system, and I am
using buildroot to create the system images that goes into it.
I am currently running on the master branch of buildroot as of yesterday
2016-04-26 (6538125 package/pcsc-lite: bump version to 1.8.20) since I wanted
to try out the newly added s6 stuff:
However, I usually build my linux system using glibc and the busybox init
system. Yesterday I wanted to try out the musl libc to see how it performed
compared to glibc. But when changing to musl libc and after a "make clean"
"make", which goes through without issues, it appears as musl libc is not
installed correctly in the target folder.
When building with glibc as option, I get the following files in my
output/target/lib (among a bunch of others):
/lib/libc.so -> libc.so.6*
/lib/libc.so.6 -> libc-2.24.so*
/lib/libc-2.24.so*
/lib/ld-linux.so.2 -> ld-2.24.so*
/lib/ld-2.24.so*
When building with musl, I only get:
/lib/ld-musl-i386.so.1 -> /lib/libc.so
/lib/libc.so -> libc.so.6
So there is a symlink to libc.so.6, but file it points to does not exist which
makes my init fail to execute during boot.
When looking in my output/build/musl-1.1.16/lib, I guess I have the missing
files:
libc.a
libc.so*
But these seems to never be copied to the target folder correctly,...
If I manually copy the contents of output/build/musl-1.1.16/lib/ to /lib on my
target system (and remove the libc.so symlink), my init works as expected, and
I can boot it completely.
I have attached my buildroot defconfig for both configurations.
Best Regards
Stefan Nilsson
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply
* [Buildroot] [PATCH] libmpeg2: fix sparc32 build
From: Peter Korsgaard @ 2017-04-27 20:04 UTC (permalink / raw)
To: buildroot
In-Reply-To: <2a47da42-569d-129c-3a24-3154b1c335da@mind.be>
>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:
>> Arnout, what do you think?
> When I spun that patch, I expected there would be more use cases than just
> libmpeg2. But the autobuilders don't point to anything obvious, so perhaps not.
> I've marked as Rejected in patchwork. We can pick it up again if something else
> turns up.
Ok, sounds sensible - Thanks!
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] protobuf: fix musl build
From: Baruch Siach @ 2017-04-27 20:19 UTC (permalink / raw)
To: buildroot
Add upstream patch fixing conflict with musl defined major/minor macros.
Fixes:
http://autobuild.buildroot.net/results/fc5/fc5ea266eecb6ecab011ea3542f0bb680fb8fb3b/
http://autobuild.buildroot.net/results/3b3/3b3fe16978f19e65a6c6dc1712d72cb349eed0d5/
http://autobuild.buildroot.net/results/1da/1dac9d5e49342700036c90ed4785fff7398b8966/
Cc: Mario J. Rugiero <mrugiero@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
package/protobuf/protobuf.hash | 1 +
package/protobuf/protobuf.mk | 2 ++
2 files changed, 3 insertions(+)
diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash
index 9ec6bc759d8f..8c2ade37e7cd 100644
--- a/package/protobuf/protobuf.hash
+++ b/package/protobuf/protobuf.hash
@@ -1,2 +1,3 @@
# Locally calculated
sha256 51d773e4297238b282eaa4c1dd317099675b12eef2b414732b851c00459225c6 protobuf-cpp-3.2.0.tar.gz
+sha256 da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3 416f90939d4de58fe1a4e2489120010313183291.patch
diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
index a3e96d4f898c..610da8c04a94 100644
--- a/package/protobuf/protobuf.mk
+++ b/package/protobuf/protobuf.mk
@@ -19,6 +19,8 @@ PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc
PROTOBUF_INSTALL_STAGING = YES
+PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch
+
ifeq ($(BR2_PACKAGE_ZLIB),y)
PROTOBUF_DEPENDENCIES += zlib
endif
--
2.11.0
^ permalink raw reply related
* [Buildroot] [git commit] genimage.sh: fix calling from BR2_ROOTFS_POST_IMAGE_SCRIPT
From: Peter Korsgaard @ 2017-04-27 20:55 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=e73cf8a228a15ae11530cd589b11930cf4f4478d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
When called from BR2_ROOTFS_POST_IMAGE_SCRIPT, this script
ends up with following error:
Error: Missing argument
This is because, an extra positional argument is also passed
along with BR2_ROOTFS_POST_SCRIPT_ARGS. genimage.sh didn't
have support to parse positional and optional arguments
together.
Signed-off-by: Abhimanyu Vishwakarma <Abhimanyu.V@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
support/scripts/genimage.sh | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/support/scripts/genimage.sh b/support/scripts/genimage.sh
index 0ed0e8b..6c8d9e5 100755
--- a/support/scripts/genimage.sh
+++ b/support/scripts/genimage.sh
@@ -5,13 +5,22 @@ die() {
exit 1
}
+# Parse arguments and put into argument list of the script
+opts="$(getopt -n "${0##*/}" -o c: -- "$@")" || exit $?
+eval set -- "$opts"
+
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
-while getopts c: OPT ; do
- case "${OPT}" in
- c) GENIMAGE_CFG="${OPTARG}";;
- :) die "option '${OPTARG}' expects a mandatory argument\n";;
- \?) die "unknown option '${OPTARG}'\n";;
+while true ; do
+ case "$1" in
+ -c)
+ GENIMAGE_CFG="${2}";
+ shift 2 ;;
+ --) # Discard all non-option parameters
+ shift 1;
+ break ;;
+ *)
+ die "unknown option '${1}'" ;;
esac
done
^ permalink raw reply related
* [Buildroot] [git commit] Add defconfig for MIPS Creator ci40
From: Peter Korsgaard @ 2017-04-27 20:58 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=051e9851f499fb2982591531e210c91563232c63
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Abhimanyu Vishwakarma <Abhimanyu.V@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
board/ci40/genimage.cfg | 12 +++++++++
board/ci40/post-build.sh | 4 +++
board/ci40/readme.txt | 65 ++++++++++++++++++++++++++++++++++++++++++++++++
configs/ci40_defconfig | 48 +++++++++++++++++++++++++++++++++++
4 files changed, 129 insertions(+)
diff --git a/board/ci40/genimage.cfg b/board/ci40/genimage.cfg
new file mode 100644
index 0000000..0ffc91c
--- /dev/null
+++ b/board/ci40/genimage.cfg
@@ -0,0 +1,12 @@
+# Minimal SD card image
+#
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext4"
+ }
+}
diff --git a/board/ci40/post-build.sh b/board/ci40/post-build.sh
new file mode 100755
index 0000000..9af74c7
--- /dev/null
+++ b/board/ci40/post-build.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# Copy to target
+cp ${BINARIES_DIR}/vmlinux.gz.itb ${TARGET_DIR}/fitImage
diff --git a/board/ci40/readme.txt b/board/ci40/readme.txt
new file mode 100644
index 0000000..ba1eb93
--- /dev/null
+++ b/board/ci40/readme.txt
@@ -0,0 +1,65 @@
+*********************
+* MIPS Creator CI40 *
+*********************
+
+This document details how to build and run a Buildroot system on the
+MIPS Creator CI40 platform. For more details about the CI40, see
+https://creatordev.io/ci40-iot-hub.html.
+
+How to build
+------------
+
+$ make ci40_defconfig
+$ make
+
+Prepare USB/MMC for boot
+------------------------
+
+On successful build, "sdcard.img" file will be created in 'output/images'
+folder.
+
+Use following command to write image to bootable device
+
+$ sudo dd if=./output/images/sdcard.img of=/dev/<your-microsd-or-usb-device>
+
+Booting from USB/MMC
+--------------------
+
+The boot loader is already present in NOR flash. To boot your newly generated
+Linux and root filesystem, you need to interrupt U-Boot autoboot. Current
+U-Boot is configured with 2 seconds of boot-delay, after expiry of this
+boot-delay timeout U-Boot starts booting the default image. To interrupt
+autoboot, press any key before the boot-delay time expires, U-Boot will
+stop the autoboot process and give a U-Boot prompt. You can now boot to
+your preferred boot method as describe below:
+
+From USB
+ pistachio # run usbboot
+
+From SD-Card
+ pistachio # run mmcboot
+
+Persistent boot command
+-----------------------
+
+To boot automatically to your preferred boot method, use following command to
+make it persistent, for example to automatically boot to usb:
+
+ pistachio # setenv bootcmd run usbboot
+ pistachio # saveenv
+
+Flash new bootloader
+--------------------
+
+The bootloader image will be available in the 'output/images' folder. To flash
+the new bootloader, copy it to the device and use the following command on the
+device:
+
+# flashcp -v u-boot-pistachio_marduk-<version>.img /dev/mtd0
+
+Online docs
+-----------
+
+Mostly for OpenWRT but it is applicable to Buildroot
+https://docs.creatordev.io/ci40/guides/openwrt-platform/#overview
+
diff --git a/configs/ci40_defconfig b/configs/ci40_defconfig
new file mode 100644
index 0000000..2ea3afe
--- /dev/null
+++ b/configs/ci40_defconfig
@@ -0,0 +1,48 @@
+# architecture
+BR2_mipsel=y
+BR2_mips_32r2=y
+
+# linux header same as custom kernel ie 4.4.x
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
+
+# kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,CreatorDev,linux,openwrt-4.4.14)/linux-openwrt-4.4.14.tar.gz"
+BR2_LINUX_KERNEL_DEFCONFIG="pistachio"
+BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y
+# vmlinux.gz.itb image includes img/pistachio_marduk device tree
+BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="vmlinux.gz.itb"
+
+# bootloader flash support
+BR2_PACKAGE_MTD=y
+
+# wireless firmware
+BR2_PACKAGE_UCCP420WLAN=y
+
+# wireless package
+BR2_PACKAGE_WIRELESS_TOOLS=y
+BR2_PACKAGE_WPA_SUPPLICANT=y
+BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
+
+# bootloader
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pistachio_marduk"
+BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,CreatorDev,u-boot,v1.0.5)/u-boot-CreatorDev-v1.0.5.tar.gz"
+BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
+BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-pistachio_marduk-2015.10-v1.0.5.img"
+
+# fitimage / image generation
+BR2_PACKAGE_HOST_UBOOT_TOOLS=y
+BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y
+BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT=y
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/ci40/post-build.sh"
+
+# image generation
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ci40/genimage.cfg"
^ permalink raw reply related
* [Buildroot] [PATCH v1] qt5base: fix examples compile with disabled gui module
From: Peter Seiderer @ 2017-04-27 21:01 UTC (permalink / raw)
To: buildroot
Fixes [1]:
Project ERROR: Could not find feature opengl.
[1] http://autobuild.buildroot.net/results/040/040ab283dbbec623fe5ff4eaece754d9701fafc5
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
...4-examples-fix-compile-without-gui-module.patch | 42 ++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 package/qt5/qt5base/5.8.0/0004-examples-fix-compile-without-gui-module.patch
diff --git a/package/qt5/qt5base/5.8.0/0004-examples-fix-compile-without-gui-module.patch b/package/qt5/qt5base/5.8.0/0004-examples-fix-compile-without-gui-module.patch
new file mode 100644
index 000000000..148ced800
--- /dev/null
+++ b/package/qt5/qt5base/5.8.0/0004-examples-fix-compile-without-gui-module.patch
@@ -0,0 +1,42 @@
+From fe8a9bacf781fcf290e04a08f2b8e37d881d58bb Mon Sep 17 00:00:00 2001
+From: Peter Seiderer <ps.report@gmx.net>
+Date: Thu, 27 Apr 2017 22:41:28 +0200
+Subject: [PATCH] examples: fix compile without gui module
+
+Fixes:
+
+ Project ERROR: Could not find feature opengl.
+
+Signed-off-by: Peter Seiderer <ps.report@gmx.net>
+---
+ examples/gui/gui.pro | 2 +-
+ examples/widgets/widgets.pro | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/examples/gui/gui.pro b/examples/gui/gui.pro
+index a4d960d3f5..b8080c2075 100644
+--- a/examples/gui/gui.pro
++++ b/examples/gui/gui.pro
+@@ -6,5 +6,5 @@ CONFIG += no_docs_target
+
+ SUBDIRS += analogclock
+ SUBDIRS += rasterwindow
+-qtConfig(opengl): \
++qtHaveModule(gui):qtConfig(opengl): \
+ SUBDIRS += openglwindow
+diff --git a/examples/widgets/widgets.pro b/examples/widgets/widgets.pro
+index 513ddc91f2..cef4936d32 100644
+--- a/examples/widgets/widgets.pro
++++ b/examples/widgets/widgets.pro
+@@ -22,7 +22,7 @@ SUBDIRS = \
+ tutorials \
+ widgets
+
+-qtConfig(opengl): \
++qtHaveModule(gui):qtConfig(opengl): \
+ SUBDIRS += windowcontainer
+
+ contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows
+--
+2.11.0
+
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH] protobuf: fix musl build
From: Mario Rugiero @ 2017-04-27 21:12 UTC (permalink / raw)
To: buildroot
In-Reply-To: <703712d685c4c0e1459af8b8d3a0fcbd80a87c85.1493324348.git.baruch@tkos.co.il>
Looks good to me.
2017-04-27 17:19 GMT-03:00 Baruch Siach <baruch@tkos.co.il>:
> Add upstream patch fixing conflict with musl defined major/minor macros.
>
> Fixes:
> http://autobuild.buildroot.net/results/fc5/fc5ea266eecb6ecab011ea3542f0bb680fb8fb3b/
> http://autobuild.buildroot.net/results/3b3/3b3fe16978f19e65a6c6dc1712d72cb349eed0d5/
> http://autobuild.buildroot.net/results/1da/1dac9d5e49342700036c90ed4785fff7398b8966/
>
> Cc: Mario J. Rugiero <mrugiero@gmail.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> package/protobuf/protobuf.hash | 1 +
> package/protobuf/protobuf.mk | 2 ++
> 2 files changed, 3 insertions(+)
>
> diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash
> index 9ec6bc759d8f..8c2ade37e7cd 100644
> --- a/package/protobuf/protobuf.hash
> +++ b/package/protobuf/protobuf.hash
> @@ -1,2 +1,3 @@
> # Locally calculated
> sha256 51d773e4297238b282eaa4c1dd317099675b12eef2b414732b851c00459225c6 protobuf-cpp-3.2.0.tar.gz
> +sha256 da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3 416f90939d4de58fe1a4e2489120010313183291.patch
> diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
> index a3e96d4f898c..610da8c04a94 100644
> --- a/package/protobuf/protobuf.mk
> +++ b/package/protobuf/protobuf.mk
> @@ -19,6 +19,8 @@ PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc
>
> PROTOBUF_INSTALL_STAGING = YES
>
> +PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch
> +
> ifeq ($(BR2_PACKAGE_ZLIB),y)
> PROTOBUF_DEPENDENCIES += zlib
> endif
> --
> 2.11.0
>
^ permalink raw reply
* [Buildroot] [PATCH v2 00/10] Update IPython's dependencies
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
Hi everyone,
This is second verion of my IPython patch series originally submitted in [v1].
Changes since v1:
- Remove all <pkg>_DEPENDENCIES build-time dependencies from
package files
- Use SPDX license names
- Address warnings produced by check-package
Let me know if I missed anything or if there any more issues that need
to be addressed.
Thanks,
Andrey Smirnov
[v1] http://lists.busybox.net/pipermail/buildroot/2017-April/190423.html
Andrey Smirnov (10):
package/python-decorator: New package
package/python-traitlets: New package
package/python-simplegeneric: New package
package/python-ipython-genutils: New package
package/python-scandir: New package
package/python-pathlib2: New package
package/python-pickleshare: New package
package/python-backports-shutil-get-terminal-size: New package
package/python-ipython: Reformat help text to avoid warnings
package/python-ipython: Add dependecy list
package/Config.in | 8 ++++++++
.../Config.in | 9 +++++++++
.../python-backports-shutil-get-terminal-size.hash | 2 ++
.../python-backports-shutil-get-terminal-size.mk | 13 +++++++++++++
package/python-decorator/Config.in | 6 ++++++
package/python-decorator/python-decorator.mk | 13 +++++++++++++
package/python-ipython-genutils/Config.in | 6 ++++++
.../python-ipython-genutils.hash | 3 +++
.../python-ipython-genutils.mk | 13 +++++++++++++
package/python-ipython/Config.in | 19 +++++++++++++++----
package/python-pathlib2/Config.in | 14 ++++++++++++++
package/python-pathlib2/python-pathlib2.hash | 2 ++
package/python-pathlib2/python-pathlib2.mk | 13 +++++++++++++
package/python-pickleshare/Config.in | 7 +++++++
package/python-pickleshare/python-pickleshare.hash | 2 ++
package/python-pickleshare/python-pickleshare.mk | 13 +++++++++++++
package/python-scandir/Config.in | 6 ++++++
package/python-scandir/python-scandir.hash | 2 ++
package/python-scandir/python-scandir.mk | 13 +++++++++++++
package/python-simplegeneric/Config.in | 6 ++++++
.../python-simplegeneric/python-simplegeneric.hash | 3 +++
package/python-simplegeneric/python-simplegeneric.mk | 19 +++++++++++++++++++
package/python-traitlets/Config.in | 8 ++++++++
package/python-traitlets/python-traitlets.hash | 2 ++
package/python-traitlets/python-traitlets.mk | 13 +++++++++++++
25 files changed, 211 insertions(+), 4 deletions(-)
create mode 100644 package/python-backports-shutil-get-terminal-size/Config.in
create mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash
create mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk
create mode 100644 package/python-decorator/Config.in
create mode 100644 package/python-decorator/python-decorator.mk
create mode 100644 package/python-ipython-genutils/Config.in
create mode 100644 package/python-ipython-genutils/python-ipython-genutils.hash
create mode 100644 package/python-ipython-genutils/python-ipython-genutils.mk
create mode 100644 package/python-pathlib2/Config.in
create mode 100644 package/python-pathlib2/python-pathlib2.hash
create mode 100644 package/python-pathlib2/python-pathlib2.mk
create mode 100644 package/python-pickleshare/Config.in
create mode 100644 package/python-pickleshare/python-pickleshare.hash
create mode 100644 package/python-pickleshare/python-pickleshare.mk
create mode 100644 package/python-scandir/Config.in
create mode 100644 package/python-scandir/python-scandir.hash
create mode 100644 package/python-scandir/python-scandir.mk
create mode 100644 package/python-simplegeneric/Config.in
create mode 100644 package/python-simplegeneric/python-simplegeneric.hash
create mode 100644 package/python-simplegeneric/python-simplegeneric.mk
create mode 100644 package/python-traitlets/Config.in
create mode 100644 package/python-traitlets/python-traitlets.hash
create mode 100644 package/python-traitlets/python-traitlets.mk
--
2.9.3
^ permalink raw reply
* [Buildroot] [PATCH v2 01/10] package/python-decorator: New package
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170427213340.26917-1-andrew.smirnov@gmail.com>
Add 'decorator'[1] package to Buildroot. Needed by 'traitlets'
package, which is added in the next patch.
[1] https://pypi.python.org/pypi/decorator
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/Config.in | 1 +
package/python-decorator/Config.in | 6 ++++++
package/python-decorator/python-decorator.mk | 13 +++++++++++++
3 files changed, 20 insertions(+)
create mode 100644 package/python-decorator/Config.in
create mode 100644 package/python-decorator/python-decorator.mk
diff --git a/package/Config.in b/package/Config.in
index 25405c1..eb6d197 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -701,6 +701,7 @@ menu "External python modules"
source "package/python-daemon/Config.in"
source "package/python-dataproperty/Config.in"
source "package/python-dateutil/Config.in"
+ source "package/python-decorator/Config.in"
source "package/python-dialog/Config.in"
source "package/python-dialog3/Config.in"
source "package/python-dicttoxml/Config.in"
diff --git a/package/python-decorator/Config.in b/package/python-decorator/Config.in
new file mode 100644
index 0000000..e7ec00c
--- /dev/null
+++ b/package/python-decorator/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_DECORATOR
+ bool "python-decorator"
+ help
+ Better living through Python with decorators
+
+ https://github.com/micheles/decorator
diff --git a/package/python-decorator/python-decorator.mk b/package/python-decorator/python-decorator.mk
new file mode 100644
index 0000000..fac03a3
--- /dev/null
+++ b/package/python-decorator/python-decorator.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-decorator
+#
+################################################################################
+
+PYTHON_DECORATOR_VERSION = 4.0.11
+PYTHON_DECORATOR_SITE = https://github.com/micheles/decorator.git
+PYTHON_DECORATOR_SITE_METHOD = git
+PYTHON_DECORATOR_LICENSE = BSD-2-Clause
+PYTHON_DECORATOR_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH v2 02/10] package/python-traitlets: New package
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170427213340.26917-1-andrew.smirnov@gmail.com>
Add 'traitlets'[1] package to Buildroot. Needed by IPython.
[1] https://pypi.python.org/pypi/traitlets
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/Config.in | 1 +
package/python-traitlets/Config.in | 8 ++++++++
package/python-traitlets/python-traitlets.hash | 2 ++
package/python-traitlets/python-traitlets.mk | 13 +++++++++++++
4 files changed, 24 insertions(+)
create mode 100644 package/python-traitlets/Config.in
create mode 100644 package/python-traitlets/python-traitlets.hash
create mode 100644 package/python-traitlets/python-traitlets.mk
diff --git a/package/Config.in b/package/Config.in
index eb6d197..47f43eb 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -843,6 +843,7 @@ menu "External python modules"
source "package/python-tomako/Config.in"
source "package/python-toml/Config.in"
source "package/python-tornado/Config.in"
+ source "package/python-traitlets/Config.in"
source "package/python-treq/Config.in"
source "package/python-twisted/Config.in"
source "package/python-txaio/Config.in"
diff --git a/package/python-traitlets/Config.in b/package/python-traitlets/Config.in
new file mode 100644
index 0000000..ea21c1b
--- /dev/null
+++ b/package/python-traitlets/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_TRAITLETS
+ bool "python-traitlets"
+ select BR2_PACKAGE_PYTHON_DECORATOR
+ select BR2_PACKAGE_PYTHON_ENUM if BR2_PACKAGE_PYTHON
+ help
+ A configuration system for Python applications.
+
+ https://pypi.python.org/pypi/traitlets
diff --git a/package/python-traitlets/python-traitlets.hash b/package/python-traitlets/python-traitlets.hash
new file mode 100644
index 0000000..3b14991
--- /dev/null
+++ b/package/python-traitlets/python-traitlets.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 370f938ad730d52272ef74f96f831cb21138f6168e46fe582fe256c35cc656ce python-traitlets-4.3.2.tar.gz
diff --git a/package/python-traitlets/python-traitlets.mk b/package/python-traitlets/python-traitlets.mk
new file mode 100644
index 0000000..45f393d
--- /dev/null
+++ b/package/python-traitlets/python-traitlets.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-traitlets
+#
+################################################################################
+
+PYTHON_TRAITLETS_VERSION = 4.3.2
+PYTHON_TRAITLETS_SOURCE = python-traitlets-$(PYTHON_TRAITLETS_VERSION).tar.gz
+PYTHON_TRAITLETS_SITE = $(call github,ipython,traitlets,$(PYTHON_TRAITLETS_VERSION))
+PYTHON_TRAITLETS_LICENSE = BSD-3-Clause
+PYTHON_TRAITLETS_SETUP_TYPE = distutils
+
+$(eval $(python-package))
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH v2 03/10] package/python-simplegeneric: New package
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170427213340.26917-1-andrew.smirnov@gmail.com>
Add 'simplegeneric'[1] package to Buildroot. Needed by IPython.
[1] https://pypi.python.org/pypi/simplegeneric
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/Config.in | 1 +
package/python-simplegeneric/Config.in | 6 ++++++
.../python-simplegeneric/python-simplegeneric.hash | 3 +++
package/python-simplegeneric/python-simplegeneric.mk | 19 +++++++++++++++++++
4 files changed, 29 insertions(+)
create mode 100644 package/python-simplegeneric/Config.in
create mode 100644 package/python-simplegeneric/python-simplegeneric.hash
create mode 100644 package/python-simplegeneric/python-simplegeneric.mk
diff --git a/package/Config.in b/package/Config.in
index 47f43eb..1a0702d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -830,6 +830,7 @@ menu "External python modules"
source "package/python-sh/Config.in"
source "package/python-shutilwhich/Config.in"
source "package/python-simpleaudio/Config.in"
+ source "package/python-simplegeneric/Config.in"
source "package/python-simplejson/Config.in"
source "package/python-singledispatch/Config.in"
source "package/python-sip/Config.in"
diff --git a/package/python-simplegeneric/Config.in b/package/python-simplegeneric/Config.in
new file mode 100644
index 0000000..b5ebfec
--- /dev/null
+++ b/package/python-simplegeneric/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_SIMPLEGENERIC
+ bool "python-simplegeneric"
+ help
+ A configuration system for Python applications.
+
+ https://pypi.python.org/pypi/simplegeneric
diff --git a/package/python-simplegeneric/python-simplegeneric.hash b/package/python-simplegeneric/python-simplegeneric.hash
new file mode 100644
index 0000000..24f652c
--- /dev/null
+++ b/package/python-simplegeneric/python-simplegeneric.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/simplegeneric, sha256 locally computed
+md5 f9c1fab00fd981be588fc32759f474e3 simplegeneric-0.8.1.zip
+sha256 dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173 simplegeneric-0.8.1.zip
diff --git a/package/python-simplegeneric/python-simplegeneric.mk b/package/python-simplegeneric/python-simplegeneric.mk
new file mode 100644
index 0000000..a741a21
--- /dev/null
+++ b/package/python-simplegeneric/python-simplegeneric.mk
@@ -0,0 +1,19 @@
+################################################################################
+#
+# python-simplegeneric
+#
+################################################################################
+
+PYTHON_SIMPLEGENERIC_VERSION = 0.8.1
+PYTHON_SIMPLEGENERIC_SOURCE = simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION).zip
+PYTHON_SIMPLEGENERIC_SITE = https://pypi.python.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b
+PYTHON_SIMPLEGENERIC_LICENSE = BSD-3-Clause
+PYTHON_SIMPLEGENERIC_SETUP_TYPE = distutils
+
+define PYTHON_SIMPLEGENERIC_EXTRACT_CMDS
+ unzip $(DL_DIR)/$(PYTHON_SIMPLEGENERIC_SOURCE) -d $(@D)
+ mv $(@D)/simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION)/* $(@D)
+ rmdir $(@D)/simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION)
+endef
+
+$(eval $(python-package))
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH v2 04/10] package/python-ipython-genutils: New package
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170427213340.26917-1-andrew.smirnov@gmail.com>
Add 'ipython_genutils'[1] package to Buildroot. Needed by IPython.
[1] https://pypi.python.org/pypi/ipython_genutils
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/Config.in | 1 +
package/python-ipython-genutils/Config.in | 6 ++++++
.../python-ipython-genutils/python-ipython-genutils.hash | 3 +++
package/python-ipython-genutils/python-ipython-genutils.mk | 13 +++++++++++++
4 files changed, 23 insertions(+)
create mode 100644 package/python-ipython-genutils/Config.in
create mode 100644 package/python-ipython-genutils/python-ipython-genutils.hash
create mode 100644 package/python-ipython-genutils/python-ipython-genutils.mk
diff --git a/package/Config.in b/package/Config.in
index 1a0702d..143bccc 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -735,6 +735,7 @@ menu "External python modules"
source "package/python-ipaddress/Config.in"
source "package/python-ipy/Config.in"
source "package/python-ipython/Config.in"
+ source "package/python-ipython-genutils/Config.in"
source "package/python-itsdangerous/Config.in"
source "package/python-jinja2/Config.in"
source "package/python-jsonschema/Config.in"
diff --git a/package/python-ipython-genutils/Config.in b/package/python-ipython-genutils/Config.in
new file mode 100644
index 0000000..d49442e
--- /dev/null
+++ b/package/python-ipython-genutils/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_IPYTHON_GENUTILS
+ bool "python-ipython-genutils"
+ help
+ IPython vestigial utilities
+
+ https://pypi.python.org/pypi/ipython_genutils
diff --git a/package/python-ipython-genutils/python-ipython-genutils.hash b/package/python-ipython-genutils/python-ipython-genutils.hash
new file mode 100644
index 0000000..76a74c9
--- /dev/null
+++ b/package/python-ipython-genutils/python-ipython-genutils.hash
@@ -0,0 +1,3 @@
+# sha256 locally computed.
+
+sha256 424a6ecb33b8c9a8320f8601c533067ed75b491e4bc31621d6278f288497cb1a ipython_genutils-0.2.0.tar.gz
diff --git a/package/python-ipython-genutils/python-ipython-genutils.mk b/package/python-ipython-genutils/python-ipython-genutils.mk
new file mode 100644
index 0000000..e888300
--- /dev/null
+++ b/package/python-ipython-genutils/python-ipython-genutils.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-ipython-genutils
+#
+################################################################################
+
+PYTHON_IPYTHON_GENUTILS_VERSION = 0.2.0
+PYTHON_IPYTHON_GENUTILS_SOURCE = ipython_genutils-$(PYTHON_IPYTHON_GENUTILS_VERSION).tar.gz
+PYTHON_IPYTHON_GENUTILS_SITE = $(call github,ipython,ipython_genutils,$(PYTHON_IPYTHON_GENUTILS_VERSION))
+PYTHON_IPYTHON_GENUTILS_LICENSE = BSD-3-Clause
+PYTHON_IPYTHON_GENUTILS_SETUP_TYPE = distutils
+
+$(eval $(python-package))
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH v2 05/10] package/python-scandir: New package
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170427213340.26917-1-andrew.smirnov@gmail.com>
Add 'scandir'[1] package to buildroot. Needed by 'pathlib2'.
[1] https://pypi.python.org/pypi/scandir
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/Config.in | 1 +
package/python-scandir/Config.in | 6 ++++++
package/python-scandir/python-scandir.hash | 2 ++
package/python-scandir/python-scandir.mk | 13 +++++++++++++
4 files changed, 22 insertions(+)
create mode 100644 package/python-scandir/Config.in
create mode 100644 package/python-scandir/python-scandir.hash
create mode 100644 package/python-scandir/python-scandir.mk
diff --git a/package/Config.in b/package/Config.in
index 143bccc..c64105e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -823,6 +823,7 @@ menu "External python modules"
source "package/python-rpi-gpio/Config.in"
source "package/python-rtslib-fb/Config.in"
source "package/python-scapy3k/Config.in"
+ source "package/python-scandir/Config.in"
source "package/python-sdnotify/Config.in"
source "package/python-serial/Config.in"
source "package/python-service-identity/Config.in"
diff --git a/package/python-scandir/Config.in b/package/python-scandir/Config.in
new file mode 100644
index 0000000..5e8ca0d
--- /dev/null
+++ b/package/python-scandir/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_SCANDIR
+ bool "python-scandir"
+ help
+ A configuration system for Python applications.
+
+ https://pypi.python.org/pypi/pickleshare
diff --git a/package/python-scandir/python-scandir.hash b/package/python-scandir/python-scandir.hash
new file mode 100644
index 0000000..a7ee337
--- /dev/null
+++ b/package/python-scandir/python-scandir.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 c2612d1a487d80fb4701b4a91ca1b8f8a695b1ae820570815e85e8c8b23f1283 scandir-1.5.tar.gz
diff --git a/package/python-scandir/python-scandir.mk b/package/python-scandir/python-scandir.mk
new file mode 100644
index 0000000..cf921ae
--- /dev/null
+++ b/package/python-scandir/python-scandir.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-scandir
+#
+################################################################################
+
+PYTHON_SCANDIR_VERSION = 1.5
+PYTHON_SCANDIR_SOURCE = scandir-$(PYTHON_SCANDIR_VERSION).tar.gz
+PYTHON_SCANDIR_SITE = https://pypi.python.org/packages/bd/f4/3143e0289faf0883228017dbc6387a66d0b468df646645e29e1eb89ea10e
+PYTHON_SCANDIR_LICENSE = BSD-3-Clause
+PYTHON_SCANDIR_SETUP_TYPE = distutils
+
+$(eval $(python-package))
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH v2 06/10] package/python-pathlib2: New package
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170427213340.26917-1-andrew.smirnov@gmail.com>
Add 'pathlib2'[1] package to Buildroot. Needed by 'pickleshare'
package, which is added in the next patch.
[1] https://pypi.python.org/pypi/pathlib2
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/Config.in | 1 +
package/python-pathlib2/Config.in | 14 ++++++++++++++
package/python-pathlib2/python-pathlib2.hash | 2 ++
package/python-pathlib2/python-pathlib2.mk | 13 +++++++++++++
4 files changed, 30 insertions(+)
create mode 100644 package/python-pathlib2/Config.in
create mode 100644 package/python-pathlib2/python-pathlib2.hash
create mode 100644 package/python-pathlib2/python-pathlib2.mk
diff --git a/package/Config.in b/package/Config.in
index c64105e..d8880df 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -768,6 +768,7 @@ menu "External python modules"
source "package/python-paramiko/Config.in"
source "package/python-pathpy/Config.in"
source "package/python-pathtools/Config.in"
+ source "package/python-pathlib2/Config.in"
source "package/python-pathvalidate/Config.in"
source "package/python-pexpect/Config.in"
source "package/python-pillow/Config.in"
diff --git a/package/python-pathlib2/Config.in b/package/python-pathlib2/Config.in
new file mode 100644
index 0000000..71cd27e
--- /dev/null
+++ b/package/python-pathlib2/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_PYTHON_PATHLIB2
+ bool "python-pathlib2"
+ depends on BR2_PACKAGE_PYTHON
+ select BR2_PACKAGE_PYTHON_SIX
+ select BR2_PACKAGE_PYTHON_SCANDIR
+ help
+ Object-oriented filesystem paths.
+
+ The goal of pathlib2 is to provide a backport of standard
+ pathlib module which tracks the standard library module, so
+ all the newest features of the standard pathlib can be used
+ also on older Python versions.
+
+ https://pypi.python.org/pypi/pathlib2
diff --git a/package/python-pathlib2/python-pathlib2.hash b/package/python-pathlib2/python-pathlib2.hash
new file mode 100644
index 0000000..e09496a
--- /dev/null
+++ b/package/python-pathlib2/python-pathlib2.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 ce9007df617ef6b7bd8a31cd2089ed0c1fed1f7c23cf2bf1ba140b3dd563175d pathlib2-2.2.1.tar.gz
diff --git a/package/python-pathlib2/python-pathlib2.mk b/package/python-pathlib2/python-pathlib2.mk
new file mode 100644
index 0000000..d3b0d68
--- /dev/null
+++ b/package/python-pathlib2/python-pathlib2.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-pathlib2
+#
+################################################################################
+
+PYTHON_PATHLIB2_VERSION = 2.2.1
+PYTHON_PATHLIB2_SOURCE = pathlib2-$(PYTHON_PATHLIB2_VERSION).tar.gz
+PYTHON_PATHLIB2_SITE = https://pypi.python.org/packages/ab/d8/ac7489d50146f29d0a14f65545698f4545d8a6b739b24b05859942048b56
+PYTHON_PATHLIB2_LICENSE = MIT
+PYTHON_PATHLIB2_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH v2 07/10] package/python-pickleshare: New package
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170427213340.26917-1-andrew.smirnov@gmail.com>
Add 'pickleshare'[1] package to buildroot. Needed by 'IPython'.
[1] https://pypi.python.org/pypi/pickleshare
Add pickleshare to satisfy IPython's dependency.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/Config.in | 1 +
package/python-pickleshare/Config.in | 7 +++++++
package/python-pickleshare/python-pickleshare.hash | 2 ++
package/python-pickleshare/python-pickleshare.mk | 13 +++++++++++++
4 files changed, 23 insertions(+)
create mode 100644 package/python-pickleshare/Config.in
create mode 100644 package/python-pickleshare/python-pickleshare.hash
create mode 100644 package/python-pickleshare/python-pickleshare.mk
diff --git a/package/Config.in b/package/Config.in
index d8880df..a749b78 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -771,6 +771,7 @@ menu "External python modules"
source "package/python-pathlib2/Config.in"
source "package/python-pathvalidate/Config.in"
source "package/python-pexpect/Config.in"
+ source "package/python-pickleshare/Config.in"
source "package/python-pillow/Config.in"
source "package/python-posix-ipc/Config.in"
source "package/python-prompt-toolkit/Config.in"
diff --git a/package/python-pickleshare/Config.in b/package/python-pickleshare/Config.in
new file mode 100644
index 0000000..a453769
--- /dev/null
+++ b/package/python-pickleshare/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PICKLESHARE
+ bool "python-pickleshare"
+ select BR2_PACKAGE_PYTHON_PATHLIB2 if BR2_PACKAGE_PYTHON
+ help
+ A configuration system for Python applications.
+
+ https://pypi.python.org/pypi/pickleshare
diff --git a/package/python-pickleshare/python-pickleshare.hash b/package/python-pickleshare/python-pickleshare.hash
new file mode 100644
index 0000000..f9f9beb
--- /dev/null
+++ b/package/python-pickleshare/python-pickleshare.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 a9ccf2c87c2224f26dd5b7dfd135f2472e374ae972f8d510b1b940861beb1eb4 pickleshare-0.7.4.tar.gz
diff --git a/package/python-pickleshare/python-pickleshare.mk b/package/python-pickleshare/python-pickleshare.mk
new file mode 100644
index 0000000..fa62c62
--- /dev/null
+++ b/package/python-pickleshare/python-pickleshare.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-pickleshare
+#
+################################################################################
+
+PYTHON_PICKLESHARE_VERSION = 0.7.4
+PYTHON_PICKLESHARE_SOURCE = pickleshare-$(PYTHON_PICKLESHARE_VERSION).tar.gz
+PYTHON_PICKLESHARE_SITE = $(call github,pickleshare,pickleshare,$(PYTHON_PICKLESHARE_VERSION))
+PYTHON_PICKLESHARE_LICENSE = MIT
+PYTHON_PICKLESHARE_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH v2 08/10] package/python-backports-shutil-get-terminal-size: New package
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170427213340.26917-1-andrew.smirnov@gmail.com>
Add 'scandir'[1] package to buildroot. Needed by 'IPython', when
building against Python2.
[1] https://pypi.python.org/pypi/backports.shutil_get_terminal_size
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/Config.in | 1 +
package/python-backports-shutil-get-terminal-size/Config.in | 9 +++++++++
.../python-backports-shutil-get-terminal-size.hash | 2 ++
.../python-backports-shutil-get-terminal-size.mk | 13 +++++++++++++
4 files changed, 25 insertions(+)
create mode 100644 package/python-backports-shutil-get-terminal-size/Config.in
create mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash
create mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk
diff --git a/package/Config.in b/package/Config.in
index a749b78..87240ef 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -675,6 +675,7 @@ menu "External python modules"
source "package/python-autobahn/Config.in"
source "package/python-babel/Config.in"
source "package/python-backports-abc/Config.in"
+ source "package/python-backports-shutil-get-terminal-size/Config.in"
source "package/python-beautifulsoup4/Config.in"
source "package/python-bitstring/Config.in"
source "package/python-bottle/Config.in"
diff --git a/package/python-backports-shutil-get-terminal-size/Config.in b/package/python-backports-shutil-get-terminal-size/Config.in
new file mode 100644
index 0000000..24bf3b7
--- /dev/null
+++ b/package/python-backports-shutil-get-terminal-size/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE
+ bool "python-backports-shutil-get-terminal-size"
+ depends on BR2_PACKAGE_PYTHON
+ help
+
+ A backport of the get_terminal_size function from Python
+ 3.3's shutil.
+
+ https://pypi.python.org/pypi/backports.shutil_get_terminal_size
diff --git a/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash
new file mode 100644
index 0000000..0df0cf7
--- /dev/null
+++ b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 713e7a8228ae80341c70586d1cc0a8caa5207346927e23d09dcbcaf18eadec80 backports.shutil_get_terminal_size-1.0.0.tar.gz
diff --git a/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk
new file mode 100644
index 0000000..63cf363
--- /dev/null
+++ b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-backports-shutil-get-terminal-size
+#
+################################################################################
+
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_VERSION = 1.0.0
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SOURCE = backports.shutil_get_terminal_size-$(PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_VERSION).tar.gz
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SITE = https://pypi.python.org/packages/ec/9c/368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SETUP_TYPE = setuptools
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_LICENSE = MIT
+
+$(eval $(python-package))
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH v2 09/10] package/python-ipython: Reformat help text to avoid warnings
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170427213340.26917-1-andrew.smirnov@gmail.com>
Reformat help text in Config.in to avoid warnings from
check-package. No content change intended.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/python-ipython/Config.in | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/package/python-ipython/Config.in b/package/python-ipython/Config.in
index 1d92873..b87f2bc 100644
--- a/package/python-ipython/Config.in
+++ b/package/python-ipython/Config.in
@@ -1,9 +1,10 @@
config BR2_PACKAGE_PYTHON_IPYTHON
bool "python-ipython"
help
- IPython is a command shell for interactive computing in multiple
- programming languages, originally developed for the Python
- programming language, that offers enhanced introspection, rich
- media, additional shell syntax, tab completion, and rich history.
+ IPython is a command shell for interactive computing in
+ multiple programming languages, originally developed for the
+ Python programming language, that offers enhanced
+ introspection, rich media, additional shell syntax, tab
+ completion, and rich history.
http://ipython.org/
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH v2 10/10] package/python-ipython: Add dependecy list
From: Andrey Smirnov @ 2017-04-27 21:33 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170427213340.26917-1-andrew.smirnov@gmail.com>
List minimal set of packages needed to be installed alongside to be able
to run IPython with Python 2/3.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/python-ipython/Config.in | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/package/python-ipython/Config.in b/package/python-ipython/Config.in
index b87f2bc..eda8227 100644
--- a/package/python-ipython/Config.in
+++ b/package/python-ipython/Config.in
@@ -1,5 +1,15 @@
config BR2_PACKAGE_PYTHON_IPYTHON
bool "python-ipython"
+ select BR2_PACKAGE_PYTHON_SIX
+ select BR2_PACKAGE_PYTHON_TRAITLETS
+ select BR2_PACKAGE_PYTHON_IPYTHON_GENUTILS
+ select BR2_PACKAGE_PYTHON_PYGMENTS
+ select BR2_PACKAGE_PYTHON_PEXPECT
+ select BR2_PACKAGE_PYTHON_PTYPROCESS
+ select BR2_PACKAGE_PYTHON_PICKLESHARE
+ select BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT
+ select BR2_PACKAGE_PYTHON_SIMPLEGENERIC
+ select BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE if BR2_PACKAGE_PYTHON
help
IPython is a command shell for interactive computing in
multiple programming languages, originally developed for the
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH v10 1/2] genimage.sh: fix calling from BR2_ROOTFS_POST_IMAGE_SCRIPT
From: Peter Korsgaard @ 2017-04-27 21:36 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170424052445.7637-1-abhimanyu.v@gmail.com>
>>>>> "Abhimanyu" == Abhimanyu Vishwakarma <abhimanyu.v@gmail.com> writes:
> From: Abhimanyu Vishwakarma <Abhimanyu.V@gmail.com>
> When called from BR2_ROOTFS_POST_IMAGE_SCRIPT, this script
> ends up with following error:
> Error: Missing argument
> This is because, an extra positional argument is also passed
> along with BR2_ROOTFS_POST_SCRIPT_ARGS. genimage.sh didn't
> have support to parse positional and optional arguments
> together.
> Signed-off-by: Abhimanyu Vishwakarma <Abhimanyu.V@gmail.com>
> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> Tested-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
> ---
> Changes v7->v8
> - New file
> Changes v8->v9
> - Fix indentation
> - Use bash basename as script name instead hardcoding (by arnout)
> Changes v9->v10 (Suggested by Arnout)
> - Remove tab indentation (use existing 2 space indent)
> - Fix commit message grammer
> - add reviewed-by tag
> - keep tested-by tag as no code change just indentation
> support/scripts/genimage.sh | 19 ++++++++++++++-----
> 1 file changed, 14 insertions(+), 5 deletions(-)
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH v10 2/2] Add defconfig for MIPS Creator ci40
From: Peter Korsgaard @ 2017-04-27 21:36 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170424052653.8264-1-abhimanyu.v@gmail.com>
>>>>> "Abhimanyu" == Abhimanyu Vishwakarma <abhimanyu.v@gmail.com> writes:
> From: Abhimanyu Vishwakarma <Abhimanyu.V@gmail.com>
> Signed-off-by: Abhimanyu Vishwakarma <Abhimanyu.V@gmail.com>
> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> Tested-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
> ---
> Changes v1->v2
> - No change
> Changes v2->v3 (Suggested by Arnout)
> - Remove uImage and add fitImage generation
> - Tidy readme.txt
> - Tidy ci40_defconfig, remove custom toolchain and add wifi helper packages
> Some changes are not done:
> - Using git-helper:
> - Custom kernel doesnt provide tar file, so it didnt work for me
> Changes v3->v4 (Suggested by Arnout)
> - Use github helper for getting kernel/u-boot
> - rename fitImage.its -> fitImage.its.in to reflect as template file,
> remove hardcoded dtb filename
> - Find dtb file in output/images directory and use first dtb in fitImage
> - Remove image size from genimage.cfg
> - Tidy readme.txt and add section to explain how to stop u-boot autoboot,
> how to make it persistent, and other grammar
> Changes v4->v5 (Suggested by Thomas)
> - Use fixed kernel entry addr
> - Generate vmlinux.bin.gz from generate vmlinux.bin
> - Remove generating uImage (not required for anything now)
> Changes v5->v6
> - Use kernel generate fitimage
> - bump up u-boot version
> - Change emailid from imgtec.com -> personal id
> Changes v6->v7 (Suggested by Thomas)
> - Use genimage.sh script
> - Improve and fix grammer in readme.txt
> Changes v7->v8 (Suggested by Arnout)
> - Use genimage.sh script from POST_IMAGE_SCRIPT
> - Use uboot kconfig base config
> - Remove dts config from defconfig
> - Some other small cleanup
> - rebase on master
> Changes v8->v9 (Suggested by Arnout)
> - Use sh instead of bash where bash feature is not needed
> - Use sudo for command run on user PC
> - Update bootloader flashing help text in readme.txt
> Changes v9->v10
> - No changes
Committed, thanks. Thank you for your persistence in getting this
integrated!
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] libmpeg2: fix sparc32 build
From: Waldemar Brodkorb @ 2017-04-28 0:32 UTC (permalink / raw)
To: buildroot
In-Reply-To: <87wpa6l0uy.fsf@dell.be.48ers.dk>
Hi Peter,
Peter Korsgaard wrote,
> >>>>> "Waldemar" == Waldemar Brodkorb <wbx@openadk.org> writes:
>
> > The output detection recognized wrong target output, because
> > sparcv9 optimization flags used for sparcv8 build.
>
> > Fixes:
> > http://autobuild.buildroot.net/results/1b3158b03f7eaf5afb5a4dab9526091888f6c9b8
>
> > Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
>
> Committed, thanks. Don't forget to submit it upstream as well.
Upstream looks very inactive to me, I don't think I will submit it there.
best
Waldemar
^ permalink raw reply
* [Buildroot] [PATCH] protobuf: fix musl build
From: Baruch Siach @ 2017-04-28 6:24 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAKKQwLSUE_Th7oV=PW4wUWDo+W+kZSE9LZ5yRE4AnKmM18mXaA@mail.gmail.com>
Hi Mario,
On Thu, Apr 27, 2017 at 06:12:14PM -0300, Mario Rugiero wrote:
> Looks good to me.
Thanks.
Care to send a formal Acked-by for patchwork to note?
baruch
> 2017-04-27 17:19 GMT-03:00 Baruch Siach <baruch@tkos.co.il>:
> > Add upstream patch fixing conflict with musl defined major/minor macros.
> >
> > Fixes:
> > http://autobuild.buildroot.net/results/fc5/fc5ea266eecb6ecab011ea3542f0bb680fb8fb3b/
> > http://autobuild.buildroot.net/results/3b3/3b3fe16978f19e65a6c6dc1712d72cb349eed0d5/
> > http://autobuild.buildroot.net/results/1da/1dac9d5e49342700036c90ed4785fff7398b8966/
> >
> > Cc: Mario J. Rugiero <mrugiero@gmail.com>
> > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> > ---
> > package/protobuf/protobuf.hash | 1 +
> > package/protobuf/protobuf.mk | 2 ++
> > 2 files changed, 3 insertions(+)
> >
> > diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash
> > index 9ec6bc759d8f..8c2ade37e7cd 100644
> > --- a/package/protobuf/protobuf.hash
> > +++ b/package/protobuf/protobuf.hash
> > @@ -1,2 +1,3 @@
> > # Locally calculated
> > sha256 51d773e4297238b282eaa4c1dd317099675b12eef2b414732b851c00459225c6 protobuf-cpp-3.2.0.tar.gz
> > +sha256 da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3 416f90939d4de58fe1a4e2489120010313183291.patch
> > diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
> > index a3e96d4f898c..610da8c04a94 100644
> > --- a/package/protobuf/protobuf.mk
> > +++ b/package/protobuf/protobuf.mk
> > @@ -19,6 +19,8 @@ PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc
> >
> > PROTOBUF_INSTALL_STAGING = YES
> >
> > +PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch
> > +
> > ifeq ($(BR2_PACKAGE_ZLIB),y)
> > PROTOBUF_DEPENDENCIES += zlib
> > endif
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox