pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/py-mail-parser



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Nov 24 19:53:46 UTC 2024

Modified Files:
        pkgsrc/mail/py-mail-parser: Makefile PLIST distinfo
Added Files:
        pkgsrc/mail/py-mail-parser: ALTERNATIVES

Log Message:
py-mail-parser: updated to 4.1.2

4.1.2
Bugfix GitHub pipeline

4.1.1
Added build pipeline for tags. Automatic upload on PyPi

4.1.0
Improving code quality
Fixed issues
Added Docker build
Added bitcoin code

4.0.0
being more explicit with msgconvert tool error message
Fix for regex parsing misbehaviour when mail id in received headers ends with "-by"
Fix problems with multipart attachments


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/py-mail-parser/ALTERNATIVES
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/py-mail-parser/Makefile \
    pkgsrc/mail/py-mail-parser/PLIST pkgsrc/mail/py-mail-parser/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/py-mail-parser/Makefile
diff -u pkgsrc/mail/py-mail-parser/Makefile:1.1 pkgsrc/mail/py-mail-parser/Makefile:1.2
--- pkgsrc/mail/py-mail-parser/Makefile:1.1     Wed Aug 24 13:54:02 2022
+++ pkgsrc/mail/py-mail-parser/Makefile Sun Nov 24 19:53:46 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2022/08/24 13:54:02 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2024/11/24 19:53:46 adam Exp $
 
-DISTNAME=      mail-parser-3.15.0
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+DISTNAME=      mail_parser-4.1.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    mail python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mail-parser/}
 
@@ -10,16 +10,16 @@ HOMEPAGE=   https://github.com/SpamScope/m
 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
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=40.6.0:../../devel/py-setuptools
+DEPENDS+=      ${PYPKGPREFIX}-six>0:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>0:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>0:../../devel/py-test-mock
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} mail-parser mail-parser-${PYVERSSUFFIX} || ${TRUE}
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/mail/py-mail-parser/PLIST
diff -u pkgsrc/mail/py-mail-parser/PLIST:1.1 pkgsrc/mail/py-mail-parser/PLIST:1.2
--- pkgsrc/mail/py-mail-parser/PLIST:1.1        Wed Aug 24 13:54:02 2022
+++ pkgsrc/mail/py-mail-parser/PLIST    Sun Nov 24 19:53:46 2024
@@ -1,11 +1,12 @@
-@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
+@comment $NetBSD: PLIST,v 1.2 2024/11/24 19:53:46 adam Exp $
+bin/mail-parser-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/NOTICE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/mailparser/__init__.py
 ${PYSITELIB}/mailparser/__init__.pyc
 ${PYSITELIB}/mailparser/__init__.pyo
@@ -15,12 +16,12 @@ ${PYSITELIB}/mailparser/__main__.pyo
 ${PYSITELIB}/mailparser/const.py
 ${PYSITELIB}/mailparser/const.pyc
 ${PYSITELIB}/mailparser/const.pyo
+${PYSITELIB}/mailparser/core.py
+${PYSITELIB}/mailparser/core.pyc
+${PYSITELIB}/mailparser/core.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
Index: pkgsrc/mail/py-mail-parser/distinfo
diff -u pkgsrc/mail/py-mail-parser/distinfo:1.1 pkgsrc/mail/py-mail-parser/distinfo:1.2
--- pkgsrc/mail/py-mail-parser/distinfo:1.1     Wed Aug 24 13:54:02 2022
+++ pkgsrc/mail/py-mail-parser/distinfo Sun Nov 24 19:53:46 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/08/24 13:54:02 wiz Exp $
+$NetBSD: distinfo,v 1.2 2024/11/24 19:53:46 adam 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
+BLAKE2s (mail_parser-4.1.2.tar.gz) = f811531c24e399f97e3ace1b011de2e837ca7be8a3a9d5423c2cf568f62b792f
+SHA512 (mail_parser-4.1.2.tar.gz) = 4f09cb4937626154e835ab6df06428d8e50c9e7e107f314523a61df4d29cc2d4008d412d7e59627fba68a22f42ab932ecc2c9e6d10fafd5d19cf9596f7383d30
+Size (mail_parser-4.1.2.tar.gz) = 26948 bytes

Added files:

Index: pkgsrc/mail/py-mail-parser/ALTERNATIVES
diff -u /dev/null pkgsrc/mail/py-mail-parser/ALTERNATIVES:1.1
--- /dev/null   Sun Nov 24 19:53:46 2024
+++ pkgsrc/mail/py-mail-parser/ALTERNATIVES     Sun Nov 24 19:53:46 2024
@@ -0,0 +1 @@
+bin/mail-parser @PREFIX@/bin/mail-parser-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index