Skip to content

Commit

Permalink
add devel/py-mime
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dlangille committed Apr 20, 2021
1 parent 887cabd commit fa23d8f
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 20 additions & 0 deletions devel/py-mime/Makefile
Original file line number Diff line number Diff line change
@@ -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>
3 changes: 3 additions & 0 deletions devel/py-mime/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1617735212
SHA256 (mime-0.1.0.tar.gz) = 11f010bf1bde055eb62eee707997f5bc7682daccf4993f704d97b350f7c34ce8
SIZE (mime-0.1.0.tar.gz) = 32133
5 changes: 5 additions & 0 deletions devel/py-mime/pkg-descr
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit fa23d8f

Please sign in to comment.