pkgsrc-Users archive

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

Re: textproc/py27-expat requires python27-2.7.16



"Sijmen J. Mulder" <ik%sjmulder.nl@localhost> writes:

  Index: lang/python/srcdist.mk
  ===================================================================
  RCS file: /cvsroot/pkgsrc/lang/python/srcdist.mk,v
  retrieving revision 1.37
  diff -u -r1.37 srcdist.mk
  --- lang/python/srcdist.mk	3 Jul 2018 03:55:40 -0000	1.37
  +++ lang/python/srcdist.mk	4 Jun 2019 06:25:20 -0000
  @@ -15,6 +15,10 @@
   EXTRACT_ELEMENTS+=	${PYSUBDIR}/Modules/clinic
   .  endif

  +# Standard modules depend on their own version
  +BUILDLINK_API_DEPENDS.${PYPACKAGE}+=	${PYPACKAGE}>=${PY_DISTVERSION}
  +BUILDLINK_ABI_DEPENDS.${PYPACKAGE}+=	${PYPACKAGE}>=${PY_DISTVERSION}
  +
   python-std-patchsetup:
          ${SED} ${PY_SETUP_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \
                  <${FILESDIR}/setup.py >${WRKSRC}/setup.py


I wonder if it should be =, not >=, but otherwise that seems to avoid
the issue about bumping requirements for random other packages.
I'd say if you don't get a good explanation of why it's wrong in 24h, go
for it.


Home | Main Index | Thread Index | Old Index