MycroftOS: Implementation of a very first initial bootable version

- Add Buildroot patches to downgrade / upgrade package dependencies
  in line with the Mycroft A.I. software stack requirements.
- Add buildroot additional package dependencies in line with the
  Mycroft A.I. software stack requirements.
- Update rpi3 defconfig file.
- Implement initial root_fs overlay filestructure.
- Addition of some quick and dirty helper scripts.
- Update of README to reflect these changes.
This commit is contained in:
Peter Steenbergen 2018-10-30 15:55:12 +01:00
parent b68a2beb9e
commit 55846e484a
209 changed files with 2282 additions and 36 deletions

3
.gitignore vendored
View File

@ -1,2 +1,5 @@
/ccache
/downloads
/buildroot
/release
/logs

View File

@ -1,24 +1,41 @@
# MycroftOS
# <img src='https://rawgithub.com/FortAwesome/Font-Awesome/master/advanced-options/raw-svg/solid/cogs.svg' card_color='#22a7f0' width='50' height='50' style='vertical-align:bottom'/> MycroftOS
MycroftOS is a bare minimal linux OS based on Buildroot to run the Mycroft A.I. software stack on embedded devices.
The software stack of Mycroft creates a hackable open source voice assistant.
## Focus
More information about the development, process, ideas etc. at https://www.j1nx.nl
More information about the Mycroft A.I. software stack at https://mycroft.ai
## System.
- Linux kernel 4.14 (LT)
- Buildroot 2018.08.x
- Mycroft 18.08.x
- Raspberry Pi 3B (initial development hardware)
## Getting started
## Getting started.
At this moment development is in very early stages and focussed on the Raspberry Pi 3B. As soon as an initial first workable version
is created, other hardware might be added.
### Getting the code
### Getting the code.
First, get the code on your system! The simplest method is via git.
- `cd ~/`
- `git clone --recurse-submodules https://github.com/j1nx/MycroftOS.git`
- `cd MycroftOS`
- cd ~/
- git clone --recurse-submodules https://github.com/j1nx/MycroftOS.git
- cd MycroftOS
More building instructions will follow soon...
If this is the very first time you are going to build an image, you need to execute the following command once;
- ./scripts/br-patches.sh
### Building the code.
Then we can build the image(s) by running the following command;
- ./scripts/build.sh
(At this moment only one image get's build. Namely the one for RPi3B. Later on in time this section will get expanded with other hardware such as, the other Raspberry Pi's, perhaps Mark-1 and/or Mark-2 and further down the road for the new Rockchip RK3399Pro SoC with RK1808 NPU
... More building instructions will follow soon ...
## Credits
Mycroft AI (@MycroftAI)
Buildroot (@buildroot)
Inspired by;
HassOS (@home-assistant)
Recalbox (Gitlab - @recalbox)

View File

@ -1,2 +1,59 @@
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/mycroftos/Config.in"
menu "Additional libraries and applications"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/fann/Config.in"
endmenu
menu "Additional external python modules"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-adapt-parser/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-bs4/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-cachetools/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-casttube/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-coverage/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-coveralls/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-deprecated/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-fann2/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-fasteners/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-feedparser/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-gitdb2/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-gitpython/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-google-api-python-client/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-google-auth-httplib2/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-google-auth/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-gtts/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-gtts_token/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-humanhash3/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-ifaddr/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-inflection/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-monotonic/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-msk/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-msm/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-mycroft/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-oauth2client/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-olefile/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-padaos/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-padatious/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pep8/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-petact/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pip/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pocketsphinx/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-precise-runner/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pulsectl/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pyasn1-modules/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pyasn1/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pyaudio/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pychromecast/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pyee/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pygithub/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pyjwt/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-requests-futures/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-rsa/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-sgmllib3k/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-smmap2/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-source/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-speechrecognition/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-typing/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-uritemplate/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-vlc/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-wrapt/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-xmlrunner/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-xxhash/Config.in"
source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-zeroconf/Config.in"
endmenu

View File

@ -0,0 +1 @@
root=/dev/mmcblk0p2 console=tty3 consoleblank=0 loglevel=3 vt.global_cursor_default=0 logo.nologo rootwait fastboot noswap quiet

View File

@ -0,0 +1,26 @@
# Please note that this is only a sample, we recommend you to change it to fit
# your needs.
# You should override this file using a post-build script.
# See http://buildroot.org/manual.html#rootfs-custom
# and http://elinux.org/RPiconfig for a description of config.txt syntax
kernel=zImage
# To use an external initramfs file
# initramfs rootfs.cpio.gz
# Disable overscan assuming the display supports displaying the full resolution
# If the text shown on the screen disappears off the edge, comment this out
# disable_overscan=1
# How much memory in MB to assign to the GPU on Pi models having
# 256, 512 or 1024 MB total memory
gpu_mem_256=100
gpu_mem_512=100
gpu_mem_1024=100
# Enable the onboard soundcard
dtparam=audio=on
# Disable rainbow color splash
disable_splash=1

View File

@ -9,3 +9,6 @@ if [ -e ${TARGET_DIR}/etc/inittab ]; then
sed -i '/GENERIC_SERIAL/a\
tty1::respawn:/sbin/getty -L tty1 0 vt100 # HDMI console' ${TARGET_DIR}/etc/inittab
fi
cp -f ../buildroot-external/board/raspberrypi/config.txt ${BINARIES_DIR}/rpi-firmware/config.txt
cp -f ../buildroot-external/board/raspberrypi/cmdline.txt ${BINARIES_DIR}/rpi-firmware/cmdline.txt

View File

@ -13,7 +13,7 @@ BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
BR2_TARGET_GENERIC_ROOT_PASSWD="mycroft"
BR2_SYSTEM_BIN_SH_BASH=y
BR2_SYSTEM_DHCP="eth0"
# BR2_ENABLE_LOCALE_PURGE is not set
BR2_ENABLE_LOCALE_WHITELIST="C en_US en_US.UTF8"
BR2_GENERATE_LOCALE="en_US en_US.UTF-8"
BR2_TARGET_TZ_INFO=y
BR2_ROOTFS_OVERLAY="../buildroot-external/rootfs-overlay"
@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="--add-pi3-miniuart-bt-overlay"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="7c063ed121b219110602993d09d021fbf82628b6"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="8ec2a2d27dd3e3e32113445592f44ea974b21732"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-3-b-plus bcm2710-rpi-cm3"
@ -64,6 +64,7 @@ BR2_PACKAGE_LZ4=y
BR2_PACKAGE_P7ZIP=y
BR2_PACKAGE_UNRAR=y
BR2_PACKAGE_UNZIP=y
BR2_PACKAGE_ZIP=y
BR2_PACKAGE_BINUTILS=y
BR2_PACKAGE_BINUTILS_TARGET=y
BR2_PACKAGE_CHECK=y
@ -96,7 +97,6 @@ BR2_PACKAGE_PYTHON3_SQLITE=y
BR2_PACKAGE_PYTHON3_XZ=y
BR2_PACKAGE_PYTHON_ALSAAUDIO=y
BR2_PACKAGE_PYTHON_ARROW=y
BR2_PACKAGE_PYTHON_BEAUTIFULSOUP4=y
BR2_PACKAGE_PYTHON_CFFI=y
BR2_PACKAGE_PYTHON_CONFIGSHELL_FB=y
BR2_PACKAGE_PYTHON_DAEMONIZE=y
@ -147,6 +147,8 @@ BR2_PACKAGE_NCURSES_WCHAR=y
BR2_PACKAGE_NCURSES_TARGET_PROGS=y
BR2_PACKAGE_PCRE_16=y
BR2_PACKAGE_PCRE_32=y
BR2_PACKAGE_PCRE2_16=y
BR2_PACKAGE_PCRE2_32=y
BR2_PACKAGE_CONNMAN=y
BR2_PACKAGE_CONNMAN_WIFI=y
BR2_PACKAGE_CONNMAN_BLUETOOTH=y
@ -181,3 +183,33 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="768M"
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=y
BR2_PACKAGE_FANN=y
BR2_PACKAGE_PYTHON_ADAPT_PARSER=y
BR2_PACKAGE_PYTHON_COVERALLS=y
BR2_PACKAGE_PYTHON_DEPRECATED=y
BR2_PACKAGE_PYTHON_FASTENERS=y
BR2_PACKAGE_PYTHON_FEEDPARSER=y
BR2_PACKAGE_PYTHON_GOOGLE_API_PYTHON_CLIENT=y
BR2_PACKAGE_PYTHON_GTTS=y
BR2_PACKAGE_PYTHON_HUMANHASH3=y
BR2_PACKAGE_PYTHON_INFLECTION=y
BR2_PACKAGE_PYTHON_MSK=y
BR2_PACKAGE_PYTHON_MYCROFT=y
BR2_PACKAGE_PYTHON_OAUTH2CLIENT=y
BR2_PACKAGE_PYTHON_OLEFILE=y
BR2_PACKAGE_PYTHON_PADATIOUS=y
BR2_PACKAGE_PYTHON_PEP8=y
BR2_PACKAGE_PYTHON_PETACT=y
BR2_PACKAGE_PYTHON_PIP=y
BR2_PACKAGE_PYTHON_POCKETSPHINX=y
BR2_PACKAGE_PYTHON_PRECISE_RUNNER=y
BR2_PACKAGE_PYTHON_PULSECTL=y
BR2_PACKAGE_PYTHON_PYCHROMECAST=y
BR2_PACKAGE_PYTHON_PYJWT=y
BR2_PACKAGE_PYTHON_REQUESTS_FUTURES=y
BR2_PACKAGE_PYTHON_SGMLLIB3K=y
BR2_PACKAGE_PYTHON_SOURCE=y
BR2_PACKAGE_PYTHON_SPEECHRECOGNITION=y
BR2_PACKAGE_PYTHON_VLC=y
BR2_PACKAGE_PYTHON_WRAPT=y
BR2_PACKAGE_PYTHON_XMLRUNNER=y

View File

@ -0,0 +1,11 @@
config BR2_PACKAGE_FANN
bool "fann"
help
Fast Artificial Neural Network (FANN) Library
is a free open source neural network library,
which implements multilayer artificial neural
networks in C with support for both fully
connected and sparsely connected networks.
https://github.com/libfann/fann

View File

@ -0,0 +1,2 @@
# Locally computed
sha256 b0edef882a6cd55e2cd10cca50e7b40afcbd358f923b71d1b1be1b544970f426 fann-b211dc3db3a6a2540a34fbe8995bf2df63fc9939.tar.gz

View File

@ -0,0 +1,15 @@
################################################################################
#
# fann
#
################################################################################
FANN_VERSION = b211dc3db3a6a2540a34fbe8995bf2df63fc9939
FANN_SITE = git://github.com/libfann/fann.git
FANN_LICENSE = GNU Lesser General Public License v2.1
FANN_AUTORECONF = YES
FANN_INSTALL_STAGING = YES
FANN_DEPENDENCIES = host-pkgconf host-automake host-autoconf host-libtool
$(eval $(cmake-package))
$(eval $(host-cmake-package))

View File

@ -1,8 +0,0 @@
menuconfig BR2_PACKAGE_MYCROFTOS
bool "mycroftos-app"
help
This is the Application layer that builds the
Mycroft A.I. software stack on top of Buildroot
with defaults packages and configurations.
https://github.com/j1nx/MycroftOS/

View File

@ -1,13 +0,0 @@
################################################################################
#
# MycroftOS
#
################################################################################
MYCROFTOS_VERSION = 1.0.0
MYCROFTOS_LICENSE = Apache License 2.0
MYCROFTOS_LICENSE_FILES = $(BR2_EXTERNAL_MYCROFTOS_PATH)/../LICENSE
MYCROFTOS_SITE = $(BR2_EXTERNAL_MYCROFTOS_PATH)/package/mycroftos
MYCROFTOS_SITE_METHOD = local
$(eval $(generic-package))

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_ADAPT_PARSER
bool "python-adapt-parser"
select BR2_PACKAGE_PYTHON_PYEE # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime
help
A text-to-intent parsing framework.
https://github.com/MycroftAI/adapt

View File

@ -0,0 +1,3 @@
# md5, sha256 from https://pypi.org/pypi/adapt-parser/json
md5 f415b363a15c3077a9624280a5bc2d37 adapt-parser-0.3.0.tar.gz
sha256 9445c9be4fcf3c519d1fbc605ea289349e11c2eb581db72242b61d12cc4d337f adapt-parser-0.3.0.tar.gz

View File

@ -0,0 +1,12 @@
################################################################################
#
# python-adapt-parser
#
################################################################################
PYTHON_ADAPT_PARSER_VERSION = 0.3.0
PYTHON_ADAPT_PARSER_SOURCE = adapt-parser-$(PYTHON_ADAPT_PARSER_VERSION).tar.gz
PYTHON_ADAPT_PARSER_SITE = https://files.pythonhosted.org/packages/36/a4/3ef82c754a8fb079a98d0adb66be1e3dc7a42d6faafdf1f106924a48c352
PYTHON_ADAPT_PARSER_SETUP_TYPE = setuptools
$(eval $(python-package))

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_BS4
bool "python-bs4"
select BR2_PACKAGE_PYTHON_BEAUTIFULSOUP4 # runtime
help
Dummy package for Beautiful Soup.
https://pypi.python.org/pypi/beautifulsoup4

View File

@ -0,0 +1,3 @@
# md5, sha256 from https://pypi.org/pypi/bs4/json
md5 fe7e51587ac3b174608f3c4f8bd893ac bs4-0.0.1.tar.gz
sha256 36ecea1fd7cc5c0c6e4a1ff075df26d50da647b75376626cc186e2212886dd3a bs4-0.0.1.tar.gz

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-bs4
#
################################################################################
PYTHON_BS4_VERSION = 0.0.1
PYTHON_BS4_SOURCE = bs4-$(PYTHON_BS4_VERSION).tar.gz
PYTHON_BS4_SITE = https://files.pythonhosted.org/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314
PYTHON_BS4_SETUP_TYPE = setuptools
PYTHON_BS4_LICENSE =
$(eval $(python-package))
$(eval $(host-python-package))

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_CACHETOOLS
bool "python-cachetools"
help
Extensible memoizing collections and decorators.
https://github.com/tkem/cachetools

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/cachetools/json
md5 aced22583c2ce8672f73e570e5430bd7 cachetools-2.1.0.tar.gz
sha256 90f1d559512fc073483fe573ef5ceb39bf6ad3d39edc98dc55178a2b2b176fa3 cachetools-2.1.0.tar.gz
# Locally computed sha256 checksums
sha256 67aece1bc071b753da8a24bcf8953b0e7cd873780aeddce5990864822fdb734b LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-cachetools
#
################################################################################
PYTHON_CACHETOOLS_VERSION = 2.1.0
PYTHON_CACHETOOLS_SOURCE = cachetools-$(PYTHON_CACHETOOLS_VERSION).tar.gz
PYTHON_CACHETOOLS_SITE = https://files.pythonhosted.org/packages/87/41/b3e00059f3c34b57a653d2120d213715abb4327b36fee22e59c1da977d25
PYTHON_CACHETOOLS_SETUP_TYPE = setuptools
PYTHON_CACHETOOLS_LICENSE = MIT
PYTHON_CACHETOOLS_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_CASTTUBE
bool "python-casttube"
select BR2_PACKAGE_PYTHON_REQUESTS # runtime
help
YouTube chromecast api.
http://github.com/ur1katz/casttube

View File

@ -0,0 +1,3 @@
# md5, sha256 from https://pypi.org/pypi/casttube/json
md5 da6bc1693f9b343237e75760537b4c3c casttube-0.1.0.tar.gz
sha256 d3787a38eb3a2bb2c1dc82e9e26387ff056de214b26817cf0bbed2f2a83a5d5c casttube-0.1.0.tar.gz

View File

@ -0,0 +1,12 @@
################################################################################
#
# python-casttube
#
################################################################################
PYTHON_CASTTUBE_VERSION = 0.1.0
PYTHON_CASTTUBE_SOURCE = casttube-$(PYTHON_CASTTUBE_VERSION).tar.gz
PYTHON_CASTTUBE_SITE = https://files.pythonhosted.org/packages/a1/57/00f76daff3a80f3e84ec25ac25e982f1aca77df16174b900a1c2ec1d9af1
PYTHON_CASTTUBE_SETUP_TYPE = setuptools
$(eval $(python-package))

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_COVERAGE
bool "python-coverage"
help
Code coverage measurement for Python.
https://bitbucket.org/ned/coveragepy

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/coverage/json
md5 af8a2411aba54e2711a9d2ac0a4c3de2 coverage-4.5.1.tar.gz
sha256 56e448f051a201c5ebbaa86a5efd0ca90d327204d8b059ab25ad0f35fbfd79f1 coverage-4.5.1.tar.gz
# Locally computed sha256 checksums
sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE.txt

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-coverage
#
################################################################################
PYTHON_COVERAGE_VERSION = 4.5.1
PYTHON_COVERAGE_SOURCE = coverage-$(PYTHON_COVERAGE_VERSION).tar.gz
PYTHON_COVERAGE_SITE = https://files.pythonhosted.org/packages/35/fe/e7df7289d717426093c68d156e0fd9117c8f4872b6588e8a8928a0f68424
PYTHON_COVERAGE_SETUP_TYPE = setuptools
PYTHON_COVERAGE_LICENSE = Apache-2.0
PYTHON_COVERAGE_LICENSE_FILES = LICENSE.txt
$(eval $(python-package))

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_PYTHON_COVERALLS
bool "python-coveralls"
select BR2_PACKAGE_PYTHON_DOCOPT # runtime
select BR2_PACKAGE_PYTHON_COVERAGE # runtime
select BR2_PACKAGE_PYTHON_REQUESTS # runtime
help
Show coverage stats online via coveralls.io.
http://github.com/coveralls-clients/coveralls-python

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/coveralls/json
md5 17590cc28420c62c654d23ae4f2d0ada coveralls-1.5.0.tar.gz
sha256 9dee67e78ec17b36c52b778247762851c8e19a893c9a14e921a2fc37f05fac22 coveralls-1.5.0.tar.gz
# Locally computed sha256 checksums
sha256 2bdbe1aad6b2e8ed03146162233339b470815ad576986377dbd541b9c032f72f LICENSE.txt

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-coveralls
#
################################################################################
PYTHON_COVERALLS_VERSION = 1.5.0
PYTHON_COVERALLS_SOURCE = coveralls-$(PYTHON_COVERALLS_VERSION).tar.gz
PYTHON_COVERALLS_SITE = https://files.pythonhosted.org/packages/b4/2f/aa954703728177258a935b766004f7504b9a4ff8c8aec0adee3d311feec2
PYTHON_COVERALLS_SETUP_TYPE = setuptools
PYTHON_COVERALLS_LICENSE = MIT
PYTHON_COVERALLS_LICENSE_FILES = LICENSE.txt
$(eval $(python-package))

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_DEPRECATED
bool "python-deprecated"
help
Python @deprecated decorator to deprecate
old python classes, functions or methods..
https://github.com/tantale/deprecated

View File

@ -0,0 +1 @@
sha256 0b1e043af3bab6c7ebcf96a471d0e75685ffe1390924e28137a8f1bd33781195 Deprecated-1.2.3.tar.gz

View File

@ -0,0 +1,13 @@
################################################################################
#
# python-deprecated
#
################################################################################
PYTHON_DEPRECATED_VERSION = 1.2.3
PYTHON_DEPRECATED_SOURCE = Deprecated-$(PYTHON_DEPRECATED_VERSION).tar.gz
PYTHON_DEPRECATED_SITE = https://files.pythonhosted.org/packages/e1/fc/c729448c32aa702bffbfc986973e5fa48873ed1512d0ba9a2ffb09bf73be
PYTHON_DEPRECATED_SETUP_TYPE = setuptools
PYTHON_DEPRECATED_LICENSE_FILES = LICENSE.txt doc/License.rst
$(eval $(python-package))

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_FANN2
bool "python-fann2"
depends on BR2_PACKAGE_PYTHON3
help
Fast Artificial Neural Network Library (FANN) Python bindings.
https://github.com/FutureLinkCorporation/fann2

View File

@ -0,0 +1,2 @@
sha256 53eca74a2c0a0dfcf2d8e449cf487603886dadeda343adab4c0f1b811734fb9f fann2-1.0.7.tar.gz
sha256 cdca0a65ad48e08320672affe38c3dd4ea15e27821e5e1db9fa2b34299bdd41e fann2-1.1.2.tar.gz

View File

@ -0,0 +1,15 @@
################################################################################
#
# python-fann2
#
################################################################################
PYTHON_FANN2_VERSION = 1.0.7
PYTHON_FANN2_SOURCE = fann2-$(PYTHON_FANN2_VERSION).tar.gz
PYTHON_FANN2_SITE = https://files.pythonhosted.org/packages/a9/a3/af368a683a04850aa1bf2e097f17781eb26e7e7c269ddcecfcec5f2e05a3
PYTHON_FANN2_SETUP_TYPE = setuptools
PYTHON_FANN2_AUTORECONF = yes
PYTHON_FANN2_LICENSE =
PYTHON_FANN2_LICENSE_FILES =
$(eval $(python-package))

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_FASTENERS
bool "python-fasteners"
select BR2_PACKAGE_PYTHON_SIX # runtime
select BR2_PACKAGE_PYTHON_MONOTONIC # runtime
help
A python package that provides useful locks.
https://github.com/harlowja/fasteners

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/fasteners/json
md5 fcb13261c9b0039d9b1c4feb9bc75e04 fasteners-0.14.1.tar.gz
sha256 427c76773fe036ddfa41e57d89086ea03111bbac57c55fc55f3006d027107e18 fasteners-0.14.1.tar.gz
# Locally computed sha256 checksums
sha256 d2de2f566d2d0e0b509fb0ea1fa3669f49064ab1de21c57453cab3750a234e8f LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-fasteners
#
################################################################################
PYTHON_FASTENERS_VERSION = 0.14.1
PYTHON_FASTENERS_SOURCE = fasteners-$(PYTHON_FASTENERS_VERSION).tar.gz
PYTHON_FASTENERS_SITE = https://files.pythonhosted.org/packages/f4/6f/41b835c9bf69b03615630f8a6f6d45dafbec95eb4e2bb816638f043552b2
PYTHON_FASTENERS_SETUP_TYPE = setuptools
PYTHON_FASTENERS_LICENSE = Apache-2.0
PYTHON_FASTENERS_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_FEEDPARSER
bool "python-feedparser"
help
Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0,
CDF, Atom 0.3, and Atom 1.0 feeds.
https://github.com/kurtmckee/feedparser

View File

@ -0,0 +1,6 @@
# md5, sha256 from https://pypi.org/pypi/feedparser/json
md5 ee8bd99535a4261b8e26976984dd6b26 feedparser-5.2.1.tar.bz2
sha256 ce875495c90ebd74b179855449040003a1beb40cd13d5f037a0654251e260b02 feedparser-5.2.1.tar.bz2
# Locally computed sha256 checksums
sha256 3adcffa23e565106bd6af3aacc5d03cf7948073791c842037181683c61f4163f LICENSE
sha256 961b8d49c0f06d3569d787a8bf8b885faa0837e89d2dd6011cb8c70347aafee3 docs/license.rst

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-feedparser
#
################################################################################
PYTHON_FEEDPARSER_VERSION = 5.2.1
PYTHON_FEEDPARSER_SOURCE = feedparser-$(PYTHON_FEEDPARSER_VERSION).tar.bz2
PYTHON_FEEDPARSER_SITE = https://files.pythonhosted.org/packages/91/d8/7d37fec71ff7c9dbcdd80d2b48bcdd86d6af502156fc93846fb0102cb2c4
PYTHON_FEEDPARSER_SETUP_TYPE = setuptools
PYTHON_FEEDPARSER_LICENSE = BSD-2-Clause
PYTHON_FEEDPARSER_LICENSE_FILES = LICENSE docs/license.rst
$(eval $(python-package))

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_GITDB2
bool "python-gitdb2"
select BR2_PACKAGE_PYTHON_SMMAP2 # runtime
help
Git Object Database.
https://github.com/gitpython-developers/gitdb

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/gitdb2/json
md5 6e21f5795a204f7afecb0a72fff66932 gitdb2-2.0.4.tar.gz
sha256 bb4c85b8a58531c51373c89f92163b92f30f81369605a67cd52d1fc21246c044 gitdb2-2.0.4.tar.gz
# Locally computed sha256 checksums
sha256 efd29f596a08e8857e68e7694a50bcda72839792da7c3f041bcbff5f18009239 LICENSE

View File

@ -0,0 +1,13 @@
################################################################################
#
# python-gitdb2
#
################################################################################
PYTHON_GITDB2_VERSION = 2.0.4
PYTHON_GITDB2_SOURCE = gitdb2-$(PYTHON_GITDB2_VERSION).tar.gz
PYTHON_GITDB2_SITE = https://files.pythonhosted.org/packages/b9/36/4bdb753087a9232899ac482ee2d5da25f50b63998d661aa4e8170acd95b5
PYTHON_GITDB2_SETUP_TYPE = setuptools
PYTHON_GITDB2_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_GITPYTHON
bool "python-gitpython"
select BR2_PACKAGE_PYTHON_GITDB2 # runtime
help
Python Git Library.
https://github.com/gitpython-developers/GitPython

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/GitPython/json
md5 cee43a39a1468084d49d1c49fb675204 GitPython-2.1.11.tar.gz
sha256 8237dc5bfd6f1366abeee5624111b9d6879393d84745a507de0fda86043b65a8 GitPython-2.1.11.tar.gz
# Locally computed sha256 checksums
sha256 fd657ffc2cef63d25c78cab7808d414dd03a282e63893491fd11c32f98be67fb LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-gitpython
#
################################################################################
PYTHON_GITPYTHON_VERSION = 2.1.11
PYTHON_GITPYTHON_SOURCE = GitPython-$(PYTHON_GITPYTHON_VERSION).tar.gz
PYTHON_GITPYTHON_SITE = https://files.pythonhosted.org/packages/4d/e8/98e06d3bc954e3c5b34e2a579ddf26255e762d21eb24fede458eff654c51
PYTHON_GITPYTHON_SETUP_TYPE = setuptools
PYTHON_GITPYTHON_LICENSE = BSD-3-Clause
PYTHON_GITPYTHON_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -0,0 +1,11 @@
config BR2_PACKAGE_PYTHON_GOOGLE_API_PYTHON_CLIENT
bool "python-google-api-python-client"
select BR2_PACKAGE_PYTHON_HTTPLIB2 # runtime
select BR2_PACKAGE_PYTHON_GOOGLE_AUTH # runtime
select BR2_PACKAGE_PYTHON_GOOGLE_AUTH_HTTPLIB2 # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime
select BR2_PACKAGE_PYTHON_URITEMPLATE # runtime
help
Google API Client Library for Python.
http://github.com/google/google-api-python-client/

View File

@ -0,0 +1,6 @@
# md5, sha256 from https://pypi.org/pypi/google-api-python-client/json
sha256 bb1f27740f6596f8272a2e1033d93d68e27e8ed5d22d6ab957e3f1d3f8ce05f6 google-api-python-client-1.6.4.tar.gz
md5 c5d7139bf56a4e29a0edaedc46e291a1 google-api-python-client-1.7.4.tar.gz
sha256 5d5cb02c6f3112c68eed51b74891a49c0e35263380672d662f8bfe85b8114d7c google-api-python-client-1.7.4.tar.gz
# Locally computed sha256 checksums
sha256 3d0e3d178675046db71fca9a0ee61e59acb4e76a15f934e408e75dfb93758a24 LICENSE

View File

@ -0,0 +1,13 @@
################################################################################
#
# python-google-api-python-client
#
################################################################################
PYTHON_GOOGLE_API_PYTHON_CLIENT_VERSION = 1.6.4
PYTHON_GOOGLE_API_PYTHON_CLIENT_SOURCE = google-api-python-client-$(PYTHON_GOOGLE_API_PYTHON_CLIENT_VERSION).tar.gz
PYTHON_GOOGLE_API_PYTHON_CLIENT_SITE = https://files.pythonhosted.org/packages/b4/b3/f9be3f2ec31491c8f74e5c7905fabe890dedb4e1e8db5c951df3c167be41
PYTHON_GOOGLE_API_PYTHON_CLIENT_SETUP_TYPE = setuptools
PYTHON_GOOGLE_API_PYTHON_CLIENT_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_GOOGLE_AUTH_HTTPLIB2
bool "python-google-auth-httplib2"
select BR2_PACKAGE_PYTHON_GOOGLE_AUTH # runtime
select BR2_PACKAGE_PYTHON_HTTPLIB2 # runtime
help
Google Authentication Library: httplib2 transport.
https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/google-auth-httplib2/json
md5 83b4035bcbf23da76394a1f51b522afa google-auth-httplib2-0.0.3.tar.gz
sha256 098fade613c25b4527b2c08fa42d11f3c2037dda8995d86de0745228e965d445 google-auth-httplib2-0.0.3.tar.gz
# Locally computed sha256 checksums
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-google-auth-httplib2
#
################################################################################
PYTHON_GOOGLE_AUTH_HTTPLIB2_VERSION = 0.0.3
PYTHON_GOOGLE_AUTH_HTTPLIB2_SOURCE = google-auth-httplib2-$(PYTHON_GOOGLE_AUTH_HTTPLIB2_VERSION).tar.gz
PYTHON_GOOGLE_AUTH_HTTPLIB2_SITE = https://files.pythonhosted.org/packages/e7/32/ac7f30b742276b4911a1439c5291abab1b797ccfd30bc923c5ad67892b13
PYTHON_GOOGLE_AUTH_HTTPLIB2_SETUP_TYPE = setuptools
PYTHON_GOOGLE_AUTH_HTTPLIB2_LICENSE = Apache-2.0
PYTHON_GOOGLE_AUTH_HTTPLIB2_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -0,0 +1,10 @@
config BR2_PACKAGE_PYTHON_GOOGLE_AUTH
bool "python-google-auth"
select BR2_PACKAGE_PYTHON_PYASN1_MODULES # runtime
select BR2_PACKAGE_PYTHON_RSA # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime
select BR2_PACKAGE_PYTHON_CACHETOOLS # runtime
help
Google Authentication Library.
https://github.com/GoogleCloudPlatform/google-auth-library-python

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/google-auth/json
md5 d231e262e5e3bf835b1a118b6904a81c google-auth-1.5.1.tar.gz
sha256 9ca363facbf2622d9ba828017536ccca2e0f58bd15e659b52f312172f8815530 google-auth-1.5.1.tar.gz
# Locally computed sha256 checksums
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-google-auth
#
################################################################################
PYTHON_GOOGLE_AUTH_VERSION = 1.5.1
PYTHON_GOOGLE_AUTH_SOURCE = google-auth-$(PYTHON_GOOGLE_AUTH_VERSION).tar.gz
PYTHON_GOOGLE_AUTH_SITE = https://files.pythonhosted.org/packages/7e/cd/dae5c39974b040741215ed346263152c93af21a22dc124c7ad451fbee417
PYTHON_GOOGLE_AUTH_SETUP_TYPE = setuptools
PYTHON_GOOGLE_AUTH_LICENSE = Apache-2.0
PYTHON_GOOGLE_AUTH_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -0,0 +1,12 @@
config BR2_PACKAGE_PYTHON_GTTS
bool "python-gtts"
select BR2_PACKAGE_PYTHON_SIX # runtime
select BR2_PACKAGE_PYTHON_BS4 # runtime
select BR2_PACKAGE_PYTHON_CLICK # runtime
select BR2_PACKAGE_PYTHON_REQUESTS # runtime
select BR2_PACKAGE_PYTHON_GTTS_TOKEN # runtime
help
gTTS (Google Text-to-Speech), a Python library and CLI tool
to interface with Google Translate's text-to-speech API.
https://github.com/pndurette/gTTS

View File

@ -0,0 +1,6 @@
# md5, sha256 from https://pypi.org/pypi/gTTS/json
md5 a74588d23840f07badb195bda8138b2d gTTS-2.0.1.tar.gz
sha256 c85ca77ad71181209068d7437275bd35182f38cfef5a2dd7b8fcd4ba1b78ec1a gTTS-2.0.1.tar.gz
sha256 124dfc447056cc622989319ebb553d56cfd5c197c345cee3397b675a6da84f58 gTTS-1.1.7.tar.gz
# Locally computed sha256 checksums
sha256 d762ddea99fa1eddb0a03d040a97e4e1404f432f7c70d4b49d391858230a22aa LICENSE

View File

@ -0,0 +1,15 @@
################################################################################
#
# python-gtts
#
################################################################################
PYTHON_GTTS_VERSION = 1.1.7
PYTHON_GTTS_SOURCE = gTTS-$(PYTHON_GTTS_VERSION).tar.gz
PYTHON_GTTS_SITE = https://files.pythonhosted.org/packages/9d/7d/ae1af3b5e4912a630d7aae23c43577799cf49cddd0f5a00a33791d414c2d
PYTHON_GTTS_SETUP_TYPE = setuptools
PYTHON_GTTS_LICENSE = MIT
PYTHON_GTTS_LICENSE_FILES = LICENSE
$(eval $(python-package))
$(eval $(host-python-package))

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_GTTS_TOKEN
bool "python-gtts_token"
select BR2_PACKAGE_PYTHON_REQUESTS # runtime
help
Calculates a token to run the Google Translate text to
speech.
https://github.com/boudewijn26/gTTS-token

View File

@ -0,0 +1,4 @@
# md5, sha256 from https://pypi.org/pypi/gtts_token/json
md5 39f56680d81c3d553ccc663f013a48f8 gTTS-token-1.1.1.zip
sha256 74badf3ba37773d8ba4a462a09b64de76a0ebd4015d667a6fdb041c2219283ef gTTS-token-1.1.1.zip
sha256 a45d62dc3a4c5ea71ee1fc3349661394cf84cc801197748f408402b2041d6f32 gTTS-token-1.1.2.tar.gz

View File

@ -0,0 +1,13 @@
################################################################################
#
# python-gtts_token
#
################################################################################
PYTHON_GTTS_TOKEN_VERSION = 1.1.2
PYTHON_GTTS_TOKEN_SOURCE = gTTS-token-$(PYTHON_GTTS_TOKEN_VERSION).tar.gz
PYTHON_GTTS_TOKEN_SITE = https://files.pythonhosted.org/packages/5a/81/b54c771ee6a78bdb6aebc274d7a806ad1f8761462f3592f3781d5cd9046f
PYTHON_GTTS_TOKEN_SETUP_TYPE = setuptools
PYTHON_GTTS_TOKEN_LICENSE = MIT
$(eval $(python-package))

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_HUMANHASH3
bool "python-humanhash3"
help
Human-readable representations of digests.
https://github.com/blag/humanhash

View File

@ -0,0 +1,3 @@
# md5, sha256 from https://pypi.org/pypi/humanhash3/json
md5 c892640cca499ba5a83cfe152d295b9d humanhash3-0.0.6.tar.gz
sha256 89ae15f6034bdb07e53ac2b2e246cc7131940766d2b2b70b7398dd27c640b1ab humanhash3-0.0.6.tar.gz

View File

@ -0,0 +1,12 @@
################################################################################
#
# python-humanhash3
#
################################################################################
PYTHON_HUMANHASH3_VERSION = 0.0.6
PYTHON_HUMANHASH3_SOURCE = humanhash3-$(PYTHON_HUMANHASH3_VERSION).tar.gz
PYTHON_HUMANHASH3_SITE = https://files.pythonhosted.org/packages/01/06/733ffbb45b78c34eba21d72e71a67f44af6efcdfb2e31ccaa837eb5144be
PYTHON_HUMANHASH3_SETUP_TYPE = distutils
$(eval $(python-package))

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_IFADDR
bool "python-ifaddr"
help
Enumerates all IP addresses on all network adapters of the
system.
https://github.com/pydron/ifaddr

View File

@ -0,0 +1,3 @@
# md5, sha256 from https://pypi.org/pypi/ifaddr/json
md5 37bf17655723fc085156bf7c595abd04 ifaddr-0.1.4.zip
sha256 cf2a8fbb578da2844d999a0a453825f660ed2d3fc47dcffc5f673dd8de4f0f8b ifaddr-0.1.4.zip

View File

@ -0,0 +1,18 @@
################################################################################
#
# python-ifaddr
#
################################################################################
PYTHON_IFADDR_VERSION = 0.1.4
PYTHON_IFADDR_SOURCE = ifaddr-$(PYTHON_IFADDR_VERSION).zip
PYTHON_IFADDR_SITE = https://files.pythonhosted.org/packages/12/40/97ef30db32e0c798fc557af403ea263dbeae8d334571603f02e19f4021a0
PYTHON_IFADDR_SETUP_TYPE = setuptools
define PYTHON_IFADDR_EXTRACT_CMDS
$(UNZIP) -d $(@D) $(DL_DIR)/python-ifaddr/$(PYTHON_IFADDR_SOURCE)
mv $(@D)/ifaddr-$(PYTHON_IFADDR_VERSION)/* $(@D)
$(RM) -r $(@D)/ifaddr-$(PYTHON_IFADDR_VERSION)
endef
$(eval $(python-package))

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_INFLECTION
bool "python-inflection"
help
A port of Ruby on Rails inflector to Python.
http://github.com/jpvanhal/inflection

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/inflection/json
md5 7941165e9f148e0520023941c0886b40 inflection-0.3.1.tar.gz
sha256 18ea7fb7a7d152853386523def08736aa8c32636b047ade55f7578c4edeb16ca inflection-0.3.1.tar.gz
# Locally computed sha256 checksums
sha256 4a3f52ac1012a90db398e4c55f1d1bea501dddafef8a4b3adb7533b1d820e148 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-inflection
#
################################################################################
PYTHON_INFLECTION_VERSION = 0.3.1
PYTHON_INFLECTION_SOURCE = inflection-$(PYTHON_INFLECTION_VERSION).tar.gz
PYTHON_INFLECTION_SITE = https://files.pythonhosted.org/packages/d5/35/a6eb45b4e2356fe688b21570864d4aa0d0a880ce387defe9c589112077f8
PYTHON_INFLECTION_SETUP_TYPE = setuptools
PYTHON_INFLECTION_LICENSE = MIT
PYTHON_INFLECTION_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_MONOTONIC
bool "python-monotonic"
help
An implementation of time.monotonic() for Python 2 & < 3.3.
https://github.com/atdt/monotonic

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/monotonic/json
md5 9f81cb0e5966479754453dea2b6822f4 monotonic-1.5.tar.gz
sha256 23953d55076df038541e648a53676fb24980f7a1be290cdda21300b3bc21dfb0 monotonic-1.5.tar.gz
# Locally computed sha256 checksums
sha256 cb5e8e7e5f4a3988e1063c142c60dc2df75605f4c46515e776e3aca6df976e14 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-monotonic
#
################################################################################
PYTHON_MONOTONIC_VERSION = 1.5
PYTHON_MONOTONIC_SOURCE = monotonic-$(PYTHON_MONOTONIC_VERSION).tar.gz
PYTHON_MONOTONIC_SITE = https://files.pythonhosted.org/packages/19/c1/27f722aaaaf98786a1b338b78cf60960d9fe4849825b071f4e300da29589
PYTHON_MONOTONIC_SETUP_TYPE = setuptools
PYTHON_MONOTONIC_LICENSE = Apache-2.0
PYTHON_MONOTONIC_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -0,0 +1,10 @@
config BR2_PACKAGE_PYTHON_MSK
bool "python-msk"
select BR2_PACKAGE_PYTHON_GITPYTHON # runtime
select BR2_PACKAGE_PYTHON_TYPING # runtime
select BR2_PACKAGE_PYTHON_MSM # runtime
select BR2_PACKAGE_PYTHON_PYGITHUB # runtime
help
Mycroft Skills Kit.
https://github.com/MycroftAI/mycroft-skills-kit

View File

@ -0,0 +1,3 @@
# md5, sha256 from https://pypi.org/pypi/msk/json
md5 1460094aeffac634008ba1dd12348c3b msk-0.3.11.tar.gz
sha256 d5c157a60eecba4c3b07de89e43e85dec366b5ecdd3677f7e73c0c4cddf01b74 msk-0.3.11.tar.gz

View File

@ -0,0 +1,12 @@
################################################################################
#
# python-msk
#
################################################################################
PYTHON_MSK_VERSION = 0.3.11
PYTHON_MSK_SOURCE = msk-$(PYTHON_MSK_VERSION).tar.gz
PYTHON_MSK_SITE = https://files.pythonhosted.org/packages/6d/2d/561d58e16d456ee5ca79d6dff3fb053f56da4ad62832eccce82b61a65789
PYTHON_MSK_SETUP_TYPE = setuptools
$(eval $(python-package))

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_MSM
bool "python-msm"
select BR2_PACKAGE_PYTHON_GITPYTHON # runtime
select BR2_PACKAGE_PYTHON_TYPING # runtime
help
Mycroft Skills Manager.
https://github.com/MycroftAI/mycroft-skills-manager

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/msm/json
md5 fe54a2aecd6751bef66fdcd27ffd3cdc msm-0.5.19.tar.gz
sha256 0f67b73e277a73ff4c97ecdf0aa6e10b1202bc09d2666f69170f9aa20653c573 msm-0.5.19.tar.gz
# Locally computed sha256 checksums
sha256 a6cba85bc92e0cff7a450b1d873c0eaa2e9fc96bf472df0247a26bec77bf3ff9 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-msm
#
################################################################################
PYTHON_MSM_VERSION = 0.5.19
PYTHON_MSM_SOURCE = msm-$(PYTHON_MSM_VERSION).tar.gz
PYTHON_MSM_SITE = https://files.pythonhosted.org/packages/ee/ee/8e1dd6ceefea93e2c7009ad7d9b2fb9fcfacad8321042611a4f1179f3e86
PYTHON_MSM_SETUP_TYPE = setuptools
PYTHON_MSM_LICENSE = Apache-2.0
PYTHON_MSM_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -0,0 +1,25 @@
From 28a9ff65a9b71ad70b906d688b7b2f593ea108cc Mon Sep 17 00:00:00 2001
From: Peter Steenbergen <info@j1nx.nl>
Date: Fri, 5 Oct 2018 09:42:55 +0200
Subject: [PATCH 1/1] Enforce UTF8 encoding
---
mycroft/dialog/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mycroft/dialog/__init__.py b/mycroft/dialog/__init__.py
index 59b4a44a0d..59c521b929 100644
--- a/mycroft/dialog/__init__.py
+++ b/mycroft/dialog/__init__.py
@@ -45,7 +45,7 @@ class MustacheDialogRenderer(object):
template_name (str): a unique identifier for a group of templates
filename (str): a fully qualified filename of a mustache template.
"""
- with open(filename, 'r') as f:
+ with open(filename, 'r', encoding='utf-8') as f:
for line in f:
template_text = line.strip()
if template_name not in self.templates:
--
2.11.0

View File

@ -0,0 +1,23 @@
From 93b3e606dddd93e8346da265a1751ecb546c882b Mon Sep 17 00:00:00 2001
From: Peter Steenbergen <info@j1nx.nl>
Date: Sat, 13 Oct 2018 10:50:06 +0200
Subject: [PATCH 1/1] Force USER config path.
---
mycroft/configuration/locations.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mycroft/configuration/locations.py b/mycroft/configuration/locations.py
index 0759152f99..3666ac5dfa 100644
--- a/mycroft/configuration/locations.py
+++ b/mycroft/configuration/locations.py
@@ -15,5 +15,5 @@ from os.path import join, dirname, expanduser
DEFAULT_CONFIG = join(dirname(__file__), 'mycroft.conf')
SYSTEM_CONFIG = '/etc/mycroft/mycroft.conf'
-USER_CONFIG = join(expanduser('~'), '.mycroft/mycroft.conf')
+USER_CONFIG = '/.mycroft/mycroft.conf'
REMOTE_CONFIG = "mycroft.ai"
--
2.11.0

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_MYCROFT
bool "python-mycroft"
help
Mycroft Core, the Mycroft Artificial Intelligence platform.
https://mycroft.ai/

View File

@ -0,0 +1,3 @@
sha256 90255931a864a4abe30f28c470009cf798dc72221cab16ba41712d80b19e28e4 python-mycroft-v18.8.1.tar.gz
sha256 af18bd9ee1c6e3bbc6b424af39b352179d05fc337d04573eadba37b01f7105f6 python-mycroft-v18.8.2.tar.gz
sha256 25c583e40e888a99ea6fb0817960952bc26dcf8facf87f77f3363ac0c3c3b9d9 python-mycroft-v18.8.3.tar.gz

View File

@ -0,0 +1,12 @@
################################################################################
#
# python-mycroft
#
################################################################################
PYTHON_MYCROFT_VERSION = v18.8.3
PYTHON_MYCROFT_SITE = $(call github,MycroftAI,mycroft-core,release/$(PYTHON_MYCROFT_VERSION))
PYTHON_MYCROFT_SETUP_TYPE = setuptools
PYTHON_MYCROFT_LICENSE_FILES =
$(eval $(python-package))

View File

@ -0,0 +1,11 @@
config BR2_PACKAGE_PYTHON_OAUTH2CLIENT
bool "python-oauth2client"
select BR2_PACKAGE_PYTHON_HTTPLIB2 # runtime
select BR2_PACKAGE_PYTHON_PYASN1 # runtime
select BR2_PACKAGE_PYTHON_PYASN1_MODULES # runtime
select BR2_PACKAGE_PYTHON_RSA # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime
help
OAuth 2.0 client library.
http://github.com/google/oauth2client/

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/oauth2client/json
md5 3a9eb781f685949c04946f6c09e4c11d oauth2client-4.1.3.tar.gz
sha256 d486741e451287f69568a4d26d70d9acd73a2bbfa275746c535b4209891cccc6 oauth2client-4.1.3.tar.gz
# Locally computed sha256 checksums
sha256 d6a43f0bae029b0cea5bd0fffd87f05659dc599a763886027614ad210be1ba3d LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-oauth2client
#
################################################################################
PYTHON_OAUTH2CLIENT_VERSION = 4.1.3
PYTHON_OAUTH2CLIENT_SOURCE = oauth2client-$(PYTHON_OAUTH2CLIENT_VERSION).tar.gz
PYTHON_OAUTH2CLIENT_SITE = https://files.pythonhosted.org/packages/a6/7b/17244b1083e8e604bf154cf9b716aecd6388acd656dd01893d0d244c94d9
PYTHON_OAUTH2CLIENT_SETUP_TYPE = setuptools
PYTHON_OAUTH2CLIENT_LICENSE = Apache-2.0
PYTHON_OAUTH2CLIENT_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_OLEFILE
bool "python-olefile"
help
Python package to parse, read and write Microsoft OLE2
files (Structured Storage or Compound Document, Microsoft
Office).
https://www.decalage.info/python/olefileio

View File

@ -0,0 +1,6 @@
# md5, sha256 from https://pypi.org/pypi/olefile/json
md5 af351575e53aa00c36ae1c71ee9b0043 olefile-0.46.zip
sha256 133b031eaf8fd2c9399b78b8bc5b8fcbe4c31e85295749bb17a87cba8f3c3964 olefile-0.46.zip
# Locally computed sha256 checksums
sha256 04488d55ea9ac2a18400f61adc6421b5881705a943693bc7c0d9b3364dc10f39 LICENSE.txt
sha256 303ace0d9ec3d39293b5f9f1a6954ef3a52115554151f8e421e3ad59372b7c53 doc/License.rst

View File

@ -0,0 +1,19 @@
################################################################################
#
# python-olefile
#
################################################################################
PYTHON_OLEFILE_VERSION = 0.46
PYTHON_OLEFILE_SOURCE = olefile-$(PYTHON_OLEFILE_VERSION).zip
PYTHON_OLEFILE_SITE = https://files.pythonhosted.org/packages/34/81/e1ac43c6b45b4c5f8d9352396a14144bba52c8fec72a80f425f6a4d653ad
PYTHON_OLEFILE_SETUP_TYPE = setuptools
PYTHON_OLEFILE_LICENSE_FILES = LICENSE.txt doc/License.rst
define PYTHON_OLEFILE_EXTRACT_CMDS
$(UNZIP) -d $(@D) $(DL_DIR)/python-olefile/$(PYTHON_OLEFILE_SOURCE)
mv $(@D)/olefile-$(PYTHON_OLEFILE_VERSION)/* $(@D)
$(RM) -r $(@D)/olefile-$(PYTHON_OLEFILE_VERSION)
endef
$(eval $(python-package))

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_PADAOS
bool "python-padaos"
help
A rigid, lightweight, dead-simple intent parser.
http://github.com/MatthewScholefield/padaos

View File

@ -0,0 +1,4 @@
# md5, sha256 from https://pypi.org/pypi/padaos/json
sha256 06fb231807f1c82d6fe8014e81d8a97124219fe6bcbccc020d445ca22d437146 padaos-0.1.6.tar.gz
md5 5dbb47982c859449f06decde6d240bd9 padaos-0.1.7.tar.gz
sha256 0703a5fec01a5b40038e90a32c39ac4c2c59b2a91b9bd1624408f017a2f61db3 padaos-0.1.7.tar.gz

View File

@ -0,0 +1,12 @@
################################################################################
#
# python-padaos
#
################################################################################
PYTHON_PADAOS_VERSION = 0.1.7
PYTHON_PADAOS_SOURCE = padaos-$(PYTHON_PADAOS_VERSION).tar.gz
PYTHON_PADAOS_SITE = https://files.pythonhosted.org/packages/35/e0/ec50c08c5e8c5e049be9f841dae766c570e600c36730888be6cf1d317266
PYTHON_PADAOS_SETUP_TYPE = setuptools
$(eval $(python-package))

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_PYTHON_PADATIOUS
bool "python-padatious"
select BR2_PACKAGE_PYTHON_FANN2 # runtime
select BR2_PACKAGE_PYTHON_XXHASH # runtime
select BR2_PACKAGE_PYTHON_PADAOS # runtime
help
A neural network intent parser.
http://github.com/MycroftAI/padatious

View File

@ -0,0 +1,3 @@
# md5, sha256 from https://pypi.org/pypi/padatious/json
md5 6e9d8b85814090a1c3c39774ef24124e padatious-0.4.5.tar.gz
sha256 81cefa5c3baf5fe8e3c6987216c1c438eff59f2026bce8ae6302871c7edbd69b padatious-0.4.5.tar.gz

View File

@ -0,0 +1,12 @@
################################################################################
#
# python-padatious
#
################################################################################
PYTHON_PADATIOUS_VERSION = 0.4.5
PYTHON_PADATIOUS_SOURCE = padatious-$(PYTHON_PADATIOUS_VERSION).tar.gz
PYTHON_PADATIOUS_SITE = https://files.pythonhosted.org/packages/00/ca/5d2262ec5ca90afa94706b78c770de9f48298d3048cd65dc0ad79ffcfb10
PYTHON_PADATIOUS_SETUP_TYPE = setuptools
$(eval $(python-package))

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_PEP8
bool "python-pep8"
help
Python style guide checker.
http://pep8.readthedocs.org/

View File

@ -0,0 +1,4 @@
# md5, sha256 from https://pypi.org/pypi/pep8/json
sha256 a113d5f5ad7a7abacef9df5ec3f2af23a20a28005921577b15dd584d099d5900 pep8-1.7.0.tar.gz
md5 603821d06db945c71d811b5a8d78423c pep8-1.7.1.tar.gz
sha256 fe249b52e20498e59e0b5c5256aa52ee99fc295b26ec9eaa85776ffdb9fe6374 pep8-1.7.1.tar.gz

Some files were not shown because too many files have changed in this diff Show More