pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg_chk getting wrong version of Python package
I am mostly using the latest Python (just converting to 3.6 now) but I
still have a few modules that need to be built for 2.7. Somehow pkg_chk
is listing some of those as 3.6 and thus showing as missing. This seems
to be those packages that have only a 2.7 version built. For example,
let's say I have these packages installed:
py27-authres-0.800
py27-babel-2.3.4
py36-babel-2.3.4
py36-crypto-2.6.1nb2
According to pkg_chk I have the following installed:
py36-authres-0.800
py36-babel-2.3.4
py36-crypto-2.6.1nb2
This causes two problems for something like pkg_rolling-replace. First
py27-babel won't be rebuilt and second py36-authres is missing.
I tried looking through the script but I am not sure that there is a
good fix for this. As I see it two things need to be fixed, list the
actual packages on the system and allow make to build arbitrary versions
instead of looking at mk.conf. I tried to do the latter with "make
-DPYTHON_VERSION_DEFAULT=27 install" but it still tried to build 3.6 as
defined in mk.conf.
Anyone else struggled with this and have some suggestions?
--
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/ IM:darcy%Vex.Net@localhost
Home |
Main Index |
Thread Index |
Old Index