pkgsrc-Users archive

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

Re: pbulk - limit build of python packages to one version only



On Thu, Mar 31, 2022 at 12:03:10PM +0100, Jonathan Perkin wrote:
> * On 2022-03-31 at 12:00 BST, Matthias Petermann wrote:
> 
> > I use pbulk to create my custom pkgsrc repository. Today I noticed that
> > by default all Python packages in my limited_list seem to build variants
> > of all supported Python versions.... 3.7, 3.8, 3.9, 3.10.
> > 
> > Since I usually don't need the older versions - what would be the
> > recommended way to build either only the packages for a Python version I
> > specify, or gladly only for the default Python version provided by
> > pkgsrc?
> 
> In theory by specifying PYTHON_VERSION_REQD=39 or whatever in your mk.conf,
> however this can cause failures if a single package still depends on e.g.
> python27 for its build.

I have
PYTHON_VERSIONS_INCOMPATIBLE+=  37 38 # 39 # 39 needed for tor-browser
in my /etc/mk.conf.
 Thomas


Home | Main Index | Thread Index | Old Index