Daniel Jakots <[email protected]> writes:
> On Sat, 16 Apr 2016 16:24:43 +0200, Jeremie Courreges-Anglas
> <[email protected]> wrote:
>
>> Those tests are supposed to be run against a copy of upstream's git
>> repo. All tests succeed on 0.6.4.
>>
>> I'm not sure how useful it is to "enable" tests here. Someone
>> updating to a newer version should probably run the full tests
>> instead.
>>
>> We could add a comment above NO_TEST to give rough instructions. Or
>> we could use a clone of upstream's repo as the source - but then we
>> miss portroach notifications.
>>
>> Thoughts?
>
> Great, thanks.
>
> I think NO_TEST is easier and fine enough.
What I understand is that smmap, gitdb, gitpython and legit are parts of
the same dep chain, I'd rather update them all at the same time.
sysutils/salt depends on gitpython too. Here's a diff to update to
latest gitpython:
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-gitpython/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile 7 Jan 2016 21:35:28 -0000 1.6
+++ Makefile 16 Apr 2016 14:26:49 -0000
@@ -2,22 +2,18 @@
COMMENT= library used to interact with Git repositories
-# There's no real stable release, but this is the most used
-# version available.
-MODPY_EGG_VERSION= 0.3.2rc1
-REVISION = 2
-DISTNAME= GitPython-0.3.2.RC1
-PKGNAME= py-${DISTNAME:S/.RC1//}
+MODPY_EGG_VERSION= 1.0.2
+DISTNAME= GitPython-${MODPY_EGG_VERSION}
+PKGNAME= py-${DISTNAME}
+
CATEGORIES= devel
# BSD
PERMIT_PACKAGE_CDROM= Yes
-MODPY_PI = Yes
-MODPY_PI_DIR = G/GitPython
-
MODULES= lang/python
+MODPY_PI = Yes
MODPY_SETUPTOOLS= Yes
RUN_DEPENDS= devel/py-gitdb
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/py-gitpython/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo 21 Jan 2013 14:30:56 -0000 1.1.1.1
+++ distinfo 16 Apr 2016 14:27:55 -0000
@@ -1,2 +1,2 @@
-SHA256 (GitPython-0.3.2.RC1.tar.gz) =
/WeGaEoNDdfruWHadU4zEvr+DI6I9VzrCYWKoK9glOA=
-SIZE (GitPython-0.3.2.RC1.tar.gz) = 313486
+SHA256 (GitPython-1.0.2.tar.gz) = hd5yVWeBSAo4iXp33ltFiuODiw/ViVk2eaG1800YHYQ=
+SIZE (GitPython-1.0.2.tar.gz) = 387615
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/py-gitpython/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST 29 Sep 2015 09:02:54 -0000 1.2
+++ pkg/PLIST 16 Apr 2016 15:09:34 -0000
@@ -11,6 +11,8 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/git/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/git/cmd.py
lib/python${MODPY_VERSION}/site-packages/git/cmd.pyc
+lib/python${MODPY_VERSION}/site-packages/git/compat.py
+lib/python${MODPY_VERSION}/site-packages/git/compat.pyc
lib/python${MODPY_VERSION}/site-packages/git/config.py
lib/python${MODPY_VERSION}/site-packages/git/config.pyc
lib/python${MODPY_VERSION}/site-packages/git/db.py
@@ -87,24 +89,37 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/git/test/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/blame
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/blame_binary
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/blame_complex_revision
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/cat_file.py
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/cat_file.pyc
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/cat_file_blob
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/cat_file_blob_nl
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/cat_file_blob_size
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/commit_with_gpgsig
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/diff_2
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/diff_2f
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/diff_f
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/diff_i
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/diff_index_patch
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/diff_mode_only
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/diff_new_mode
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/diff_numstat
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/diff_p
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/diff_patch_binary
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/diff_raw_binary
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/diff_rename
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/diff_rename_raw
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/diff_tree_numstat_root
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/for_each_ref_with_path_component
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/git_config
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/git_config_global
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/git_config_with_comments
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/git_config_with_empty_value
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/git_file
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/index
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/index_merge
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/issue-301_stderr
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/ls_tree_a
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/ls_tree_b
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/ls_tree_commit
@@ -126,6 +141,8 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/rev_list_single
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/rev_parse
lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/show_empty_commit
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/uncommon_branch_prefix_FETCH_HEAD
+lib/python${MODPY_VERSION}/site-packages/git/test/fixtures/uncommon_branch_prefix_stderr
lib/python${MODPY_VERSION}/site-packages/git/test/lib/
lib/python${MODPY_VERSION}/site-packages/git/test/lib/__init__.py
lib/python${MODPY_VERSION}/site-packages/git/test/lib/__init__.pyc
@@ -133,6 +150,17 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/git/test/lib/asserts.pyc
lib/python${MODPY_VERSION}/site-packages/git/test/lib/helper.py
lib/python${MODPY_VERSION}/site-packages/git/test/lib/helper.pyc
+lib/python${MODPY_VERSION}/site-packages/git/test/performance/
+lib/python${MODPY_VERSION}/site-packages/git/test/performance/__init__.py
+lib/python${MODPY_VERSION}/site-packages/git/test/performance/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/git/test/performance/lib.py
+lib/python${MODPY_VERSION}/site-packages/git/test/performance/lib.pyc
+lib/python${MODPY_VERSION}/site-packages/git/test/performance/test_commit.py
+lib/python${MODPY_VERSION}/site-packages/git/test/performance/test_commit.pyc
+lib/python${MODPY_VERSION}/site-packages/git/test/performance/test_odb.py
+lib/python${MODPY_VERSION}/site-packages/git/test/performance/test_odb.pyc
+lib/python${MODPY_VERSION}/site-packages/git/test/performance/test_streams.py
+lib/python${MODPY_VERSION}/site-packages/git/test/performance/test_streams.pyc
lib/python${MODPY_VERSION}/site-packages/git/test/test_actor.py
lib/python${MODPY_VERSION}/site-packages/git/test/test_actor.pyc
lib/python${MODPY_VERSION}/site-packages/git/test/test_base.py
@@ -147,6 +175,8 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/git/test/test_db.pyc
lib/python${MODPY_VERSION}/site-packages/git/test/test_diff.py
lib/python${MODPY_VERSION}/site-packages/git/test/test_diff.pyc
+lib/python${MODPY_VERSION}/site-packages/git/test/test_docs.py
+lib/python${MODPY_VERSION}/site-packages/git/test/test_docs.pyc
lib/python${MODPY_VERSION}/site-packages/git/test/test_fun.py
lib/python${MODPY_VERSION}/site-packages/git/test/test_fun.pyc
lib/python${MODPY_VERSION}/site-packages/git/test/test_git.py
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE