pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-mercurial py-mercurial: Fix packaging with re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88d0dc3576cd
branches:  trunk
changeset: 771995:88d0dc3576cd
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri Dec 31 07:09:22 2021 +0000

description:
py-mercurial: Fix packaging with recent Python change

* Use egg.mk explicitly.
* Bump PKGREVISION to install egg files.

Fix PR pkg/56593.

diffstat:

 devel/py-mercurial/Makefile |  5 +++--
 devel/py-mercurial/PLIST    |  7 +++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (43 lines):

diff -r 2eaa2a99d598 -r 88d0dc3576cd devel/py-mercurial/Makefile
--- a/devel/py-mercurial/Makefile       Fri Dec 31 06:18:03 2021 +0000
+++ b/devel/py-mercurial/Makefile       Fri Dec 31 07:09:22 2021 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.62 2021/11/28 10:36:14 wiz Exp $
+# $NetBSD: Makefile,v 1.63 2021/12/31 07:09:22 ryoon Exp $
 #
 # Changelog sometimes at: https://www.mercurial-scm.org/wiki/WhatsNew
 
 DISTNAME=      mercurial-${VERSION}
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel scm
 MASTER_SITES=  https://www.mercurial-scm.org/release/
 
@@ -44,5 +45,5 @@
        ${INSTALL_DATA} ${WRKSRC}/README.rst  \
                ${DESTDIR}${PREFIX}/share/doc/mercurial
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2eaa2a99d598 -r 88d0dc3576cd devel/py-mercurial/PLIST
--- a/devel/py-mercurial/PLIST  Fri Dec 31 06:18:03 2021 +0000
+++ b/devel/py-mercurial/PLIST  Fri Dec 31 07:09:22 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.36 2021/11/28 10:36:14 wiz Exp $
+@comment $NetBSD: PLIST,v 1.37 2021/12/31 07:09:22 ryoon Exp $
 bin/hg
 ${PYSITELIB}/hgdemandimport/__init__.py
 ${PYSITELIB}/hgdemandimport/__init__.pyc
@@ -463,7 +463,10 @@
 ${PYSITELIB}/hgext3rd/__init__.py
 ${PYSITELIB}/hgext3rd/__init__.pyc
 ${PYSITELIB}/hgext3rd/__init__.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
 ${PYSITELIB}/mercurial/__init__.py
 ${PYSITELIB}/mercurial/__init__.pyc
 ${PYSITELIB}/mercurial/__init__.pyo



Home | Main Index | Thread Index | Old Index