From owner-dev-commits-ports-all@freebsd.org Tue Apr 20 17:56:15 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 90D5F5E18F8; Tue, 20 Apr 2021 17:56:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FPrvz2Ghpz3J5w; Tue, 20 Apr 2021 17:56:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3EE0C17050; Tue, 20 Apr 2021 17:56:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13KHuFUX004937; Tue, 20 Apr 2021 17:56:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13KHuFcl004935; Tue, 20 Apr 2021 17:56:15 GMT (envelope-from git) Date: Tue, 20 Apr 2021 17:56:15 GMT Message-Id: <202104201756.13KHuFcl004935@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: fa23d8ff9637 - main - add devel/py-mime MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fa23d8ff9637a10ef2df4626d572c989cda55663 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2021 17:56:15 -0000 The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=fa23d8ff9637a10ef2df4626d572c989cda55663 commit fa23d8ff9637a10ef2df4626d572c989cda55663 Author: Dan Langille AuthorDate: 2021-04-20 17:34:56 +0000 Commit: Dan Langille 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 --- 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 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