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:
parent
ba65ca804e
commit
ab7e571240
@ -876,6 +876,9 @@ F: package/libsrtp/
|
||||
F: package/libwebsock/
|
||||
F: package/sofia-sip/
|
||||
|
||||
N: Grzegorz Blach <grzegorz@blach.pl>
|
||||
F: package/python-mimeparse/
|
||||
|
||||
N: Guillaume Gardet <guillaume.gardet@oliseo.fr>
|
||||
F: package/c-icap/
|
||||
F: package/c-icap-modules/
|
||||
|
@ -871,6 +871,7 @@ menu "External python modules"
|
||||
source "package/python-markupsafe/Config.in"
|
||||
source "package/python-mbstrdecoder/Config.in"
|
||||
source "package/python-meld3/Config.in"
|
||||
source "package/python-mimeparse/Config.in"
|
||||
source "package/python-mistune/Config.in"
|
||||
source "package/python-more-itertools/Config.in"
|
||||
source "package/python-msgpack/Config.in"
|
||||
|
7
package/python-mimeparse/Config.in
Normal file
7
package/python-mimeparse/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_PYTHON_MIMEPARSE
|
||||
bool "python-mimeparse"
|
||||
help
|
||||
A module provides basic functions for parsing mime-type
|
||||
names and matching them against a list of media-ranges.
|
||||
|
||||
https://github.com/dbtsai/python-mimeparse
|
5
package/python-mimeparse/python-mimeparse.hash
Normal file
5
package/python-mimeparse/python-mimeparse.hash
Normal file
@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/python-mimeparse/json
|
||||
md5 a32ae1df93be1ddb581d1c0fa124bab4 python-mimeparse-1.6.0.tar.gz
|
||||
sha256 76e4b03d700a641fd7761d3cd4fdbbdcd787eade1ebfac43f877016328334f78 python-mimeparse-1.6.0.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e LICENSE
|
14
package/python-mimeparse/python-mimeparse.mk
Normal file
14
package/python-mimeparse/python-mimeparse.mk
Normal 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))
|
Loading…
Reference in New Issue
Block a user