package/python-gitdb2: new package

GitDB allows you to access bare git repositories for reading and
writing.  It aims at allowing full access to loose objects as well as
packs with performance and scalability in mind. It operates
exclusively on streams, allowing to handle large objects with a small
memory footprint.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[Thomas: fix license]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Adam Duskett 2019-11-29 13:29:07 -08:00 committed by Thomas Petazzoni
parent f81f673a78
commit aae0658c71
5 changed files with 34 additions and 0 deletions

View File

@ -62,6 +62,7 @@ F: package/python-channels-redis/
F: package/python-daphne/
F: package/python-django-enumfields/
F: package/python-flask-sqlalchemy/
F: package/python-gitdb2/
F: package/python-mutagen/
F: package/python-pip/
F: package/python-psycopg2/

View File

@ -929,6 +929,7 @@ menu "External python modules"
source "package/python-functools32/Config.in"
source "package/python-future/Config.in"
source "package/python-futures/Config.in"
source "package/python-gitdb2/Config.in"
source "package/python-gobject/Config.in"
source "package/python-gunicorn/Config.in"
source "package/python-h2/Config.in"

View File

@ -0,0 +1,13 @@
config BR2_PACKAGE_PYTHON_GITDB2
bool "python-gitdb2"
select BR2_PACKAGE_PYTHON_SMMAP2 # runtime
select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime
help
GitDB allows you to access bare git repositories for reading
and writing. It aims at allowing full access to loose objects
as well as packs with performance and scalability in mind. It
operates exclusively on streams, allowing to handle large
objects with a small memory footprint.
https://github.com/gitpython-developers/gitdb

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/gitdb2/json
md5 1a7ea3362e405f8a5634f7ee53636094 gitdb2-2.0.6.tar.gz
sha256 1b6df1433567a51a4a9c1a5a0de977aa351a405cc56d7d35f3388bad1f630350 gitdb2-2.0.6.tar.gz
# Locally computed sha256 checksums
sha256 efd29f596a08e8857e68e7694a50bcda72839792da7c3f041bcbff5f18009239 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-gitdb2
#
################################################################################
PYTHON_GITDB2_VERSION = 2.0.6
PYTHON_GITDB2_SOURCE = gitdb2-$(PYTHON_GITDB2_VERSION).tar.gz
PYTHON_GITDB2_SITE = https://files.pythonhosted.org/packages/c5/62/ed7205331e8d7cc377e2512cb32f8f8f075c0defce767551d0a76e102ce2
PYTHON_GITDB2_SETUP_TYPE = setuptools
PYTHON_GITDB2_LICENSE = BSD-3-Clause
PYTHON_GITDB2_LICENSE_FILES = LICENSE
$(eval $(python-package))