pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/py-postfix-mta-sts-resolver



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Aug  9 13:10:15 UTC 2023

Modified Files:
        pkgsrc/mail/py-postfix-mta-sts-resolver: Makefile PLIST distinfo

Log Message:
py-postfix-mta-sts-resolver: updated to 1.4.0

v1.4.0

add a NetBSD rc.d file
Add postgres cache support
Fix tests
Use stable scan query


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/py-postfix-mta-sts-resolver/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/py-postfix-mta-sts-resolver/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-postfix-mta-sts-resolver/Makefile
diff -u pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile:1.5 pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile:1.6
--- pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile:1.5        Tue Jun  6 12:41:50 2023
+++ pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile    Wed Aug  9 13:10:15 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2023/06/06 12:41:50 riastradh Exp $
+# $NetBSD: Makefile,v 1.6 2023/08/09 13:10:15 adam Exp $
 
-DISTNAME=      postfix_mta_sts_resolver-1.3.0
+DISTNAME=      postfix_mta_sts_resolver-1.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
 CATEGORIES=    mail python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/postfix_mta_sts_resolver/}
@@ -17,24 +17,30 @@ TOOL_DEPENDS+=      ${PYPKGPREFIX}-wheel>=0.3
 DEPENDS+=      ${PYPKGPREFIX}-aiodns>=1.1.1:../../net/py-aiodns
 DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=3.4.4:../../www/py-aiohttp
 DEPENDS+=      ${PYPKGPREFIX}-aiosqlite>=0.10:../../databases/py-aiosqlite
+DEPENDS+=      ${PYPKGPREFIX}-asyncpg>=0.27:../../databases/py-asyncpg
 DEPENDS+=      ${PYPKGPREFIX}-redis>=4.2.0:../../databases/py-redis
 DEPENDS+=      ${PYPKGPREFIX}-uvloop>=0.11.0:../../devel/py-uvloop
 DEPENDS+=      ${PYPKGPREFIX}-yaml>=3.12:../../textproc/py-yaml
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=0:../../devel/py-coverage
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio>=0:../../devel/py-test-asyncio
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=0:../../devel/py-test-timeout
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} mta-sts-daemon mta-sts-daemon-${PYVERSSUFFIX} || ${TRUE}
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} mta-sts-query mta-sts-query-${PYVERSSUFFIX} || ${TRUE}
+.for bin in mta-sts-daemon mta-sts-query
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
+.endfor
+
+# No such file or directory: '${WRKSRC}/tests/refdata.tsv'
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
-PYTHON_VERSIONED_DEPENDENCIES+=        cryptography:build
+PYTHON_VERSIONED_DEPENDENCIES+=        cryptography:test
 .include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/mail/py-postfix-mta-sts-resolver/PLIST
diff -u pkgsrc/mail/py-postfix-mta-sts-resolver/PLIST:1.1 pkgsrc/mail/py-postfix-mta-sts-resolver/PLIST:1.2
--- pkgsrc/mail/py-postfix-mta-sts-resolver/PLIST:1.1   Fri Aug 19 13:59:28 2022
+++ pkgsrc/mail/py-postfix-mta-sts-resolver/PLIST       Wed Aug  9 13:10:15 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2022/08/19 13:59:28 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/08/09 13:10:15 adam Exp $
 bin/mta-sts-daemon-${PYVERSSUFFIX}
 bin/mta-sts-query-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -35,6 +35,9 @@ ${PYSITELIB}/postfix_mta_sts_resolver/in
 ${PYSITELIB}/postfix_mta_sts_resolver/netstring.py
 ${PYSITELIB}/postfix_mta_sts_resolver/netstring.pyc
 ${PYSITELIB}/postfix_mta_sts_resolver/netstring.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/postgres_cache.py
+${PYSITELIB}/postfix_mta_sts_resolver/postgres_cache.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/postgres_cache.pyo
 ${PYSITELIB}/postfix_mta_sts_resolver/proactive_fetcher.py
 ${PYSITELIB}/postfix_mta_sts_resolver/proactive_fetcher.pyc
 ${PYSITELIB}/postfix_mta_sts_resolver/proactive_fetcher.pyo

Index: pkgsrc/mail/py-postfix-mta-sts-resolver/distinfo
diff -u pkgsrc/mail/py-postfix-mta-sts-resolver/distinfo:1.2 pkgsrc/mail/py-postfix-mta-sts-resolver/distinfo:1.3
--- pkgsrc/mail/py-postfix-mta-sts-resolver/distinfo:1.2        Tue May  2 16:49:21 2023
+++ pkgsrc/mail/py-postfix-mta-sts-resolver/distinfo    Wed Aug  9 13:10:15 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2023/05/02 16:49:21 wiz Exp $
+$NetBSD: distinfo,v 1.3 2023/08/09 13:10:15 adam Exp $
 
-BLAKE2s (postfix_mta_sts_resolver-1.3.0.tar.gz) = b029cf766d89462232b74e8f20b3c5da49d7f8e787d8e44984e1d50a85d1eb33
-SHA512 (postfix_mta_sts_resolver-1.3.0.tar.gz) = 77cc2639be676a4e570199952761eae8f1aa072a693666d2f6d803aa9bc40ec6fbf7a2ad95949c68e1684d4bf4243ffaa38bdedb6ade6b496855dc4a47d5580f
-Size (postfix_mta_sts_resolver-1.3.0.tar.gz) = 37440 bytes
+BLAKE2s (postfix_mta_sts_resolver-1.4.0.tar.gz) = 6f8b9ec81294c1623334bc579c8a245e1e175c73de80e4d3ad77ab6b6918e6fa
+SHA512 (postfix_mta_sts_resolver-1.4.0.tar.gz) = d3c09c13a54af52caf616cb99c6268d04a1ba8ecb317ca2b58b40c639c33d2f54f37292307d9716469e957eb85307b0f9e2ba8fecb5e4177d709e12fc4cb7e22
+Size (postfix_mta_sts_resolver-1.4.0.tar.gz) = 38932 bytes



Home | Main Index | Thread Index | Old Index