summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-01-30 17:56:27 +0100
committerDavid Seifert <soap@gentoo.org>2017-01-31 09:40:52 +0100
commit15623d57f7716c81f31eb15360e638dc2afdd46d (patch)
treea3624f852031cdf90b798fd434fec8dc41ae34b1 /sci-chemistry
parentsci-chemistry/autodock_vina: remove unused patch (diff)
downloadgentoo-15623d57f7716c81f31eb15360e638dc2afdd46d.tar.gz
gentoo-15623d57f7716c81f31eb15360e638dc2afdd46d.tar.bz2
gentoo-15623d57f7716c81f31eb15360e638dc2afdd46d.zip
sci-chemistry/bkchem: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/3730
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/bkchem/files/0.14.0_pre1-piddle-Fix-assertions.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/sci-chemistry/bkchem/files/0.14.0_pre1-piddle-Fix-assertions.patch b/sci-chemistry/bkchem/files/0.14.0_pre1-piddle-Fix-assertions.patch
deleted file mode 100644
index 6270e59d5320..000000000000
--- a/sci-chemistry/bkchem/files/0.14.0_pre1-piddle-Fix-assertions.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff --git a/bkchem/plugins/piddle/pdfgen.py b/bkchem/plugins/piddle/pdfgen.py
-index 5213672..4c056c7 100644
---- a/bkchem/plugins/piddle/pdfgen.py
-+++ b/bkchem/plugins/piddle/pdfgen.py
-@@ -639,7 +639,7 @@ class Canvas:
-
- #use a flate filter and Ascii Base 85 to compress
- raw = myimage.tostring()
-- assert(len(raw) == imgwidth * imgheight, "Wrong amount of data for image")
-+ assert len(raw) == imgwidth * imgheight, "Wrong amount of data for image"
- compressed = zlib.compress(raw) #this bit is very fast...
- encoded = pdfutils._AsciiBase85Encode(compressed) #...sadly this isn't
-
-diff --git a/bkchem/plugins/piddle/pdfutils.py b/bkchem/plugins/piddle/pdfutils.py
-index ebde677..4a7675d 100644
---- a/bkchem/plugins/piddle/pdfutils.py
-+++ b/bkchem/plugins/piddle/pdfutils.py
-@@ -27,7 +27,7 @@ def cacheImageFile(filename):
- code.append('ID')
- #use a flate filter and Ascii Base 85
- raw = img.tostring()
-- assert(len(raw) == imgwidth * imgheight, "Wrong amount of data for image")
-+ assert len(raw) == imgwidth * imgheight, "Wrong amount of data for image"
- compressed = zlib.compress(raw) #this bit is very fast...
- encoded = _AsciiBase85Encode(compressed) #...sadly this isn't
-
-diff --git a/bkchem/plugins/piddle/piddlePS.py b/bkchem/plugins/piddle/piddlePS.py
-index 4d3c327..3afa361 100644
---- a/bkchem/plugins/piddle/piddlePS.py
-+++ b/bkchem/plugins/piddle/piddlePS.py
-@@ -866,7 +866,7 @@ translate
- # piddlePDF again
-
- rawimage = myimage.tostring()
-- assert(len(rawimage) == imgwidth*imgheight, 'Wrong amount of data for image')
-+ assert len(rawimage) == imgwidth*imgheight, 'Wrong amount of data for image'
- #compressed = zlib.compress(rawimage) # no zlib at moment
- hex_encoded = self._AsciiHexEncode(rawimage)
-
-@@ -957,7 +957,7 @@ translate
- 'image'])
- # after image operator just need to dump image dat to file as hexstring
- rawimage = myimage.tostring()
-- assert(len(rawimage) == imwidth*imheight, 'Wrong amount of data for image')
-+ assert len(rawimage) == imwidth*imheight, 'Wrong amount of data for image'
- #compressed = zlib.compress(rawimage) # no zlib at moment
- hex_encoded = self._AsciiHexEncode(rawimage)
-