diff --git a/recipes/psl/recipe.py b/recipes/psl/recipe.py index 405655d..ddcd3eb 100644 --- a/recipes/psl/recipe.py +++ b/recipes/psl/recipe.py @@ -46,25 +46,3 @@ def cook(env: Environment, version) -> dict: 'CPPPATH': build_result['CPPPATH'], 'LIBS': [env.FindLib('psl', paths=build_result['LIBPATH'])] } - -#def _git_cook(env: Environment, repo: dict) -> dict: -# checkout_root = repo['checkout_root'] -# subprocess.run((os.path.join(checkout_root, 'autogen.sh'),), cwd=checkout_root) -# build_result = env.AutotoolsProject(checkout_root) -# return { -# 'CPPPATH': build_result['CPPPATH'], -# 'LIBS': [env.FindLib('psl', paths=build_result['LIBPATH'])] -# } -# -#env.GitRecipe( -# globals = globals(), -# repo_name = 'psl', -# repo_url = 'https://github.com/rockdaboot/libpsl.git', -# tag_pattern = re.compile(r'^libpsl-([0-9]+)\.([0-9]+)\.([0-9]+)$'), -# tag_fn = lambda version: f'libpsl-{version[0]}.{version[1]}.{version[2]}', -# cook_fn = _git_cook, -# dependencies = { -# 'idn2': {}, -# 'unistring': {} -# } -#)