<gh_stars>0
from .base import GnuRecipe, SourceMixin


class LibCsvRecipe(GnuRecipe):
    def __init__(self, *args, **kwargs):
        super(LibCsvRecipe, self).__init__(*args, **kwargs)
        self.sha256 = 'd9c0431cb803ceb9896ce74f683e6e5a' \
                      '0954e96ae1d9e4028d6e0f967bebd7e4'

        self.name = 'libcsv'
        self.version = '3.0.3'
        self.url = 'http://downloads.sourceforge.net/project/libcsv/libcsv/' \
                   'libcsv-$version/libcsv-$version.tar.gz'


class LibCsvSourceRecipe(SourceMixin, LibCsvRecipe):
    def __init__(self, *args, **kwargs):
        super(LibCsvSourceRecipe, self).__init__(*args, **kwargs)

from .base import GnuRecipe, SourceMixin


class LibCsvRecipe(GnuRecipe):
    def __init__(self, *args, **kwargs):
        super(LibCsvRecipe, self).__init__(*args, **kwargs)
        self.sha256 = 'd9c0431cb803ceb9896ce74f683e6e5a' \
                      '0954e96ae1d9e4028d6e0f967bebd7e4'

        self.name = 'libcsv'
        self.version = '3.0.3'
        self.url = 'http://downloads.sourceforge.net/project/libcsv/libcsv/' \
                   'libcsv-$version/libcsv-$version.tar.gz'


class LibCsvSourceRecipe(SourceMixin, LibCsvRecipe):
    def __init__(self, *args, **kwargs):
        super(LibCsvSourceRecipe, self).__init__(*args, **kwargs)