summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/epics-pcas/package.py
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2022-07-30 15:19:18 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2022-07-31 13:29:20 -0700
commitf52f6e99dbf1131886a80112b8c79dfc414afb7c (patch)
tree05cb7d64b2395922f2f24683da49f472075be12c /var/spack/repos/builtin/packages/epics-pcas/package.py
parent549ba1ed32372c67fc57271cde3797d58b7dec6e (diff)
downloadspack-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/epics-pcas/package.py')
-rw-r--r--var/spack/repos/builtin/packages/epics-pcas/package.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/epics-pcas/package.py b/var/spack/repos/builtin/packages/epics-pcas/package.py
index 7fdfa1dcac..db13494d99 100644
--- a/var/spack/repos/builtin/packages/epics-pcas/package.py
+++ b/var/spack/repos/builtin/packages/epics-pcas/package.py
@@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-from spack import *
+from spack.package import *
class EpicsPcas(MakefilePackage):
@@ -12,21 +12,21 @@ class EpicsPcas(MakefilePackage):
for EPICS 7."""
homepage = "https://github.com/epics-modules/pcas"
- url = "https://github.com/epics-modules/pcas/archive/refs/tags/v4.13.3.tar.gz"
+ url = "https://github.com/epics-modules/pcas/archive/refs/tags/v4.13.3.tar.gz"
- maintainers = ['glenn-horton-smith']
+ maintainers = ["glenn-horton-smith"]
- version('4.13.3', sha256='5004e39339c8e592fcb9b4275c84143635c6e688c0fbe01f17dafe19850398a0')
+ version("4.13.3", sha256="5004e39339c8e592fcb9b4275c84143635c6e688c0fbe01f17dafe19850398a0")
- depends_on('epics-base', type=('build', 'link', 'run'))
+ depends_on("epics-base", type=("build", "link", "run"))
@property
def install_targets(self):
- return ['INSTALL_LOCATION={0}'.format(self.prefix), 'install']
+ return ["INSTALL_LOCATION={0}".format(self.prefix), "install"]
def edit(self, spec, prefix):
- with open('configure/RELEASE.local', 'w') as release_file:
- release_file.write('EPICS_BASE = ' + env['EPICS_BASE'] + '\n')
+ with open("configure/RELEASE.local", "w") as release_file:
+ release_file.write("EPICS_BASE = " + env["EPICS_BASE"] + "\n")
def setup_run_environment(self, envmod):
- envmod.prepend_path('PATH', join_path(self.prefix.bin, env['EPICS_HOST_ARCH']))
+ envmod.prepend_path("PATH", join_path(self.prefix.bin, env["EPICS_HOST_ARCH"]))