Skip to content

Commit

Permalink
package/python-betterproto: new package
Browse files Browse the repository at this point in the history
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
  • Loading branch information
jameshilliard authored and arnout committed Jul 18, 2024
1 parent c3faf4f commit c1d3b7f
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions package/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 8 additions & 0 deletions package/python-betterproto/Config.in
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions package/python-betterproto/python-betterproto.hash
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions package/python-betterproto/python-betterproto.mk
Original file line number Diff line number Diff line change
@@ -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))

0 comments on commit c1d3b7f

Please sign in to comment.