pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-extension-helpers



Module Name:    pkgsrc
Committed By:   mef
Date:           Sun Jan  3 15:09:50 UTC 2021

Modified Files:
        pkgsrc/devel/py-extension-helpers: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-extension-helpers/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-extension-helpers/Makefile
diff -u pkgsrc/devel/py-extension-helpers/Makefile:1.1 pkgsrc/devel/py-extension-helpers/Makefile:1.2
--- pkgsrc/devel/py-extension-helpers/Makefile:1.1      Sat Dec 19 14:12:30 2020
+++ pkgsrc/devel/py-extension-helpers/Makefile  Sun Jan  3 15:09:50 2021
@@ -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 @@ PYTHON_VERSIONS_INCOMPATIBLE=        27
 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