<commit_before>""" Formula for building parallel """
from pakit import Archive, Recipe


class Parallel(Recipe):
    """
    GNU parallel executes shell jobs in parallel
    """
    def __init__(self):
        super(Parallel, self).__init__()
        self.homepage = 'http://www.gnu.org/software/parallel'
        self.repos = {
            'unstable': Archive('http://ftp.gnu.org/gnu/parallel/'
                              'parallel-20170422.tar.bz2',
                              hash='7a2438a92692c662dae3d4e80f1190af4cfe52'
                              '7cd3fb1a0d14e07f5c110ed329')
        }
        self.repos['stable'] = self.repos['unstable']

    def build(self):
        self.cmd('./configure --prefix={prefix}')
        self.cmd('make install')

    def verify(self):
        lines = self.cmd('parallel --version').output()
        assert lines[0].find('GNU parallel') != -1<commit_msg>Update parallel.<commit_after>""" Formula for building parallel """
from pakit import Archive, Recipe


class Parallel(Recipe):
    """
    GNU parallel executes shell jobs in parallel
    """
    def __init__(self):
        super(Parallel, self).__init__()
        self.homepage = 'http://www.gnu.org/software/parallel'
        self.repos = {
            'unstable': Archive('https://ftp.gnu.org/gnu/parallel/'
                                'parallel-20180322.tar.bz2',
                                hash='6389ad5318247ea28a8e9ddc9e69bc2713ae5c'
                                '19e3783edda81da54ff6356497')
        }
        self.repos['stable'] = self.repos['unstable']

    def build(self):
        self.cmd('./configure --prefix={prefix}')
        self.cmd('make install')

    def verify(self):
        lines = self.cmd('parallel --version').output()
        assert lines[0].find('GNU parallel') != -1
{'fraction_non_alphanumeric': 0.13741721854304637, 'fraction_numerical': 0.05573951434878587, 'mean_word_length': 2.057335581787521, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7264974', 'n_tokens_mistral': 604, 'n_tokens_neox': 527, 'n_words': 96}