From fa23d8ff9637a10ef2df4626d572c989cda55663 Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Tue, 20 Apr 2021 17:34:56 +0000 Subject: add devel/py-mime MIME Types for Python, clone of halostatue/mime-types. This library allows for the identification of a file's likely MIME content type. MIME types are used in MIME-compliant communications PR: 254837 Reported by: gettoknowmi --- devel/Makefile | 1 + devel/py-mime/Makefile | 20 ++++++++++++++++++++ devel/py-mime/distinfo | 3 +++ devel/py-mime/pkg-descr | 5 +++++ 4 files changed, 29 insertions(+) create mode 100644 devel/py-mime/Makefile create mode 100644 devel/py-mime/distinfo create mode 100644 devel/py-mime/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 111e833e112f..9cc60b453031 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4648,6 +4648,7 @@ SUBDIR += py-memory-profiler SUBDIR += py-microversion-parse SUBDIR += py-milc + SUBDIR += py-mime SUBDIR += py-minidump SUBDIR += py-minimongo SUBDIR += py-minio diff --git a/devel/py-mime/Makefile b/devel/py-mime/Makefile new file mode 100644 index 000000000000..589e9ee4a30c --- /dev/null +++ b/devel/py-mime/Makefile @@ -0,0 +1,20 @@ +PORTNAME= mime +PORTVERSION= 0.1.0 +CATEGORIES= devel +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= gettoknowmi@yahoo.com +COMMENT= MIME types are used in MIME-compliant communications + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} + +USES= python:3.6+,run +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-mime/distinfo b/devel/py-mime/distinfo new file mode 100644 index 000000000000..72b9a5c0dc5b --- /dev/null +++ b/devel/py-mime/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1617735212 +SHA256 (mime-0.1.0.tar.gz) = 11f010bf1bde055eb62eee707997f5bc7682daccf4993f704d97b350f7c34ce8 +SIZE (mime-0.1.0.tar.gz) = 32133 diff --git a/devel/py-mime/pkg-descr b/devel/py-mime/pkg-descr new file mode 100644 index 000000000000..7c3a99dc9ca6 --- /dev/null +++ b/devel/py-mime/pkg-descr @@ -0,0 +1,5 @@ +MIME Types for Python, clone of halostatue/mime-types. +This library allows for the identification of a file's likely MIME content type. +MIME types are used in MIME-compliant communications + +WWW: https://github.com/liluo/mime -- cgit v1.2.3