* [gentoo-commits] repo/gentoo:master commit in: dev-python/python-cluster/files/
@ 2016-10-08 17:59 David Seifert
0 siblings, 0 replies; only message in thread
From: David Seifert @ 2016-10-08 17:59 UTC (permalink / raw
To: gentoo-commits
commit: a97fc63c8d1f44d55c5adbf271a57e2b2f07ddaa
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Mon Sep 19 17:37:49 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Oct 8 17:59:31 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a97fc63c
dev-python/python-cluster: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/2363
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../files/python-cluster-python3.patch | 37 ----------------------
1 file changed, 37 deletions(-)
diff --git a/dev-python/python-cluster/files/python-cluster-python3.patch b/dev-python/python-cluster/files/python-cluster-python3.patch
deleted file mode 100644
index 3294d70..00000000
--- a/dev-python/python-cluster/files/python-cluster-python3.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- cluster.py.old 2010-10-01 14:41:55.000000000 +0200
-+++ cluster.py 2010-10-01 14:42:32.000000000 +0200
-@@ -130,7 +130,7 @@
- format = " %%%is |" % maxlen
- format = "|" + format*colcount
- for row in list:
-- print format % tuple(row)
-+ print (format % tuple(row))
-
- def magnitude(a):
- "calculates the magnitude of a vecor"
-@@ -239,12 +239,12 @@
- """
- Pretty-prints this cluster. Useful for debuging
- """
-- print depth*" " + "[level %s]" % self.__level
-+ print (depth*" " + "[level %s]" % self.__level)
- for item in self.__items:
- if isinstance(item, Cluster):
- item.display(depth+1)
- else:
-- print depth*" "+"%s" % item
-+ print (depth*" "+"%s" % item)
-
- def topology(self):
- """
---- cluster.py.old 2010-10-01 14:48:54.000000000 +0200
-+++ cluster.py 2010-10-01 14:49:21.000000000 +0200
-@@ -429,7 +429,7 @@
- elif method == 'uclus':
- self.linkage = self.uclusDistance
- else:
-- raise ValueError, 'distance method must be one of single, complete, average of uclus'
-+ raise ValueError('distance method must be one of single, complete, average of uclus')
-
- def uclusDistance(self, x, y):
- """
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-08 17:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-08 17:59 [gentoo-commits] repo/gentoo:master commit in: dev-python/python-cluster/files/ David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox