aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-mime/Makefile20
-rw-r--r--devel/py-mime/distinfo3
-rw-r--r--devel/py-mime/pkg-descr5
4 files changed, 29 insertions, 0 deletions
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 <bsd.port.mk>
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