package/python-betterproto: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
James Hilliard 2024-04-01 23:08:26 -06:00 committed by Arnout Vandecappelle
parent c3faf4f716
commit c1d3b7f97a
4 changed files with 29 additions and 0 deletions

View File

@ -1015,6 +1015,7 @@ menu "External python modules"
source "package/python-backcall/Config.in"
source "package/python-bcrypt/Config.in"
source "package/python-beautifulsoup4/Config.in"
source "package/python-betterproto/Config.in"
source "package/python-bidict/Config.in"
source "package/python-bitarray/Config.in"
source "package/python-bitstring/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_BETTERPROTO
bool "python-betterproto"
select BR2_PACKAGE_PYTHON_DATEUTIL # runtime
select BR2_PACKAGE_PYTHON_GRPCLIB # runtime
help
A better Protobuf / gRPC generator & library.
http://github.com/danielgtaylor/python-betterproto

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/betterproto/json
md5 bd4192c2997959100097479c34ff87e6 betterproto-2.0.0b6.tar.gz
sha256 720ae92697000f6fcf049c69267d957f0871654c8b0d7458906607685daee784 betterproto-2.0.0b6.tar.gz
# Locally computed sha256 checksums
sha256 a5b8df75467e4b57a308a94cce5fdae84808a83ee6cd5af7e175c6b9784a753f LICENSE.md

View File

@ -0,0 +1,15 @@
################################################################################
#
# python-betterproto
#
################################################################################
PYTHON_BETTERPROTO_VERSION = 2.0.0b6
PYTHON_BETTERPROTO_SOURCE = betterproto-$(PYTHON_BETTERPROTO_VERSION).tar.gz
PYTHON_BETTERPROTO_SITE = https://files.pythonhosted.org/packages/45/43/4c44efd75f2ef48a16b458c2fe2cff7aa74bab8fcadf2653bb5110a87f97
PYTHON_BETTERPROTO_SETUP_TYPE = pep517
PYTHON_BETTERPROTO_LICENSE = MIT
PYTHON_BETTERPROTO_LICENSE_FILES = LICENSE.md
PYTHON_BETTERPROTO_DEPENDENCIES = host-python-poetry-core
$(eval $(python-package))