Skip to content

Commit

Permalink
scripts/setup.py: simplify Fedora's Lua requirement
Browse files Browse the repository at this point in the history
Each of the Fedora releases just installs whatever Lua version is
available in this release. It is pointless to specify the specific
version to install, when this is what happens by default anyway.

Signed-off-by: Nadav Har'El <nyh@scylladb.com>
Message-Id: <20201228105035.3239757-1-nyh@scylladb.com>
  • Loading branch information
nyh authored and wkozaczuk committed Dec 28, 2020
1 parent 71919b9 commit d70d093
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions scripts/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,55 +63,57 @@ class Fedora(object):
'yaml-cpp-devel',
'pax-utils',
'java-1.8.0-openjdk',
'lua',
'lua-devel',
]
ec2_packages = standard_ec2_packages
test_packages = ['openssl-devel']
ec2_post_install = standard_ec2_post_install

class Fedora_27(object):
packages = ['lua-5.3.*', 'lua-devel-5.3.*']
packages = []
ec2_packages = []
test_packages = []
ec2_post_install = None
version = '27'

class Fedora_28(object):
packages = ['lua-5.3.*', 'lua-devel-5.3.*']
packages = []
ec2_packages = []
test_packages = []
ec2_post_install = None
version = '28'

class Fedora_29(object):
packages = ['lua-5.3.*', 'lua-devel-5.3.*']
packages = []
ec2_packages = []
test_packages = []
ec2_post_install = None
version = '29'

class Fedora_30(object):
packages = ['lua-5.3.*', 'lua-devel-5.3.*']
packages = []
ec2_packages = []
test_packages = []
ec2_post_install = None
version = '30'

class Fedora_31(object):
packages = ['lua-5.3.*', 'lua-devel-5.3.*']
packages = []
ec2_packages = []
test_packages = []
ec2_post_install = None
version = '31'

class Fedora_32(object):
packages = ['lua-5.3.*', 'lua-devel-5.3.*']
packages = []
ec2_packages = []
test_packages = []
ec2_post_install = None
version = '32'

class Fedora_33(object):
packages = ['lua-5.4.*', 'lua-devel-5.4.*']
packages = []
ec2_packages = []
test_packages = []
ec2_post_install = None
Expand Down

0 comments on commit d70d093

Please sign in to comment.