mail/py-mail-parser: import py-mail-parser-3.15.0

mail-parser is not only a wrapper for email from the Python Standard
Library.  It give you an easy way to pass from raw mail to Python
object that you can use in your code.
This commit is contained in:
wiz 2022-08-24 13:54:02 +00:00
parent a3e04d6028
commit fef132a3a7
4 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,3 @@
mail-parser is not only a wrapper for email from the Python Standard
Library. It give you an easy way to pass from raw mail to Python
object that you can use in your code.

View file

@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.1 2022/08/24 13:54:02 wiz Exp $
DISTNAME= mail-parser-3.15.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= mail python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mail-parser/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/SpamScope/mail-parser
COMMENT= Wrapper for email standard library
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-simplejson>=3.17.0:../../converters/py-simplejson
DEPENDS+= ${PYPKGPREFIX}-six>=1.14.0:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

29
mail/py-mail-parser/PLIST Normal file
View file

@ -0,0 +1,29 @@
@comment $NetBSD: PLIST,v 1.1 2022/08/24 13:54:02 wiz Exp $
bin/mailparser
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/mailparser/__init__.py
${PYSITELIB}/mailparser/__init__.pyc
${PYSITELIB}/mailparser/__init__.pyo
${PYSITELIB}/mailparser/__main__.py
${PYSITELIB}/mailparser/__main__.pyc
${PYSITELIB}/mailparser/__main__.pyo
${PYSITELIB}/mailparser/const.py
${PYSITELIB}/mailparser/const.pyc
${PYSITELIB}/mailparser/const.pyo
${PYSITELIB}/mailparser/exceptions.py
${PYSITELIB}/mailparser/exceptions.pyc
${PYSITELIB}/mailparser/exceptions.pyo
${PYSITELIB}/mailparser/mailparser.py
${PYSITELIB}/mailparser/mailparser.pyc
${PYSITELIB}/mailparser/mailparser.pyo
${PYSITELIB}/mailparser/utils.py
${PYSITELIB}/mailparser/utils.pyc
${PYSITELIB}/mailparser/utils.pyo
${PYSITELIB}/mailparser/version.py
${PYSITELIB}/mailparser/version.pyc
${PYSITELIB}/mailparser/version.pyo

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2022/08/24 13:54:02 wiz Exp $
BLAKE2s (mail-parser-3.15.0.tar.gz) = 86bda6090646f9b41f590693354dfaebb606cc859e57a4dee8119da15407936f
SHA512 (mail-parser-3.15.0.tar.gz) = a8d9b0d2c1bfb4a63fcc556cf8b488d585dacc2c65ddd1a80a13de04926652348df80a9c36b49cae3c401896ba8aa5f6dc24b1129035de68ce1c907959ac393b
Size (mail-parser-3.15.0.tar.gz) = 18001 bytes