pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-extension-helpers (devel/py-extension-helpers...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/700d3e17b5a8
branches:  trunk
changeset: 444191:700d3e17b5a8
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Jan 03 15:09:50 2021 +0000

description:
(devel/py-extension-helpers) Fix EGG_INFODIR weirdness, thanks joerg@

diffstat:

 devel/py-extension-helpers/Makefile |  11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r 3e6ae8fcf0c9 -r 700d3e17b5a8 devel/py-extension-helpers/Makefile
--- a/devel/py-extension-helpers/Makefile       Sun Jan 03 15:07:40 2021 +0000
+++ b/devel/py-extension-helpers/Makefile       Sun Jan 03 15:09:50 2021 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2020/12/19 14:12:30 mef Exp $
+# $NetBSD: Makefile,v 1.2 2021/01/03 15:09:50 mef Exp $
 
 DISTNAME=      extension-helpers-0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=e/extension-helpers/}
 
@@ -15,12 +16,8 @@
 DEPENDS+=      ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
 DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 
-# adhoc fix to convert below
-# extension-helpers-0.1-py3.8.egg-info
-# extension_helpers-0.0.0-py3.8.egg-info
-
-EGG_INFODIR=   ${DISTNAME:S/-/_/:S/0.1/0.0.0/}-py${PYVERSSUFFIX}.egg-info
-
+# without this line, EGG_INFODIR gets 0.0.0. The right one is the same as PKGVERSION
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index