pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-mox py-mox: convert to egg.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d50af8518e6
branches:  trunk
changeset: 372099:9d50af8518e6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 19 17:54:37 2022 +0000

description:
py-mox: convert to egg.mk

diffstat:

 devel/py-mox/Makefile |  9 ++++-----
 devel/py-mox/PLIST    |  7 ++++++-
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r 61b88d30fac0 -r 9d50af8518e6 devel/py-mox/Makefile
--- a/devel/py-mox/Makefile     Wed Jan 19 17:50:45 2022 +0000
+++ b/devel/py-mox/Makefile     Wed Jan 19 17:54:37 2022 +0000
@@ -1,19 +1,18 @@
-# $NetBSD: Makefile,v 1.1 2018/02/03 14:59:20 bsiegert Exp $
+# $NetBSD: Makefile,v 1.2 2022/01/19 17:54:37 wiz Exp $
 
 DISTNAME=      mox-0.5.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mox/}
 
 MAINTAINER=    kamelderouiche%yahoo.com@localhost
 HOMEPAGE=      http://code.google.com/p/pymox/
-COMMENT=       Mox is a mock object framework for Python
+COMMENT=       Mock object framework for Python
 LICENSE=       apache-2.0
 
-PYDISTUTILSPKG=        yes
-
 do-test:
        cd ${WRKSRC} && ${PYTHONBIN} mox_test.py
 
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 61b88d30fac0 -r 9d50af8518e6 devel/py-mox/PLIST
--- a/devel/py-mox/PLIST        Wed Jan 19 17:50:45 2022 +0000
+++ b/devel/py-mox/PLIST        Wed Jan 19 17:54:37 2022 +0000
@@ -1,4 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2018/02/03 14:59:20 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/01/19 17:54:37 wiz Exp $
+${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}/mox.py
 ${PYSITELIB}/mox.pyc
 ${PYSITELIB}/mox.pyo



Home | Main Index | Thread Index | Old Index