mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-27 12:30:34 -09:00
package/{avro-c, python-avro}: bump to version 1.9.2
- Drop patch for avro-c that was applied upstream - Fix inconsistency in PYTHON_AVRO_SITE - Adopt new spacing convention in .hash files - Add upstream patch for python-avro - Add patch to remove installation-time linting in python-avro Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
192690d080
commit
d3c552f662
28
package/python-avro/0001-fix-pycodestyle-regression.patch
Normal file
28
package/python-avro/0001-fix-pycodestyle-regression.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
From a66459dd654489bf2c17e2828d5c314a4048be70 Mon Sep 17 00:00:00 2001
|
||||
From: Ryan Skraba <ryan@skraba.com>
|
||||
Date: Thu, 13 Feb 2020 09:57:02 +0100
|
||||
Subject: [PATCH] AVRO-2737: Fix pycodestyle regression.
|
||||
|
||||
An erroneous import was added in the Avro 1.9.2 Python3 package.
|
||||
The issue has been fixed and released on pypi as version 1.9.2.1, but has
|
||||
not been published on the Apache download website, hence this patch.
|
||||
|
||||
[Titouan: add detailed commit message]
|
||||
Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
|
||||
---
|
||||
setup.py | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 20dd4e240..f6297bb1b 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -38,8 +38,6 @@
|
||||
|
||||
import setuptools
|
||||
|
||||
-import pycodestyle
|
||||
-
|
||||
_HERE = os.path.dirname(os.path.abspath(__file__))
|
||||
_AVRO_DIR = os.path.join(_HERE, 'avro')
|
||||
_VERSION_FILE_NAME = 'VERSION.txt'
|
||||
@@ -0,0 +1,46 @@
|
||||
From 3446a4af8474cd863efddeae7f3e5dd3f9b8e25e Mon Sep 17 00:00:00 2001
|
||||
From: Titouan Christophe <titouan.christophe@railnova.eu>
|
||||
Date: Mon, 17 Feb 2020 15:12:13 +0100
|
||||
Subject: [PATCH] drop install time linting and imports sorting
|
||||
|
||||
Since the 1.9.2 release, the setup script is also performing code linting
|
||||
tasks, which require additional python libraries.
|
||||
|
||||
These linting tasks are not needed anyway, since they are intended to prepare
|
||||
the code for distribution, but the Buildroot package is already using a
|
||||
distributed version. We therefore simply remove them.
|
||||
|
||||
Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
|
||||
---
|
||||
setup.cfg | 2 --
|
||||
setup.py | 1 -
|
||||
2 files changed, 3 deletions(-)
|
||||
|
||||
diff --git a/setup.cfg b/setup.cfg
|
||||
index 7b5de18..d46a36e 100644
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -25,8 +25,6 @@ package_dir =
|
||||
include_package_data = true
|
||||
packages = avro
|
||||
setup_requires =
|
||||
- isort
|
||||
- pycodestyle
|
||||
install_requires =
|
||||
zip_safe = true
|
||||
scripts =
|
||||
diff --git a/setup.py b/setup.py
|
||||
index f6297bb..91d3287 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -164,7 +164,6 @@ def main():
|
||||
setuptools.setup(cmdclass={
|
||||
"clean": CleanCommand,
|
||||
"generate_interop_data": GenerateInteropDataCommand,
|
||||
- "lint": LintCommand,
|
||||
})
|
||||
|
||||
|
||||
--
|
||||
2.24.1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://www-eu.apache.org/dist/avro/avro-1.9.1/py3/avro-python3-1.9.1.tar.gz.sha512
|
||||
sha512 771ce6e5ca6315f5b9108cb4f5dd9488575cc3433ffdd744f96ce7989763728259c89475319fd9c411ed6b65c996b762548c50a697eb1fba9ab024112ca17daa avro-python3-1.9.1.tar.gz
|
||||
# From https://www-eu.apache.org/dist/avro/avro-1.9.2/py3/avro-python3-1.9.2.tar.gz.sha512
|
||||
sha512 f981fd72bc64eb71e6c132c551700e89a8ebdd6cd9d7e6fa7559831cee69749fc255a49ee0859afd106e0d913c36327b27ca4c7b36efbf740515881b92076cb6 avro-python3-1.9.2.tar.gz
|
||||
|
||||
# License files
|
||||
sha256 c79a7fea0e3cac04cd43f20e7b648e5a0ff8fa5344e644b0ee09ca1162b62747 avro/LICENSE
|
||||
sha256 c79a7fea0e3cac04cd43f20e7b648e5a0ff8fa5344e644b0ee09ca1162b62747 avro/LICENSE
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
PYTHON_AVRO_VERSION = $(AVRO_C_VERSION)
|
||||
PYTHON_AVRO_SITE = https://www-eu.apache.org/dist/avro/avro-1.9.1/py3
|
||||
PYTHON_AVRO_SITE = https://www-eu.apache.org/dist/avro/avro-$(PYTHON_AVRO_VERSION)/py3
|
||||
PYTHON_AVRO_SOURCE = avro-python3-$(PYTHON_AVRO_VERSION).tar.gz
|
||||
PYTHON_AVRO_LICENSE = Apache-2.0
|
||||
PYTHON_AVRO_LICENSE_FILES = avro/LICENSE
|
||||
|
||||
Reference in New Issue
Block a user