pkgsrc-Changes-HG archive

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

[.joined/pkgsrc/trunk]: .joined/pkgsrc/mail/py-spf py-spf: convert to egg.mk



details:   https://anonhg.NetBSD.org/.joined/pkgsrc/rev/0ab65650abce
branches:  trunk
changeset: 370942:0ab65650abce
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 02 09:23:28 2022 +0000

description:
py-spf: convert to egg.mk

Bump PKGREVISION

diffstat:

 mail/py-spf/Makefile |  10 ++++++++--
 mail/py-spf/PLIST    |   7 +++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r f1b7067bea46 -r 0ab65650abce mail/py-spf/Makefile
--- a/mail/py-spf/Makefile      Sun Jan 02 09:20:57 2022 +0000
+++ b/mail/py-spf/Makefile      Sun Jan 02 09:23:28 2022 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2020/04/17 12:02:36 adam Exp $
+# $NetBSD: Makefile,v 1.13 2022/01/02 09:23:28 wiz Exp $
 
 DISTNAME=      pyspf-2.0.14
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
+PKGREVISION=   1
 CATEGORIES=    mail python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyspf/}
 
@@ -29,5 +30,10 @@
 do-test:
        cd ${WRKSRC}/test && ${PYTHONBIN} testspf.py
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
+
+.if ${PYPKGPREFIX} == "py27"
+_PYSETUPTOOLSINSTALLARGS:=     ${PYSETUPTOOLSINSTALLARGS:N--single-version-externally-managed}
+.endif
+
 .include "../../mk/bsd.pkg.mk"
diff -r f1b7067bea46 -r 0ab65650abce mail/py-spf/PLIST
--- a/mail/py-spf/PLIST Sun Jan 02 09:20:57 2022 +0000
+++ b/mail/py-spf/PLIST Sun Jan 02 09:23:28 2022 +0000
@@ -1,7 +1,10 @@
-@comment $NetBSD: PLIST,v 1.4 2020/04/17 11:27:36 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/01/02 09:23:28 wiz Exp $
 bin/spfquery.py-${PYVERSSUFFIX}
 bin/type99.py-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_FILE}
+${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}/spf.py
 ${PYSITELIB}/spf.pyc
 ${PYSITELIB}/spf.pyo



Home | Main Index | Thread Index | Old Index