pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/py-spf



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Apr 30 11:06:38 UTC 2024

Modified Files:
        pkgsrc/mail/py-spf: Makefile PLIST

Log Message:
py-spf: convert to wheel.mk

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/mail/py-spf/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/mail/py-spf/PLIST

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-spf/Makefile
diff -u pkgsrc/mail/py-spf/Makefile:1.18 pkgsrc/mail/py-spf/Makefile:1.19
--- pkgsrc/mail/py-spf/Makefile:1.18    Wed Mar 29 09:34:11 2023
+++ pkgsrc/mail/py-spf/Makefile Tue Apr 30 11:06:38 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.18 2023/03/29 09:34:11 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2024/04/30 11:06:38 wiz Exp $
 
 DISTNAME=      pyspf-2.0.14
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    mail python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyspf/}
 
@@ -11,15 +11,12 @@ HOMEPAGE=   https://github.com/sdgathman/p
 COMMENT=       SPF (Sender Policy Framework) implemented in Python
 LICENSE=       python-software-foundation
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns
 TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
 
-PYTHON_VERSIONED_DEPENDENCIES= dns
-
-.include "../../lang/python/pyversion.mk"
-
-.if ${PYTHON_VERSION} == 207
-DEPENDS+=      ${PYPKGPREFIX}-ipaddr-[0-9]*:../../devel/py-ipaddr
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_LANGUAGES= # none
 
@@ -32,6 +29,5 @@ post-install:
 do-test:
        cd ${WRKSRC}/test && ${PYTHONBIN} testspf.py
 
-.include "../../lang/python/versioned_dependencies.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/mail/py-spf/PLIST
diff -u pkgsrc/mail/py-spf/PLIST:1.6 pkgsrc/mail/py-spf/PLIST:1.7
--- pkgsrc/mail/py-spf/PLIST:1.6        Sat Jan 22 14:41:57 2022
+++ pkgsrc/mail/py-spf/PLIST    Tue Apr 30 11:06:38 2024
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.6 2022/01/22 14:41:57 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2024/04/30 11:06:38 wiz Exp $
 bin/spfquery.py-${PYVERSSUFFIX}
 bin/type99.py-${PYVERSSUFFIX}
-${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/spf.py
 ${PYSITELIB}/spf.pyc
 ${PYSITELIB}/spf.pyo



Home | Main Index | Thread Index | Old Index