Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2021 17:56:15 GMT
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fa23d8ff9637 - main - add devel/py-mime
Message-ID:  <202104201756.13KHuFcl004935@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dvl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fa23d8ff9637a10ef2df4626d572c989cda55663

commit fa23d8ff9637a10ef2df4626d572c989cda55663
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2021-04-20 17:34:56 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2021-04-20 17:56:05 +0000

    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 <gettoknowmi@yahoo.com>
---
 devel/Makefile          |  1 +
 devel/py-mime/Makefile  | 20 ++++++++++++++++++++
 devel/py-mime/distinfo  |  3 +++
 devel/py-mime/pkg-descr |  5 +++++
 4 files changed, 29 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104201756.13KHuFcl004935>