From 43d2916b3ad42378c21f6b3c14396c3ebb5695b2 Mon Sep 17 00:00:00 2001 From: j1nx Date: Wed, 14 Apr 2021 21:59:59 +0200 Subject: [PATCH] Bump lingua-franca --- ...-to-use-MANIFEST.in-for-package-data.patch | 66 ------------------- .../python-lingua-franca.hash | 2 +- .../python-lingua-franca.mk | 2 +- 3 files changed, 2 insertions(+), 68 deletions(-) delete mode 100644 buildroot-external/package/python-lingua-franca/0001-Patch-setup.py-to-use-MANIFEST.in-for-package-data.patch diff --git a/buildroot-external/package/python-lingua-franca/0001-Patch-setup.py-to-use-MANIFEST.in-for-package-data.patch b/buildroot-external/package/python-lingua-franca/0001-Patch-setup.py-to-use-MANIFEST.in-for-package-data.patch deleted file mode 100644 index 0283997b..00000000 --- a/buildroot-external/package/python-lingua-franca/0001-Patch-setup.py-to-use-MANIFEST.in-for-package-data.patch +++ /dev/null @@ -1,66 +0,0 @@ -From f7bb1d69c5a4c10948551ac1fc33ffad165dfeca Mon Sep 17 00:00:00 2001 -From: j1nx -Date: Tue, 18 Aug 2020 19:42:05 +0200 -Subject: [PATCH 1/1] Patch setup.py to use MANIFEST.in for package data - ---- - MANIFEST.in | 1 + - setup.py | 16 ---------------- - 2 files changed, 1 insertion(+), 16 deletions(-) - create mode 100644 MANIFEST.in - -diff --git a/MANIFEST.in b/MANIFEST.in -new file mode 100644 -index 0000000..97513c5 ---- /dev/null -+++ b/MANIFEST.in -@@ -0,0 +1 @@ -+graft lingua_franca -diff --git a/setup.py b/setup.py -index ed9deb0..4591df1 100644 ---- a/setup.py -+++ b/setup.py -@@ -3,14 +3,6 @@ import os - from setuptools import setup - - --def package_files(directory): -- paths = [] -- for (path, directories, filenames) in os.walk(directory): -- for filename in filenames: -- paths.append(os.path.join('..', path, filename)) -- return paths -- -- - def required(requirements_file): - """ Read requirements file and remove comments and empty lines. """ - with open(os.path.join(os.path.dirname(__file__), requirements_file), -@@ -20,25 +12,17 @@ def required(requirements_file): - if pkg.strip() and not pkg.startswith("#")] - - --extra_files = package_files('lingua_franca') -- --with open("readme.md", "r") as fh: -- long_description = fh.read() -- - setup( - name='lingua_franca', - version='0.2.2', - packages=['test', 'lingua_franca', 'lingua_franca.lang'], - url='https://github.com/MycroftAI/lingua-franca', - license='Apache2.0', -- package_data={'': extra_files}, - include_package_data=True, - install_requires=required('requirements.txt'), - author='Mycroft AI', - author_email='dev@mycroft.ai', - description='Mycroft\'s multilingual text parsing and formatting library', -- long_description=long_description, -- long_description_content_type="text/markdown", - classifiers=[ - 'Development Status :: 4 - Beta', - 'Intended Audience :: Developers', --- -2.20.1 - diff --git a/buildroot-external/package/python-lingua-franca/python-lingua-franca.hash b/buildroot-external/package/python-lingua-franca/python-lingua-franca.hash index 87b11313..77ddf097 100644 --- a/buildroot-external/package/python-lingua-franca/python-lingua-franca.hash +++ b/buildroot-external/package/python-lingua-franca/python-lingua-franca.hash @@ -1 +1 @@ -sha256 968443f25dcbce5533266e4b768d8f4f99c306c059a0e7ed0cf0bebc472a2eb9 python-lingua-franca-481535b1e5c4e34cb95e47732ee278a891773720.tar.gz +sha256 e7fe49250fdf1e01b1a53c8fb21381861557a906dce6092d3f20532417e06edd python-lingua-franca-0adc4314c96afd935975c82dde3d453e0713de41.tar.gz diff --git a/buildroot-external/package/python-lingua-franca/python-lingua-franca.mk b/buildroot-external/package/python-lingua-franca/python-lingua-franca.mk index 3c4ace44..f6e075df 100644 --- a/buildroot-external/package/python-lingua-franca/python-lingua-franca.mk +++ b/buildroot-external/package/python-lingua-franca/python-lingua-franca.mk @@ -4,7 +4,7 @@ # ################################################################################ -PYTHON_LINGUA_FRANCA_VERSION = 481535b1e5c4e34cb95e47732ee278a891773720 +PYTHON_LINGUA_FRANCA_VERSION = 0adc4314c96afd935975c82dde3d453e0713de41 PYTHON_LINGUA_FRANCA_SITE = $(call github,MycroftAI,lingua-franca,$(PYTHON_LINGUA_FRANCA_VERSION)) PYTHON_LINGUA_FRANCA_SETUP_TYPE = setuptools PYTHON_LINGUA_FRANCA_LICENSE = Apache-2.0