diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-30 15:19:18 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-31 13:29:20 -0700 |
commit | f52f6e99dbf1131886a80112b8c79dfc414afb7c (patch) | |
tree | 05cb7d64b2395922f2f24683da49f472075be12c /var/spack/repos/builtin/packages/wordnet/package.py | |
parent | 549ba1ed32372c67fc57271cde3797d58b7dec6e (diff) | |
download | spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.gz spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.bz2 spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.xz spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.zip |
black: reformat entire repository with black
Diffstat (limited to 'var/spack/repos/builtin/packages/wordnet/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/wordnet/package.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/var/spack/repos/builtin/packages/wordnet/package.py b/var/spack/repos/builtin/packages/wordnet/package.py index b693dc31f7..d992f296ba 100644 --- a/var/spack/repos/builtin/packages/wordnet/package.py +++ b/var/spack/repos/builtin/packages/wordnet/package.py @@ -9,25 +9,25 @@ from spack.package import * class Wordnet(AutotoolsPackage): """WordNet is a large lexical database of English. Nouns, verbs, adjectives and adverbs are grouped into sets of cognitive synonyms (synsets), each - expressing a distinct concept. """ + expressing a distinct concept.""" homepage = "https://wordnet.princeton.edu/" - url = "https://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz" + url = "https://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz" - version('3.0', sha256='640db279c949a88f61f851dd54ebbb22d003f8b90b85267042ef85a3781d3a52') + version("3.0", sha256="640db279c949a88f61f851dd54ebbb22d003f8b90b85267042ef85a3781d3a52") - depends_on('tk') - depends_on('tcl') + depends_on("tk") + depends_on("tcl") def configure_args(self): args = [] - args.append('--with-tk=%s' % self.spec['tk'].libs.directories[0]) - args.append('--with-tcl=%s' % self.spec['tcl'].libs.directories[0]) - if self.spec.satisfies('^tcl@8.6:'): - args.append('CPPFLAGS=-DUSE_INTERP_RESULT') + args.append("--with-tk=%s" % self.spec["tk"].libs.directories[0]) + args.append("--with-tcl=%s" % self.spec["tcl"].libs.directories[0]) + if self.spec.satisfies("^tcl@8.6:"): + args.append("CPPFLAGS=-DUSE_INTERP_RESULT") return args def setup_run_environment(self, env): - env.set('WNHOME', self.prefix) - env.set('WNSEARCHDIR', self.prefix.dict) + env.set("WNHOME", self.prefix) + env.set("WNSEARCHDIR", self.prefix.dict) |