pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/.joined/pkgsrc/rev/114ee2a2796c
branches:  trunk
changeset: 370912:114ee2a2796c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 01 17:31:36 2022 +0000

description:
py-gflags: convert to egg.mk

Disable python 2.7 version, which would need a hack.

Bump PKGREVISION.

diffstat:

 devel/py-gflags/Makefile        |  12 ++++++------
 devel/py-gflags/PLIST           |   7 +++++--
 www/py-google-apitools/Makefile |   4 +++-
 3 files changed, 14 insertions(+), 9 deletions(-)

diffs (70 lines):

diff -r 95d2808dfed7 -r 114ee2a2796c devel/py-gflags/Makefile
--- a/devel/py-gflags/Makefile  Sat Jan 01 17:25:09 2022 +0000
+++ b/devel/py-gflags/Makefile  Sat Jan 01 17:31:36 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2019/11/03 10:18:27 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2022/01/01 17:31:36 wiz Exp $
 
 DISTNAME=      python-gflags-3.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-//}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-gflags/}
 
@@ -11,15 +11,15 @@
 COMMENT=       Python equivalent of gflags, a commandline flag implementation
 LICENSE=       modified-bsd
 
-REPLACE_PYTHON+=       *.py
-PYDISTUTILSPKG=                yes
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 
-DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+REPLACE_PYTHON+=               *.py
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 post-install:
        ${MV} ${DESTDIR}${PREFIX}/bin/gflags2man.py ${DESTDIR}${PREFIX}/bin/gflags2man${PYVERSSUFFIX}.py 
        ${CHMOD} +x ${DESTDIR}${PREFIX}/bin/gflags2man${PYVERSSUFFIX}.py 
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 95d2808dfed7 -r 114ee2a2796c devel/py-gflags/PLIST
--- a/devel/py-gflags/PLIST     Sat Jan 01 17:25:09 2022 +0000
+++ b/devel/py-gflags/PLIST     Sat Jan 01 17:31:36 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2018/05/31 20:07:00 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/01/01 17:31:36 wiz Exp $
 bin/gflags2man${PYVERSSUFFIX}.py
 ${PYSITELIB}/gflags/__init__.py
 ${PYSITELIB}/gflags/__init__.pyc
@@ -36,4 +36,7 @@
 ${PYSITELIB}/gflags/validators.py
 ${PYSITELIB}/gflags/validators.pyc
 ${PYSITELIB}/gflags/validators.pyo
-${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff -r 95d2808dfed7 -r 114ee2a2796c www/py-google-apitools/Makefile
--- a/www/py-google-apitools/Makefile   Sat Jan 01 17:25:09 2022 +0000
+++ b/www/py-google-apitools/Makefile   Sat Jan 01 17:31:36 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2021/05/06 04:49:56 adam Exp $
+# $NetBSD: Makefile,v 1.8 2022/01/01 17:31:36 wiz Exp $
 
 DISTNAME=      google-apitools-0.5.32
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -18,6 +18,8 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=1.0.1:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-gflags
+
 USE_LANGUAGES= # none
 
 post-install:



Home | Main Index | Thread Index | Old Index