python-mimeparse: new package

This module provides basic functions for parsing mime-type names
and matching them against a list of media-ranges.

https://github.com/dbtsai/python-mimeparse

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Grzegorz Blach
2018-08-28 12:16:17 +02:00
committed by Thomas Petazzoni
parent ba65ca804e
commit ab7e571240
5 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
################################################################################
#
# python-mimeparse
#
################################################################################
PYTHON_MIMEPARSE_VERSION = 1.6.0
PYTHON_MIMEPARSE_SOURCE = python-mimeparse-$(PYTHON_MIMEPARSE_VERSION).tar.gz
PYTHON_MIMEPARSE_SITE = https://files.pythonhosted.org/packages/0f/40/ac5f9e44a55b678c3cd881b4c3376e5b002677dbeab6fb3a50bac5d50d29
PYTHON_MIMEPARSE_SETUP_TYPE = setuptools
PYTHON_MIMEPARSE_LICENSE = MIT
PYTHON_MIMEPARSE_LICENSE_FILES = LICENSE
$(eval $(python-package))