The GitDB project implements interfaces to allow read and write access to

git repositories. In its core lies the db package, which contains
all database types necessary to read a complete git repository. These are
the LooseObjectDB, the PackedDB and the ReferenceDB which are combined
into the GitDB to combine every aspect of the git database.

For this to work, GitDB implements pack reading, as well as loose object
reading and writing. Data is always encapsulated in streams, which allows
huge files to be handled as well as small ones, usually only chunks of
the stream are kept in memory for processing, never the whole stream at
once.

WWW: http://packages.python.org/gitdb/
This commit is contained in:
Wen Heping 2011-03-16 00:20:18 +00:00
parent d963c7dca2
commit 9a82e7c836
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270984
5 changed files with 154 additions and 0 deletions

View File

@ -2851,6 +2851,7 @@
SUBDIR += py-geotypes
SUBDIR += py-gevent
SUBDIR += py-gflags
SUBDIR += py-gitdb
SUBDIR += py-gitosis
SUBDIR += py-gitpython
SUBDIR += py-gobject

20
devel/py-gitdb/Makefile Normal file
View File

@ -0,0 +1,20 @@
# New ports collection makefile for: py-gitdb
# Date created: March 15, 2011
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= gitdb
PORTVERSION= 0.5.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wen@FreeBSD.org
COMMENT= Pure Python git object database
USE_PYTHON= yes
USE_PYDISTUTILS= yes
.include <bsd.port.mk>

2
devel/py-gitdb/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (gitdb-0.5.2.tar.gz) = 7105fa7611271ed490775a704e1c6d42b1c2886f422f707db136bad216c5bbac
SIZE (gitdb-0.5.2.tar.gz) = 171142

13
devel/py-gitdb/pkg-descr Normal file
View File

@ -0,0 +1,13 @@
The GitDB project implements interfaces to allow read and write access to
git repositories. In its core lies the db package, which contains
all database types necessary to read a complete git repository. These are
the LooseObjectDB, the PackedDB and the ReferenceDB which are combined
into the GitDB to combine every aspect of the git database.
For this to work, GitDB implements pack reading, as well as loose object
reading and writing. Data is always encapsulated in streams, which allows
huge files to be handled as well as small ones, usually only chunks of
the stream are kept in memory for processing, never the whole stream at
once.
WWW: http://packages.python.org/gitdb/

118
devel/py-gitdb/pkg-plist Normal file
View File

@ -0,0 +1,118 @@
%%PYTHON_SITELIBDIR%%/gitdb/AUTHORS
%%PYTHON_SITELIBDIR%%/gitdb/README
%%PYTHON_SITELIBDIR%%/gitdb/__init__.py
%%PYTHON_SITELIBDIR%%/gitdb/__init__.pyc
%%PYTHON_SITELIBDIR%%/gitdb/__init__.pyo
%%PYTHON_SITELIBDIR%%/gitdb/_perf.so
%%PYTHON_SITELIBDIR%%/gitdb/base.py
%%PYTHON_SITELIBDIR%%/gitdb/base.pyc
%%PYTHON_SITELIBDIR%%/gitdb/base.pyo
%%PYTHON_SITELIBDIR%%/gitdb/db/__init__.py
%%PYTHON_SITELIBDIR%%/gitdb/db/__init__.pyc
%%PYTHON_SITELIBDIR%%/gitdb/db/__init__.pyo
%%PYTHON_SITELIBDIR%%/gitdb/db/base.py
%%PYTHON_SITELIBDIR%%/gitdb/db/base.pyc
%%PYTHON_SITELIBDIR%%/gitdb/db/base.pyo
%%PYTHON_SITELIBDIR%%/gitdb/db/git.py
%%PYTHON_SITELIBDIR%%/gitdb/db/git.pyc
%%PYTHON_SITELIBDIR%%/gitdb/db/git.pyo
%%PYTHON_SITELIBDIR%%/gitdb/db/loose.py
%%PYTHON_SITELIBDIR%%/gitdb/db/loose.pyc
%%PYTHON_SITELIBDIR%%/gitdb/db/loose.pyo
%%PYTHON_SITELIBDIR%%/gitdb/db/mem.py
%%PYTHON_SITELIBDIR%%/gitdb/db/mem.pyc
%%PYTHON_SITELIBDIR%%/gitdb/db/mem.pyo
%%PYTHON_SITELIBDIR%%/gitdb/db/pack.py
%%PYTHON_SITELIBDIR%%/gitdb/db/pack.pyc
%%PYTHON_SITELIBDIR%%/gitdb/db/pack.pyo
%%PYTHON_SITELIBDIR%%/gitdb/db/ref.py
%%PYTHON_SITELIBDIR%%/gitdb/db/ref.pyc
%%PYTHON_SITELIBDIR%%/gitdb/db/ref.pyo
%%PYTHON_SITELIBDIR%%/gitdb/exc.py
%%PYTHON_SITELIBDIR%%/gitdb/exc.pyc
%%PYTHON_SITELIBDIR%%/gitdb/exc.pyo
%%PYTHON_SITELIBDIR%%/gitdb/fun.py
%%PYTHON_SITELIBDIR%%/gitdb/fun.pyc
%%PYTHON_SITELIBDIR%%/gitdb/fun.pyo
%%PYTHON_SITELIBDIR%%/gitdb/pack.py
%%PYTHON_SITELIBDIR%%/gitdb/pack.pyc
%%PYTHON_SITELIBDIR%%/gitdb/pack.pyo
%%PYTHON_SITELIBDIR%%/gitdb/stream.py
%%PYTHON_SITELIBDIR%%/gitdb/stream.pyc
%%PYTHON_SITELIBDIR%%/gitdb/stream.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/__init__.py
%%PYTHON_SITELIBDIR%%/gitdb/test/__init__.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/__init__.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/db/__init__.py
%%PYTHON_SITELIBDIR%%/gitdb/test/db/__init__.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/db/__init__.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/db/lib.py
%%PYTHON_SITELIBDIR%%/gitdb/test/db/lib.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/db/lib.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_git.py
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_git.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_git.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_loose.py
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_loose.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_loose.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_mem.py
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_mem.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_mem.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_pack.py
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_pack.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_pack.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_ref.py
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_ref.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/db/test_ref.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/fixtures/objects/7b/b839852ed5e3a069966281bb08d50012fb309b
%%PYTHON_SITELIBDIR%%/gitdb/test/fixtures/packs/pack-11fdfa9e156ab73caae3b6da867192221f2089c2.idx
%%PYTHON_SITELIBDIR%%/gitdb/test/fixtures/packs/pack-11fdfa9e156ab73caae3b6da867192221f2089c2.pack
%%PYTHON_SITELIBDIR%%/gitdb/test/fixtures/packs/pack-a2bf8e71d8c18879e499335762dd95119d93d9f1.idx
%%PYTHON_SITELIBDIR%%/gitdb/test/fixtures/packs/pack-a2bf8e71d8c18879e499335762dd95119d93d9f1.pack
%%PYTHON_SITELIBDIR%%/gitdb/test/fixtures/packs/pack-c0438c19fb16422b6bbcce24387b3264416d485b.idx
%%PYTHON_SITELIBDIR%%/gitdb/test/fixtures/packs/pack-c0438c19fb16422b6bbcce24387b3264416d485b.pack
%%PYTHON_SITELIBDIR%%/gitdb/test/lib.py
%%PYTHON_SITELIBDIR%%/gitdb/test/lib.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/lib.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/performance/lib.py
%%PYTHON_SITELIBDIR%%/gitdb/test/performance/lib.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/performance/lib.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/performance/test_pack.py
%%PYTHON_SITELIBDIR%%/gitdb/test/performance/test_pack.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/performance/test_pack.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/performance/test_pack_streaming.py
%%PYTHON_SITELIBDIR%%/gitdb/test/performance/test_pack_streaming.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/performance/test_pack_streaming.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/performance/test_stream.py
%%PYTHON_SITELIBDIR%%/gitdb/test/performance/test_stream.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/performance/test_stream.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/test_base.py
%%PYTHON_SITELIBDIR%%/gitdb/test/test_base.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/test_base.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/test_example.py
%%PYTHON_SITELIBDIR%%/gitdb/test/test_example.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/test_example.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/test_pack.py
%%PYTHON_SITELIBDIR%%/gitdb/test/test_pack.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/test_pack.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/test_stream.py
%%PYTHON_SITELIBDIR%%/gitdb/test/test_stream.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/test_stream.pyo
%%PYTHON_SITELIBDIR%%/gitdb/test/test_util.py
%%PYTHON_SITELIBDIR%%/gitdb/test/test_util.pyc
%%PYTHON_SITELIBDIR%%/gitdb/test/test_util.pyo
%%PYTHON_SITELIBDIR%%/gitdb/typ.py
%%PYTHON_SITELIBDIR%%/gitdb/typ.pyc
%%PYTHON_SITELIBDIR%%/gitdb/typ.pyo
%%PYTHON_SITELIBDIR%%/gitdb/util.py
%%PYTHON_SITELIBDIR%%/gitdb/util.pyc
%%PYTHON_SITELIBDIR%%/gitdb/util.pyo
@dirrm %%PYTHON_SITELIBDIR%%/gitdb/db
@dirrm %%PYTHON_SITELIBDIR%%/gitdb/test/db
@dirrm %%PYTHON_SITELIBDIR%%/gitdb/test/fixtures/objects/7b
@dirrm %%PYTHON_SITELIBDIR%%/gitdb/test/fixtures/objects
@dirrm %%PYTHON_SITELIBDIR%%/gitdb/test/fixtures/packs
@dirrm %%PYTHON_SITELIBDIR%%/gitdb/test/fixtures
@dirrm %%PYTHON_SITELIBDIR%%/gitdb/test/performance
@dirrm %%PYTHON_SITELIBDIR%%/gitdb/test
@dirrm %%PYTHON_SITELIBDIR%%/gitdb