pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Update py-pygit2 to 0.24.1 to fix build.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sat Oct 8 15:49:05 2016 +0200
Changeset:	011985e1db76ce1242c387fa6362c436f5cbf9a1

Modified Files:
	py-pygit2/Makefile
	py-pygit2/PLIST
	py-pygit2/distinfo

Log Message:
Update py-pygit2 to 0.24.1 to fix build.

0.24.1 (2016-06-21)

    New Repository.listall_reference_objects() #634
    Fix Repository.write_archive(...) #619 #621
    Reproducible builds #636
    Documentation fixes #606 #607 #609 #623
    Test updates #629

0.24.0 (2016-03-05)

    Update to libgit2 v0.24 #594
    Support Python 3.5
    New dependency, six
    New Repository.path_is_ignored(path) #589
    Fix error in Repository(path) when path is a bytes string #588 #593
    Fix memory issue in Repository.describe(...) #592 #597 #599
    Allow testing with tox #600

0.23.3 (2016-01-01)

    New Repository.create_blob_fromiobase(...) #490 #577
    New Repository.describe(...) #585
    Fix Signature default encoding, UTF-8 now #581
    Fixing pip install pygit2, should install cffi first
    Unit tests, fix binary diff test #586
    Document that Diff.patch can be None #587

0.23.2 (2015-10-11)

    Unify callbacks system for remotes and clone #568
    New TreeEntry._name #570
    Fix segfault in Tag._message #572
    Documentation improvements #569 #574

API changes to clone:

clone_repository(..., credentials, certificate)

callbacks = RemoteCallbacks(credentials, certificate)
clone_repository(..., callbacks)

API changes to remote:

def transfer_progress(stats):
    ...

remote.credentials = credentials
remote.transfer_progress = transfer_progress
remote.fetch()
remote.push(specs)

class MyCallbacks(RemoteCallbacks):
    def transfer_progress(self, stats):
        ...

callbacks = MyCallbacks(credentials)
remote.fetch(callbacks=callbacks)
remote.push(specs, callbacks=callbacks)

0.23.1 (2015-09-26)

    Improve support for cffi 1.0+ #529 #561
    Fix Remote.push #557
    New TreeEntry.type #560
    New pygit2.GIT_DIFF_SHOW_BINARY #566

0.23.0 (2015-08-14)

    Update to libgit2 v0.23 #540
    Now Repository.merge_base(...) returns None if no merge base is found #550
    Documentation updates #547

API changes:

    How to set identity (aka signature) in a reflog has changed:

    # Before
    signature = Signature('foo', 'bar')
    ...
    reference.set_target(target, signature=signature, message=message)
    repo.set_head(target, signature=signature)
    remote.fetch(signature=signature)
    remote.push(signature=signature)

    # Now
    repo.set_ident('foo', 'bar')
    ...
    reference.set_target(target, message=message)
    repo.set_head(target)
    remote.push()

    # The current identity can be get with
    repo.ident

    Some remote setters have been replaced by methods:

    # Before                       # Now
    Remote.url = url               Repository.remotes.set_url(name, url)
    Remote.push_url = url          Repository.remotes.set_push_url(name, url)

    Remote.add_fetch(refspec)      Repository.remotes.add_fetch(name, refspec)
    Remote.add_push(refspec)       Repository.remotes.add_push(name, refspec)

    Remote.fetch_refspecs = [...]  removed, use the config API instead
    Remote.push_refspecs = [...]   removed, use the config API instead

0.22.1 (2015-07-12)

Diff interface refactoring #346 (in progress):

    New iter(pygit2.Blame)

    New pygit2.DiffDelta, pygit2.DiffFile and pygit.DiffLine

    API changes, translation table:

    Hunk                => DiffHunk
    Patch.old_file_path => Patch.delta.old_file.path
    Patch.new_file_path => Patch.delta.new_file.path
    Patch.old_id        => Patch.delta.old_file.id
    Patch.new_id        => Patch.delta.new_file.id
    Patch.status        => Patch.delta.status
    Patch.similarity    => Patch.delta.similarity
    Patch.is_binary     => Patch.delta.is_binary
    Patch.additions     => Patch.line_stats[1]
    Patch.deletions     => Patch.line_stats[2]

    DiffHunk.lines is now a list of DiffLine objects, not tuples

New features:

    New Repository.expand_id(...) and Repository.ahead_behind(...) #448
    New prefix parameter in Repository.write_archive #481
    New Repository.merge_trees(...) #489
    New Repository.cherrypick(...) #436 #492
    New support for submodules #499 #514
    New Repository.merge_file_from_index(...) #503
    Now Repository.diff supports diffing two blobs #508
    New optional fetch parameter in Remote.create #526
    New pygit2.DiffStats #406 #525
    New Repository.get_attr(...) #528
    New level optional parameter in Index.remove #533
    New repr(TreeEntry) #543

Build and install improvements:

    Make pygit work in a frozen environment #453
    Make pygit2 work with pyinstaller #510

Bugs fixed:

    Fix memory issues #477 #487 #520
    Fix TreeEntry equality testing #458 #488
    Repository.write_archive fix handling of symlinks #480
    Fix type check in Diff[...] #495
    Fix error when merging files with unicode content #505

Other:

    Documentation improvements and fixes #448 #491 #497 #507 #517 #518 #519 #521 #523 #527 #536
    Expose the pygit2.GIT_REPOSITORY_INIT_* constants #483

0.22.0 (2015-01-16)

New:

    Update to libgit2 v0.22 #459
    Add support for libgit2 feature detection (new pygit2.features and pygit2.GIT_FEATURE_*) #475
    New Repository.remotes (RemoteCollection) #447

API Changes:

    Prototype of clone_repository changed, check documentation
    Removed clone_into, use clone_repository with callbacks instead
    Use Repository.remotes.rename(name, new_name) instead of Remote.rename(new_name)
    Use Repository.remotes.delete(name) instead of Remote.delete()
    Now Remote.push(...) takes a list of refspecs instead of just one
    Change Patch.old_id, Patch.new_id, Note.annotated_id, RefLogEntry.oid_old and RefLogEntry.oid_new to be Oid objects instead of strings #449

Other:

    Fix init_repository when passing optional parameters workdir_path, description, template_path, initial_head or origin_url #466 #471
    Fix use-after-free when patch outlives diff #457 #461 #474
    Documentation improvements #456 #462 #465 #472 #473
    Make the GPL exception explicit in setup.py #450

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=011985e1db76ce1242c387fa6362c436f5cbf9a1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-pygit2/Makefile | 11 +++--------
 py-pygit2/PLIST    | 28 +++++++++++++++++-----------
 py-pygit2/distinfo |  7 ++++---
 3 files changed, 24 insertions(+), 22 deletions(-)

diffs:
diff --git a/py-pygit2/Makefile b/py-pygit2/Makefile
index 9424940..4a50455 100644
--- a/py-pygit2/Makefile
+++ b/py-pygit2/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.6 2014/12/04 23:44:45 othyro Exp $
 
-DISTNAME=	pygit2-0.21.4
+DISTNAME=	pygit2-0.24.1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pygit2/}
@@ -12,15 +12,10 @@ LICENSE=	gnu-gpl-v2
 
 DEPENDS+=	${PYPKGPREFIX}-cffi-[0-9]*:../../devel/py-cffi
 DEPENDS+=	${PYPKGPREFIX}-cparser-[0-9]*:../../devel/py-cparser
+DEPENDS+=	${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 
 USE_LANGUAGES=	c
-PY_PATCHPLIST=	yes
-
-#do-install:
-#	cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} setup.py install --root=${DESTDIR} --prefix=${PREFIX}
 
 .include "../../devel/libgit2/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
-#.include "../../lang/python/application.mk"
-#.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-pygit2/PLIST b/py-pygit2/PLIST
index e4c0604..db8ffaa 100644
--- a/py-pygit2/PLIST
+++ b/py-pygit2/PLIST
@@ -1,17 +1,21 @@
-@comment $NetBSD: PLIST,v 1.4 2014/12/04 23:44:45 othyro Exp $
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/_pygit2.so
-${PYSITELIB}/${EGG_FILE}/PKG-INFO
-${PYSITELIB}/${EGG_FILE}/SOURCES.txt
-${PYSITELIB}/${EGG_FILE}/dependency_links.txt
-${PYSITELIB}/${EGG_FILE}/not-zip-safe
-${PYSITELIB}/${EGG_FILE}/requires.txt
-${PYSITELIB}/${EGG_FILE}/top_level.txt
 ${PYSITELIB}/pygit2/__init__.py
 ${PYSITELIB}/pygit2/__init__.pyc
 ${PYSITELIB}/pygit2/__init__.pyo
-${PYSITELIB}/pygit2/_utils.py
-${PYSITELIB}/pygit2/_utils.pyc
-${PYSITELIB}/pygit2/_utils.pyo
+${PYSITELIB}/pygit2/_build.py
+${PYSITELIB}/pygit2/_build.pyc
+${PYSITELIB}/pygit2/_build.pyo
+${PYSITELIB}/pygit2/_libgit2.abi3.so
+${PYSITELIB}/pygit2/_run.py
+${PYSITELIB}/pygit2/_run.pyc
+${PYSITELIB}/pygit2/_run.pyo
 ${PYSITELIB}/pygit2/blame.py
 ${PYSITELIB}/pygit2/blame.pyc
 ${PYSITELIB}/pygit2/blame.pyo
@@ -49,7 +53,9 @@ ${PYSITELIB}/pygit2/repository.pyo
 ${PYSITELIB}/pygit2/settings.py
 ${PYSITELIB}/pygit2/settings.pyc
 ${PYSITELIB}/pygit2/settings.pyo
+${PYSITELIB}/pygit2/submodule.py
+${PYSITELIB}/pygit2/submodule.pyc
+${PYSITELIB}/pygit2/submodule.pyo
 ${PYSITELIB}/pygit2/utils.py
 ${PYSITELIB}/pygit2/utils.pyc
 ${PYSITELIB}/pygit2/utils.pyo
-${PYSITELIB}/pygit2_cffi_18eab927xbf062fb5.so
diff --git a/py-pygit2/distinfo b/py-pygit2/distinfo
index 60fc300..a2e730b 100644
--- a/py-pygit2/distinfo
+++ b/py-pygit2/distinfo
@@ -1,5 +1,6 @@
 $NetBSD: distinfo,v 1.5 2014/12/04 23:44:45 othyro Exp $
 
-SHA1 (pygit2-0.21.4.tar.gz) = f7d677de26c56ab0f23edd7fe6812ec23b79b8f6
-RMD160 (pygit2-0.21.4.tar.gz) = 8ac23ebd0a1f65caad28f4bb61ef290ba4e2c86c
-Size (pygit2-0.21.4.tar.gz) = 421294 bytes
+SHA1 (pygit2-0.24.1.tar.gz) = a838c9edfd4f3f4f1e578c8e1a8f649095b69d45
+RMD160 (pygit2-0.24.1.tar.gz) = 83b81f15b47dab0cffb82ebb183ddd2c03e919b3
+SHA512 (pygit2-0.24.1.tar.gz) = 517f32e3be5684f3ea521419608dd1e61ebe7a052ccf8da0b8ddf79022971966dfa87b8b7aae5280fdcecafb2cbb05d951a9f647c83d65f61fea3d64949eff59
+Size (pygit2-0.24.1.tar.gz) = 468951 bytes


Home | Main Index | Thread Index | Old Index