summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2019-04-24 19:27:49 +0200
committerAaron Bauman <bman@gentoo.org>2019-04-24 23:33:56 -0400
commite0b80da48818b78ea4a1d056ec3083e3bf53b503 (patch)
tree73cf70a58b294d2e622e61f1be0241040124c4e3 /app-arch/ipkg-utils/files/ipkg-utils-1.7.050831-hashlib.patch
parentapp-i18n/translate-shell: remove unused patch(es) (diff)
downloadgentoo-e0b80da48818b78ea4a1d056ec3083e3bf53b503.tar.gz
gentoo-e0b80da48818b78ea4a1d056ec3083e3bf53b503.tar.bz2
gentoo-e0b80da48818b78ea4a1d056ec3083e3bf53b503.zip
app-arch/ipkg-utils: remove unused patches
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11813 Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'app-arch/ipkg-utils/files/ipkg-utils-1.7.050831-hashlib.patch')
-rw-r--r--app-arch/ipkg-utils/files/ipkg-utils-1.7.050831-hashlib.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/app-arch/ipkg-utils/files/ipkg-utils-1.7.050831-hashlib.patch b/app-arch/ipkg-utils/files/ipkg-utils-1.7.050831-hashlib.patch
deleted file mode 100644
index e7cdf2de8c82..000000000000
--- a/app-arch/ipkg-utils/files/ipkg-utils-1.7.050831-hashlib.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- ipkg.py
-+++ ipkg.py
-@@ -36,12 +36,17 @@
- import os
- import sys
- import glob
--import md5
- import re
- import string
- import commands
- from stat import ST_SIZE
-
-+try:
-+ from hashlib import md5
-+except ImportError:
-+ import md5
-+ md5 = md5.new
-+
- class Version:
- """A class for holding parsed package version information."""
- def __init__(self, epoch, version):
-@@ -136,7 +141,7 @@
-
- # compute the MD5.
- f = open(fn, "r")
-- sum = md5.new()
-+ sum = md5()
- while 1:
- data = f.read(1024)
- if not data: break