mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
CMake deb: support "python2 | python3" dependency
The latest debian-based distributions have moved away from
the "python" package dependency to "python2" and "python3".
(cherry picked from commit fe1cbc06c3
)
This commit is contained in:
parent
012bca0b05
commit
3611c09f39
@ -151,7 +151,9 @@ set(CPACK_PACKAGE_CONTACT "${PACKAGE_BUGREPORT}")
|
||||
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${LYX_PROJECT}-${LYX_INSTALL_SUFFIX}")
|
||||
|
||||
# We depend on python scripting
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "python (>= 2.7)")
|
||||
# Currently no need to specify versions for pythonx since they are only
|
||||
# available in newest distributions.
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "python (>= 2.7) | python3 | python2")
|
||||
|
||||
# use dpkg-shlibdeps to generate additional info for package dependency list.
|
||||
set(CPACK_DEBIAN_PACKAGE_RELEASE ${LYX_PACKAGE_RELEASE})
|
||||
|
Loading…
Reference in New Issue
Block a user