tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: py-setuptools as a DEPENDS?
> According to devel/py-setuptools/DESCR, this tool aims at building and distributing python package.
>
> What about the following?
> Index: egg.mk
> ===================================================================
> RCS file: /cvsroot/pkgsrc/lang/python/egg.mk,v
> retrieving revision 1.27
> diff -u -r1.27 egg.mk
> --- egg.mk 8 Feb 2017 12:09:30 -0000 1.27
> +++ egg.mk 29 Aug 2018 08:02:55 -0000
> @@ -50,7 +50,7 @@
> ensurepip:
> ${SETENV} ${MAKE_ENV} ${PYTHONBIN} -m ensurepip --user
> .else
> -DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.8:../../devel/py-setuptools
> +BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.8:../../devel/py-setuptools
> .endif
>
> INSTALLATION_DIRS+= ${PYSITELIB}
I thought about this (clever me ;)), but apparently some packages require setuptools to run. One need to go through the packages and figure out which ones. Or... just switch to BUILD_DEPENDS and amend later.
Kind regards,
Adam
Home |
Main Index |
Thread Index |
Old Index