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

"Adam Ciarcinski" <[email protected]> Wed, 5 Aug 2026 02:48:52 +0000
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--_----------=_178589813278990
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="US-ASCII"

Module Name:	pkgsrc
Committed By:	adam
Date:		Wed Aug  5 02:48:52 UTC 2026

Modified Files:
	pkgsrc/mail/py-postfix-mta-sts-resolver: Makefile PLIST
Removed Files:
	pkgsrc/mail/py-postfix-mta-sts-resolver: version.mk

Log Message:
py-postfix-mta-sts-resolver: converted to wheel.mk + cleanup


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/py-postfix-mta-sts-resolver/PLIST
cvs rdiff -u -r1.1 -r0 pkgsrc/mail/py-postfix-mta-sts-resolver/version.mk

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


--_----------=_178589813278990
Content-Disposition: inline
Content-Length: 4000
Content-Transfer-Encoding: binary
Content-Type: text/x-diff; charset=us-ascii

Modified files:

Index: pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile
diff -u pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile:1.13 pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile:1.14
--- pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile:1.13	Sun Jun 28 15:41:27 2026
+++ pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile	Wed Aug  5 02:48:52 2026
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2026/06/28 15:41:27 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2026/08/05 02:48:52 adam Exp $
 
-DISTNAME=	postfix_mta_sts_resolver-${VERSION}
+DISTNAME=	postfix_mta_sts_resolver-1.5.1
+PKGREVISION=	1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
 CATEGORIES=	mail python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/postfix_mta_sts_resolver/}
@@ -10,39 +11,29 @@ HOMEPAGE=	https://github.com/Snawoot/pos
 COMMENT=	Daemon providing TLS client policy for Postfix based on MTA-STS policy
 LICENSE=	mit
 
-TOOL_DEPENDS+=	${PYPKGPREFIX}-pylint>=0:../../devel/py-pylint
-TOOL_DEPENDS+=	${PYPKGPREFIX}-tox>=0:../../devel/py-tox
-TOOL_DEPENDS+=	${PYPKGPREFIX}-twine>=1.11.0:../../net/py-twine
-TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel>=0.31.0:../../devel/py-wheel
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 DEPENDS+=	${PYPKGPREFIX}-aiodns>=1.1.1:../../net/py-aiodns
 DEPENDS+=	${PYPKGPREFIX}-aiohttp>=3.4.4:../../www/py-aiohttp
+DEPENDS+=	${PYPKGPREFIX}-yaml>=3.12:../../textproc/py-yaml
+# sqlite
 DEPENDS+=	${PYPKGPREFIX}-aiosqlite>=0.10:../../databases/py-aiosqlite
+# postgres
 DEPENDS+=	${PYPKGPREFIX}-asyncpg>=0.27:../../databases/py-asyncpg
+# redis
 DEPENDS+=	${PYPKGPREFIX}-redis>=4.2.0:../../databases/py-redis
+# uvloop
 DEPENDS+=	${PYPKGPREFIX}-uvloop>=0.11.0:../../devel/py-uvloop
-DEPENDS+=	${PYPKGPREFIX}-yaml>=3.12:../../textproc/py-yaml
-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
 
 USE_LANGUAGES=	# none
 
-PYTHON_VERSIONS_INCOMPATIBLE=	310 311
+PY_RENAME_BINARIES=	mta-sts-daemon mta-sts-query
 
-.include "version.mk"
-
-post-install:
-.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
+PYTHON_VERSIONS_INCOMPATIBLE=	310 311
 
-.include "../../lang/python/egg.mk"
 PYTHON_VERSIONED_DEPENDENCIES+=	cryptography:test
 .include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/wheel.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.2 pkgsrc/mail/py-postfix-mta-sts-resolver/PLIST:1.3
--- pkgsrc/mail/py-postfix-mta-sts-resolver/PLIST:1.2	Wed Aug  9 13:10:15 2023
+++ pkgsrc/mail/py-postfix-mta-sts-resolver/PLIST	Wed Aug  5 02:48:52 2026
@@ -1,13 +1,13 @@
-@comment $NetBSD: PLIST,v 1.2 2023/08/09 13:10:15 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2026/08/05 02:48:52 adam Exp $
 bin/mta-sts-daemon-${PYVERSSUFFIX}
 bin/mta-sts-query-${PYVERSSUFFIX}
-${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}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/zip-safe
 ${PYSITELIB}/postfix_mta_sts_resolver/__init__.py
 ${PYSITELIB}/postfix_mta_sts_resolver/__init__.pyc
 ${PYSITELIB}/postfix_mta_sts_resolver/__init__.pyo


--_----------=_178589813278990--