/dports/devel/py-cookiecutter/cookiecutter-1.7.3/tests/ |
H A D | test_cli.py | 93 template_path = 'tests/fake-repo-pre/' 98 template_path, 120 template_path = 'tests/fake-repo-pre/' 132 template_path, 162 template_path = 'tests/fake-repo-pre/' 168 template_path, 229 template_path, 272 template_path, 298 template_path, 322 template_path, [all …]
|
/dports/sysutils/py-ploy/ploy-1.5.2/ploy/tests/ |
H A D | test_template.py | 11 self.template_path = self.template.path 16 template = Template(self.template_path) 22 template = Template(self.template_path, pre_filter=lambda x: x.replace("1\n", "")) 34 template = Template(self.template_path) 40 template = Template(self.template_path) 47 template = Template(self.template_path) 54 template = Template(self.template_path) 61 template = Template(self.template_path) 67 template = Template(self.template_path) 78 template = Template(self.template_path) [all …]
|
/dports/devel/cgit/cgit-1.2.3/git/builtin/ |
H A D | init-db.c | 31 size_t template_baselen = template_path->len; in copy_templates_1() 52 strbuf_addstr(template_path, de->d_name); in copy_templates_1() 68 strbuf_addch(template_path, '/'); in copy_templates_1() 87 template_path->buf, path->buf); in copy_templates_1() 97 struct strbuf template_path = STRBUF_INIT; in copy_templates() local 116 strbuf_complete(&template_path, '/'); in copy_templates() 117 template_len = template_path.len; in copy_templates() 119 dir = opendir(template_path.buf); in copy_templates() 126 strbuf_addstr(&template_path, "config"); in copy_templates() 150 strbuf_release(&template_path); in copy_templates() [all …]
|
/dports/sysutils/vector/vector-0.10.0/scripts/ |
H A D | generate.rb | 207 template_path, 224 template_path, 248 template_path, 265 template_path, 285 template_path = "#{GUIDES_ROOT}/integrate/sinks/#{sink.name}.md.erb" 288 template_path, 301 template_path = "#{RELEASES_ROOT}/#{release.version}.md.erb" 304 template_path, 337 if !File.exists?(template_path) 339 File.open(template_path, 'w+') { |file| file.write(contents) } [all …]
|
/dports/devel/py-cookiecutter/cookiecutter-1.7.3/tests/repository/ |
H A D | test_determine_repository_should_use_local_repo.py | 29 template_path = os.path.join('tests', 'fake-repo-bad') 32 template_path, 42 template_path, 43 '\n'.join([template_path, str(tmpdir / 'tests/fake-repo-bad')]), 51 template_path = os.path.join('tests', 'unknown-repo') 54 template_path, 64 template_path, 65 '\n'.join([template_path, str(tmpdir / 'tests/unknown-repo')]),
|
/dports/devel/git-svn/git-2.34.1/builtin/ |
H A D | init-db.c | 33 size_t template_baselen = template_path->len; 54 strbuf_addstr(template_path, de->d_name); 66 DIR *subdir = opendir(template_path->buf); 70 strbuf_addch(template_path, '/'); 89 template_path->buf, path->buf); 99 struct strbuf template_path = STRBUF_INIT; 118 strbuf_complete(&template_path, '/'); 119 template_len = template_path.len; 121 dir = opendir(template_path.buf); 128 strbuf_addstr(&template_path, "config"); [all …]
|
/dports/devel/git-gui/git-2.34.1/builtin/ |
H A D | init-db.c | 33 size_t template_baselen = template_path->len; in copy_templates_1() 54 strbuf_addstr(template_path, de->d_name); in copy_templates_1() 66 DIR *subdir = opendir(template_path->buf); in copy_templates_1() 70 strbuf_addch(template_path, '/'); in copy_templates_1() 89 template_path->buf, path->buf); in copy_templates_1() 99 struct strbuf template_path = STRBUF_INIT; in copy_templates() local 118 strbuf_complete(&template_path, '/'); in copy_templates() 119 template_len = template_path.len; in copy_templates() 121 dir = opendir(template_path.buf); in copy_templates() 128 strbuf_addstr(&template_path, "config"); in copy_templates() [all …]
|
/dports/devel/git-p4/git-2.34.1/builtin/ |
H A D | init-db.c | 33 size_t template_baselen = template_path->len; in copy_templates_1() 54 strbuf_addstr(template_path, de->d_name); in copy_templates_1() 66 DIR *subdir = opendir(template_path->buf); in copy_templates_1() 70 strbuf_addch(template_path, '/'); in copy_templates_1() 89 template_path->buf, path->buf); in copy_templates_1() 99 struct strbuf template_path = STRBUF_INIT; in copy_templates() local 118 strbuf_complete(&template_path, '/'); in copy_templates() 119 template_len = template_path.len; in copy_templates() 121 dir = opendir(template_path.buf); in copy_templates() 128 strbuf_addstr(&template_path, "config"); in copy_templates() [all …]
|
/dports/devel/git/git-2.34.1/builtin/ |
H A D | init-db.c | 33 size_t template_baselen = template_path->len; in copy_templates_1() 54 strbuf_addstr(template_path, de->d_name); in copy_templates_1() 66 DIR *subdir = opendir(template_path->buf); in copy_templates_1() 70 strbuf_addch(template_path, '/'); in copy_templates_1() 89 template_path->buf, path->buf); in copy_templates_1() 99 struct strbuf template_path = STRBUF_INIT; in copy_templates() local 118 strbuf_complete(&template_path, '/'); in copy_templates() 119 template_len = template_path.len; in copy_templates() 121 dir = opendir(template_path.buf); in copy_templates() 128 strbuf_addstr(&template_path, "config"); in copy_templates() [all …]
|
/dports/devel/git-cvs/git-2.34.1/builtin/ |
H A D | init-db.c | 33 size_t template_baselen = template_path->len; in copy_templates_1() 54 strbuf_addstr(template_path, de->d_name); in copy_templates_1() 66 DIR *subdir = opendir(template_path->buf); in copy_templates_1() 70 strbuf_addch(template_path, '/'); in copy_templates_1() 89 template_path->buf, path->buf); in copy_templates_1() 99 struct strbuf template_path = STRBUF_INIT; in copy_templates() local 118 strbuf_complete(&template_path, '/'); in copy_templates() 119 template_len = template_path.len; in copy_templates() 121 dir = opendir(template_path.buf); in copy_templates() 128 strbuf_addstr(&template_path, "config"); in copy_templates() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/build/scripts/ |
H A D | template_expander.py | 35 def apply_template(template_path, argument 43 template = template_cache.get(template_path, None) 57 template = jinja_env.get_template(template_path) 59 template_cache[template_path] = template 61 params['template_file'] = template_path 65 def use_jinja(template_path, filters=None, tests=None, template_cache=None): argument 70 template_path,
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/build/scripts/ |
H A D | template_expander.py | 35 def apply_template(template_path, argument 43 template = template_cache.get(template_path, None) 57 template = jinja_env.get_template(template_path) 59 template_cache[template_path] = template 61 params['template_file'] = template_path 65 def use_jinja(template_path, filters=None, tests=None, template_cache=None): argument 70 template_path,
|
/dports/net/py-errbot/errbot-6.1.8/errbot/ |
H A D | templating.py | 16 template_path = [system_templates_path] variable 18 loader=FileSystemLoader(template_path), 34 template_path.append(str(tmpl_path)) # for webhooks 37 env = Environment(loader=FileSystemLoader(template_path), autoescape=True) 47 if tmpl_path in template_path: 48 template_path.remove(tmpl_path) 50 env = Environment(loader=FileSystemLoader(template_path), autoescape=True)
|
/dports/games/anki/anki-2.1.16/anki/template/ |
H A D | view.py | 7 template_path = '.' variable in View 41 if view.template_path: 42 self.template_path = view.template_path 56 if isinstance(self.template_path, str): 57 self.template_file = os.path.join(self.template_path, name) 60 for path in self.template_path: 65 raise IOError('"%s" not found in "%s"' % (name, ':'.join(self.template_path),))
|
/dports/games/py-mnemosyne/Mnemosyne-2.7.3/mnemosyne/libmnemosyne/renderers/anki/template/ |
H A D | view.py | 7 template_path = '.' variable in View 41 if view.template_path: 42 self.template_path = view.template_path 56 if isinstance(self.template_path, str): 57 self.template_file = os.path.join(self.template_path, name) 60 for path in self.template_path: 65 raise IOError('"%s" not found in "%s"' % (name, ':'.join(self.template_path),))
|
/dports/deskutils/gnome-photos/gnome-photos-40.0/src/ |
H A D | photos-sparql-template.c | 30 gchar *template_path; member 61 file = g_file_new_for_uri (self->template_path); in photos_sparql_template_constructed() 69 g_critical ("Unable to open template %s: %s", self->template_path, error->message); in photos_sparql_template_constructed() 79 g_critical ("Unable to read template %s: %s", self->template_path, error->message); in photos_sparql_template_constructed() 94 g_free (self->template_path); in photos_sparql_template_finalize() 109 g_value_set_string (value, self->template_path); in photos_sparql_template_get_property() 126 self->template_path = g_value_dup_string (value); in photos_sparql_template_set_property() 162 photos_sparql_template_new (const gchar *template_path) in photos_sparql_template_new() argument 164 return g_object_new (PHOTOS_TYPE_SPARQL_TEMPLATE, "template-path", template_path, NULL); in photos_sparql_template_new()
|
/dports/textproc/py-sphinx/Sphinx-3.5.2/build/lib/sphinx/util/ |
H A D | template.py | 59 def __init__(self, template_path: Union[str, List[str]] = None) -> None: 60 if template_path is None: 61 template_path = os.path.join(package_dir, 'templates') 62 super().__init__(template_path) 70 def __init__(self, template_path: str = None, latex_engine: str = None) -> None: 71 if template_path is None: 72 template_path = os.path.join(package_dir, 'templates', 'latex') 73 super().__init__(template_path) 92 …def __init__(self, template_path: Union[str, List[str]] = None, language: str = None) -> None: # … 93 super().__init__(template_path)
|
/dports/textproc/py-sphinx/stage/usr/local/lib/python3.8/site-packages/sphinx/util/ |
H A D | template.py | 59 def __init__(self, template_path: Union[str, List[str]] = None) -> None: 60 if template_path is None: 61 template_path = os.path.join(package_dir, 'templates') 62 super().__init__(template_path) 70 def __init__(self, template_path: str = None, latex_engine: str = None) -> None: 71 if template_path is None: 72 template_path = os.path.join(package_dir, 'templates', 'latex') 73 super().__init__(template_path) 92 …def __init__(self, template_path: Union[str, List[str]] = None, language: str = None) -> None: # … 93 super().__init__(template_path)
|
/dports/textproc/py-sphinx/Sphinx-3.5.2/sphinx/util/ |
H A D | template.py | 59 def __init__(self, template_path: Union[str, List[str]] = None) -> None: 60 if template_path is None: 61 template_path = os.path.join(package_dir, 'templates') 62 super().__init__(template_path) 70 def __init__(self, template_path: str = None, latex_engine: str = None) -> None: 71 if template_path is None: 72 template_path = os.path.join(package_dir, 'templates', 'latex') 73 super().__init__(template_path) 92 …def __init__(self, template_path: Union[str, List[str]] = None, language: str = None) -> None: # … 93 super().__init__(template_path)
|
/dports/www/py-pecan/pecan-1.3.3/pecan/ |
H A D | templating.py | 19 def render(self, template_path, namespace): argument 45 def render(self, template_path, namespace): argument 49 tmpl = self.loader.load(template_path) 91 def render(self, template_path, namespace): argument 95 tmpl = self.loader.get_template(template_path) 127 def render(self, template_path, namespace): argument 131 Template = self.loader.import_(template_path) 154 def render(self, template_path, namespace): argument 158 template = self.env.get_template(template_path) 274 def get(self, name, template_path): argument [all …]
|
/dports/www/py-django-extensions/django-extensions-3.0.5/tests/management/commands/ |
H A D | test_notes.py | 23 template_path = os.path.join(templates_dirs_path, 'fixme.html') 27 with open(template_path, 'w') as f: 37 assert '{}:\n * [ 1] FIXME This is a comment.'.format(template_path) in out 45 template_path = os.path.join(templates_dirs_path, 'test.path', 'fixme.html') 47 with open(template_path, 'w') as f: 54 assert '{}:\n * [ 1] FIXME This is a comment.'.format(template_path) in out
|
/dports/devel/awscli/awscli-1.20.61/awscli/customizations/cloudformation/ |
H A D | package.py | 133 template_path = parsed_args.template_file 134 if not os.path.isfile(template_path): 136 template_path=template_path) 150 exported_str = self._export(template_path, use_json) 164 def _export(self, template_path, use_json): argument 165 template = Template(template_path, os.getcwd(), self.s3_uploader)
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/windows/tests/integration/targets/win_psmodule/files/ |
H A D | setup_modules.ps1 | 3 $template_path = $args[0] variable 4 $template_manifest = Join-Path -Path $template_path -ChildPath template.psd1 5 $template_script = Join-Path -Path $template_path -ChildPath template.psm1 6 $template_nuspec = Join-Path -Path $template_path -ChildPath template.nuspec 7 $nuget_exe = Join-Path -Path $template_path -ChildPath nuget.exe 9 (Join-Path -Path $template_path -ChildPath sign.pfx), variable 28 $tmp_dir = Join-Path -Path $template_path -ChildPath $package.name 74 $repo_path = Join-Path -Path $template_path -ChildPath $package.repo
|
/dports/sysutils/ansible2/ansible-2.9.27/test/integration/targets/win_psmodule/files/ |
H A D | setup_modules.ps1 | 3 $template_path = $args[0] variable 4 $template_manifest = Join-Path -Path $template_path -ChildPath template.psd1 5 $template_script = Join-Path -Path $template_path -ChildPath template.psm1 6 $template_nuspec = Join-Path -Path $template_path -ChildPath template.nuspec 7 $nuget_exe = Join-Path -Path $template_path -ChildPath nuget.exe 9 (Join-Path -Path $template_path -ChildPath sign.pfx), variable 28 $tmp_dir = Join-Path -Path $template_path -ChildPath $package.name 74 $repo_path = Join-Path -Path $template_path -ChildPath $package.repo
|
/dports/www/validator/markup-validator-validator-1_3-release/misc/testsuite/lib/ |
H A D | Documentation.py | 33 def generate(self, template_path=None): argument 36 if template_path == None: 37 template_path= os.path.abspath('..') 38 template_path=os.path.join(template_path, "templates") 39 template_engine = jinja2.Environment(loader=jinja2.FileSystemLoader(template_path))
|