From c61f137968d688312ac1601da06b743b742f27d1 Mon Sep 17 00:00:00 2001 From: thdox Date: Sun, 11 May 2014 17:21:49 +0200 Subject: Hardy, Karmic, Oneiric are obsolete Ubuntu releases. See http://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Table_of_versions --- acprep | 87 ------------------------------------------------------------------ 1 file changed, 87 deletions(-) (limited to 'acprep') diff --git a/acprep b/acprep index 31ac4a47..5c0d2970 100755 --- a/acprep +++ b/acprep @@ -100,22 +100,6 @@ class BoostInfo(object): 'libboost-iostreams-dev', 'libboost-python-dev' ] - elif system == 'ubuntu-karmic' or system == 'ubuntu-hardy': - return [ 'bjam', 'libboost-dev', - 'libboost-regex-dev', - 'libboost-date-time-dev', - 'libboost-filesystem-dev', - 'libboost-iostreams-dev', - 'libboost-python-dev' ] - - elif system == 'ubuntu-oneiric': - return [ 'libboost-dev', - 'libboost-python-dev', - 'libboost-regex-dev', - 'libboost-date-time-dev', - 'libboost-filesystem-dev', - 'libboost-iostreams-dev' ] - class CommandLineApp(object): "Base class for building command line applications." @@ -629,77 +613,6 @@ class PrepareBuild(CommandLineApp): 'lcov', 'sloccount' ] + BoostInfo().dependencies('ubuntu-precise') - elif re.search('karmic', info): - self.log.info('Looks like you are using APT on Ubuntu Karmic') - packages = [ - 'sudo', 'apt-get', 'install', - 'build-essential', - 'libtool', - 'autoconf', - 'automake', - 'zlib1g-dev', - 'libbz2-dev', - 'python-dev', - 'libgmp3-dev', - 'libmpfr-dev', - 'gettext', - 'cvs', - 'libedit-dev', - #'texlive-full', - #'doxygen', - #'graphviz', - 'texinfo', - 'lcov', - 'sloccount' - ] + BoostInfo().dependencies('ubuntu-karmic') - elif re.search('hardy', info): - self.log.info('Looks like you are using APT on Ubuntu Hardy') - packages = [ - 'sudo', 'apt-get', 'install', - 'build-essential', - 'libtool', - 'autoconf', - 'automake', - 'autopoint', - 'zlib1g-dev', - 'libbz2-dev', - 'python-dev', - 'cvs', - 'gettext', - 'libgmp3-dev', - 'libmpfr-dev', - 'libedit-dev', - #'texlive-full', - #'doxygen', - #'graphviz', - 'texinfo', - 'lcov', - 'sloccount' - ] + self.boost_info.dependencies('ubuntu-hardy') - elif re.search('oneiric', info): - self.log.info('Looks like you are using APT on Ubuntu Oneiric') - packages = [ - 'sudo', 'apt-get', 'install', - 'build-essential', - 'libtool', - 'autoconf', - 'automake', - 'autopoint', - 'zlib1g-dev', - 'libbz2-dev', - 'python-dev', - 'cvs', - 'gettext', - 'libgmp3-dev', - 'libmpfr-dev', - 'libedit-dev', - #'texlive-full', - #'doxygen', - #'graphviz', - 'texinfo', - 'lcov', - 'sloccount' - ] + self.boost_info.dependencies('ubuntu-oneiric') else: self.log.info('I do not recognize your version of Ubuntu!') packages = None -- cgit v1.2.3