from pathlib import Path


def get_pkgfile_path(pkgfile_dir, ecosystem):
    """Get path to pkgfile for given ecosystem."""
    return str(Path(pkgfile_dir) / Path('{e}-packages'.format(e=ecosystem)))