summaryrefslogtreecommitdiff
path: root/devel/py-pygit2
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-01-11 16:20:56 +0000
committeradam <adam@pkgsrc.org>2020-01-11 16:20:56 +0000
commit86e02d54d01a52d7293e9606ea18423189474f30 (patch)
tree0703529f1c3c01dc521cfd2af3321e3176d3966b /devel/py-pygit2
parenta415c3d9b1fb1a59ec76aa93a1c3ed9a38a86549 (diff)
downloadpkgsrc-86e02d54d01a52d7293e9606ea18423189474f30.tar.gz
py-pygit2: updated to 1.0.2
1.0.2: Fix enumerating tree entries with submodules 1.0.1: Fix build in Mac OS 1.0.0: Drop Python 2.7 and 3.4 support, six no longer required Add Python 3.8 support New support for / operator to traverse trees New Branch.raw_branch_name New Index.remove_all() New Remote.ls_remotes(..) New Repository.lookup_reference_dwim(..) and Repository.resolve_refish(..) New Repository.odb returns new Odb type instance. And new OdbBackend type. New Repository.references.compress() Optimization: Load notes lazily Fix spurious exception in config Minor documentation and cosmetic changes
Diffstat (limited to 'devel/py-pygit2')
-rw-r--r--devel/py-pygit2/Makefile15
-rw-r--r--devel/py-pygit2/PLIST71
-rw-r--r--devel/py-pygit2/distinfo10
3 files changed, 44 insertions, 52 deletions
diff --git a/devel/py-pygit2/Makefile b/devel/py-pygit2/Makefile
index fff10d59d8c..d2a7797094d 100644
--- a/devel/py-pygit2/Makefile
+++ b/devel/py-pygit2/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2019/06/11 12:18:31 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2020/01/11 16:20:56 adam Exp $
-DISTNAME= pygit2-0.28.2
+DISTNAME= pygit2-1.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= devel
+CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pygit2/}
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -12,15 +12,14 @@ 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
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= c
-# needs 'make install'
-# 20 failed in 0.28.0
-do-test:
- cd ${WRKSRC}/test && pytest-${PYVERSSUFFIX}
+PYSETUPTESTTARGET= pytest
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # since 1.0.0
BUILDLINK_API_DEPENDS.libgit2+= libgit2>=0.27.0
.include "../../devel/libgit2/buildlink3.mk"
diff --git a/devel/py-pygit2/PLIST b/devel/py-pygit2/PLIST
index 1a03b9ce5a8..358edeaa9e2 100644
--- a/devel/py-pygit2/PLIST
+++ b/devel/py-pygit2/PLIST
@@ -1,53 +1,30 @@
-@comment $NetBSD: PLIST,v 1.3 2019/05/14 03:12:36 maya Exp $
-${PYSITELIB}/_pygit2.so
+@comment $NetBSD: PLIST,v 1.4 2020/01/11 16:20:56 adam Exp $
${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}/pygit2/__init__.py
-${PYSITELIB}/pygit2/__init__.pyo
${PYSITELIB}/pygit2/__init__.pyc
-${PYSITELIB}/pygit2/_build.pyo
-${PYSITELIB}/pygit2/_build.pyc
-${PYSITELIB}/pygit2/_run.pyo
-${PYSITELIB}/pygit2/_run.pyc
-${PYSITELIB}/pygit2/blame.pyo
-${PYSITELIB}/pygit2/blame.pyc
-${PYSITELIB}/pygit2/config.pyo
-${PYSITELIB}/pygit2/config.pyc
-${PYSITELIB}/pygit2/credentials.pyo
-${PYSITELIB}/pygit2/credentials.pyc
-${PYSITELIB}/pygit2/errors.pyo
-${PYSITELIB}/pygit2/errors.pyc
-${PYSITELIB}/pygit2/ffi.pyo
-${PYSITELIB}/pygit2/ffi.pyc
-${PYSITELIB}/pygit2/index.pyo
-${PYSITELIB}/pygit2/index.pyc
-${PYSITELIB}/pygit2/py2.pyo
-${PYSITELIB}/pygit2/py2.pyc
-${PYSITELIB}/pygit2/py3.pyo
-${PYSITELIB}/pygit2/py3.pyc
-${PYSITELIB}/pygit2/refspec.pyo
-${PYSITELIB}/pygit2/refspec.pyc
-${PYSITELIB}/pygit2/remote.pyo
-${PYSITELIB}/pygit2/remote.pyc
-${PYSITELIB}/pygit2/repository.pyo
-${PYSITELIB}/pygit2/repository.pyc
-${PYSITELIB}/pygit2/settings.pyo
-${PYSITELIB}/pygit2/settings.pyc
-${PYSITELIB}/pygit2/submodule.pyo
-${PYSITELIB}/pygit2/submodule.pyc
-${PYSITELIB}/pygit2/utils.pyo
-${PYSITELIB}/pygit2/utils.pyc
+${PYSITELIB}/pygit2/__init__.pyo
${PYSITELIB}/pygit2/_build.py
-${PLIST.py3x}${PYSITELIB}/pygit2/_libgit2.abi3.so
-${PLIST.py2x}${PYSITELIB}/pygit2/_libgit2.so
+${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
${PYSITELIB}/pygit2/config.py
+${PYSITELIB}/pygit2/config.pyc
+${PYSITELIB}/pygit2/config.pyo
${PYSITELIB}/pygit2/credentials.py
+${PYSITELIB}/pygit2/credentials.pyc
+${PYSITELIB}/pygit2/credentials.pyo
${PYSITELIB}/pygit2/decl/attr.h
${PYSITELIB}/pygit2/decl/blame.h
${PYSITELIB}/pygit2/decl/buffer.h
@@ -75,13 +52,29 @@ ${PYSITELIB}/pygit2/decl/submodule.h
${PYSITELIB}/pygit2/decl/transport.h
${PYSITELIB}/pygit2/decl/types.h
${PYSITELIB}/pygit2/errors.py
+${PYSITELIB}/pygit2/errors.pyc
+${PYSITELIB}/pygit2/errors.pyo
${PYSITELIB}/pygit2/ffi.py
+${PYSITELIB}/pygit2/ffi.pyc
+${PYSITELIB}/pygit2/ffi.pyo
${PYSITELIB}/pygit2/index.py
-${PYSITELIB}/pygit2/py2.py
-${PYSITELIB}/pygit2/py3.py
+${PYSITELIB}/pygit2/index.pyc
+${PYSITELIB}/pygit2/index.pyo
${PYSITELIB}/pygit2/refspec.py
+${PYSITELIB}/pygit2/refspec.pyc
+${PYSITELIB}/pygit2/refspec.pyo
${PYSITELIB}/pygit2/remote.py
+${PYSITELIB}/pygit2/remote.pyc
+${PYSITELIB}/pygit2/remote.pyo
${PYSITELIB}/pygit2/repository.py
+${PYSITELIB}/pygit2/repository.pyc
+${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
diff --git a/devel/py-pygit2/distinfo b/devel/py-pygit2/distinfo
index a984e9461b6..a6722fe9c73 100644
--- a/devel/py-pygit2/distinfo
+++ b/devel/py-pygit2/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2019/06/11 12:18:31 wiz Exp $
+$NetBSD: distinfo,v 1.8 2020/01/11 16:20:56 adam Exp $
-SHA1 (pygit2-0.28.2.tar.gz) = 25e68e389bdc600631a72d98391377cc37cabf45
-RMD160 (pygit2-0.28.2.tar.gz) = 15bc91cf67aa94c34fc76cbdf0da1914147a5f5a
-SHA512 (pygit2-0.28.2.tar.gz) = 3f742cdcc9d603c9cc9ef2e0a545da8bcfb555a0bdeea1c73c53a284b43d40ad6b28c87a029578ad7b1c8f2bf56ecd2859dac8dd836474bfc66223ff4af9e8f0
-Size (pygit2-0.28.2.tar.gz) = 496469 bytes
+SHA1 (pygit2-1.0.2.tar.gz) = 4cb47405ae39e401daa22dbe439f170573bd6b9d
+RMD160 (pygit2-1.0.2.tar.gz) = 9b98262a56456d1c87bded93a0b3626daa99ac70
+SHA512 (pygit2-1.0.2.tar.gz) = c76bf8ce2847ec8915201a714f076488a0dda4a790762293c02709b8b88a9a2b898f97e61565cf41cd11b10bebe2e1d76b5643ff2e86f9bf6a9517c87a988769
+Size (pygit2-1.0.2.tar.gz) = 501736 bytes