23119328 Upgrade python mimeparse to 1.5.1
authorLaszlo Peter <laszlo.peter@oracle.com>
Wed, 07 Sep 2016 14:48:31 -0700
changeset 6794 97cbf1006308
parent 6793 22022354a440
child 6795 832c5da5f7f1
23119328 Upgrade python mimeparse to 1.5.1
components/python/python-mimeparse/Makefile
components/python/python-mimeparse/patches/use_setuptools.patch
--- a/components/python/python-mimeparse/Makefile	Wed Sep 07 14:48:30 2016 -0700
+++ b/components/python/python-mimeparse/Makefile	Wed Sep 07 14:48:31 2016 -0700
@@ -26,16 +26,16 @@
 include ../../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		python-mimeparse
-COMPONENT_VERSION=	0.1.4
+COMPONENT_VERSION=	1.5.2
 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
 COMPONENT_ARCHIVE_HASH=	\
-    sha256:3c69a21e37e77f754e6fc09ebda70acd92c90d8a58f29a41cc0248351378ddc3
+    sha256:bef134a59598cc6aa598f84553162aa7a0c01f3f431588225bb9a208964b1827
 COMPONENT_ARCHIVE_URL=	$(call pypi_url)
 COMPONENT_PROJECT_URL=	https://github.com/dbtsai/python-mimeparse
 COMPONENT_BUGDB=	python-mod/mimeparse
 
-TPNO=			26390
+TPNO=			30215
 
 include $(WS_MAKE_RULES)/prep.mk
 include $(WS_MAKE_RULES)/setup.py.mk
--- a/components/python/python-mimeparse/patches/use_setuptools.patch	Wed Sep 07 14:48:30 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-Switch away from the more limited distutils package to setuptools.
-This patch has not yet been submitted upstream.
-
---- python-mimeparse-0.1.4/setup.py.orig   2014-03-25 14:33:23.587458089 -0600
-+++ python-mimeparse-0.1.4/setup.py    2014-03-25 14:33:28.216518310 -0600
[email protected]@ -1,6 +1,6 @@
- #!/usr/bin/env python
-
--from distutils.core import setup
-+from setuptools import setup
- import mimeparse
-
- setup(