mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 23:34:57 -04:00
makepackage: Only add python-pmw as Recommends for deb for Python 2
There is no Pmw for Python 3 in the Ubuntu repositories
This commit is contained in:
parent
11d5a49d6f
commit
fb4b154037
@ -394,12 +394,10 @@ def MakeInstallerLinux(version, debversion=None, rpmversion=None, rpmrelease=1,
|
||||
recommends = ReadFile("targetroot/debian/substvars_rec").replace("shlibs:Depends=", "").strip()
|
||||
provides = "panda3d"
|
||||
|
||||
if python2_ver or python3_ver:
|
||||
recommends += ", python-pmw"
|
||||
|
||||
if python2_ver:
|
||||
depends += ", python%s" % (python2_ver)
|
||||
recommends += ", python-wxversion"
|
||||
recommends += ", python-pmw"
|
||||
recommends += ", python-tk (>= %s)" % (python2_ver)
|
||||
provides += ", python2-panda3d"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user