commit efab3df0a2939ad37eba7f44af39fd7483be95ee
parent 203895bbb3f8177b0a4cac9de85bdda155dd2baa
Author: Dan Callaghan <djc@djc.id.au>
Date: Sun, 5 Feb 2012 14:20:49 +1000
dev-python/dulwich: bump to 0.8.3
Diffstat:
3 files changed, 23 insertions(+), 63 deletions(-)
diff --git a/packages/dev-python/dulwich/dulwich-0.8.0.exheres-0 b/packages/dev-python/dulwich/dulwich-0.8.0.exheres-0
@@ -1,26 +0,0 @@
-# Copyright 2010 Dan Callaghan <djc@djc.id.au>
-# Distributed under the terms of the GNU General Public License v2
-
-require pypi distutils [ python_dep=2.4 has_bin=true ]
-
-SUMMARY="Pure-Python implementation of the Git file formats and protocols"
-HOMEPAGE="http://samba.org/~jelmer/dulwich/"
-DOWNLOADS="http://samba.org/~jelmer/dulwich/${PNV}.tar.gz"
-
-LICENCES="GPL-2"
-SLOT="0"
-PLATFORMS="~amd64 ~x86"
-
-DEPENDENCIES="
- test:
- dev-python/nose
- dev-python/testtools
-"
-
-BUGS_TO="djc@djc.id.au"
-
-DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}/${PNV}-testcase-setup.patch" )
-
-src_test() {
- edo python setup.py test
-}
diff --git a/packages/dev-python/dulwich/dulwich-0.8.3.exheres-0 b/packages/dev-python/dulwich/dulwich-0.8.3.exheres-0
@@ -0,0 +1,23 @@
+# Copyright 2010 Dan Callaghan <djc@djc.id.au>
+# Distributed under the terms of the GNU General Public License v2
+
+require pypi distutils [ python_dep=2.4 has_bin=true ]
+
+SUMMARY="Pure-Python implementation of the Git file formats and protocols"
+HOMEPAGE="http://samba.org/~jelmer/dulwich/"
+DOWNLOADS="http://samba.org/~jelmer/dulwich/${PNV}.tar.gz"
+
+LICENCES="GPL-2"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+
+DEPENDENCIES="
+ test:
+ || (
+ dev-lang/python[>=2.7]
+ dev-python/unittest2
+ )
+"
+
+BUGS_TO="djc@djc.id.au"
+
diff --git a/packages/dev-python/dulwich/files/dulwich-0.8.0-testcase-setup.patch b/packages/dev-python/dulwich/files/dulwich-0.8.0-testcase-setup.patch
@@ -1,37 +0,0 @@
-Source: Dan Callaghan <djc@djc.id.au>
-Upstream: https://bugs.launchpad.net/dulwich/+bug/875418
-Reason: fix failing tests
-
-diff -ur dulwich-0.8.0.orig/dulwich/tests/test_pack.py dulwich-0.8.0/dulwich/tests/test_pack.py
---- dulwich-0.8.0.orig/dulwich/tests/test_pack.py 2011-08-07 22:43:22.000000000 +1000
-+++ dulwich-0.8.0/dulwich/tests/test_pack.py 2011-10-16 11:37:28.210266511 +1000
-@@ -736,6 +736,7 @@
- class DeltaChainIteratorTests(TestCase):
-
- def setUp(self):
-+ super(DeltaChainIteratorTests, self).setUp()
- self.store = MemoryObjectStore()
- self.fetched = set()
-
-diff -ur dulwich-0.8.0.orig/dulwich/tests/test_utils.py dulwich-0.8.0/dulwich/tests/test_utils.py
---- dulwich-0.8.0.orig/dulwich/tests/test_utils.py 2011-08-07 22:43:22.000000000 +1000
-+++ dulwich-0.8.0/dulwich/tests/test_utils.py 2011-10-16 11:36:40.514202100 +1000
-@@ -37,6 +37,7 @@
- class BuildCommitGraphTest(TestCase):
-
- def setUp(self):
-+ super(BuildCommitGraphTest, self).setUp()
- self.store = MemoryObjectStore()
-
- def test_linear(self):
-diff -ur dulwich-0.8.0.orig/dulwich/tests/test_walk.py dulwich-0.8.0/dulwich/tests/test_walk.py
---- dulwich-0.8.0.orig/dulwich/tests/test_walk.py 2011-08-07 22:43:22.000000000 +1000
-+++ dulwich-0.8.0/dulwich/tests/test_walk.py 2011-10-16 11:33:14.202921149 +1000
-@@ -74,6 +74,7 @@
- class WalkerTest(TestCase):
-
- def setUp(self):
-+ super(WalkerTest, self).setUp()
- self.store = MemoryObjectStore()
-
- def make_commits(self, commit_spec, **kwargs):