From 24c01d57cfb99946eff3af7ec62b71ae6ec72ed8 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Thu, 8 Jul 2021 15:12:30 -0700 Subject: imports: sort imports everywhere in Spack (#24695) * fix remaining flake8 errors * imports: sort imports everywhere in Spack We enabled import order checking in #23947, but fixing things manually drives people crazy. This used `spack style --fix --all` from #24071 to automatically sort everything in Spack so PR submitters won't have to deal with it. This should go in after #24071, as it assumes we're using `isort`, not `flake8-import-order` to order things. `isort` seems to be more flexible and allows `llnl` mports to be in their own group before `spack` ones, so this seems like a good switch. --- var/spack/repos/builtin.mock/packages/cmake/package.py | 3 ++- var/spack/repos/builtin.mock/packages/corge/package.py | 3 ++- .../repos/builtin.mock/packages/extension1/package.py | 3 ++- .../repos/builtin.mock/packages/extension2/package.py | 3 ++- var/spack/repos/builtin.mock/packages/garply/package.py | 3 ++- .../builtin.mock/packages/multimethod-diamond/package.py | 2 +- .../repos/builtin.mock/packages/multimethod/package.py | 3 +-- .../repos/builtin.mock/packages/old-sbang/package.py | 3 +-- .../repos/builtin.mock/packages/perl-extension/package.py | 3 ++- .../repos/builtin.mock/packages/py-extension1/package.py | 3 ++- .../repos/builtin.mock/packages/py-extension2/package.py | 3 ++- var/spack/repos/builtin.mock/packages/quux/package.py | 3 ++- .../repos/builtin.mock/packages/url-list-test/package.py | 3 +-- var/spack/repos/builtin/packages/3proxy/package.py | 3 ++- var/spack/repos/builtin/packages/abyss/package.py | 1 + var/spack/repos/builtin/packages/adf/package.py | 3 ++- var/spack/repos/builtin/packages/adios2/package.py | 3 ++- var/spack/repos/builtin/packages/aluminum/package.py | 1 + var/spack/repos/builtin/packages/amber/package.py | 3 ++- var/spack/repos/builtin/packages/amdfftw/package.py | 1 + var/spack/repos/builtin/packages/amdlibm/package.py | 3 ++- var/spack/repos/builtin/packages/amr-wind/package.py | 3 ++- var/spack/repos/builtin/packages/anaconda2/package.py | 3 ++- var/spack/repos/builtin/packages/anaconda3/package.py | 3 ++- var/spack/repos/builtin/packages/aocl-sparse/package.py | 3 ++- var/spack/repos/builtin/packages/aomp/package.py | 3 ++- var/spack/repos/builtin/packages/apcomp/package.py | 4 +++- .../repos/builtin/packages/aperture-photometry/package.py | 3 ++- var/spack/repos/builtin/packages/apex/package.py | 3 ++- var/spack/repos/builtin/packages/arm-forge/package.py | 5 +++-- var/spack/repos/builtin/packages/arm/package.py | 1 + var/spack/repos/builtin/packages/ascent/package.py | 12 ++++++------ var/spack/repos/builtin/packages/asio/package.py | 3 ++- var/spack/repos/builtin/packages/aspera-cli/package.py | 3 ++- var/spack/repos/builtin/packages/astral/package.py | 3 ++- var/spack/repos/builtin/packages/atlas/package.py | 2 +- var/spack/repos/builtin/packages/augustus/package.py | 3 ++- var/spack/repos/builtin/packages/autodock-vina/package.py | 3 ++- var/spack/repos/builtin/packages/autofact/package.py | 3 ++- var/spack/repos/builtin/packages/avizo/package.py | 3 ++- .../repos/builtin/packages/aws-parallelcluster/package.py | 3 ++- var/spack/repos/builtin/packages/axom/package.py | 4 ++-- var/spack/repos/builtin/packages/bamtools/package.py | 3 ++- var/spack/repos/builtin/packages/bcl2fastq2/package.py | 6 ++++-- var/spack/repos/builtin/packages/beagle/package.py | 3 ++- var/spack/repos/builtin/packages/beast-tracer/package.py | 3 ++- var/spack/repos/builtin/packages/bison/package.py | 5 +++-- var/spack/repos/builtin/packages/blaspp/package.py | 3 ++- var/spack/repos/builtin/packages/blasr-libcpp/package.py | 3 ++- var/spack/repos/builtin/packages/blasr/package.py | 3 ++- var/spack/repos/builtin/packages/blast-legacy/package.py | 3 ++- var/spack/repos/builtin/packages/blast2go/package.py | 3 ++- var/spack/repos/builtin/packages/bohrium/package.py | 6 ++++-- var/spack/repos/builtin/packages/bohrium/pyadd.py | 1 + var/spack/repos/builtin/packages/boost/package.py | 5 +++-- var/spack/repos/builtin/packages/bracken/package.py | 3 ++- var/spack/repos/builtin/packages/bref3/package.py | 3 ++- var/spack/repos/builtin/packages/bridger/package.py | 3 ++- var/spack/repos/builtin/packages/buddy/package.py | 3 ++- var/spack/repos/builtin/packages/bwa/package.py | 3 ++- var/spack/repos/builtin/packages/caliper/package.py | 4 ++-- var/spack/repos/builtin/packages/cantera/package.py | 3 ++- var/spack/repos/builtin/packages/casacore/package.py | 3 ++- var/spack/repos/builtin/packages/cask/package.py | 3 ++- var/spack/repos/builtin/packages/catalyst/package.py | 4 +++- var/spack/repos/builtin/packages/cbflib/package.py | 3 ++- .../repos/builtin/packages/cbtf-argonavis-gui/package.py | 3 ++- var/spack/repos/builtin/packages/cbtf-krell/package.py | 2 +- var/spack/repos/builtin/packages/ccache/package.py | 3 ++- var/spack/repos/builtin/packages/charmpp/package.py | 1 + var/spack/repos/builtin/packages/chlorop/package.py | 3 ++- var/spack/repos/builtin/packages/circos/package.py | 3 ++- .../repos/builtin/packages/clingo-bootstrap/package.py | 3 +-- var/spack/repos/builtin/packages/cln/package.py | 4 ++-- var/spack/repos/builtin/packages/cnpy/package.py | 4 ++-- var/spack/repos/builtin/packages/cntk1bitsgd/package.py | 3 ++- var/spack/repos/builtin/packages/coinhsl/package.py | 3 ++- var/spack/repos/builtin/packages/conduit/package.py | 10 +++++----- var/spack/repos/builtin/packages/cosmomc/package.py | 3 ++- var/spack/repos/builtin/packages/cpio/package.py | 3 ++- var/spack/repos/builtin/packages/cpmd/package.py | 3 ++- var/spack/repos/builtin/packages/cray-libsci/package.py | 3 +-- var/spack/repos/builtin/packages/cray-mpich/package.py | 6 +++--- .../repos/builtin/packages/cromwell-womtool/package.py | 3 ++- var/spack/repos/builtin/packages/cromwell/package.py | 3 ++- var/spack/repos/builtin/packages/cuda/package.py | 10 ++++++---- var/spack/repos/builtin/packages/cudnn/package.py | 3 ++- var/spack/repos/builtin/packages/ddd/package.py | 3 ++- var/spack/repos/builtin/packages/dealii/package.py | 4 ++-- var/spack/repos/builtin/packages/dftbplus/package.py | 3 ++- var/spack/repos/builtin/packages/dihydrogen/package.py | 1 + var/spack/repos/builtin/packages/dmd/package.py | 3 ++- var/spack/repos/builtin/packages/dock/package.py | 3 ++- .../repos/builtin/packages/dotnet-core-sdk/package.py | 1 + var/spack/repos/builtin/packages/doxygen/package.py | 3 ++- var/spack/repos/builtin/packages/dray/package.py | 4 ++-- var/spack/repos/builtin/packages/ds/package.py | 3 ++- var/spack/repos/builtin/packages/dsdp/package.py | 3 ++- var/spack/repos/builtin/packages/dsqss/package.py | 3 ++- var/spack/repos/builtin/packages/dyninst/package.py | 3 ++- .../repos/builtin/packages/eclipse-gcj-parser/package.py | 3 ++- var/spack/repos/builtin/packages/elemental/package.py | 1 + var/spack/repos/builtin/packages/elfutils/package.py | 3 ++- var/spack/repos/builtin/packages/emacs/package.py | 4 ++-- var/spack/repos/builtin/packages/energyplus/package.py | 3 ++- var/spack/repos/builtin/packages/eq-r/package.py | 3 ++- var/spack/repos/builtin/packages/esmf/package.py | 3 ++- var/spack/repos/builtin/packages/etcd/package.py | 3 ++- var/spack/repos/builtin/packages/expat/package.py | 3 ++- var/spack/repos/builtin/packages/expect/package.py | 3 ++- var/spack/repos/builtin/packages/express/package.py | 5 +++-- var/spack/repos/builtin/packages/extrae/package.py | 1 + var/spack/repos/builtin/packages/f77-zmq/package.py | 1 + var/spack/repos/builtin/packages/faiss/package.py | 1 + var/spack/repos/builtin/packages/ferret/package.py | 3 ++- var/spack/repos/builtin/packages/ffb/package.py | 1 + var/spack/repos/builtin/packages/ffr/package.py | 1 + var/spack/repos/builtin/packages/fftw/package.py | 2 ++ var/spack/repos/builtin/packages/figtree/package.py | 3 ++- var/spack/repos/builtin/packages/findutils/package.py | 3 ++- var/spack/repos/builtin/packages/fj/package.py | 1 + var/spack/repos/builtin/packages/fjcontrib/package.py | 1 + var/spack/repos/builtin/packages/fl/package.py | 3 ++- var/spack/repos/builtin/packages/flex/package.py | 3 ++- var/spack/repos/builtin/packages/flux-core/package.py | 3 ++- var/spack/repos/builtin/packages/flux-sched/package.py | 3 ++- var/spack/repos/builtin/packages/foam-extend/package.py | 15 +++++++++------ var/spack/repos/builtin/packages/freeipmi/package.py | 3 ++- var/spack/repos/builtin/packages/fsl/package.py | 3 ++- var/spack/repos/builtin/packages/fujitsu-fftw/package.py | 2 +- var/spack/repos/builtin/packages/fujitsu-mpi/package.py | 3 ++- var/spack/repos/builtin/packages/gams/package.py | 3 ++- var/spack/repos/builtin/packages/gapfiller/package.py | 5 +++-- var/spack/repos/builtin/packages/gasnet/package.py | 3 ++- var/spack/repos/builtin/packages/gaussian-src/package.py | 8 +++++--- var/spack/repos/builtin/packages/gaussian-view/package.py | 6 ++++-- var/spack/repos/builtin/packages/gaussian/package.py | 3 ++- var/spack/repos/builtin/packages/gcc/package.py | 1 + var/spack/repos/builtin/packages/gchp/package.py | 3 ++- var/spack/repos/builtin/packages/gdl/package.py | 1 + var/spack/repos/builtin/packages/geant4-data/package.py | 5 +++-- var/spack/repos/builtin/packages/genemark-et/package.py | 5 +++-- .../repos/builtin/packages/genomefinisher/package.py | 3 ++- .../repos/builtin/packages/ghostscript-fonts/package.py | 3 ++- var/spack/repos/builtin/packages/ghostscript/package.py | 5 +++-- var/spack/repos/builtin/packages/ginkgo/package.py | 3 ++- var/spack/repos/builtin/packages/git-lfs/package.py | 1 + var/spack/repos/builtin/packages/git/package.py | 5 +++-- var/spack/repos/builtin/packages/glib/package.py | 4 ++-- var/spack/repos/builtin/packages/global/package.py | 3 ++- var/spack/repos/builtin/packages/gnuplot/package.py | 3 ++- var/spack/repos/builtin/packages/go/package.py | 2 ++ .../builtin/packages/gobject-introspection/package.py | 2 +- var/spack/repos/builtin/packages/grackle/package.py | 2 +- var/spack/repos/builtin/packages/graphviz/package.py | 5 ++--- var/spack/repos/builtin/packages/groff/package.py | 3 ++- var/spack/repos/builtin/packages/guidance/package.py | 3 ++- var/spack/repos/builtin/packages/gurobi/package.py | 3 ++- var/spack/repos/builtin/packages/haploview/package.py | 3 ++- var/spack/repos/builtin/packages/hdf-eos2/package.py | 3 ++- var/spack/repos/builtin/packages/hdf-eos5/package.py | 3 ++- var/spack/repos/builtin/packages/hdf/package.py | 2 +- var/spack/repos/builtin/packages/hdfview/package.py | 3 ++- var/spack/repos/builtin/packages/herwig3/package.py | 3 ++- var/spack/repos/builtin/packages/hip/package.py | 5 +++-- var/spack/repos/builtin/packages/hipsycl/package.py | 6 ++++-- var/spack/repos/builtin/packages/homer/package.py | 3 ++- var/spack/repos/builtin/packages/hoomd-blue/package.py | 3 ++- var/spack/repos/builtin/packages/hpcc/package.py | 5 +++-- var/spack/repos/builtin/packages/hpcg/package.py | 3 ++- var/spack/repos/builtin/packages/hpcviewer/package.py | 3 ++- var/spack/repos/builtin/packages/hpl/package.py | 3 ++- var/spack/repos/builtin/packages/hpx/package.py | 3 ++- var/spack/repos/builtin/packages/http-get/package.py | 3 ++- var/spack/repos/builtin/packages/http-load/package.py | 3 ++- var/spack/repos/builtin/packages/http-ping/package.py | 3 ++- var/spack/repos/builtin/packages/http-post/package.py | 3 ++- var/spack/repos/builtin/packages/hub/package.py | 3 ++- var/spack/repos/builtin/packages/hugo/package.py | 1 + var/spack/repos/builtin/packages/hydrogen/package.py | 1 + var/spack/repos/builtin/packages/hyperscan/package.py | 3 ++- var/spack/repos/builtin/packages/hypre/package.py | 3 ++- var/spack/repos/builtin/packages/ibm-java/package.py | 5 +++-- var/spack/repos/builtin/packages/icedtea/package.py | 3 ++- var/spack/repos/builtin/packages/idl/package.py | 3 ++- var/spack/repos/builtin/packages/igvtools/package.py | 3 ++- var/spack/repos/builtin/packages/influxdb/package.py | 3 ++- .../repos/builtin/packages/intel-gpu-tools/package.py | 3 ++- .../repos/builtin/packages/intel-oneapi-mpi/package.py | 1 - var/spack/repos/builtin/packages/intel-pin/package.py | 3 ++- var/spack/repos/builtin/packages/intel-tbb/package.py | 3 ++- var/spack/repos/builtin/packages/iozone/package.py | 3 ++- var/spack/repos/builtin/packages/ispc/package.py | 3 ++- var/spack/repos/builtin/packages/istio/package.py | 3 ++- var/spack/repos/builtin/packages/itensor/package.py | 3 ++- var/spack/repos/builtin/packages/jdk/package.py | 1 + var/spack/repos/builtin/packages/jmol/package.py | 3 ++- var/spack/repos/builtin/packages/jq/package.py | 3 ++- var/spack/repos/builtin/packages/julia/package.py | 3 ++- var/spack/repos/builtin/packages/k8/package.py | 3 ++- var/spack/repos/builtin/packages/kahip/package.py | 4 ++-- var/spack/repos/builtin/packages/kaldi/package.py | 7 ++++--- var/spack/repos/builtin/packages/kitty/package.py | 3 ++- .../repos/builtin/packages/kokkos-nvcc-wrapper/package.py | 3 ++- var/spack/repos/builtin/packages/kokkos/package.py | 3 ++- var/spack/repos/builtin/packages/kraken/package.py | 3 ++- var/spack/repos/builtin/packages/kraken2/package.py | 3 ++- var/spack/repos/builtin/packages/lammps/package.py | 3 ++- var/spack/repos/builtin/packages/lapackpp/package.py | 3 ++- var/spack/repos/builtin/packages/lazyten/package.py | 3 ++- var/spack/repos/builtin/packages/lbann/package.py | 1 + var/spack/repos/builtin/packages/lcals/package.py | 3 ++- var/spack/repos/builtin/packages/legion/package.py | 3 ++- var/spack/repos/builtin/packages/libdwarf/package.py | 5 +++-- var/spack/repos/builtin/packages/libfuse/package.py | 3 ++- var/spack/repos/builtin/packages/libharu/package.py | 3 ++- var/spack/repos/builtin/packages/libiberty/package.py | 2 +- var/spack/repos/builtin/packages/libid3tag/package.py | 4 ++-- var/spack/repos/builtin/packages/libint/package.py | 2 +- var/spack/repos/builtin/packages/libpeas/package.py | 3 ++- var/spack/repos/builtin/packages/libsodium/package.py | 6 ++++-- var/spack/repos/builtin/packages/libspatialite/package.py | 1 + var/spack/repos/builtin/packages/libxsmm/package.py | 3 ++- var/spack/repos/builtin/packages/libyogrt/package.py | 3 ++- var/spack/repos/builtin/packages/liggghts/package.py | 3 +-- var/spack/repos/builtin/packages/likwid/package.py | 3 ++- var/spack/repos/builtin/packages/llvm-amdgpu/package.py | 3 ++- var/spack/repos/builtin/packages/llvm-doe/package.py | 1 + var/spack/repos/builtin/packages/llvm/package.py | 1 + var/spack/repos/builtin/packages/ltr-retriever/package.py | 3 ++- var/spack/repos/builtin/packages/lua-bitlib/package.py | 3 ++- var/spack/repos/builtin/packages/lua-luajit/package.py | 1 + var/spack/repos/builtin/packages/lua-luaposix/package.py | 3 ++- var/spack/repos/builtin/packages/lua/package.py | 4 +++- var/spack/repos/builtin/packages/lustre/package.py | 3 ++- var/spack/repos/builtin/packages/lvarray/package.py | 9 ++++----- var/spack/repos/builtin/packages/lz4/package.py | 3 ++- var/spack/repos/builtin/packages/madgraph5amc/package.py | 3 ++- var/spack/repos/builtin/packages/magics/package.py | 3 ++- var/spack/repos/builtin/packages/maker/package.py | 3 ++- var/spack/repos/builtin/packages/mapserver/package.py | 3 ++- var/spack/repos/builtin/packages/mark/package.py | 3 ++- var/spack/repos/builtin/packages/mathematica/package.py | 3 ++- var/spack/repos/builtin/packages/matlab/package.py | 3 ++- var/spack/repos/builtin/packages/megadock/package.py | 3 ++- var/spack/repos/builtin/packages/memkind/package.py | 3 ++- var/spack/repos/builtin/packages/mercurial/package.py | 3 ++- var/spack/repos/builtin/packages/mesa/package.py | 4 ++-- var/spack/repos/builtin/packages/mesa18/package.py | 4 ++-- var/spack/repos/builtin/packages/metis/package.py | 5 +++-- var/spack/repos/builtin/packages/miniconda2/package.py | 3 ++- var/spack/repos/builtin/packages/miniconda3/package.py | 4 ++-- var/spack/repos/builtin/packages/mirdeep2/package.py | 5 +++-- var/spack/repos/builtin/packages/mitofates/package.py | 3 ++- var/spack/repos/builtin/packages/mmv/package.py | 1 + var/spack/repos/builtin/packages/modern-wheel/package.py | 3 ++- var/spack/repos/builtin/packages/modylas/package.py | 3 ++- var/spack/repos/builtin/packages/molcas/package.py | 3 ++- var/spack/repos/builtin/packages/mpich/package.py | 5 +++-- var/spack/repos/builtin/packages/mumax/package.py | 3 ++- var/spack/repos/builtin/packages/munge/package.py | 3 ++- var/spack/repos/builtin/packages/mutationpp/package.py | 3 ++- var/spack/repos/builtin/packages/mvapich2/package.py | 2 +- var/spack/repos/builtin/packages/mysql/package.py | 3 ++- var/spack/repos/builtin/packages/nag/package.py | 3 ++- var/spack/repos/builtin/packages/nalu-wind/package.py | 3 ++- var/spack/repos/builtin/packages/nalu/package.py | 3 ++- var/spack/repos/builtin/packages/namd/package.py | 6 ++++-- var/spack/repos/builtin/packages/nauty/package.py | 1 + var/spack/repos/builtin/packages/ncl/package.py | 3 ++- var/spack/repos/builtin/packages/ncurses/package.py | 3 ++- var/spack/repos/builtin/packages/nek5000/package.py | 5 +++-- var/spack/repos/builtin/packages/nekcem/package.py | 5 +++-- var/spack/repos/builtin/packages/nekrs/package.py | 3 ++- var/spack/repos/builtin/packages/nektools/package.py | 4 ++-- .../repos/builtin/packages/netcdf-fortran/package.py | 7 ++++--- var/spack/repos/builtin/packages/netgauge/package.py | 1 + .../repos/builtin/packages/netlib-scalapack/package.py | 3 ++- var/spack/repos/builtin/packages/nghttp2/package.py | 4 ++-- var/spack/repos/builtin/packages/node-js/package.py | 5 +++-- var/spack/repos/builtin/packages/npm/package.py | 1 + var/spack/repos/builtin/packages/nvhpc/package.py | 5 +++-- var/spack/repos/builtin/packages/nwchem/package.py | 5 +++-- var/spack/repos/builtin/packages/oce/package.py | 3 ++- var/spack/repos/builtin/packages/octopus/package.py | 3 ++- var/spack/repos/builtin/packages/ompss/package.py | 5 +++-- .../repos/builtin/packages/opencl-c-headers/package.py | 3 ++- var/spack/repos/builtin/packages/opencl-clhpp/package.py | 3 ++- var/spack/repos/builtin/packages/openfoam-org/package.py | 14 ++++++++------ var/spack/repos/builtin/packages/openfoam/package.py | 2 +- .../repos/builtin/packages/openloops/get-process-list.py | 2 +- var/spack/repos/builtin/packages/openloops/package.py | 3 ++- var/spack/repos/builtin/packages/openmolcas/package.py | 3 ++- var/spack/repos/builtin/packages/openmpi/package.py | 3 ++- var/spack/repos/builtin/packages/openpbs/package.py | 1 + .../repos/builtin/packages/openspeedshop-utils/package.py | 7 +++---- var/spack/repos/builtin/packages/openspeedshop/package.py | 4 ++-- var/spack/repos/builtin/packages/openssh/package.py | 3 ++- var/spack/repos/builtin/packages/openssl/package.py | 6 +++--- var/spack/repos/builtin/packages/openvdb/package.py | 1 + var/spack/repos/builtin/packages/optional-lite/package.py | 3 ++- .../builtin/packages/oracle-instant-client/package.py | 3 ++- var/spack/repos/builtin/packages/orca/package.py | 3 ++- var/spack/repos/builtin/packages/orthofiller/package.py | 3 ++- var/spack/repos/builtin/packages/orthofinder/package.py | 1 + .../builtin/packages/osu-micro-benchmarks/package.py | 3 ++- var/spack/repos/builtin/packages/pandoc/package.py | 3 ++- var/spack/repos/builtin/packages/papi/package.py | 1 + var/spack/repos/builtin/packages/papyrus/package.py | 3 ++- .../repos/builtin/packages/parallel-netcdf/package.py | 3 ++- var/spack/repos/builtin/packages/paraver/package.py | 3 ++- var/spack/repos/builtin/packages/paraview/package.py | 3 ++- var/spack/repos/builtin/packages/parflow/package.py | 3 ++- var/spack/repos/builtin/packages/parmetis/package.py | 3 ++- var/spack/repos/builtin/packages/parsec/package.py | 3 ++- var/spack/repos/builtin/packages/patchelf/package.py | 3 ++- var/spack/repos/builtin/packages/pdftk/package.py | 3 ++- var/spack/repos/builtin/packages/pdt/package.py | 1 + var/spack/repos/builtin/packages/perl-bioperl/package.py | 3 ++- .../repos/builtin/packages/perl-io-socket-ssl/package.py | 3 ++- .../repos/builtin/packages/perl-net-ssleay/package.py | 3 ++- var/spack/repos/builtin/packages/perl/package.py | 1 + var/spack/repos/builtin/packages/pfunit/package.py | 3 ++- var/spack/repos/builtin/packages/pgdspider/package.py | 3 ++- var/spack/repos/builtin/packages/pgi/package.py | 3 ++- var/spack/repos/builtin/packages/phist/package.py | 2 +- var/spack/repos/builtin/packages/php/package.py | 3 +-- .../builtin/packages/phrap-crossmatch-swat/package.py | 3 ++- var/spack/repos/builtin/packages/phred/package.py | 3 ++- var/spack/repos/builtin/packages/picard/package.py | 3 ++- var/spack/repos/builtin/packages/pilon/package.py | 3 ++- var/spack/repos/builtin/packages/pixman/package.py | 3 ++- var/spack/repos/builtin/packages/pmix/package.py | 5 +++-- var/spack/repos/builtin/packages/pocl/package.py | 2 +- var/spack/repos/builtin/packages/povray/package.py | 8 +++++--- .../repos/builtin/packages/ppopen-appl-bem/package.py | 3 ++- .../repos/builtin/packages/ppopen-appl-fem/package.py | 3 ++- var/spack/repos/builtin/packages/protobuf/package.py | 3 ++- var/spack/repos/builtin/packages/prrte/package.py | 1 + var/spack/repos/builtin/packages/psi4/package.py | 3 ++- var/spack/repos/builtin/packages/pvm/package.py | 3 ++- var/spack/repos/builtin/packages/py-astropy/package.py | 3 ++- .../builtin/packages/py-azureml-dataprep-rslex/package.py | 1 + var/spack/repos/builtin/packages/py-basemap/package.py | 3 ++- var/spack/repos/builtin/packages/py-cffi/package.py | 3 ++- var/spack/repos/builtin/packages/py-chainer/package.py | 3 ++- var/spack/repos/builtin/packages/py-cudf/package.py | 1 + var/spack/repos/builtin/packages/py-docutils/package.py | 3 ++- .../repos/builtin/packages/py-dp-gp-cluster/package.py | 5 +++-- .../repos/builtin/packages/py-intel-openmp/package.py | 1 + var/spack/repos/builtin/packages/py-itk/package.py | 1 + var/spack/repos/builtin/packages/py-mixedhtseq/package.py | 3 ++- var/spack/repos/builtin/packages/py-nltk/resourcegen.py | 3 ++- var/spack/repos/builtin/packages/py-pybind11/package.py | 3 ++- var/spack/repos/builtin/packages/py-pycairo/package.py | 3 ++- var/spack/repos/builtin/packages/py-pygpu/package.py | 3 ++- var/spack/repos/builtin/packages/py-pyside/package.py | 3 ++- var/spack/repos/builtin/packages/py-shiboken/package.py | 3 ++- var/spack/repos/builtin/packages/py-sip/package.py | 3 ++- .../repos/builtin/packages/py-statsmodels/package.py | 3 ++- .../builtin/packages/py-tensorflow-estimator/package.py | 3 ++- var/spack/repos/builtin/packages/pythia6/package.py | 4 +++- var/spack/repos/builtin/packages/python/package.py | 1 + var/spack/repos/builtin/packages/qbank/package.py | 3 ++- var/spack/repos/builtin/packages/qmcpack/package.py | 3 ++- var/spack/repos/builtin/packages/qorts/package.py | 3 ++- var/spack/repos/builtin/packages/qrupdate/package.py | 1 + var/spack/repos/builtin/packages/qscintilla/package.py | 3 ++- var/spack/repos/builtin/packages/qt/package.py | 1 + var/spack/repos/builtin/packages/qtgraph/package.py | 3 ++- var/spack/repos/builtin/packages/qucs/package.py | 3 ++- var/spack/repos/builtin/packages/range-v3/package.py | 4 ++-- var/spack/repos/builtin/packages/recon/package.py | 3 ++- .../repos/builtin/packages/redland-bindings/package.py | 3 ++- var/spack/repos/builtin/packages/reframe/package.py | 3 ++- var/spack/repos/builtin/packages/repeatmasker/package.py | 3 ++- .../repos/builtin/packages/revocap-coupler/package.py | 1 + var/spack/repos/builtin/packages/rivet/package.py | 3 ++- var/spack/repos/builtin/packages/rmats/package.py | 3 ++- var/spack/repos/builtin/packages/rna-seqc/package.py | 3 ++- var/spack/repos/builtin/packages/rnaquast/package.py | 1 + var/spack/repos/builtin/packages/rockstar/package.py | 1 + .../repos/builtin/packages/rocm-openmp-extras/package.py | 3 ++- var/spack/repos/builtin/packages/rocm-smi-lib/package.py | 3 ++- var/spack/repos/builtin/packages/rocm-smi/package.py | 3 ++- var/spack/repos/builtin/packages/rocrand/package.py | 2 +- var/spack/repos/builtin/packages/rpm/package.py | 3 ++- var/spack/repos/builtin/packages/rsync/package.py | 3 ++- var/spack/repos/builtin/packages/rust-bindgen/package.py | 3 ++- var/spack/repos/builtin/packages/seacas/package.py | 1 + .../repos/builtin/packages/sentieon-genomics/package.py | 1 + var/spack/repos/builtin/packages/siesta/package.py | 3 ++- var/spack/repos/builtin/packages/signalp/package.py | 3 ++- .../builtin/packages/simmetrix-simmodsuite/package.py | 3 ++- var/spack/repos/builtin/packages/singularityce/package.py | 7 ++++--- var/spack/repos/builtin/packages/slepc/package.py | 1 + var/spack/repos/builtin/packages/smof/package.py | 3 ++- var/spack/repos/builtin/packages/snpeff/package.py | 3 ++- var/spack/repos/builtin/packages/sombrero/package.py | 1 + var/spack/repos/builtin/packages/sonlib/package.py | 3 ++- var/spack/repos/builtin/packages/span-lite/package.py | 3 ++- var/spack/repos/builtin/packages/sparskit/package.py | 3 ++- var/spack/repos/builtin/packages/srilm/package.py | 5 +++-- .../repos/builtin/packages/sspace-longread/package.py | 3 ++- .../repos/builtin/packages/sspace-standard/package.py | 5 +++-- var/spack/repos/builtin/packages/star-ccm-plus/package.py | 3 ++- var/spack/repos/builtin/packages/stata/package.py | 3 ++- .../repos/builtin/packages/string-view-lite/package.py | 3 ++- var/spack/repos/builtin/packages/subread/package.py | 3 ++- var/spack/repos/builtin/packages/sundials/package.py | 3 ++- var/spack/repos/builtin/packages/superlu-mt/package.py | 3 ++- var/spack/repos/builtin/packages/supernova/package.py | 3 ++- var/spack/repos/builtin/packages/swiftsim/package.py | 3 ++- var/spack/repos/builtin/packages/swig/package.py | 1 - var/spack/repos/builtin/packages/symengine/package.py | 3 ++- var/spack/repos/builtin/packages/sysget/package.py | 3 ++- var/spack/repos/builtin/packages/targetp/package.py | 3 ++- var/spack/repos/builtin/packages/tau/package.py | 6 ++++-- var/spack/repos/builtin/packages/tbl2asn/package.py | 3 ++- var/spack/repos/builtin/packages/tcptrace/package.py | 3 ++- var/spack/repos/builtin/packages/tecplot/package.py | 3 ++- var/spack/repos/builtin/packages/templight/package.py | 3 ++- var/spack/repos/builtin/packages/tetgen/package.py | 3 ++- var/spack/repos/builtin/packages/texinfo/package.py | 3 ++- var/spack/repos/builtin/packages/texlive/package.py | 5 +++-- var/spack/repos/builtin/packages/thornado-mini/package.py | 3 ++- var/spack/repos/builtin/packages/tinyxml/package.py | 3 ++- var/spack/repos/builtin/packages/tioga/package.py | 1 + var/spack/repos/builtin/packages/tmhmm/package.py | 3 ++- var/spack/repos/builtin/packages/totalview/package.py | 4 ++-- var/spack/repos/builtin/packages/transrate/package.py | 3 ++- var/spack/repos/builtin/packages/tree/package.py | 3 ++- var/spack/repos/builtin/packages/treelite/package.py | 1 + var/spack/repos/builtin/packages/treesub/package.py | 3 ++- var/spack/repos/builtin/packages/trf/package.py | 3 ++- var/spack/repos/builtin/packages/trimmomatic/package.py | 3 ++- var/spack/repos/builtin/packages/trinotate/package.py | 5 +++-- var/spack/repos/builtin/packages/turbine/package.py | 4 ++-- var/spack/repos/builtin/packages/turbomole/package.py | 3 ++- var/spack/repos/builtin/packages/usearch/package.py | 3 ++- var/spack/repos/builtin/packages/util-linux/package.py | 3 ++- var/spack/repos/builtin/packages/valgrind/package.py | 3 ++- var/spack/repos/builtin/packages/varscan/package.py | 3 ++- var/spack/repos/builtin/packages/vasp/package.py | 3 ++- var/spack/repos/builtin/packages/veclibfort/package.py | 3 ++- var/spack/repos/builtin/packages/verrou/package.py | 3 ++- var/spack/repos/builtin/packages/visit-cgns/package.py | 4 +++- var/spack/repos/builtin/packages/visit-mfem/package.py | 4 +++- var/spack/repos/builtin/packages/visit-silo/package.py | 4 +++- var/spack/repos/builtin/packages/vizglow/package.py | 3 ++- var/spack/repos/builtin/packages/vmd/package.py | 3 ++- var/spack/repos/builtin/packages/vtk-h/package.py | 9 ++++----- var/spack/repos/builtin/packages/vtk-m/package.py | 3 ++- var/spack/repos/builtin/packages/vtk/package.py | 1 + var/spack/repos/builtin/packages/wps/package.py | 4 ++-- var/spack/repos/builtin/packages/wrf/package.py | 15 ++++++++------- var/spack/repos/builtin/packages/wxwidgets/package.py | 3 ++- var/spack/repos/builtin/packages/xerces-c/package.py | 3 ++- var/spack/repos/builtin/packages/xios/package.py | 3 ++- var/spack/repos/builtin/packages/xlc/package.py | 3 ++- var/spack/repos/builtin/packages/xlf/package.py | 5 +++-- var/spack/repos/builtin/packages/xplor-nih/package.py | 3 ++- var/spack/repos/builtin/packages/xsdk/package.py | 3 ++- var/spack/repos/builtin/packages/xsdktrilinos/package.py | 3 ++- .../repos/builtin/packages/xxd-standalone/package.py | 3 ++- var/spack/repos/builtin/packages/yaml-cpp/package.py | 1 - var/spack/repos/builtin/packages/zoltan/package.py | 3 ++- var/spack/repos/tutorial/packages/mpich/package.py | 3 ++- 468 files changed, 952 insertions(+), 529 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin.mock/packages/cmake/package.py b/var/spack/repos/builtin.mock/packages/cmake/package.py index 1c7fd6014f..12c7d78c35 100644 --- a/var/spack/repos/builtin.mock/packages/cmake/package.py +++ b/var/spack/repos/builtin.mock/packages/cmake/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + def check(condition, msg): """Raise an install error if condition is False.""" diff --git a/var/spack/repos/builtin.mock/packages/corge/package.py b/var/spack/repos/builtin.mock/packages/corge/package.py index dd62c103ee..6f6efb6b6e 100644 --- a/var/spack/repos/builtin.mock/packages/corge/package.py +++ b/var/spack/repos/builtin.mock/packages/corge/package.py @@ -4,10 +4,11 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import sys +from spack import * + class Corge(Package): """A toy package to test dependencies""" diff --git a/var/spack/repos/builtin.mock/packages/extension1/package.py b/var/spack/repos/builtin.mock/packages/extension1/package.py index 5910fa6c22..9f0028888a 100644 --- a/var/spack/repos/builtin.mock/packages/extension1/package.py +++ b/var/spack/repos/builtin.mock/packages/extension1/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Extension1(Package): """A package which extends another package""" diff --git a/var/spack/repos/builtin.mock/packages/extension2/package.py b/var/spack/repos/builtin.mock/packages/extension2/package.py index 95998523b1..4b661e0d55 100644 --- a/var/spack/repos/builtin.mock/packages/extension2/package.py +++ b/var/spack/repos/builtin.mock/packages/extension2/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Extension2(Package): """A package which extends another package. It also depends on another diff --git a/var/spack/repos/builtin.mock/packages/garply/package.py b/var/spack/repos/builtin.mock/packages/garply/package.py index 9fa13262a7..534dffb55c 100644 --- a/var/spack/repos/builtin.mock/packages/garply/package.py +++ b/var/spack/repos/builtin.mock/packages/garply/package.py @@ -4,10 +4,11 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import sys +from spack import * + class Garply(Package): """Toy package for testing dependencies""" diff --git a/var/spack/repos/builtin.mock/packages/multimethod-diamond/package.py b/var/spack/repos/builtin.mock/packages/multimethod-diamond/package.py index dc52eb5b19..86b068e295 100644 --- a/var/spack/repos/builtin.mock/packages/multimethod-diamond/package.py +++ b/var/spack/repos/builtin.mock/packages/multimethod-diamond/package.py @@ -3,8 +3,8 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -import spack.pkg.builtin.mock.multimethod_inheritor as mi import spack.pkg.builtin.mock.multimethod_diamond_parent as mp +import spack.pkg.builtin.mock.multimethod_inheritor as mi class MultimethodDiamond(mi.MultimethodInheritor, mp.MultimethodDiamondParent): diff --git a/var/spack/repos/builtin.mock/packages/multimethod/package.py b/var/spack/repos/builtin.mock/packages/multimethod/package.py index 1611a79874..8ae2bd1bbe 100644 --- a/var/spack/repos/builtin.mock/packages/multimethod/package.py +++ b/var/spack/repos/builtin.mock/packages/multimethod/package.py @@ -5,9 +5,8 @@ from six import string_types -from spack import * import spack.architecture - +from spack import * from spack.pkg.builtin.mock.multimethod_base import MultimethodBase diff --git a/var/spack/repos/builtin.mock/packages/old-sbang/package.py b/var/spack/repos/builtin.mock/packages/old-sbang/package.py index 305f693c5a..830afa510f 100644 --- a/var/spack/repos/builtin.mock/packages/old-sbang/package.py +++ b/var/spack/repos/builtin.mock/packages/old-sbang/package.py @@ -2,10 +2,9 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import spack.paths import spack.store +from spack import * class OldSbang(Package): diff --git a/var/spack/repos/builtin.mock/packages/perl-extension/package.py b/var/spack/repos/builtin.mock/packages/perl-extension/package.py index 48789632bf..61f4531c25 100644 --- a/var/spack/repos/builtin.mock/packages/perl-extension/package.py +++ b/var/spack/repos/builtin.mock/packages/perl-extension/package.py @@ -2,9 +2,10 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class PerlExtension(PerlPackage): """A package which extends perl""" diff --git a/var/spack/repos/builtin.mock/packages/py-extension1/package.py b/var/spack/repos/builtin.mock/packages/py-extension1/package.py index dce9187505..bfee8f95e8 100644 --- a/var/spack/repos/builtin.mock/packages/py-extension1/package.py +++ b/var/spack/repos/builtin.mock/packages/py-extension1/package.py @@ -2,9 +2,10 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class PyExtension1(PythonPackage): """A package which extends python""" diff --git a/var/spack/repos/builtin.mock/packages/py-extension2/package.py b/var/spack/repos/builtin.mock/packages/py-extension2/package.py index ddf2036ba6..05ad308d15 100644 --- a/var/spack/repos/builtin.mock/packages/py-extension2/package.py +++ b/var/spack/repos/builtin.mock/packages/py-extension2/package.py @@ -2,9 +2,10 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class PyExtension2(PythonPackage): """A package which extends python. It also depends on another diff --git a/var/spack/repos/builtin.mock/packages/quux/package.py b/var/spack/repos/builtin.mock/packages/quux/package.py index 7d122328cb..ec28f6f2ef 100644 --- a/var/spack/repos/builtin.mock/packages/quux/package.py +++ b/var/spack/repos/builtin.mock/packages/quux/package.py @@ -4,10 +4,11 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import sys +from spack import * + class Quux(Package): """Toy package for testing dependencies""" diff --git a/var/spack/repos/builtin.mock/packages/url-list-test/package.py b/var/spack/repos/builtin.mock/packages/url-list-test/package.py index f7c54a3c65..846a7bf18e 100644 --- a/var/spack/repos/builtin.mock/packages/url-list-test/package.py +++ b/var/spack/repos/builtin.mock/packages/url-list-test/package.py @@ -3,9 +3,8 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import spack.paths +from spack import * class UrlListTest(Package): diff --git a/var/spack/repos/builtin/packages/3proxy/package.py b/var/spack/repos/builtin/packages/3proxy/package.py index 41eadd5e18..ccd9116b2d 100644 --- a/var/spack/repos/builtin/packages/3proxy/package.py +++ b/var/spack/repos/builtin/packages/3proxy/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import platform +from spack import * + class _3proxy(MakefilePackage): """3proxy - tiny free proxy server""" diff --git a/var/spack/repos/builtin/packages/abyss/package.py b/var/spack/repos/builtin/packages/abyss/package.py index 8739e8ce7c..5bacb7395b 100644 --- a/var/spack/repos/builtin/packages/abyss/package.py +++ b/var/spack/repos/builtin/packages/abyss/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import numbers + from spack import * diff --git a/var/spack/repos/builtin/packages/adf/package.py b/var/spack/repos/builtin/packages/adf/package.py index fe1419dc4f..10c0d259e8 100644 --- a/var/spack/repos/builtin/packages/adf/package.py +++ b/var/spack/repos/builtin/packages/adf/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Adf(Package): """Amsterdam Density Functional (ADF) is a program for first-principles diff --git a/var/spack/repos/builtin/packages/adios2/package.py b/var/spack/repos/builtin/packages/adios2/package.py index 389d5c7c4a..822c5b9817 100644 --- a/var/spack/repos/builtin/packages/adios2/package.py +++ b/var/spack/repos/builtin/packages/adios2/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Adios2(CMakePackage): """The Adaptable Input Output System version 2, diff --git a/var/spack/repos/builtin/packages/aluminum/package.py b/var/spack/repos/builtin/packages/aluminum/package.py index 3c3cfb1860..113564de5b 100644 --- a/var/spack/repos/builtin/packages/aluminum/package.py +++ b/var/spack/repos/builtin/packages/aluminum/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/amber/package.py b/var/spack/repos/builtin/packages/amber/package.py index 4082bff9cd..1f4d4c95d0 100644 --- a/var/spack/repos/builtin/packages/amber/package.py +++ b/var/spack/repos/builtin/packages/amber/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import shutil +from spack import * + class Amber(Package, CudaPackage): """Amber is a suite of biomolecular simulation programs together diff --git a/var/spack/repos/builtin/packages/amdfftw/package.py b/var/spack/repos/builtin/packages/amdfftw/package.py index 5ac24cd2b7..a43baa1094 100644 --- a/var/spack/repos/builtin/packages/amdfftw/package.py +++ b/var/spack/repos/builtin/packages/amdfftw/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * from spack.pkg.builtin.fftw import FftwBase diff --git a/var/spack/repos/builtin/packages/amdlibm/package.py b/var/spack/repos/builtin/packages/amdlibm/package.py index 8eaca751aa..fdf71087a1 100644 --- a/var/spack/repos/builtin/packages/amdlibm/package.py +++ b/var/spack/repos/builtin/packages/amdlibm/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Amdlibm(SConsPackage): """AMD LibM is a software library containing a collection of basic math diff --git a/var/spack/repos/builtin/packages/amr-wind/package.py b/var/spack/repos/builtin/packages/amr-wind/package.py index 7d4651e580..b173957499 100644 --- a/var/spack/repos/builtin/packages/amr-wind/package.py +++ b/var/spack/repos/builtin/packages/amr-wind/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import itertools +from spack import * + def process_amrex_constraints(): """Map constraints when building with external AMReX""" diff --git a/var/spack/repos/builtin/packages/anaconda2/package.py b/var/spack/repos/builtin/packages/anaconda2/package.py index b2e8e9e485..3eab2ac266 100644 --- a/var/spack/repos/builtin/packages/anaconda2/package.py +++ b/var/spack/repos/builtin/packages/anaconda2/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os.path import split +from spack import * + class Anaconda2(Package): """Anaconda is a free and open-source distribution of the Python and diff --git a/var/spack/repos/builtin/packages/anaconda3/package.py b/var/spack/repos/builtin/packages/anaconda3/package.py index 12ed3869cd..3a94f0e0c1 100644 --- a/var/spack/repos/builtin/packages/anaconda3/package.py +++ b/var/spack/repos/builtin/packages/anaconda3/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os.path import split +from spack import * + class Anaconda3(Package): """ diff --git a/var/spack/repos/builtin/packages/aocl-sparse/package.py b/var/spack/repos/builtin/packages/aocl-sparse/package.py index 0be34f7054..3f8aec953b 100644 --- a/var/spack/repos/builtin/packages/aocl-sparse/package.py +++ b/var/spack/repos/builtin/packages/aocl-sparse/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class AoclSparse(CMakePackage): """AOCL-Sparse is a library that contains basic linear algebra subroutines diff --git a/var/spack/repos/builtin/packages/aomp/package.py b/var/spack/repos/builtin/packages/aomp/package.py index 75b1b4e967..148f4a54f6 100644 --- a/var/spack/repos/builtin/packages/aomp/package.py +++ b/var/spack/repos/builtin/packages/aomp/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import re +from spack import * + tools_url = 'https://github.com/ROCm-Developer-Tools' compute_url = 'https://github.com/RadeonOpenCompute' diff --git a/var/spack/repos/builtin/packages/apcomp/package.py b/var/spack/repos/builtin/packages/apcomp/package.py index c21f8eca1a..242eba0ebd 100644 --- a/var/spack/repos/builtin/packages/apcomp/package.py +++ b/var/spack/repos/builtin/packages/apcomp/package.py @@ -4,11 +4,13 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import socket + import llnl.util.tty as tty +from spack import * + def cmake_cache_entry(name, value, vtype=None): """ diff --git a/var/spack/repos/builtin/packages/aperture-photometry/package.py b/var/spack/repos/builtin/packages/aperture-photometry/package.py index 109ce9d5af..9a05171c44 100644 --- a/var/spack/repos/builtin/packages/aperture-photometry/package.py +++ b/var/spack/repos/builtin/packages/aperture-photometry/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class AperturePhotometry(Package): """Aperture Photometry Tool APT is software for astronomical research""" diff --git a/var/spack/repos/builtin/packages/apex/package.py b/var/spack/repos/builtin/packages/apex/package.py index 21e6d67ddc..79e7b0e742 100644 --- a/var/spack/repos/builtin/packages/apex/package.py +++ b/var/spack/repos/builtin/packages/apex/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Apex(CMakePackage): """Autonomic Performance Environment for eXascale (APEX).""" diff --git a/var/spack/repos/builtin/packages/arm-forge/package.py b/var/spack/repos/builtin/packages/arm-forge/package.py index 861df21626..d646658dbe 100644 --- a/var/spack/repos/builtin/packages/arm-forge/package.py +++ b/var/spack/repos/builtin/packages/arm-forge/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import subprocess import platform +import subprocess + +from spack import * class ArmForge(Package): diff --git a/var/spack/repos/builtin/packages/arm/package.py b/var/spack/repos/builtin/packages/arm/package.py index a8cf373ce1..9bbb1638c0 100644 --- a/var/spack/repos/builtin/packages/arm/package.py +++ b/var/spack/repos/builtin/packages/arm/package.py @@ -6,6 +6,7 @@ import os.path import re import llnl.util.tty as tty + import spack.compiler import spack.util.executable diff --git a/var/spack/repos/builtin/packages/ascent/package.py b/var/spack/repos/builtin/packages/ascent/package.py index 4deae84ec1..2dc5dff55b 100644 --- a/var/spack/repos/builtin/packages/ascent/package.py +++ b/var/spack/repos/builtin/packages/ascent/package.py @@ -3,16 +3,16 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - -import sys -import os -import socket import glob +import os import shutil +import socket +import sys +from os import environ as env import llnl.util.tty as tty -from os import environ as env + +from spack import * def cmake_cache_entry(name, value, vtype=None): diff --git a/var/spack/repos/builtin/packages/asio/package.py b/var/spack/repos/builtin/packages/asio/package.py index 1bf77fdf8e..66482441f4 100644 --- a/var/spack/repos/builtin/packages/asio/package.py +++ b/var/spack/repos/builtin/packages/asio/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Asio(AutotoolsPackage): """C++ library for network and low-level I/O programming.""" diff --git a/var/spack/repos/builtin/packages/aspera-cli/package.py b/var/spack/repos/builtin/packages/aspera-cli/package.py index 2410401d9a..97b31e49e3 100644 --- a/var/spack/repos/builtin/packages/aspera-cli/package.py +++ b/var/spack/repos/builtin/packages/aspera-cli/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from glob import glob +from spack import * + class AsperaCli(Package): """The Aspera CLI client for the Fast and Secure Protocol (FASP).""" diff --git a/var/spack/repos/builtin/packages/astral/package.py b/var/spack/repos/builtin/packages/astral/package.py index ee3bd99146..98c15985f6 100644 --- a/var/spack/repos/builtin/packages/astral/package.py +++ b/var/spack/repos/builtin/packages/astral/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Astral(Package): """ASTRAL is a tool for estimating an unrooted species tree given a set of diff --git a/var/spack/repos/builtin/packages/atlas/package.py b/var/spack/repos/builtin/packages/atlas/package.py index ad9f7784db..40a720f003 100644 --- a/var/spack/repos/builtin/packages/atlas/package.py +++ b/var/spack/repos/builtin/packages/atlas/package.py @@ -6,7 +6,7 @@ import os from spack import * -from spack.package_test import compile_c_and_execute, compare_output_file +from spack.package_test import compare_output_file, compile_c_and_execute class Atlas(Package): diff --git a/var/spack/repos/builtin/packages/augustus/package.py b/var/spack/repos/builtin/packages/augustus/package.py index 4ad9991493..ea74ff7f2b 100644 --- a/var/spack/repos/builtin/packages/augustus/package.py +++ b/var/spack/repos/builtin/packages/augustus/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob +from spack import * + class Augustus(MakefilePackage): """AUGUSTUS is a program that predicts genes in eukaryotic diff --git a/var/spack/repos/builtin/packages/autodock-vina/package.py b/var/spack/repos/builtin/packages/autodock-vina/package.py index 0cae8cf314..77f06b2f10 100644 --- a/var/spack/repos/builtin/packages/autodock-vina/package.py +++ b/var/spack/repos/builtin/packages/autodock-vina/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class AutodockVina(MakefilePackage): """AutoDock Vina is an open-source program for doing molecular docking""" diff --git a/var/spack/repos/builtin/packages/autofact/package.py b/var/spack/repos/builtin/packages/autofact/package.py index fb6cf27634..88b079f389 100644 --- a/var/spack/repos/builtin/packages/autofact/package.py +++ b/var/spack/repos/builtin/packages/autofact/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob +from spack import * + class Autofact(Package): """An Automatic Functional Annotation and Classification Tool""" diff --git a/var/spack/repos/builtin/packages/avizo/package.py b/var/spack/repos/builtin/packages/avizo/package.py index b2a839c0ad..afbae73ce8 100644 --- a/var/spack/repos/builtin/packages/avizo/package.py +++ b/var/spack/repos/builtin/packages/avizo/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import tarfile +from spack import * + class Avizo(Package): """Avizo is a 3D analysis software for scientific and industrial data. diff --git a/var/spack/repos/builtin/packages/aws-parallelcluster/package.py b/var/spack/repos/builtin/packages/aws-parallelcluster/package.py index d4771cf82d..30655c66f8 100644 --- a/var/spack/repos/builtin/packages/aws-parallelcluster/package.py +++ b/var/spack/repos/builtin/packages/aws-parallelcluster/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class AwsParallelcluster(PythonPackage): """AWS ParallelCluster is an AWS supported Open Source cluster management diff --git a/var/spack/repos/builtin/packages/axom/package.py b/var/spack/repos/builtin/packages/axom/package.py index 1a3b90d7b8..6381989c4b 100644 --- a/var/spack/repos/builtin/packages/axom/package.py +++ b/var/spack/repos/builtin/packages/axom/package.py @@ -3,12 +3,12 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import os import socket from os.path import join as pjoin +from spack import * + def get_spec_path(spec, package_name, path_replacements={}, use_bin=False): """Extracts the prefix path for the given spack package diff --git a/var/spack/repos/builtin/packages/bamtools/package.py b/var/spack/repos/builtin/packages/bamtools/package.py index d88c8cb557..c8b9fc9dfa 100644 --- a/var/spack/repos/builtin/packages/bamtools/package.py +++ b/var/spack/repos/builtin/packages/bamtools/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Bamtools(CMakePackage): """C++ API & command-line toolkit for working with BAM data.""" diff --git a/var/spack/repos/builtin/packages/bcl2fastq2/package.py b/var/spack/repos/builtin/packages/bcl2fastq2/package.py index 88be787713..5f5e325006 100644 --- a/var/spack/repos/builtin/packages/bcl2fastq2/package.py +++ b/var/spack/repos/builtin/packages/bcl2fastq2/package.py @@ -3,11 +3,13 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import os import glob +import os + import llnl.util.tty as tty +from spack import * + # This application uses cmake to build, but they wrap it with a # configure script that performs dark magic. This package does it diff --git a/var/spack/repos/builtin/packages/beagle/package.py b/var/spack/repos/builtin/packages/beagle/package.py index d0beb9443b..941ff1e43b 100644 --- a/var/spack/repos/builtin/packages/beagle/package.py +++ b/var/spack/repos/builtin/packages/beagle/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Beagle(Package): """Beagle is a software package for phasing genotypes and for imputing diff --git a/var/spack/repos/builtin/packages/beast-tracer/package.py b/var/spack/repos/builtin/packages/beast-tracer/package.py index c1e0e8129b..5314625ff0 100644 --- a/var/spack/repos/builtin/packages/beast-tracer/package.py +++ b/var/spack/repos/builtin/packages/beast-tracer/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os import path +from spack import * + class BeastTracer(Package): """Tracer is a graphical tool for visualization and diagnostics of MCMC diff --git a/var/spack/repos/builtin/packages/bison/package.py b/var/spack/repos/builtin/packages/bison/package.py index d6b5e35fee..7c090460fc 100644 --- a/var/spack/repos/builtin/packages/bison/package.py +++ b/var/spack/repos/builtin/packages/bison/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import re +import sys + from spack import * from spack.operating_systems.mac_os import macos_version -import sys -import re class Bison(AutotoolsPackage, GNUMirrorPackage): diff --git a/var/spack/repos/builtin/packages/blaspp/package.py b/var/spack/repos/builtin/packages/blaspp/package.py index 1013a954a0..902a52adb3 100644 --- a/var/spack/repos/builtin/packages/blaspp/package.py +++ b/var/spack/repos/builtin/packages/blaspp/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Blaspp(CMakePackage, CudaPackage, ROCmPackage): """C++ API for the Basic Linear Algebra Subroutines. Developed by the diff --git a/var/spack/repos/builtin/packages/blasr-libcpp/package.py b/var/spack/repos/builtin/packages/blasr-libcpp/package.py index c93e9d4d7c..c008d3452f 100644 --- a/var/spack/repos/builtin/packages/blasr-libcpp/package.py +++ b/var/spack/repos/builtin/packages/blasr-libcpp/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class BlasrLibcpp(Package): """Blasr_libcpp is a library used by blasr diff --git a/var/spack/repos/builtin/packages/blasr/package.py b/var/spack/repos/builtin/packages/blasr/package.py index 22a9ef0958..5b3c0f3c09 100644 --- a/var/spack/repos/builtin/packages/blasr/package.py +++ b/var/spack/repos/builtin/packages/blasr/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Blasr(Package): """The PacBio long read aligner.""" diff --git a/var/spack/repos/builtin/packages/blast-legacy/package.py b/var/spack/repos/builtin/packages/blast-legacy/package.py index e47f4b7c2e..d724c0005d 100644 --- a/var/spack/repos/builtin/packages/blast-legacy/package.py +++ b/var/spack/repos/builtin/packages/blast-legacy/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os import symlink +from spack import * + class BlastLegacy(Package): """Legacy NCBI BLAST distribution -- no longer supported. diff --git a/var/spack/repos/builtin/packages/blast2go/package.py b/var/spack/repos/builtin/packages/blast2go/package.py index bd474f5141..3c8605fadf 100644 --- a/var/spack/repos/builtin/packages/blast2go/package.py +++ b/var/spack/repos/builtin/packages/blast2go/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import archspec +from spack import * + class Blast2go(Package): """Blast2GO is a bioinformatics platform for high-quality functional diff --git a/var/spack/repos/builtin/packages/bohrium/package.py b/var/spack/repos/builtin/packages/bohrium/package.py index 81d489d0de..62ed433d22 100644 --- a/var/spack/repos/builtin/packages/bohrium/package.py +++ b/var/spack/repos/builtin/packages/bohrium/package.py @@ -3,11 +3,13 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import os + +import llnl.util.tty as tty + from spack import * from spack.package_test import compare_output from spack.util.executable import Executable -import llnl.util.tty as tty -import os class Bohrium(CMakePackage, CudaPackage): diff --git a/var/spack/repos/builtin/packages/bohrium/pyadd.py b/var/spack/repos/builtin/packages/bohrium/pyadd.py index fc9f6968df..e70304be35 100644 --- a/var/spack/repos/builtin/packages/bohrium/pyadd.py +++ b/var/spack/repos/builtin/packages/bohrium/pyadd.py @@ -1,5 +1,6 @@ #!/usr/bin/env python import bohrium as bh + a = bh.array([1, 2, 3]) b = bh.array([3, 4, 5]) c = a + b diff --git a/var/spack/repos/builtin/packages/boost/package.py b/var/spack/repos/builtin/packages/boost/package.py index 81c13139f1..d68db91162 100644 --- a/var/spack/repos/builtin/packages/boost/package.py +++ b/var/spack/repos/builtin/packages/boost/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import sys import os +import sys + +from spack import * class Boost(Package): diff --git a/var/spack/repos/builtin/packages/bracken/package.py b/var/spack/repos/builtin/packages/bracken/package.py index 88a3ee4109..ec20ab5335 100644 --- a/var/spack/repos/builtin/packages/bracken/package.py +++ b/var/spack/repos/builtin/packages/bracken/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Bracken(Package): """Bracken (Bayesian Reestimation of Abundance with KrakEN) is a highly diff --git a/var/spack/repos/builtin/packages/bref3/package.py b/var/spack/repos/builtin/packages/bref3/package.py index d46e56e225..5065854f13 100644 --- a/var/spack/repos/builtin/packages/bref3/package.py +++ b/var/spack/repos/builtin/packages/bref3/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Bref3(Package): """Bref3: Converts from VCF format to bref3 format.""" diff --git a/var/spack/repos/builtin/packages/bridger/package.py b/var/spack/repos/builtin/packages/bridger/package.py index 88f06eb22e..769debf525 100644 --- a/var/spack/repos/builtin/packages/bridger/package.py +++ b/var/spack/repos/builtin/packages/bridger/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os import symlink +from spack import * + class Bridger(MakefilePackage, SourceforgePackage): """Bridger : An Efficient De novo Transcriptome Assembler For diff --git a/var/spack/repos/builtin/packages/buddy/package.py b/var/spack/repos/builtin/packages/buddy/package.py index c7d261f1ca..469e74cacd 100644 --- a/var/spack/repos/builtin/packages/buddy/package.py +++ b/var/spack/repos/builtin/packages/buddy/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import platform +from spack import * + class Buddy(AutotoolsPackage): """A Binary Decision Diagram library.""" diff --git a/var/spack/repos/builtin/packages/bwa/package.py b/var/spack/repos/builtin/packages/bwa/package.py index 6758825f4c..03bd1a6302 100644 --- a/var/spack/repos/builtin/packages/bwa/package.py +++ b/var/spack/repos/builtin/packages/bwa/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import platform +from spack import * + class Bwa(Package): """Burrow-Wheeler Aligner for pairwise alignment between DNA sequences.""" diff --git a/var/spack/repos/builtin/packages/caliper/package.py b/var/spack/repos/builtin/packages/caliper/package.py index f1735f2f80..ec47b873c8 100644 --- a/var/spack/repos/builtin/packages/caliper/package.py +++ b/var/spack/repos/builtin/packages/caliper/package.py @@ -3,10 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import sys +from spack import * + class Caliper(CMakePackage, CudaPackage): """Caliper is a program instrumentation and performance measurement diff --git a/var/spack/repos/builtin/packages/cantera/package.py b/var/spack/repos/builtin/packages/cantera/package.py index 18f77af4eb..c782edf548 100644 --- a/var/spack/repos/builtin/packages/cantera/package.py +++ b/var/spack/repos/builtin/packages/cantera/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Cantera(SConsPackage): """Cantera is a suite of object-oriented software tools for problems diff --git a/var/spack/repos/builtin/packages/casacore/package.py b/var/spack/repos/builtin/packages/casacore/package.py index 63c7d26772..7ce957d3d9 100644 --- a/var/spack/repos/builtin/packages/casacore/package.py +++ b/var/spack/repos/builtin/packages/casacore/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Casacore(CMakePackage): """A suite of c++ libraries for radio astronomy data processing.""" diff --git a/var/spack/repos/builtin/packages/cask/package.py b/var/spack/repos/builtin/packages/cask/package.py index e49079f65d..e3c985791c 100644 --- a/var/spack/repos/builtin/packages/cask/package.py +++ b/var/spack/repos/builtin/packages/cask/package.py @@ -3,12 +3,13 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +from glob import glob + # # Based on Homebrew's formula: # https://github.com/Homebrew/homebrew-core/blob/master/Formula/cask.rb # from spack import * -from glob import glob class Cask(Package): diff --git a/var/spack/repos/builtin/packages/catalyst/package.py b/var/spack/repos/builtin/packages/catalyst/package.py index d55c7f669b..9c9602d18e 100644 --- a/var/spack/repos/builtin/packages/catalyst/package.py +++ b/var/spack/repos/builtin/packages/catalyst/package.py @@ -3,12 +3,14 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import subprocess import sys + import llnl.util.tty as tty +from spack import * + class Catalyst(CMakePackage): """Catalyst is an in situ use case library, with an adaptable application diff --git a/var/spack/repos/builtin/packages/cbflib/package.py b/var/spack/repos/builtin/packages/cbflib/package.py index ed244db339..37fb4dc394 100644 --- a/var/spack/repos/builtin/packages/cbflib/package.py +++ b/var/spack/repos/builtin/packages/cbflib/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Cbflib(MakefilePackage): """CBFLIB is a library of ANSI-C functions providing a simple mechanism diff --git a/var/spack/repos/builtin/packages/cbtf-argonavis-gui/package.py b/var/spack/repos/builtin/packages/cbtf-argonavis-gui/package.py index dfa75ed1e4..39c9db13c6 100644 --- a/var/spack/repos/builtin/packages/cbtf-argonavis-gui/package.py +++ b/var/spack/repos/builtin/packages/cbtf-argonavis-gui/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class CbtfArgonavisGui(QMakePackage): """CBTF Argo Navis GUI project contains the GUI that views OpenSpeedShop diff --git a/var/spack/repos/builtin/packages/cbtf-krell/package.py b/var/spack/repos/builtin/packages/cbtf-krell/package.py index 8133f3e85f..cce495d8e7 100644 --- a/var/spack/repos/builtin/packages/cbtf-krell/package.py +++ b/var/spack/repos/builtin/packages/cbtf-krell/package.py @@ -3,9 +3,9 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import spack import spack.store +from spack import * class CbtfKrell(CMakePackage): diff --git a/var/spack/repos/builtin/packages/ccache/package.py b/var/spack/repos/builtin/packages/ccache/package.py index 11d63f0756..2d35df476f 100644 --- a/var/spack/repos/builtin/packages/ccache/package.py +++ b/var/spack/repos/builtin/packages/ccache/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import re +from spack import * + class Ccache(CMakePackage): """ccache is a compiler cache. It speeds up recompilation by caching diff --git a/var/spack/repos/builtin/packages/charmpp/package.py b/var/spack/repos/builtin/packages/charmpp/package.py index 053d50489a..bee9cdb35c 100644 --- a/var/spack/repos/builtin/packages/charmpp/package.py +++ b/var/spack/repos/builtin/packages/charmpp/package.py @@ -8,6 +8,7 @@ import os import platform import shutil import sys + from spack import * diff --git a/var/spack/repos/builtin/packages/chlorop/package.py b/var/spack/repos/builtin/packages/chlorop/package.py index 119c06a1f6..e760acb240 100644 --- a/var/spack/repos/builtin/packages/chlorop/package.py +++ b/var/spack/repos/builtin/packages/chlorop/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Chlorop(Package): """Chlorop predicts the presence of chloroplast transit peptides diff --git a/var/spack/repos/builtin/packages/circos/package.py b/var/spack/repos/builtin/packages/circos/package.py index f3a57bb47a..cd1be94f55 100644 --- a/var/spack/repos/builtin/packages/circos/package.py +++ b/var/spack/repos/builtin/packages/circos/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os import symlink +from spack import * + class Circos(Package): """Circos is a software package for visualizing data and information.""" diff --git a/var/spack/repos/builtin/packages/clingo-bootstrap/package.py b/var/spack/repos/builtin/packages/clingo-bootstrap/package.py index 5408ef92b7..fcb96fa1d8 100644 --- a/var/spack/repos/builtin/packages/clingo-bootstrap/package.py +++ b/var/spack/repos/builtin/packages/clingo-bootstrap/package.py @@ -2,9 +2,8 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack.pkg.builtin.clingo import Clingo - import spack.compilers +from spack.pkg.builtin.clingo import Clingo class ClingoBootstrap(Clingo): diff --git a/var/spack/repos/builtin/packages/cln/package.py b/var/spack/repos/builtin/packages/cln/package.py index a7dae3b5f5..33abbbdbfc 100644 --- a/var/spack/repos/builtin/packages/cln/package.py +++ b/var/spack/repos/builtin/packages/cln/package.py @@ -4,10 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import os +from spack import * + class Cln(AutotoolsPackage): """CLN is a library for efficient computations with all kinds of numbers diff --git a/var/spack/repos/builtin/packages/cnpy/package.py b/var/spack/repos/builtin/packages/cnpy/package.py index 0019892865..b418b6d4e8 100644 --- a/var/spack/repos/builtin/packages/cnpy/package.py +++ b/var/spack/repos/builtin/packages/cnpy/package.py @@ -3,10 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import sys +from spack import * + class Cnpy(CMakePackage): """cnpy: library to read/write .npy and .npz files in C/C++.""" diff --git a/var/spack/repos/builtin/packages/cntk1bitsgd/package.py b/var/spack/repos/builtin/packages/cntk1bitsgd/package.py index 3e6e67b67a..c366ac5eb8 100644 --- a/var/spack/repos/builtin/packages/cntk1bitsgd/package.py +++ b/var/spack/repos/builtin/packages/cntk1bitsgd/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os import listdir +from spack import * + class Cntk1bitsgd(Package): """CNTK1bitSGD is the header-only diff --git a/var/spack/repos/builtin/packages/coinhsl/package.py b/var/spack/repos/builtin/packages/coinhsl/package.py index 1ef932f818..d8ac39fe8c 100644 --- a/var/spack/repos/builtin/packages/coinhsl/package.py +++ b/var/spack/repos/builtin/packages/coinhsl/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Coinhsl(AutotoolsPackage): """CoinHSL is a collection of linear algebra libraries (KB22, MA27, diff --git a/var/spack/repos/builtin/packages/conduit/package.py b/var/spack/repos/builtin/packages/conduit/package.py index 64b5e52930..2480841aba 100644 --- a/var/spack/repos/builtin/packages/conduit/package.py +++ b/var/spack/repos/builtin/packages/conduit/package.py @@ -3,15 +3,15 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - -import socket -import os import glob +import os import shutil +import socket +from os import environ as env import llnl.util.tty as tty -from os import environ as env + +from spack import * def cmake_cache_entry(name, value, vtype=None): diff --git a/var/spack/repos/builtin/packages/cosmomc/package.py b/var/spack/repos/builtin/packages/cosmomc/package.py index ba013fa409..edfdbdb180 100644 --- a/var/spack/repos/builtin/packages/cosmomc/package.py +++ b/var/spack/repos/builtin/packages/cosmomc/package.py @@ -4,10 +4,11 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import fnmatch import os +from spack import * + class Cosmomc(Package): """CosmoMC is a Fortran 2008 Markov-Chain Monte-Carlo (MCMC) engine diff --git a/var/spack/repos/builtin/packages/cpio/package.py b/var/spack/repos/builtin/packages/cpio/package.py index 5a351d9dc0..e3cc5a27d7 100644 --- a/var/spack/repos/builtin/packages/cpio/package.py +++ b/var/spack/repos/builtin/packages/cpio/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import re +from spack import * + class Cpio(AutotoolsPackage, GNUMirrorPackage): """GNU cpio copies files into or out of a cpio or tar archive. The diff --git a/var/spack/repos/builtin/packages/cpmd/package.py b/var/spack/repos/builtin/packages/cpmd/package.py index 4c534fa2a7..0e3453c6b7 100644 --- a/var/spack/repos/builtin/packages/cpmd/package.py +++ b/var/spack/repos/builtin/packages/cpmd/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Cpmd(MakefilePackage): """The CPMD code is a parallelized plane wave / pseudopotential diff --git a/var/spack/repos/builtin/packages/cray-libsci/package.py b/var/spack/repos/builtin/packages/cray-libsci/package.py index 8fcdb2da61..85bfb9fa32 100755 --- a/var/spack/repos/builtin/packages/cray-libsci/package.py +++ b/var/spack/repos/builtin/packages/cray-libsci/package.py @@ -2,8 +2,7 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack.util.module_cmd import module -from spack.util.module_cmd import get_path_args_from_module_line +from spack.util.module_cmd import get_path_args_from_module_line, module class CrayLibsci(Package): diff --git a/var/spack/repos/builtin/packages/cray-mpich/package.py b/var/spack/repos/builtin/packages/cray-mpich/package.py index 5ec270940b..98f9962cea 100644 --- a/var/spack/repos/builtin/packages/cray-mpich/package.py +++ b/var/spack/repos/builtin/packages/cray-mpich/package.py @@ -3,11 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -from spack.util.module_cmd import module -from spack.util.module_cmd import get_path_args_from_module_line import os +from spack import * +from spack.util.module_cmd import get_path_args_from_module_line, module + class CrayMpich(Package): """Cray's MPICH is a high performance and widely portable implementation of diff --git a/var/spack/repos/builtin/packages/cromwell-womtool/package.py b/var/spack/repos/builtin/packages/cromwell-womtool/package.py index 3b4229600f..e3330a2ac5 100644 --- a/var/spack/repos/builtin/packages/cromwell-womtool/package.py +++ b/var/spack/repos/builtin/packages/cromwell-womtool/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class CromwellWomtool(Package): """Command line utilities for interacting with the diff --git a/var/spack/repos/builtin/packages/cromwell/package.py b/var/spack/repos/builtin/packages/cromwell/package.py index adaf2ff60f..838ea39fe5 100644 --- a/var/spack/repos/builtin/packages/cromwell/package.py +++ b/var/spack/repos/builtin/packages/cromwell/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Cromwell(Package): """Cromwell is a Workflow Management System geared towards scientific diff --git a/var/spack/repos/builtin/packages/cuda/package.py b/var/spack/repos/builtin/packages/cuda/package.py index 8e378ad5f7..a0ba20759c 100644 --- a/var/spack/repos/builtin/packages/cuda/package.py +++ b/var/spack/repos/builtin/packages/cuda/package.py @@ -3,13 +3,15 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -from glob import glob -from llnl.util.filesystem import LibraryList import os -import re import platform +import re +from glob import glob + import llnl.util.tty as tty +from llnl.util.filesystem import LibraryList + +from spack import * # FIXME Remove hack for polymorphic versions # This package uses a ugly hack to be able to dispatch, given the same diff --git a/var/spack/repos/builtin/packages/cudnn/package.py b/var/spack/repos/builtin/packages/cudnn/package.py index 1ddd1734c8..52ee22ec8a 100644 --- a/var/spack/repos/builtin/packages/cudnn/package.py +++ b/var/spack/repos/builtin/packages/cudnn/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os -from spack import * import platform +from spack import * + _versions = { # cuDNN 8.2.0 '8.2.0.53-11.3': { diff --git a/var/spack/repos/builtin/packages/ddd/package.py b/var/spack/repos/builtin/packages/ddd/package.py index 4224ac402e..f686cc74c5 100644 --- a/var/spack/repos/builtin/packages/ddd/package.py +++ b/var/spack/repos/builtin/packages/ddd/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Ddd(AutotoolsPackage, GNUMirrorPackage): """A graphical front-end for command-line debuggers such as GDB, DBX, diff --git a/var/spack/repos/builtin/packages/dealii/package.py b/var/spack/repos/builtin/packages/dealii/package.py index 51b6b47ad2..644fd32eda 100644 --- a/var/spack/repos/builtin/packages/dealii/package.py +++ b/var/spack/repos/builtin/packages/dealii/package.py @@ -3,10 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import os +from spack import * + class Dealii(CMakePackage, CudaPackage): """C++ software library providing well-documented tools to build finite diff --git a/var/spack/repos/builtin/packages/dftbplus/package.py b/var/spack/repos/builtin/packages/dftbplus/package.py index 6186450cd8..3f673b01d5 100644 --- a/var/spack/repos/builtin/packages/dftbplus/package.py +++ b/var/spack/repos/builtin/packages/dftbplus/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Dftbplus(MakefilePackage): """DFTB+ is an implementation of the diff --git a/var/spack/repos/builtin/packages/dihydrogen/package.py b/var/spack/repos/builtin/packages/dihydrogen/package.py index 053e98116a..0bd36298d2 100644 --- a/var/spack/repos/builtin/packages/dihydrogen/package.py +++ b/var/spack/repos/builtin/packages/dihydrogen/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/dmd/package.py b/var/spack/repos/builtin/packages/dmd/package.py index 15ff5c4d8d..164fa74e34 100644 --- a/var/spack/repos/builtin/packages/dmd/package.py +++ b/var/spack/repos/builtin/packages/dmd/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Dmd(MakefilePackage): """DMD is the reference compiler for the D programming language.""" diff --git a/var/spack/repos/builtin/packages/dock/package.py b/var/spack/repos/builtin/packages/dock/package.py index 16419df45d..b715af27ee 100644 --- a/var/spack/repos/builtin/packages/dock/package.py +++ b/var/spack/repos/builtin/packages/dock/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Dock(Package): """DOCK is a molecular docking program used in drug discovery. diff --git a/var/spack/repos/builtin/packages/dotnet-core-sdk/package.py b/var/spack/repos/builtin/packages/dotnet-core-sdk/package.py index e354e63cc3..fb27ada96e 100644 --- a/var/spack/repos/builtin/packages/dotnet-core-sdk/package.py +++ b/var/spack/repos/builtin/packages/dotnet-core-sdk/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from os import symlink + from spack import * diff --git a/var/spack/repos/builtin/packages/doxygen/package.py b/var/spack/repos/builtin/packages/doxygen/package.py index fa22b56754..aed39e15d1 100644 --- a/var/spack/repos/builtin/packages/doxygen/package.py +++ b/var/spack/repos/builtin/packages/doxygen/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import re +from spack import * + class Doxygen(CMakePackage): """Doxygen is the de facto standard tool for generating documentation diff --git a/var/spack/repos/builtin/packages/dray/package.py b/var/spack/repos/builtin/packages/dray/package.py index f7f9b06a44..1ea062b104 100644 --- a/var/spack/repos/builtin/packages/dray/package.py +++ b/var/spack/repos/builtin/packages/dray/package.py @@ -3,13 +3,13 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import os import socket import llnl.util.tty as tty +from spack import * + def cmake_cache_entry(name, value, vtype=None): """ diff --git a/var/spack/repos/builtin/packages/ds/package.py b/var/spack/repos/builtin/packages/ds/package.py index 1ed9e4deb5..de3d613fda 100644 --- a/var/spack/repos/builtin/packages/ds/package.py +++ b/var/spack/repos/builtin/packages/ds/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os import symlink +from spack import * + class Ds(AutotoolsPackage): """SAOImage DS9 is an astronomical imaging and data visualization diff --git a/var/spack/repos/builtin/packages/dsdp/package.py b/var/spack/repos/builtin/packages/dsdp/package.py index 98663ada38..0d14616602 100644 --- a/var/spack/repos/builtin/packages/dsdp/package.py +++ b/var/spack/repos/builtin/packages/dsdp/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Dsdp(MakefilePackage): """The DSDP software is a free open source implementation of an diff --git a/var/spack/repos/builtin/packages/dsqss/package.py b/var/spack/repos/builtin/packages/dsqss/package.py index 60e23b2ce2..8703e1c62e 100644 --- a/var/spack/repos/builtin/packages/dsqss/package.py +++ b/var/spack/repos/builtin/packages/dsqss/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Dsqss(CMakePackage): """DSQSS is a program package for solving quantum many-body diff --git a/var/spack/repos/builtin/packages/dyninst/package.py b/var/spack/repos/builtin/packages/dyninst/package.py index 0032c6e840..38c664d500 100644 --- a/var/spack/repos/builtin/packages/dyninst/package.py +++ b/var/spack/repos/builtin/packages/dyninst/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Dyninst(CMakePackage): """API for dynamic binary instrumentation. Modify programs while they diff --git a/var/spack/repos/builtin/packages/eclipse-gcj-parser/package.py b/var/spack/repos/builtin/packages/eclipse-gcj-parser/package.py index dcf94d99e8..fca0452609 100644 --- a/var/spack/repos/builtin/packages/eclipse-gcj-parser/package.py +++ b/var/spack/repos/builtin/packages/eclipse-gcj-parser/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class EclipseGcjParser(Package): """GCJ requires the Eclipse Java parser, but does not ship with it. diff --git a/var/spack/repos/builtin/packages/elemental/package.py b/var/spack/repos/builtin/packages/elemental/package.py index 5dea8f1421..4a3cee1df3 100644 --- a/var/spack/repos/builtin/packages/elemental/package.py +++ b/var/spack/repos/builtin/packages/elemental/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * from spack.spec import UnsupportedCompilerError diff --git a/var/spack/repos/builtin/packages/elfutils/package.py b/var/spack/repos/builtin/packages/elfutils/package.py index fd8a09d3f9..3786bb0dc4 100644 --- a/var/spack/repos/builtin/packages/elfutils/package.py +++ b/var/spack/repos/builtin/packages/elfutils/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import os.path +from spack import * + class Elfutils(AutotoolsPackage, SourcewarePackage): """elfutils is a collection of various binary tools such as diff --git a/var/spack/repos/builtin/packages/emacs/package.py b/var/spack/repos/builtin/packages/emacs/package.py index 5dfadc5389..f304be6525 100644 --- a/var/spack/repos/builtin/packages/emacs/package.py +++ b/var/spack/repos/builtin/packages/emacs/package.py @@ -3,10 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import sys +from spack import * + class Emacs(AutotoolsPackage, GNUMirrorPackage): """The Emacs programmable text editor.""" diff --git a/var/spack/repos/builtin/packages/energyplus/package.py b/var/spack/repos/builtin/packages/energyplus/package.py index 397d37ea6b..0802aca847 100644 --- a/var/spack/repos/builtin/packages/energyplus/package.py +++ b/var/spack/repos/builtin/packages/energyplus/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import os +from spack import * + class Energyplus(Package): """EnergyPlus is a whole building energy simulation program that engineers, diff --git a/var/spack/repos/builtin/packages/eq-r/package.py b/var/spack/repos/builtin/packages/eq-r/package.py index 6b69160124..ab79ff0e51 100644 --- a/var/spack/repos/builtin/packages/eq-r/package.py +++ b/var/spack/repos/builtin/packages/eq-r/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class EqR(AutotoolsPackage): """ diff --git a/var/spack/repos/builtin/packages/esmf/package.py b/var/spack/repos/builtin/packages/esmf/package.py index d5c4724f99..c2c05c2423 100644 --- a/var/spack/repos/builtin/packages/esmf/package.py +++ b/var/spack/repos/builtin/packages/esmf/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Esmf(MakefilePackage): """The Earth System Modeling Framework (ESMF) is high-performance, flexible diff --git a/var/spack/repos/builtin/packages/etcd/package.py b/var/spack/repos/builtin/packages/etcd/package.py index e3b58cec63..c67409e324 100644 --- a/var/spack/repos/builtin/packages/etcd/package.py +++ b/var/spack/repos/builtin/packages/etcd/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import platform +from spack import * + class Etcd(Package): """etcd is a distributed reliable key-value store for the most diff --git a/var/spack/repos/builtin/packages/expat/package.py b/var/spack/repos/builtin/packages/expat/package.py index cf545fbde7..ddc6f8bc85 100644 --- a/var/spack/repos/builtin/packages/expat/package.py +++ b/var/spack/repos/builtin/packages/expat/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Expat(AutotoolsPackage): """Expat is an XML parser library written in C.""" diff --git a/var/spack/repos/builtin/packages/expect/package.py b/var/spack/repos/builtin/packages/expect/package.py index 8127f01ec9..51df353feb 100644 --- a/var/spack/repos/builtin/packages/expect/package.py +++ b/var/spack/repos/builtin/packages/expect/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import os +from spack import * + class Expect(AutotoolsPackage): """Expect is a tool for automating interactive applications such as diff --git a/var/spack/repos/builtin/packages/express/package.py b/var/spack/repos/builtin/packages/express/package.py index 4e4a5e4627..d40cb073e3 100644 --- a/var/spack/repos/builtin/packages/express/package.py +++ b/var/spack/repos/builtin/packages/express/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import os.path import glob +import os.path + +from spack import * class Express(CMakePackage): diff --git a/var/spack/repos/builtin/packages/extrae/package.py b/var/spack/repos/builtin/packages/extrae/package.py index f16550569d..34ad84a008 100644 --- a/var/spack/repos/builtin/packages/extrae/package.py +++ b/var/spack/repos/builtin/packages/extrae/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * # typical working line with extrae 3.0.1 diff --git a/var/spack/repos/builtin/packages/f77-zmq/package.py b/var/spack/repos/builtin/packages/f77-zmq/package.py index cafbcf5951..655a1e0f04 100644 --- a/var/spack/repos/builtin/packages/f77-zmq/package.py +++ b/var/spack/repos/builtin/packages/f77-zmq/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/faiss/package.py b/var/spack/repos/builtin/packages/faiss/package.py index 30b41605c2..87288295ad 100644 --- a/var/spack/repos/builtin/packages/faiss/package.py +++ b/var/spack/repos/builtin/packages/faiss/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/ferret/package.py b/var/spack/repos/builtin/packages/ferret/package.py index f72a1bdff1..c7a92339b0 100644 --- a/var/spack/repos/builtin/packages/ferret/package.py +++ b/var/spack/repos/builtin/packages/ferret/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Ferret(Package): """Ferret is an interactive computer visualization and analysis environment diff --git a/var/spack/repos/builtin/packages/ffb/package.py b/var/spack/repos/builtin/packages/ffb/package.py index aedeaa0439..c2242e02b3 100644 --- a/var/spack/repos/builtin/packages/ffb/package.py +++ b/var/spack/repos/builtin/packages/ffb/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/ffr/package.py b/var/spack/repos/builtin/packages/ffr/package.py index 91eb6a2dcd..7db8f706b8 100644 --- a/var/spack/repos/builtin/packages/ffr/package.py +++ b/var/spack/repos/builtin/packages/ffr/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/fftw/package.py b/var/spack/repos/builtin/packages/fftw/package.py index 583a872096..2fdf1624ba 100644 --- a/var/spack/repos/builtin/packages/fftw/package.py +++ b/var/spack/repos/builtin/packages/fftw/package.py @@ -5,7 +5,9 @@ import os import os.path + import llnl.util.lang + from spack import * diff --git a/var/spack/repos/builtin/packages/figtree/package.py b/var/spack/repos/builtin/packages/figtree/package.py index 753fbc693c..bc10160c2b 100644 --- a/var/spack/repos/builtin/packages/figtree/package.py +++ b/var/spack/repos/builtin/packages/figtree/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Figtree(Package): """FigTree is designed as a graphical viewer of phylogenetic trees and diff --git a/var/spack/repos/builtin/packages/findutils/package.py b/var/spack/repos/builtin/packages/findutils/package.py index 8b72d63015..76e5a894ae 100644 --- a/var/spack/repos/builtin/packages/findutils/package.py +++ b/var/spack/repos/builtin/packages/findutils/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import re +from spack import * + class Findutils(AutotoolsPackage, GNUMirrorPackage): """The GNU Find Utilities are the basic directory searching diff --git a/var/spack/repos/builtin/packages/fj/package.py b/var/spack/repos/builtin/packages/fj/package.py index ee247bc00e..04d527fd23 100644 --- a/var/spack/repos/builtin/packages/fj/package.py +++ b/var/spack/repos/builtin/packages/fj/package.py @@ -5,6 +5,7 @@ import re import llnl.util.tty as tty + import spack.compiler import spack.util.executable diff --git a/var/spack/repos/builtin/packages/fjcontrib/package.py b/var/spack/repos/builtin/packages/fjcontrib/package.py index 822f32d45e..3bc78f346b 100644 --- a/var/spack/repos/builtin/packages/fjcontrib/package.py +++ b/var/spack/repos/builtin/packages/fjcontrib/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import inspect + from spack import * diff --git a/var/spack/repos/builtin/packages/fl/package.py b/var/spack/repos/builtin/packages/fl/package.py index 1c303ed506..b1e9948bd0 100644 --- a/var/spack/repos/builtin/packages/fl/package.py +++ b/var/spack/repos/builtin/packages/fl/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import platform +from spack import * + _versions = { '0.79.47': { 'Linux-x86_64': ('b8a4a74118c1a024313bf912261fbc016a53f2d15adb1226217f2a10a9f7ca9a', 'https://www.flxpert.hu/fl/fl_0.79.47-amd64-linux.tar.gz'), diff --git a/var/spack/repos/builtin/packages/flex/package.py b/var/spack/repos/builtin/packages/flex/package.py index 8f22c2821b..b81d5dee09 100644 --- a/var/spack/repos/builtin/packages/flex/package.py +++ b/var/spack/repos/builtin/packages/flex/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import re +from spack import * + class Flex(AutotoolsPackage): """Flex is a tool for generating scanners.""" diff --git a/var/spack/repos/builtin/packages/flux-core/package.py b/var/spack/repos/builtin/packages/flux-core/package.py index 18be1c6a96..2593b184ac 100644 --- a/var/spack/repos/builtin/packages/flux-core/package.py +++ b/var/spack/repos/builtin/packages/flux-core/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class FluxCore(AutotoolsPackage): """ A next-generation resource manager (pre-alpha) """ diff --git a/var/spack/repos/builtin/packages/flux-sched/package.py b/var/spack/repos/builtin/packages/flux-sched/package.py index f92eb90e99..9fa525cf6e 100644 --- a/var/spack/repos/builtin/packages/flux-sched/package.py +++ b/var/spack/repos/builtin/packages/flux-sched/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class FluxSched(AutotoolsPackage): """ A scheduler for flux-core (pre-alpha) """ diff --git a/var/spack/repos/builtin/packages/foam-extend/package.py b/var/spack/repos/builtin/packages/foam-extend/package.py index e8ba4e4700..4c01cb2589 100644 --- a/var/spack/repos/builtin/packages/foam-extend/package.py +++ b/var/spack/repos/builtin/packages/foam-extend/package.py @@ -30,16 +30,19 @@ # ############################################################################## import glob -import re import os +import re + +import llnl.util.tty as tty from spack import * +from spack.pkg.builtin.openfoam import ( + OpenfoamArch, + add_extra_files, + rewrite_environ_files, + write_environ, +) from spack.util.environment import EnvironmentModifications -from spack.pkg.builtin.openfoam import OpenfoamArch -from spack.pkg.builtin.openfoam import add_extra_files -from spack.pkg.builtin.openfoam import write_environ -from spack.pkg.builtin.openfoam import rewrite_environ_files -import llnl.util.tty as tty class FoamExtend(Package): diff --git a/var/spack/repos/builtin/packages/freeipmi/package.py b/var/spack/repos/builtin/packages/freeipmi/package.py index 4ec41832e9..1caa5b8dde 100644 --- a/var/spack/repos/builtin/packages/freeipmi/package.py +++ b/var/spack/repos/builtin/packages/freeipmi/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import llnl.util.tty as tty +from spack import * + class Freeipmi(AutotoolsPackage): """FreeIPMI provides in-band and out-of-band IPMI software based on the IPMI diff --git a/var/spack/repos/builtin/packages/fsl/package.py b/var/spack/repos/builtin/packages/fsl/package.py index 95c54b877d..2629a241bc 100644 --- a/var/spack/repos/builtin/packages/fsl/package.py +++ b/var/spack/repos/builtin/packages/fsl/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import os + from spack import * from spack.util.environment import EnvironmentModifications -import os class Fsl(Package, CudaPackage): diff --git a/var/spack/repos/builtin/packages/fujitsu-fftw/package.py b/var/spack/repos/builtin/packages/fujitsu-fftw/package.py index 6048159bd4..c4d5ef8223 100644 --- a/var/spack/repos/builtin/packages/fujitsu-fftw/package.py +++ b/var/spack/repos/builtin/packages/fujitsu-fftw/package.py @@ -4,8 +4,8 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * -from spack.pkg.builtin.fftw import FftwBase from spack.error import SpackError +from spack.pkg.builtin.fftw import FftwBase def target_check(spec): diff --git a/var/spack/repos/builtin/packages/fujitsu-mpi/package.py b/var/spack/repos/builtin/packages/fujitsu-mpi/package.py index 070036257b..f4869ca6c9 100644 --- a/var/spack/repos/builtin/packages/fujitsu-mpi/package.py +++ b/var/spack/repos/builtin/packages/fujitsu-mpi/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class FujitsuMpi(Package): """Fujitsu MPI implementation only for Fujitsu compiler.""" diff --git a/var/spack/repos/builtin/packages/gams/package.py b/var/spack/repos/builtin/packages/gams/package.py index 135a1a549b..e6025805e5 100644 --- a/var/spack/repos/builtin/packages/gams/package.py +++ b/var/spack/repos/builtin/packages/gams/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Gams(Package): """The General Algebraic Modeling System is a high-level modeling system diff --git a/var/spack/repos/builtin/packages/gapfiller/package.py b/var/spack/repos/builtin/packages/gapfiller/package.py index ffcd91ddc7..c613fc692c 100644 --- a/var/spack/repos/builtin/packages/gapfiller/package.py +++ b/var/spack/repos/builtin/packages/gapfiller/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import os import glob +import os + +from spack import * class Gapfiller(Package): diff --git a/var/spack/repos/builtin/packages/gasnet/package.py b/var/spack/repos/builtin/packages/gasnet/package.py index d76a104a35..0b7f9df506 100644 --- a/var/spack/repos/builtin/packages/gasnet/package.py +++ b/var/spack/repos/builtin/packages/gasnet/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Gasnet(Package): """GASNet is a language-independent, networking middleware layer that diff --git a/var/spack/repos/builtin/packages/gaussian-src/package.py b/var/spack/repos/builtin/packages/gaussian-src/package.py index f4a28dec52..2a8a0559ec 100644 --- a/var/spack/repos/builtin/packages/gaussian-src/package.py +++ b/var/spack/repos/builtin/packages/gaussian-src/package.py @@ -2,10 +2,12 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import llnl.util.tty as tty -import os import glob +import os + +import llnl.util.tty as tty + +from spack import * class GaussianSrc(Package): diff --git a/var/spack/repos/builtin/packages/gaussian-view/package.py b/var/spack/repos/builtin/packages/gaussian-view/package.py index 680ce8c51a..d690419aa8 100644 --- a/var/spack/repos/builtin/packages/gaussian-view/package.py +++ b/var/spack/repos/builtin/packages/gaussian-view/package.py @@ -4,10 +4,12 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) # ---------------------------------------------------------------------------- -from spack import * -import llnl.util.tty as tty import os +import llnl.util.tty as tty + +from spack import * + class GaussianView(Package): """GaussView 6 is the latest iteration of a graphical interface used with diff --git a/var/spack/repos/builtin/packages/gaussian/package.py b/var/spack/repos/builtin/packages/gaussian/package.py index b5c77ed811..68edee6a26 100644 --- a/var/spack/repos/builtin/packages/gaussian/package.py +++ b/var/spack/repos/builtin/packages/gaussian/package.py @@ -2,9 +2,10 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Gaussian(Package): """Gaussian is a computer program for computational chemistry""" diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index 6d9df39ce8..68073d58d6 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -9,6 +9,7 @@ import re import sys import llnl.util.tty as tty + import spack.architecture import spack.util.executable from spack.operating_systems.mac_os import macos_sdk_path, macos_version diff --git a/var/spack/repos/builtin/packages/gchp/package.py b/var/spack/repos/builtin/packages/gchp/package.py index b31c31211c..89e39591d1 100644 --- a/var/spack/repos/builtin/packages/gchp/package.py +++ b/var/spack/repos/builtin/packages/gchp/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import shutil +from spack import * + class Gchp(CMakePackage): """GEOS-Chem High Performance model of atmospheric chemistry""" diff --git a/var/spack/repos/builtin/packages/gdl/package.py b/var/spack/repos/builtin/packages/gdl/package.py index 5366a51ad5..02c10dbdd8 100644 --- a/var/spack/repos/builtin/packages/gdl/package.py +++ b/var/spack/repos/builtin/packages/gdl/package.py @@ -3,6 +3,7 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/geant4-data/package.py b/var/spack/repos/builtin/packages/geant4-data/package.py index e8a8aa0920..9275b3ac64 100644 --- a/var/spack/repos/builtin/packages/geant4-data/package.py +++ b/var/spack/repos/builtin/packages/geant4-data/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import os import glob +import os + +from spack import * class Geant4Data(BundlePackage): diff --git a/var/spack/repos/builtin/packages/genemark-et/package.py b/var/spack/repos/builtin/packages/genemark-et/package.py index 962b557ffb..4dbc3b0960 100644 --- a/var/spack/repos/builtin/packages/genemark-et/package.py +++ b/var/spack/repos/builtin/packages/genemark-et/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import os import glob +import os + +from spack import * class GenemarkEt(Package): diff --git a/var/spack/repos/builtin/packages/genomefinisher/package.py b/var/spack/repos/builtin/packages/genomefinisher/package.py index 97aa966b5c..2da9ea3ac3 100644 --- a/var/spack/repos/builtin/packages/genomefinisher/package.py +++ b/var/spack/repos/builtin/packages/genomefinisher/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Genomefinisher(Package): """GFinisher is an application tools for refinement and finalization of diff --git a/var/spack/repos/builtin/packages/ghostscript-fonts/package.py b/var/spack/repos/builtin/packages/ghostscript-fonts/package.py index 8a4d776272..fac683d2b1 100644 --- a/var/spack/repos/builtin/packages/ghostscript-fonts/package.py +++ b/var/spack/repos/builtin/packages/ghostscript-fonts/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob +from spack import * + class GhostscriptFonts(Package): """Ghostscript Fonts""" diff --git a/var/spack/repos/builtin/packages/ghostscript/package.py b/var/spack/repos/builtin/packages/ghostscript/package.py index 2cdd2e94d3..a75088c203 100644 --- a/var/spack/repos/builtin/packages/ghostscript/package.py +++ b/var/spack/repos/builtin/packages/ghostscript/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import shutil import re +import shutil + +from spack import * class Ghostscript(AutotoolsPackage): diff --git a/var/spack/repos/builtin/packages/ginkgo/package.py b/var/spack/repos/builtin/packages/ginkgo/package.py index 8cdbca4ff8..e62a94e471 100644 --- a/var/spack/repos/builtin/packages/ginkgo/package.py +++ b/var/spack/repos/builtin/packages/ginkgo/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Ginkgo(CMakePackage, CudaPackage, ROCmPackage): """High-performance linear algebra library for manycore systems, diff --git a/var/spack/repos/builtin/packages/git-lfs/package.py b/var/spack/repos/builtin/packages/git-lfs/package.py index 598813c65d..9e0a0a1d91 100644 --- a/var/spack/repos/builtin/packages/git-lfs/package.py +++ b/var/spack/repos/builtin/packages/git-lfs/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import re + from spack import * diff --git a/var/spack/repos/builtin/packages/git/package.py b/var/spack/repos/builtin/packages/git/package.py index d605791c44..afb4f537b0 100644 --- a/var/spack/repos/builtin/packages/git/package.py +++ b/var/spack/repos/builtin/packages/git/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -import sys -import re import os +import re +import sys + from spack import * diff --git a/var/spack/repos/builtin/packages/glib/package.py b/var/spack/repos/builtin/packages/glib/package.py index 1d92098e2b..20e04bf543 100644 --- a/var/spack/repos/builtin/packages/glib/package.py +++ b/var/spack/repos/builtin/packages/glib/package.py @@ -3,10 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import os.path +from spack import * + class Glib(Package): """GLib provides the core application building blocks for diff --git a/var/spack/repos/builtin/packages/global/package.py b/var/spack/repos/builtin/packages/global/package.py index e4b6b6476a..6f8ed60512 100644 --- a/var/spack/repos/builtin/packages/global/package.py +++ b/var/spack/repos/builtin/packages/global/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Global(Package): """ The Gnu Global tagging system """ diff --git a/var/spack/repos/builtin/packages/gnuplot/package.py b/var/spack/repos/builtin/packages/gnuplot/package.py index 72e94ea7a0..9dfd9fc9bb 100644 --- a/var/spack/repos/builtin/packages/gnuplot/package.py +++ b/var/spack/repos/builtin/packages/gnuplot/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Gnuplot(AutotoolsPackage): """Gnuplot is a portable command-line driven graphing utility for Linux, diff --git a/var/spack/repos/builtin/packages/go/package.py b/var/spack/repos/builtin/packages/go/package.py index efe94e03bf..9466dfe32f 100644 --- a/var/spack/repos/builtin/packages/go/package.py +++ b/var/spack/repos/builtin/packages/go/package.py @@ -6,7 +6,9 @@ import os import platform import re + import llnl.util.tty as tty + from spack import * # - vanilla CentOS 7, and possibly other systems, fail a test: diff --git a/var/spack/repos/builtin/packages/gobject-introspection/package.py b/var/spack/repos/builtin/packages/gobject-introspection/package.py index 98d0774b57..787b702f31 100644 --- a/var/spack/repos/builtin/packages/gobject-introspection/package.py +++ b/var/spack/repos/builtin/packages/gobject-introspection/package.py @@ -3,8 +3,8 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import spack.hooks.sbang as sbang +from spack import * class GobjectIntrospection(Package): diff --git a/var/spack/repos/builtin/packages/grackle/package.py b/var/spack/repos/builtin/packages/grackle/package.py index e232b2e7fe..2a5bdc7c33 100644 --- a/var/spack/repos/builtin/packages/grackle/package.py +++ b/var/spack/repos/builtin/packages/grackle/package.py @@ -3,8 +3,8 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -import os.path import inspect +import os.path from spack import * diff --git a/var/spack/repos/builtin/packages/graphviz/package.py b/var/spack/repos/builtin/packages/graphviz/package.py index 1473729994..7274f79ad1 100644 --- a/var/spack/repos/builtin/packages/graphviz/package.py +++ b/var/spack/repos/builtin/packages/graphviz/package.py @@ -3,12 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -from spack.operating_systems.mac_os import macos_version - import os import sys +from spack import * +from spack.operating_systems.mac_os import macos_version MACOS_VERSION = macos_version() if sys.platform == 'darwin' else None diff --git a/var/spack/repos/builtin/packages/groff/package.py b/var/spack/repos/builtin/packages/groff/package.py index 1106fd6916..3a4afac7d1 100644 --- a/var/spack/repos/builtin/packages/groff/package.py +++ b/var/spack/repos/builtin/packages/groff/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import re +from spack import * + class Groff(AutotoolsPackage, GNUMirrorPackage): """Groff (GNU troff) is a typesetting system that reads diff --git a/var/spack/repos/builtin/packages/guidance/package.py b/var/spack/repos/builtin/packages/guidance/package.py index 7661740a3e..638050bbc6 100644 --- a/var/spack/repos/builtin/packages/guidance/package.py +++ b/var/spack/repos/builtin/packages/guidance/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob +from spack import * + class Guidance(MakefilePackage): """Guidance: Accurate detection of unreliable alignment regions accounting diff --git a/var/spack/repos/builtin/packages/gurobi/package.py b/var/spack/repos/builtin/packages/gurobi/package.py index 0f88acd00d..287ff210da 100644 --- a/var/spack/repos/builtin/packages/gurobi/package.py +++ b/var/spack/repos/builtin/packages/gurobi/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Gurobi(Package): """The Gurobi Optimizer was designed from the ground up to be the fastest, diff --git a/var/spack/repos/builtin/packages/haploview/package.py b/var/spack/repos/builtin/packages/haploview/package.py index c10e6beafb..0b7b9a2fbe 100644 --- a/var/spack/repos/builtin/packages/haploview/package.py +++ b/var/spack/repos/builtin/packages/haploview/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Haploview(Package): """Haploview is designed to simplify and expedite the process of haplotype diff --git a/var/spack/repos/builtin/packages/hdf-eos2/package.py b/var/spack/repos/builtin/packages/hdf-eos2/package.py index 4c7e060dc4..b1b708ef6f 100644 --- a/var/spack/repos/builtin/packages/hdf-eos2/package.py +++ b/var/spack/repos/builtin/packages/hdf-eos2/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class HdfEos2(AutotoolsPackage): """HDF-EOS (Hierarchical Data Format - Earth Observing System) is a diff --git a/var/spack/repos/builtin/packages/hdf-eos5/package.py b/var/spack/repos/builtin/packages/hdf-eos5/package.py index 4e10b79615..6d20fce1a0 100644 --- a/var/spack/repos/builtin/packages/hdf-eos5/package.py +++ b/var/spack/repos/builtin/packages/hdf-eos5/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class HdfEos5(AutotoolsPackage): """HDF-EOS (Hierarchical Data Format - Earth Observing System) is a diff --git a/var/spack/repos/builtin/packages/hdf/package.py b/var/spack/repos/builtin/packages/hdf/package.py index da812fb6b4..ed32c62708 100644 --- a/var/spack/repos/builtin/packages/hdf/package.py +++ b/var/spack/repos/builtin/packages/hdf/package.py @@ -3,8 +3,8 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -import sys import os +import sys class Hdf(AutotoolsPackage): diff --git a/var/spack/repos/builtin/packages/hdfview/package.py b/var/spack/repos/builtin/packages/hdfview/package.py index b329610347..5d8511a727 100644 --- a/var/spack/repos/builtin/packages/hdfview/package.py +++ b/var/spack/repos/builtin/packages/hdfview/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Hdfview(Package): """HDFView is a visual tool written in Java for browsing diff --git a/var/spack/repos/builtin/packages/herwig3/package.py b/var/spack/repos/builtin/packages/herwig3/package.py index cc8cafb5ac..b7d74012fd 100644 --- a/var/spack/repos/builtin/packages/herwig3/package.py +++ b/var/spack/repos/builtin/packages/herwig3/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import shutil +from spack import * + class Herwig3(AutotoolsPackage): """Herwig is a multi-purpose particle physics event generator.""" diff --git a/var/spack/repos/builtin/packages/hip/package.py b/var/spack/repos/builtin/packages/hip/package.py index f02ed2cf17..0f0568bdca 100644 --- a/var/spack/repos/builtin/packages/hip/package.py +++ b/var/spack/repos/builtin/packages/hip/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack.util.prefix import Prefix -from spack.hooks.sbang import filter_shebang import os +from spack.hooks.sbang import filter_shebang +from spack.util.prefix import Prefix + class Hip(CMakePackage): """HIP is a C++ Runtime API and Kernel Language that allows developers to diff --git a/var/spack/repos/builtin/packages/hipsycl/package.py b/var/spack/repos/builtin/packages/hipsycl/package.py index 63e0593661..c91d220bf2 100644 --- a/var/spack/repos/builtin/packages/hipsycl/package.py +++ b/var/spack/repos/builtin/packages/hipsycl/package.py @@ -3,11 +3,13 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -from os import path import json +from os import path + from llnl.util import filesystem +from spack import * + class Hipsycl(CMakePackage): """hipSYCL is an implementation of the SYCL standard programming model diff --git a/var/spack/repos/builtin/packages/homer/package.py b/var/spack/repos/builtin/packages/homer/package.py index 8000558e31..12ab1f9395 100644 --- a/var/spack/repos/builtin/packages/homer/package.py +++ b/var/spack/repos/builtin/packages/homer/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os import symlink +from spack import * + class Homer(Package): """Software for motif discovery and next generation sequencing analysis""" diff --git a/var/spack/repos/builtin/packages/hoomd-blue/package.py b/var/spack/repos/builtin/packages/hoomd-blue/package.py index 1d6a01b4cd..98c7c0282d 100644 --- a/var/spack/repos/builtin/packages/hoomd-blue/package.py +++ b/var/spack/repos/builtin/packages/hoomd-blue/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class HoomdBlue(CMakePackage): """HOOMD-blue is a general-purpose particle simulation toolkit. It scales diff --git a/var/spack/repos/builtin/packages/hpcc/package.py b/var/spack/repos/builtin/packages/hpcc/package.py index 9069ce9036..792cb29a09 100644 --- a/var/spack/repos/builtin/packages/hpcc/package.py +++ b/var/spack/repos/builtin/packages/hpcc/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os -import re import platform +import re + +from spack import * class Hpcc(MakefilePackage): diff --git a/var/spack/repos/builtin/packages/hpcg/package.py b/var/spack/repos/builtin/packages/hpcg/package.py index ff03bbf722..49fdaebe27 100644 --- a/var/spack/repos/builtin/packages/hpcg/package.py +++ b/var/spack/repos/builtin/packages/hpcg/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import platform +from spack import * + class Hpcg(AutotoolsPackage): """HPCG is a software package that performs a fixed number of multigrid diff --git a/var/spack/repos/builtin/packages/hpcviewer/package.py b/var/spack/repos/builtin/packages/hpcviewer/package.py index 47df86ba59..bed41bdc16 100644 --- a/var/spack/repos/builtin/packages/hpcviewer/package.py +++ b/var/spack/repos/builtin/packages/hpcviewer/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path import platform +from spack import * + # The viewer and trace viewer tar files and sha256sum depend on the # version and machine type. Starting with 2019.08, the name of the diff --git a/var/spack/repos/builtin/packages/hpl/package.py b/var/spack/repos/builtin/packages/hpl/package.py index 001236181a..5d914140a9 100644 --- a/var/spack/repos/builtin/packages/hpl/package.py +++ b/var/spack/repos/builtin/packages/hpl/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import platform +from spack import * + class Hpl(AutotoolsPackage): """HPL is a software package that solves a (random) dense linear system diff --git a/var/spack/repos/builtin/packages/hpx/package.py b/var/spack/repos/builtin/packages/hpx/package.py index e703d80a62..a2230c605c 100644 --- a/var/spack/repos/builtin/packages/hpx/package.py +++ b/var/spack/repos/builtin/packages/hpx/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Hpx(CMakePackage, CudaPackage): """C++ runtime system for parallel and distributed applications.""" diff --git a/var/spack/repos/builtin/packages/http-get/package.py b/var/spack/repos/builtin/packages/http-get/package.py index 897f6f5fc1..2b461b20b7 100644 --- a/var/spack/repos/builtin/packages/http-get/package.py +++ b/var/spack/repos/builtin/packages/http-get/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import datetime +from spack import * + class HttpGet(MakefilePackage): """Http_get fetches an HTTP URL and dumps the contents to stdout. diff --git a/var/spack/repos/builtin/packages/http-load/package.py b/var/spack/repos/builtin/packages/http-load/package.py index 3be6189dde..0b6a88174d 100644 --- a/var/spack/repos/builtin/packages/http-load/package.py +++ b/var/spack/repos/builtin/packages/http-load/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import datetime +from spack import * + class HttpLoad(MakefilePackage): """http_load - multiprocessing http test client""" diff --git a/var/spack/repos/builtin/packages/http-ping/package.py b/var/spack/repos/builtin/packages/http-ping/package.py index c7e21361bb..b32ea25b47 100644 --- a/var/spack/repos/builtin/packages/http-ping/package.py +++ b/var/spack/repos/builtin/packages/http-ping/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import datetime +from spack import * + class HttpPing(MakefilePackage): """http_ping is like the regular ping command, except that it sends diff --git a/var/spack/repos/builtin/packages/http-post/package.py b/var/spack/repos/builtin/packages/http-post/package.py index 8f03a1db96..a05f04af43 100644 --- a/var/spack/repos/builtin/packages/http-post/package.py +++ b/var/spack/repos/builtin/packages/http-post/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import datetime +from spack import * + class HttpPost(MakefilePackage): """Http_post does a POST operation to an HTTP URL and dumps the results diff --git a/var/spack/repos/builtin/packages/hub/package.py b/var/spack/repos/builtin/packages/hub/package.py index a71bb5eb69..bee84f3f68 100644 --- a/var/spack/repos/builtin/packages/hub/package.py +++ b/var/spack/repos/builtin/packages/hub/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Hub(Package): """The github git wrapper""" diff --git a/var/spack/repos/builtin/packages/hugo/package.py b/var/spack/repos/builtin/packages/hugo/package.py index 537a180c0f..ee697a33fd 100644 --- a/var/spack/repos/builtin/packages/hugo/package.py +++ b/var/spack/repos/builtin/packages/hugo/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import re + from spack import * from spack.util.executable import which diff --git a/var/spack/repos/builtin/packages/hydrogen/package.py b/var/spack/repos/builtin/packages/hydrogen/package.py index 5d7460dfca..7fb8f1b5f4 100644 --- a/var/spack/repos/builtin/packages/hydrogen/package.py +++ b/var/spack/repos/builtin/packages/hydrogen/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/hyperscan/package.py b/var/spack/repos/builtin/packages/hyperscan/package.py index 874ce10fdc..723bc006bf 100644 --- a/var/spack/repos/builtin/packages/hyperscan/package.py +++ b/var/spack/repos/builtin/packages/hyperscan/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import platform +from spack import * + _versions = { 'v5.2.1': { 'Linux-aarch64': ('d2ac1669154ec27b794b64d026ad09caecee6e5e17fd35107595a7517711d2b9', 'https://github.com/kunpengcompute/hyperscan/archive/v5.2.1.aarch64.tar.gz'), diff --git a/var/spack/repos/builtin/packages/hypre/package.py b/var/spack/repos/builtin/packages/hypre/package.py index 3b8c6cd3c1..3986bd194f 100644 --- a/var/spack/repos/builtin/packages/hypre/package.py +++ b/var/spack/repos/builtin/packages/hypre/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import sys +from spack import * + class Hypre(Package, CudaPackage): """Hypre is a library of high performance preconditioners that diff --git a/var/spack/repos/builtin/packages/ibm-java/package.py b/var/spack/repos/builtin/packages/ibm-java/package.py index 4b3dc2ae9b..5beca995dd 100644 --- a/var/spack/repos/builtin/packages/ibm-java/package.py +++ b/var/spack/repos/builtin/packages/ibm-java/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import platform import os +import platform + +from spack import * class IbmJava(Package): diff --git a/var/spack/repos/builtin/packages/icedtea/package.py b/var/spack/repos/builtin/packages/icedtea/package.py index 01b919e6f9..916be5eabc 100644 --- a/var/spack/repos/builtin/packages/icedtea/package.py +++ b/var/spack/repos/builtin/packages/icedtea/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Icedtea(AutotoolsPackage): """The IcedTea project provides a harness to build the source code from diff --git a/var/spack/repos/builtin/packages/idl/package.py b/var/spack/repos/builtin/packages/idl/package.py index 964824ab96..55b68342be 100644 --- a/var/spack/repos/builtin/packages/idl/package.py +++ b/var/spack/repos/builtin/packages/idl/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Idl(Package): """IDL Software: Interactive Data Visulation. diff --git a/var/spack/repos/builtin/packages/igvtools/package.py b/var/spack/repos/builtin/packages/igvtools/package.py index 2006b7f63d..a60257625d 100644 --- a/var/spack/repos/builtin/packages/igvtools/package.py +++ b/var/spack/repos/builtin/packages/igvtools/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Igvtools(Package): """IGVTools suite of command-line utilities for preprocessing data diff --git a/var/spack/repos/builtin/packages/influxdb/package.py b/var/spack/repos/builtin/packages/influxdb/package.py index f4968ccd5a..d4f236b7ca 100644 --- a/var/spack/repos/builtin/packages/influxdb/package.py +++ b/var/spack/repos/builtin/packages/influxdb/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import platform +from spack import * + _versions = { '1.8.1': { 'Linux_amd64': ('64e60e438ac8a8fdacc6623f238c40bffae31c795642146d70eb316533d3d70f', 'https://dl.influxdata.com/influxdb/releases/influxdb-1.8.1-static_linux_amd64.tar.gz'), diff --git a/var/spack/repos/builtin/packages/intel-gpu-tools/package.py b/var/spack/repos/builtin/packages/intel-gpu-tools/package.py index 93087761d1..85e852e5b3 100644 --- a/var/spack/repos/builtin/packages/intel-gpu-tools/package.py +++ b/var/spack/repos/builtin/packages/intel-gpu-tools/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class IntelGpuTools(AutotoolsPackage, XorgPackage): """Intel GPU Tools is a collection of tools for development and testing of diff --git a/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py b/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py index b0b71b248e..4a013c2b2f 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py @@ -7,7 +7,6 @@ import platform import subprocess - from spack import * diff --git a/var/spack/repos/builtin/packages/intel-pin/package.py b/var/spack/repos/builtin/packages/intel-pin/package.py index f3fa547455..17fbd52d79 100644 --- a/var/spack/repos/builtin/packages/intel-pin/package.py +++ b/var/spack/repos/builtin/packages/intel-pin/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os import symlink +from spack import * + class IntelPin(Package): """Intel Pin is a dynamic binary instrumentation framework for the IA-32, diff --git a/var/spack/repos/builtin/packages/intel-tbb/package.py b/var/spack/repos/builtin/packages/intel-tbb/package.py index aba173496c..50c674543d 100644 --- a/var/spack/repos/builtin/packages/intel-tbb/package.py +++ b/var/spack/repos/builtin/packages/intel-tbb/package.py @@ -3,12 +3,13 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import inspect import platform import sys +from spack import * + class IntelTbb(Package): """Widely used C++ template library for task parallelism. diff --git a/var/spack/repos/builtin/packages/iozone/package.py b/var/spack/repos/builtin/packages/iozone/package.py index a11fef0265..57fc601c84 100644 --- a/var/spack/repos/builtin/packages/iozone/package.py +++ b/var/spack/repos/builtin/packages/iozone/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Iozone(MakefilePackage): """IOzone is a filesystem benchmark tool. The benchmark generates and diff --git a/var/spack/repos/builtin/packages/ispc/package.py b/var/spack/repos/builtin/packages/ispc/package.py index 4ec849da61..160eb8be23 100644 --- a/var/spack/repos/builtin/packages/ispc/package.py +++ b/var/spack/repos/builtin/packages/ispc/package.py @@ -8,9 +8,10 @@ # glibc-devel.i686 (CentoOS) or libc6-dev-i386 and g++-multilib (Ubuntu) -from spack import * import re +from spack import * + class Ispc(CMakePackage): """Intel Implicit SPMD Program Compiler diff --git a/var/spack/repos/builtin/packages/istio/package.py b/var/spack/repos/builtin/packages/istio/package.py index 9cf8ce6d99..da0d92de9f 100644 --- a/var/spack/repos/builtin/packages/istio/package.py +++ b/var/spack/repos/builtin/packages/istio/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import platform +from spack import * + _versions = { '1.6.7': { 'Linux-aarch64': '22b0f94efafe9f221c00f4599d9a04e473554515e5fdf8d119fd27e27e36c89f', diff --git a/var/spack/repos/builtin/packages/itensor/package.py b/var/spack/repos/builtin/packages/itensor/package.py index 8f6157a11b..8a11aa4658 100644 --- a/var/spack/repos/builtin/packages/itensor/package.py +++ b/var/spack/repos/builtin/packages/itensor/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Itensor(MakefilePackage): """ITensor -Intelligent Tensor- is a library for diff --git a/var/spack/repos/builtin/packages/jdk/package.py b/var/spack/repos/builtin/packages/jdk/package.py index 218fe048e1..a2bdafa5f8 100644 --- a/var/spack/repos/builtin/packages/jdk/package.py +++ b/var/spack/repos/builtin/packages/jdk/package.py @@ -7,6 +7,7 @@ import os import re import llnl.util.tty as tty + from spack.util.prefix import Prefix diff --git a/var/spack/repos/builtin/packages/jmol/package.py b/var/spack/repos/builtin/packages/jmol/package.py index 25b02645d1..ff8d47ea5b 100644 --- a/var/spack/repos/builtin/packages/jmol/package.py +++ b/var/spack/repos/builtin/packages/jmol/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Jmol(Package): """Jmol: an open-source Java viewer for chemical structures in 3D diff --git a/var/spack/repos/builtin/packages/jq/package.py b/var/spack/repos/builtin/packages/jq/package.py index a90508ffb6..613ed97c20 100644 --- a/var/spack/repos/builtin/packages/jq/package.py +++ b/var/spack/repos/builtin/packages/jq/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Jq(AutotoolsPackage): """jq is a lightweight and flexible command-line JSON processor.""" diff --git a/var/spack/repos/builtin/packages/julia/package.py b/var/spack/repos/builtin/packages/julia/package.py index 9599ecf006..e02f1f9ece 100644 --- a/var/spack/repos/builtin/packages/julia/package.py +++ b/var/spack/repos/builtin/packages/julia/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Julia(Package): """The Julia Language: A fresh approach to technical computing""" diff --git a/var/spack/repos/builtin/packages/k8/package.py b/var/spack/repos/builtin/packages/k8/package.py index 3db51d5e79..41d111e1da 100644 --- a/var/spack/repos/builtin/packages/k8/package.py +++ b/var/spack/repos/builtin/packages/k8/package.py @@ -3,8 +3,9 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -import sys import os +import sys + from spack import * diff --git a/var/spack/repos/builtin/packages/kahip/package.py b/var/spack/repos/builtin/packages/kahip/package.py index 42b59db501..74e3fe0317 100644 --- a/var/spack/repos/builtin/packages/kahip/package.py +++ b/var/spack/repos/builtin/packages/kahip/package.py @@ -3,11 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import os import re +from spack import * + class Kahip(SConsPackage): """KaHIP - Karlsruhe High Quality Partitioning - is a family of graph diff --git a/var/spack/repos/builtin/packages/kaldi/package.py b/var/spack/repos/builtin/packages/kaldi/package.py index 0b9cdd3c12..b01dd986e0 100644 --- a/var/spack/repos/builtin/packages/kaldi/package.py +++ b/var/spack/repos/builtin/packages/kaldi/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -from os.path import join -from fnmatch import fnmatch import os +from fnmatch import fnmatch +from os.path import join + +from spack import * class Kaldi(Package): # Does not use Autotools diff --git a/var/spack/repos/builtin/packages/kitty/package.py b/var/spack/repos/builtin/packages/kitty/package.py index cc347541ae..7086f8cd47 100644 --- a/var/spack/repos/builtin/packages/kitty/package.py +++ b/var/spack/repos/builtin/packages/kitty/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Kitty(PythonPackage): """ diff --git a/var/spack/repos/builtin/packages/kokkos-nvcc-wrapper/package.py b/var/spack/repos/builtin/packages/kokkos-nvcc-wrapper/package.py index c496455899..869fd41dc9 100644 --- a/var/spack/repos/builtin/packages/kokkos-nvcc-wrapper/package.py +++ b/var/spack/repos/builtin/packages/kokkos-nvcc-wrapper/package.py @@ -2,9 +2,10 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class KokkosNvccWrapper(Package): """The NVCC wrapper provides a wrapper around NVCC to make it a diff --git a/var/spack/repos/builtin/packages/kokkos/package.py b/var/spack/repos/builtin/packages/kokkos/package.py index 29bb682a7c..36abe73ffd 100644 --- a/var/spack/repos/builtin/packages/kokkos/package.py +++ b/var/spack/repos/builtin/packages/kokkos/package.py @@ -2,9 +2,10 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Kokkos(CMakePackage, CudaPackage, ROCmPackage): """Kokkos implements a programming model in C++ for writing performance diff --git a/var/spack/repos/builtin/packages/kraken/package.py b/var/spack/repos/builtin/packages/kraken/package.py index 9c78563b19..5401efad7b 100644 --- a/var/spack/repos/builtin/packages/kraken/package.py +++ b/var/spack/repos/builtin/packages/kraken/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import os +from spack import * + class Kraken(Package): """Kraken is a system for assigning taxonomic labels to short DNA diff --git a/var/spack/repos/builtin/packages/kraken2/package.py b/var/spack/repos/builtin/packages/kraken2/package.py index 95463042aa..6d9d4fdadb 100644 --- a/var/spack/repos/builtin/packages/kraken2/package.py +++ b/var/spack/repos/builtin/packages/kraken2/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import os +from spack import * + class Kraken2(Package): """Kraken2 is a system for assigning taxonomic labels to short DNA diff --git a/var/spack/repos/builtin/packages/lammps/package.py b/var/spack/repos/builtin/packages/lammps/package.py index d3a0ee2715..582e619483 100644 --- a/var/spack/repos/builtin/packages/lammps/package.py +++ b/var/spack/repos/builtin/packages/lammps/package.py @@ -2,9 +2,10 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import datetime as dt +from spack import * + class Lammps(CMakePackage, CudaPackage): """LAMMPS stands for Large-scale Atomic/Molecular Massively diff --git a/var/spack/repos/builtin/packages/lapackpp/package.py b/var/spack/repos/builtin/packages/lapackpp/package.py index 155ee379ab..72f7722479 100644 --- a/var/spack/repos/builtin/packages/lapackpp/package.py +++ b/var/spack/repos/builtin/packages/lapackpp/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + # Each LAPACK++ version requires a specific BLAS++ version _versions = [ # LAPACK++, BLAS++ diff --git a/var/spack/repos/builtin/packages/lazyten/package.py b/var/spack/repos/builtin/packages/lazyten/package.py index 00e6a0be39..86fc12ab7e 100644 --- a/var/spack/repos/builtin/packages/lazyten/package.py +++ b/var/spack/repos/builtin/packages/lazyten/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Lazyten(CMakePackage): """Lightweight linear algebra library based on lazy matrices""" diff --git a/var/spack/repos/builtin/packages/lbann/package.py b/var/spack/repos/builtin/packages/lbann/package.py index c1a05bae26..772b117a1d 100644 --- a/var/spack/repos/builtin/packages/lbann/package.py +++ b/var/spack/repos/builtin/packages/lbann/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/lcals/package.py b/var/spack/repos/builtin/packages/lcals/package.py index 89eab5b2ed..d51621289e 100644 --- a/var/spack/repos/builtin/packages/lcals/package.py +++ b/var/spack/repos/builtin/packages/lcals/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import platform +from spack import * + class Lcals(MakefilePackage): """LCALS ("Livermore Compiler Analysis Loop Suite") is a collection of loop diff --git a/var/spack/repos/builtin/packages/legion/package.py b/var/spack/repos/builtin/packages/legion/package.py index 612855fbeb..21e16a1ac7 100644 --- a/var/spack/repos/builtin/packages/legion/package.py +++ b/var/spack/repos/builtin/packages/legion/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Legion(CMakePackage): """Legion is a data-centric parallel programming system for writing diff --git a/var/spack/repos/builtin/packages/libdwarf/package.py b/var/spack/repos/builtin/packages/libdwarf/package.py index 71e4787c95..87ed1b62c5 100644 --- a/var/spack/repos/builtin/packages/libdwarf/package.py +++ b/var/spack/repos/builtin/packages/libdwarf/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import sys import os +import sys + +from spack import * # Only build certain parts of dwarf because the other ones break. dwarf_dirs = ['libdwarf', 'dwarfdump2'] diff --git a/var/spack/repos/builtin/packages/libfuse/package.py b/var/spack/repos/builtin/packages/libfuse/package.py index 369bd316dd..a24244274b 100644 --- a/var/spack/repos/builtin/packages/libfuse/package.py +++ b/var/spack/repos/builtin/packages/libfuse/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import re +from spack import * + class Libfuse(MesonPackage): """The reference implementation of the Linux FUSE (Filesystem in diff --git a/var/spack/repos/builtin/packages/libharu/package.py b/var/spack/repos/builtin/packages/libharu/package.py index 7a61b516b5..7e3b370200 100644 --- a/var/spack/repos/builtin/packages/libharu/package.py +++ b/var/spack/repos/builtin/packages/libharu/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Libharu(AutotoolsPackage): """libharu - free PDF library. diff --git a/var/spack/repos/builtin/packages/libiberty/package.py b/var/spack/repos/builtin/packages/libiberty/package.py index e22451d3a8..48417b6a24 100644 --- a/var/spack/repos/builtin/packages/libiberty/package.py +++ b/var/spack/repos/builtin/packages/libiberty/package.py @@ -5,12 +5,12 @@ from spack import * - # Libiberty has two homes: binutils and gcc. This package uses the # binutils tarfile but only builds the libiberty subdirectory. This # is useful for other packages that want the demangling functions # without the rest of binutils. + class Libiberty(AutotoolsPackage, GNUMirrorPackage): """The libiberty.a library from GNU binutils. Libiberty provides demangling and support functions for the GNU toolchain.""" diff --git a/var/spack/repos/builtin/packages/libid3tag/package.py b/var/spack/repos/builtin/packages/libid3tag/package.py index 67d02284c0..41461f853a 100644 --- a/var/spack/repos/builtin/packages/libid3tag/package.py +++ b/var/spack/repos/builtin/packages/libid3tag/package.py @@ -2,10 +2,10 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import os +from spack import * + class Libid3tag(AutotoolsPackage): """library for id3 tagging""" diff --git a/var/spack/repos/builtin/packages/libint/package.py b/var/spack/repos/builtin/packages/libint/package.py index 4d733635d7..854849ac33 100644 --- a/var/spack/repos/builtin/packages/libint/package.py +++ b/var/spack/repos/builtin/packages/libint/package.py @@ -4,8 +4,8 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os -from spack import * +from spack import * TUNE_VARIANTS = ( 'none', diff --git a/var/spack/repos/builtin/packages/libpeas/package.py b/var/spack/repos/builtin/packages/libpeas/package.py index a2c89a740e..298abade3f 100644 --- a/var/spack/repos/builtin/packages/libpeas/package.py +++ b/var/spack/repos/builtin/packages/libpeas/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Libpeas(AutotoolsPackage): """libpeas is a gobject-based plugins engine, and is targeted at diff --git a/var/spack/repos/builtin/packages/libsodium/package.py b/var/spack/repos/builtin/packages/libsodium/package.py index 714822fd55..5e32b6a757 100644 --- a/var/spack/repos/builtin/packages/libsodium/package.py +++ b/var/spack/repos/builtin/packages/libsodium/package.py @@ -3,10 +3,12 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import llnl.util.tty as tty import os +import llnl.util.tty as tty + +from spack import * + class Libsodium(AutotoolsPackage): """Sodium is a modern, easy-to-use software library for encryption, diff --git a/var/spack/repos/builtin/packages/libspatialite/package.py b/var/spack/repos/builtin/packages/libspatialite/package.py index 4a26515272..36c5b73733 100644 --- a/var/spack/repos/builtin/packages/libspatialite/package.py +++ b/var/spack/repos/builtin/packages/libspatialite/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/libxsmm/package.py b/var/spack/repos/builtin/packages/libxsmm/package.py index 7648f0f5c5..d34f82e2a7 100644 --- a/var/spack/repos/builtin/packages/libxsmm/package.py +++ b/var/spack/repos/builtin/packages/libxsmm/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os from glob import glob +from spack import * + class Libxsmm(MakefilePackage): """Library targeting Intel Architecture diff --git a/var/spack/repos/builtin/packages/libyogrt/package.py b/var/spack/repos/builtin/packages/libyogrt/package.py index 38138aee3a..b9deccd7a7 100644 --- a/var/spack/repos/builtin/packages/libyogrt/package.py +++ b/var/spack/repos/builtin/packages/libyogrt/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Libyogrt(AutotoolsPackage): """Your One Get Remaining Time Library.""" diff --git a/var/spack/repos/builtin/packages/liggghts/package.py b/var/spack/repos/builtin/packages/liggghts/package.py index cfd8bfd3ed..ec3c31ff62 100644 --- a/var/spack/repos/builtin/packages/liggghts/package.py +++ b/var/spack/repos/builtin/packages/liggghts/package.py @@ -3,9 +3,8 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from glob import glob - import os +from glob import glob from spack import * diff --git a/var/spack/repos/builtin/packages/likwid/package.py b/var/spack/repos/builtin/packages/likwid/package.py index 03ee1bb393..95117f67b1 100644 --- a/var/spack/repos/builtin/packages/likwid/package.py +++ b/var/spack/repos/builtin/packages/likwid/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import os +from spack import * + class Likwid(Package): """Likwid is a simple to install and use toolsuite of command line diff --git a/var/spack/repos/builtin/packages/llvm-amdgpu/package.py b/var/spack/repos/builtin/packages/llvm-amdgpu/package.py index 53482e2fc3..507c3f7569 100644 --- a/var/spack/repos/builtin/packages/llvm-amdgpu/package.py +++ b/var/spack/repos/builtin/packages/llvm-amdgpu/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class LlvmAmdgpu(CMakePackage): """Toolkit for the construction of highly optimized compilers, diff --git a/var/spack/repos/builtin/packages/llvm-doe/package.py b/var/spack/repos/builtin/packages/llvm-doe/package.py index 23523616a2..a357edd5f8 100644 --- a/var/spack/repos/builtin/packages/llvm-doe/package.py +++ b/var/spack/repos/builtin/packages/llvm-doe/package.py @@ -7,6 +7,7 @@ import re import sys import llnl.util.tty as tty + import spack.util.executable diff --git a/var/spack/repos/builtin/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py index 7cc9dcf513..96245b2be7 100644 --- a/var/spack/repos/builtin/packages/llvm/package.py +++ b/var/spack/repos/builtin/packages/llvm/package.py @@ -7,6 +7,7 @@ import re import sys import llnl.util.tty as tty + import spack.util.executable diff --git a/var/spack/repos/builtin/packages/ltr-retriever/package.py b/var/spack/repos/builtin/packages/ltr-retriever/package.py index 885ca02336..a914008a51 100644 --- a/var/spack/repos/builtin/packages/ltr-retriever/package.py +++ b/var/spack/repos/builtin/packages/ltr-retriever/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os import symlink +from spack import * + class LtrRetriever(Package): """LTR_retriever is a highly accurate and sensitive program for diff --git a/var/spack/repos/builtin/packages/lua-bitlib/package.py b/var/spack/repos/builtin/packages/lua-bitlib/package.py index a856252c15..3c31271fda 100644 --- a/var/spack/repos/builtin/packages/lua-bitlib/package.py +++ b/var/spack/repos/builtin/packages/lua-bitlib/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class LuaBitlib(Package): """Lua-jit-like bitwise operations for lua""" diff --git a/var/spack/repos/builtin/packages/lua-luajit/package.py b/var/spack/repos/builtin/packages/lua-luajit/package.py index 3e791e6683..feab2028a6 100644 --- a/var/spack/repos/builtin/packages/lua-luajit/package.py +++ b/var/spack/repos/builtin/packages/lua-luajit/package.py @@ -5,6 +5,7 @@ import glob import os + from spack import * diff --git a/var/spack/repos/builtin/packages/lua-luaposix/package.py b/var/spack/repos/builtin/packages/lua-luaposix/package.py index 5fa892ea19..12a465a11b 100644 --- a/var/spack/repos/builtin/packages/lua-luaposix/package.py +++ b/var/spack/repos/builtin/packages/lua-luaposix/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob +from spack import * + class LuaLuaposix(Package): """Lua posix bindings, including ncurses""" diff --git a/var/spack/repos/builtin/packages/lua/package.py b/var/spack/repos/builtin/packages/lua/package.py index 93d8d15649..3290a6fe97 100644 --- a/var/spack/repos/builtin/packages/lua/package.py +++ b/var/spack/repos/builtin/packages/lua/package.py @@ -3,9 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import os + from llnl.util.filesystem import join_path + from spack import * -import os class Lua(Package): diff --git a/var/spack/repos/builtin/packages/lustre/package.py b/var/spack/repos/builtin/packages/lustre/package.py index d6e4530dfc..c601798597 100644 --- a/var/spack/repos/builtin/packages/lustre/package.py +++ b/var/spack/repos/builtin/packages/lustre/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import re +from spack import * + class Lustre(Package): """Lustre is a type of parallel distributed file system, diff --git a/var/spack/repos/builtin/packages/lvarray/package.py b/var/spack/repos/builtin/packages/lvarray/package.py index 1f2acbfd20..c49e20589b 100644 --- a/var/spack/repos/builtin/packages/lvarray/package.py +++ b/var/spack/repos/builtin/packages/lvarray/package.py @@ -3,15 +3,14 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import warnings - -import socket import os - +import socket +import warnings from os import environ as env from os.path import join as pjoin +from spack import * + def cmake_cache_entry(name, value, comment=""): """Generate a string for a cmake cache variable""" diff --git a/var/spack/repos/builtin/packages/lz4/package.py b/var/spack/repos/builtin/packages/lz4/package.py index 35c33e5720..f8a376e64e 100644 --- a/var/spack/repos/builtin/packages/lz4/package.py +++ b/var/spack/repos/builtin/packages/lz4/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Lz4(MakefilePackage): """LZ4 is lossless compression algorithm, providing compression speed diff --git a/var/spack/repos/builtin/packages/madgraph5amc/package.py b/var/spack/repos/builtin/packages/madgraph5amc/package.py index 99512892ff..d4c8653bd6 100644 --- a/var/spack/repos/builtin/packages/madgraph5amc/package.py +++ b/var/spack/repos/builtin/packages/madgraph5amc/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Madgraph5amc(Package): """MadGraph5_aMC@NLO is a framework that aims at providing diff --git a/var/spack/repos/builtin/packages/magics/package.py b/var/spack/repos/builtin/packages/magics/package.py index 88abf9c187..19dd0cf940 100644 --- a/var/spack/repos/builtin/packages/magics/package.py +++ b/var/spack/repos/builtin/packages/magics/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import os +from spack import * + class Magics(CMakePackage): """Magics is the latest generation of the ECMWF's Meteorological plotting diff --git a/var/spack/repos/builtin/packages/maker/package.py b/var/spack/repos/builtin/packages/maker/package.py index 80be916570..7d12a0ddb6 100644 --- a/var/spack/repos/builtin/packages/maker/package.py +++ b/var/spack/repos/builtin/packages/maker/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Maker(Package): """MAKER is a portable and easily configurable genome annotation pipeline. diff --git a/var/spack/repos/builtin/packages/mapserver/package.py b/var/spack/repos/builtin/packages/mapserver/package.py index c9045f8cf5..ed9bb7079d 100644 --- a/var/spack/repos/builtin/packages/mapserver/package.py +++ b/var/spack/repos/builtin/packages/mapserver/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Mapserver(CMakePackage): """MapServer is an Open Source geographic data rendering engine written diff --git a/var/spack/repos/builtin/packages/mark/package.py b/var/spack/repos/builtin/packages/mark/package.py index a5fba15522..e3d727b5cb 100644 --- a/var/spack/repos/builtin/packages/mark/package.py +++ b/var/spack/repos/builtin/packages/mark/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Mark(Package): """Program MARK, developed and maintained by Gary White (Colorado State diff --git a/var/spack/repos/builtin/packages/mathematica/package.py b/var/spack/repos/builtin/packages/mathematica/package.py index 245cca8ac2..1b61c48bab 100644 --- a/var/spack/repos/builtin/packages/mathematica/package.py +++ b/var/spack/repos/builtin/packages/mathematica/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Mathematica(Package): """Mathematica: high-powered computation with thousands of Wolfram Language diff --git a/var/spack/repos/builtin/packages/matlab/package.py b/var/spack/repos/builtin/packages/matlab/package.py index 1c032f363f..6d28cab318 100644 --- a/var/spack/repos/builtin/packages/matlab/package.py +++ b/var/spack/repos/builtin/packages/matlab/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import subprocess +from spack import * + class Matlab(Package): """MATLAB (MATrix LABoratory) is a multi-paradigm numerical computing diff --git a/var/spack/repos/builtin/packages/megadock/package.py b/var/spack/repos/builtin/packages/megadock/package.py index 77ee965150..da0182e821 100644 --- a/var/spack/repos/builtin/packages/megadock/package.py +++ b/var/spack/repos/builtin/packages/megadock/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Megadock(MakefilePackage, CudaPackage): """an ultra-high-performance protein-protein docking for diff --git a/var/spack/repos/builtin/packages/memkind/package.py b/var/spack/repos/builtin/packages/memkind/package.py index 485cca76da..94d466f863 100644 --- a/var/spack/repos/builtin/packages/memkind/package.py +++ b/var/spack/repos/builtin/packages/memkind/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Memkind(AutotoolsPackage): """The memkind library is a user extensible heap manager built on top of diff --git a/var/spack/repos/builtin/packages/mercurial/package.py b/var/spack/repos/builtin/packages/mercurial/package.py index eb03fccd30..2cee858c2e 100644 --- a/var/spack/repos/builtin/packages/mercurial/package.py +++ b/var/spack/repos/builtin/packages/mercurial/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from llnl.util import tty +from spack import * + class Mercurial(PythonPackage): """Mercurial is a free, distributed source control management tool.""" diff --git a/var/spack/repos/builtin/packages/mesa/package.py b/var/spack/repos/builtin/packages/mesa/package.py index 52077d5463..d39c61f519 100644 --- a/var/spack/repos/builtin/packages/mesa/package.py +++ b/var/spack/repos/builtin/packages/mesa/package.py @@ -3,10 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import sys +from spack import * + class Mesa(MesonPackage): """Mesa is an open-source implementation of the OpenGL specification diff --git a/var/spack/repos/builtin/packages/mesa18/package.py b/var/spack/repos/builtin/packages/mesa18/package.py index 84b1423787..89c3a2dce7 100644 --- a/var/spack/repos/builtin/packages/mesa18/package.py +++ b/var/spack/repos/builtin/packages/mesa18/package.py @@ -3,10 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import sys +from spack import * + class Mesa18(AutotoolsPackage): """Mesa is an open-source implementation of the OpenGL specification diff --git a/var/spack/repos/builtin/packages/metis/package.py b/var/spack/repos/builtin/packages/metis/package.py index 9a44823f9f..36a1336bbd 100644 --- a/var/spack/repos/builtin/packages/metis/package.py +++ b/var/spack/repos/builtin/packages/metis/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import sys import os +import sys + +from spack import * class Metis(Package): diff --git a/var/spack/repos/builtin/packages/miniconda2/package.py b/var/spack/repos/builtin/packages/miniconda2/package.py index d7e5621b51..992d40253a 100644 --- a/var/spack/repos/builtin/packages/miniconda2/package.py +++ b/var/spack/repos/builtin/packages/miniconda2/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os.path import split +from spack import * + class Miniconda2(Package): """The minimalist bootstrap toolset for conda and Python2.""" diff --git a/var/spack/repos/builtin/packages/miniconda3/package.py b/var/spack/repos/builtin/packages/miniconda3/package.py index c776637a2c..b2f783c544 100644 --- a/var/spack/repos/builtin/packages/miniconda3/package.py +++ b/var/spack/repos/builtin/packages/miniconda3/package.py @@ -3,10 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -from os.path import split import platform +from os.path import split +from spack import * _versions = { '4.9.2': { diff --git a/var/spack/repos/builtin/packages/mirdeep2/package.py b/var/spack/repos/builtin/packages/mirdeep2/package.py index 8420e84c76..7819e8941f 100644 --- a/var/spack/repos/builtin/packages/mirdeep2/package.py +++ b/var/spack/repos/builtin/packages/mirdeep2/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -from os import chmod import glob +from os import chmod + +from spack import * class Mirdeep2(Package): diff --git a/var/spack/repos/builtin/packages/mitofates/package.py b/var/spack/repos/builtin/packages/mitofates/package.py index 78b88b9397..10a61d7809 100644 --- a/var/spack/repos/builtin/packages/mitofates/package.py +++ b/var/spack/repos/builtin/packages/mitofates/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob +from spack import * + class Mitofates(Package): """MitoFates predicts mitochondrial presequence, a cleavable localization diff --git a/var/spack/repos/builtin/packages/mmv/package.py b/var/spack/repos/builtin/packages/mmv/package.py index ade641a1aa..0f06df9028 100644 --- a/var/spack/repos/builtin/packages/mmv/package.py +++ b/var/spack/repos/builtin/packages/mmv/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/modern-wheel/package.py b/var/spack/repos/builtin/packages/modern-wheel/package.py index d56f0d9b24..1ad4623343 100644 --- a/var/spack/repos/builtin/packages/modern-wheel/package.py +++ b/var/spack/repos/builtin/packages/modern-wheel/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class ModernWheel(CMakePackage): """C++ utility collection. Provides various facilities of common use in diff --git a/var/spack/repos/builtin/packages/modylas/package.py b/var/spack/repos/builtin/packages/modylas/package.py index 026bf42f6e..c3e977e229 100644 --- a/var/spack/repos/builtin/packages/modylas/package.py +++ b/var/spack/repos/builtin/packages/modylas/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Modylas(AutotoolsPackage): """ diff --git a/var/spack/repos/builtin/packages/molcas/package.py b/var/spack/repos/builtin/packages/molcas/package.py index f90559b826..7fa77cfb46 100644 --- a/var/spack/repos/builtin/packages/molcas/package.py +++ b/var/spack/repos/builtin/packages/molcas/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Molcas(CMakePackage): """Molcas is an ab initio quantum chemistry software package diff --git a/var/spack/repos/builtin/packages/mpich/package.py b/var/spack/repos/builtin/packages/mpich/package.py index 96e27bd41c..fb66aaa20e 100644 --- a/var/spack/repos/builtin/packages/mpich/package.py +++ b/var/spack/repos/builtin/packages/mpich/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os -import sys import re +import sys + +from spack import * class Mpich(AutotoolsPackage): diff --git a/var/spack/repos/builtin/packages/mumax/package.py b/var/spack/repos/builtin/packages/mumax/package.py index 74dbc63497..78755f3cf5 100644 --- a/var/spack/repos/builtin/packages/mumax/package.py +++ b/var/spack/repos/builtin/packages/mumax/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import shutil +from spack import * + class Mumax(MakefilePackage, CudaPackage): """GPU accelerated micromagnetic simulator.""" diff --git a/var/spack/repos/builtin/packages/munge/package.py b/var/spack/repos/builtin/packages/munge/package.py index 096c4ea860..61f28fdef1 100644 --- a/var/spack/repos/builtin/packages/munge/package.py +++ b/var/spack/repos/builtin/packages/munge/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Munge(AutotoolsPackage): """ MUNGE Uid 'N' Gid Emporium """ diff --git a/var/spack/repos/builtin/packages/mutationpp/package.py b/var/spack/repos/builtin/packages/mutationpp/package.py index 0435156c7a..3acbc9b1cb 100644 --- a/var/spack/repos/builtin/packages/mutationpp/package.py +++ b/var/spack/repos/builtin/packages/mutationpp/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Mutationpp(CMakePackage): """Mutation++ is an open-source library originally developed diff --git a/var/spack/repos/builtin/packages/mvapich2/package.py b/var/spack/repos/builtin/packages/mvapich2/package.py index 9c5ea4f429..6c6cc08a61 100644 --- a/var/spack/repos/builtin/packages/mvapich2/package.py +++ b/var/spack/repos/builtin/packages/mvapich2/package.py @@ -3,8 +3,8 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -import re import os.path +import re import sys diff --git a/var/spack/repos/builtin/packages/mysql/package.py b/var/spack/repos/builtin/packages/mysql/package.py index a324a5b157..945b191c70 100644 --- a/var/spack/repos/builtin/packages/mysql/package.py +++ b/var/spack/repos/builtin/packages/mysql/package.py @@ -2,10 +2,11 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import tempfile +from spack import * + class Mysql(CMakePackage): """MySQL is an open source relational database management system.""" diff --git a/var/spack/repos/builtin/packages/nag/package.py b/var/spack/repos/builtin/packages/nag/package.py index dbfced1e29..b1735e920f 100644 --- a/var/spack/repos/builtin/packages/nag/package.py +++ b/var/spack/repos/builtin/packages/nag/package.py @@ -5,9 +5,10 @@ import os import re -import spack.compiler import llnl.util.tty as tty +import spack.compiler + class Nag(Package): """The NAG Fortran Compiler.""" diff --git a/var/spack/repos/builtin/packages/nalu-wind/package.py b/var/spack/repos/builtin/packages/nalu-wind/package.py index 803fde9719..d845a6ea62 100644 --- a/var/spack/repos/builtin/packages/nalu-wind/package.py +++ b/var/spack/repos/builtin/packages/nalu-wind/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + def _parse_float(val): try: diff --git a/var/spack/repos/builtin/packages/nalu/package.py b/var/spack/repos/builtin/packages/nalu/package.py index 5f443554e6..44c8357d49 100644 --- a/var/spack/repos/builtin/packages/nalu/package.py +++ b/var/spack/repos/builtin/packages/nalu/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Nalu(CMakePackage): """Nalu: a generalized unstructured massively parallel low Mach flow code diff --git a/var/spack/repos/builtin/packages/namd/package.py b/var/spack/repos/builtin/packages/namd/package.py index aaa5529db5..143e2045de 100644 --- a/var/spack/repos/builtin/packages/namd/package.py +++ b/var/spack/repos/builtin/packages/namd/package.py @@ -3,12 +3,14 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import os import platform import sys -import os -from spack import * + import llnl.util.tty as tty +from spack import * + class Namd(MakefilePackage, CudaPackage): """NAMDis a parallel molecular dynamics code designed for diff --git a/var/spack/repos/builtin/packages/nauty/package.py b/var/spack/repos/builtin/packages/nauty/package.py index 4b485a580d..5eff01dac7 100644 --- a/var/spack/repos/builtin/packages/nauty/package.py +++ b/var/spack/repos/builtin/packages/nauty/package.py @@ -5,6 +5,7 @@ import os + from spack import * diff --git a/var/spack/repos/builtin/packages/ncl/package.py b/var/spack/repos/builtin/packages/ncl/package.py index df5b8015c1..20ede8872e 100644 --- a/var/spack/repos/builtin/packages/ncl/package.py +++ b/var/spack/repos/builtin/packages/ncl/package.py @@ -3,11 +3,12 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import os import tempfile +from spack import * + class Ncl(Package): """NCL is an interpreted language designed specifically for diff --git a/var/spack/repos/builtin/packages/ncurses/package.py b/var/spack/repos/builtin/packages/ncurses/package.py index 40a2ec77ec..a0658dc920 100644 --- a/var/spack/repos/builtin/packages/ncurses/package.py +++ b/var/spack/repos/builtin/packages/ncurses/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import os +from spack import * + class Ncurses(AutotoolsPackage, GNUMirrorPackage): """The ncurses (new curses) library is a free software emulation of diff --git a/var/spack/repos/builtin/packages/nek5000/package.py b/var/spack/repos/builtin/packages/nek5000/package.py index 2acabdcc7f..017079c771 100644 --- a/var/spack/repos/builtin/packages/nek5000/package.py +++ b/var/spack/repos/builtin/packages/nek5000/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -from shutil import copyfile import os +from shutil import copyfile + +from spack import * class Nek5000(Package): diff --git a/var/spack/repos/builtin/packages/nekcem/package.py b/var/spack/repos/builtin/packages/nekcem/package.py index 3d099d16f0..80a41360f0 100644 --- a/var/spack/repos/builtin/packages/nekcem/package.py +++ b/var/spack/repos/builtin/packages/nekcem/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import os import json +import os + +from spack import * class Nekcem(Package): diff --git a/var/spack/repos/builtin/packages/nekrs/package.py b/var/spack/repos/builtin/packages/nekrs/package.py index 3f1fd44e69..2a228e0347 100644 --- a/var/spack/repos/builtin/packages/nekrs/package.py +++ b/var/spack/repos/builtin/packages/nekrs/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Nekrs(Package, CudaPackage, ROCmPackage): """nekRS is an open-source Navier Stokes solver based on the spectral diff --git a/var/spack/repos/builtin/packages/nektools/package.py b/var/spack/repos/builtin/packages/nektools/package.py index 008204b6ee..332a56c5c5 100644 --- a/var/spack/repos/builtin/packages/nektools/package.py +++ b/var/spack/repos/builtin/packages/nektools/package.py @@ -3,11 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import numbers import os +from spack import * + def is_integral(x): """Any integer value""" diff --git a/var/spack/repos/builtin/packages/netcdf-fortran/package.py b/var/spack/repos/builtin/packages/netcdf-fortran/package.py index 3552101abf..1eca31d849 100644 --- a/var/spack/repos/builtin/packages/netcdf-fortran/package.py +++ b/var/spack/repos/builtin/packages/netcdf-fortran/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import os import glob -from shutil import copyfile, Error +import os +from shutil import Error, copyfile + +from spack import * class NetcdfFortran(AutotoolsPackage): diff --git a/var/spack/repos/builtin/packages/netgauge/package.py b/var/spack/repos/builtin/packages/netgauge/package.py index 11e82d9db6..73dc1d2d88 100644 --- a/var/spack/repos/builtin/packages/netgauge/package.py +++ b/var/spack/repos/builtin/packages/netgauge/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/netlib-scalapack/package.py b/var/spack/repos/builtin/packages/netlib-scalapack/package.py index 10f90a9dd9..03dd89c037 100644 --- a/var/spack/repos/builtin/packages/netlib-scalapack/package.py +++ b/var/spack/repos/builtin/packages/netlib-scalapack/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class ScalapackBase(CMakePackage): """Base class for building ScaLAPACK, shared with the AMD optimized version diff --git a/var/spack/repos/builtin/packages/nghttp2/package.py b/var/spack/repos/builtin/packages/nghttp2/package.py index 509ae8633a..332b8bc425 100644 --- a/var/spack/repos/builtin/packages/nghttp2/package.py +++ b/var/spack/repos/builtin/packages/nghttp2/package.py @@ -3,10 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import os +from spack import * + class Nghttp2(AutotoolsPackage): """nghttp2 is an implementation of HTTP/2 and its header compression diff --git a/var/spack/repos/builtin/packages/node-js/package.py b/var/spack/repos/builtin/packages/node-js/package.py index 5ca807744e..3b5902bef8 100644 --- a/var/spack/repos/builtin/packages/node-js/package.py +++ b/var/spack/repos/builtin/packages/node-js/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import sys import subprocess +import sys + +from spack import * class NodeJs(Package): diff --git a/var/spack/repos/builtin/packages/npm/package.py b/var/spack/repos/builtin/packages/npm/package.py index fd1480ade0..f065bb3346 100644 --- a/var/spack/repos/builtin/packages/npm/package.py +++ b/var/spack/repos/builtin/packages/npm/package.py @@ -5,6 +5,7 @@ import os import shutil + from spack import * diff --git a/var/spack/repos/builtin/packages/nvhpc/package.py b/var/spack/repos/builtin/packages/nvhpc/package.py index c5b7ee15fc..768305a9fb 100644 --- a/var/spack/repos/builtin/packages/nvhpc/package.py +++ b/var/spack/repos/builtin/packages/nvhpc/package.py @@ -5,11 +5,12 @@ # # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. -from spack import * -from spack.util.prefix import Prefix import os import platform +from spack import * +from spack.util.prefix import Prefix + # FIXME Remove hack for polymorphic versions # This package uses a ugly hack to be able to dispatch, given the same # version, to different binary packages based on the platform that is diff --git a/var/spack/repos/builtin/packages/nwchem/package.py b/var/spack/repos/builtin/packages/nwchem/package.py index ccf985f911..e3aec20626 100644 --- a/var/spack/repos/builtin/packages/nwchem/package.py +++ b/var/spack/repos/builtin/packages/nwchem/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import sys import os +import sys + +from spack import * class Nwchem(Package): diff --git a/var/spack/repos/builtin/packages/oce/package.py b/var/spack/repos/builtin/packages/oce/package.py index 931aa0bb47..fe9ab5569c 100644 --- a/var/spack/repos/builtin/packages/oce/package.py +++ b/var/spack/repos/builtin/packages/oce/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import platform + from spack import * from spack.operating_systems.mac_os import macos_version -import platform class Oce(Package): diff --git a/var/spack/repos/builtin/packages/octopus/package.py b/var/spack/repos/builtin/packages/octopus/package.py index 7c962b129a..edd3046cc9 100644 --- a/var/spack/repos/builtin/packages/octopus/package.py +++ b/var/spack/repos/builtin/packages/octopus/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import llnl.util.tty as tty +from spack import * + class Octopus(Package): """A real-space finite-difference (time-dependent) density-functional diff --git a/var/spack/repos/builtin/packages/ompss/package.py b/var/spack/repos/builtin/packages/ompss/package.py index 9f25d7cbac..dc74b656a3 100644 --- a/var/spack/repos/builtin/packages/ompss/package.py +++ b/var/spack/repos/builtin/packages/ompss/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import os import glob +import os + +from spack import * class Ompss(Package): diff --git a/var/spack/repos/builtin/packages/opencl-c-headers/package.py b/var/spack/repos/builtin/packages/opencl-c-headers/package.py index c1cdb8c3ad..e850177c7f 100644 --- a/var/spack/repos/builtin/packages/opencl-c-headers/package.py +++ b/var/spack/repos/builtin/packages/opencl-c-headers/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class OpenclCHeaders(Package): """OpenCL (Open Computing Language) C header files""" diff --git a/var/spack/repos/builtin/packages/opencl-clhpp/package.py b/var/spack/repos/builtin/packages/opencl-clhpp/package.py index 4d662ca057..199674ac50 100644 --- a/var/spack/repos/builtin/packages/opencl-clhpp/package.py +++ b/var/spack/repos/builtin/packages/opencl-clhpp/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class OpenclClhpp(CMakePackage): """C++ headers for OpenCL development""" diff --git a/var/spack/repos/builtin/packages/openfoam-org/package.py b/var/spack/repos/builtin/packages/openfoam-org/package.py index 42e2b0cc09..58714cbcb7 100644 --- a/var/spack/repos/builtin/packages/openfoam-org/package.py +++ b/var/spack/repos/builtin/packages/openfoam-org/package.py @@ -36,17 +36,19 @@ # ############################################################################## import glob -import re import os +import re import llnl.util.tty as tty from spack import * -from spack.pkg.builtin.openfoam import add_extra_files -from spack.pkg.builtin.openfoam import write_environ -from spack.pkg.builtin.openfoam import rewrite_environ_files -from spack.pkg.builtin.openfoam import mplib_content -from spack.pkg.builtin.openfoam import OpenfoamArch +from spack.pkg.builtin.openfoam import ( + OpenfoamArch, + add_extra_files, + mplib_content, + rewrite_environ_files, + write_environ, +) from spack.util.environment import EnvironmentModifications diff --git a/var/spack/repos/builtin/packages/openfoam/package.py b/var/spack/repos/builtin/packages/openfoam/package.py index d43e8a794d..ce772f7e3c 100644 --- a/var/spack/repos/builtin/packages/openfoam/package.py +++ b/var/spack/repos/builtin/packages/openfoam/package.py @@ -45,10 +45,10 @@ import os import re import llnl.util.tty as tty + from spack import * from spack.util.environment import EnvironmentModifications - # Not the nice way of doing things, but is a start for refactoring __all__ = [ 'add_extra_files', diff --git a/var/spack/repos/builtin/packages/openloops/get-process-list.py b/var/spack/repos/builtin/packages/openloops/get-process-list.py index 9876e5888f..6481865eef 100644 --- a/var/spack/repos/builtin/packages/openloops/get-process-list.py +++ b/var/spack/repos/builtin/packages/openloops/get-process-list.py @@ -1,6 +1,6 @@ -from html.parser import HTMLParser import re import urllib.request +from html.parser import HTMLParser class my_html_parser(HTMLParser): diff --git a/var/spack/repos/builtin/packages/openloops/package.py b/var/spack/repos/builtin/packages/openloops/package.py index 1ff72c6088..7b0f357a3c 100644 --- a/var/spack/repos/builtin/packages/openloops/package.py +++ b/var/spack/repos/builtin/packages/openloops/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Openloops(Package): """The OpenLoops 2 program is a fully automated implementation of the diff --git a/var/spack/repos/builtin/packages/openmolcas/package.py b/var/spack/repos/builtin/packages/openmolcas/package.py index 8bc33206db..61e507bf19 100644 --- a/var/spack/repos/builtin/packages/openmolcas/package.py +++ b/var/spack/repos/builtin/packages/openmolcas/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Openmolcas(CMakePackage): """OpenMolcas is a quantum chemistry software package. diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py index 799256632e..a1d6bc57b8 100644 --- a/var/spack/repos/builtin/packages/openmpi/package.py +++ b/var/spack/repos/builtin/packages/openmpi/package.py @@ -5,9 +5,10 @@ import itertools -import re import os +import re import sys + import llnl.util.tty as tty diff --git a/var/spack/repos/builtin/packages/openpbs/package.py b/var/spack/repos/builtin/packages/openpbs/package.py index 4b24a5dfe5..f12685ef88 100644 --- a/var/spack/repos/builtin/packages/openpbs/package.py +++ b/var/spack/repos/builtin/packages/openpbs/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import llnl.util.tty as tty + from spack import * diff --git a/var/spack/repos/builtin/packages/openspeedshop-utils/package.py b/var/spack/repos/builtin/packages/openspeedshop-utils/package.py index 565d8538f7..56f6d3e488 100644 --- a/var/spack/repos/builtin/packages/openspeedshop-utils/package.py +++ b/var/spack/repos/builtin/packages/openspeedshop-utils/package.py @@ -3,13 +3,12 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * +import os +import os.path import spack import spack.store - -import os -import os.path +from spack import * class OpenspeedshopUtils(CMakePackage): diff --git a/var/spack/repos/builtin/packages/openspeedshop/package.py b/var/spack/repos/builtin/packages/openspeedshop/package.py index 144de35d2d..3d5a34857c 100644 --- a/var/spack/repos/builtin/packages/openspeedshop/package.py +++ b/var/spack/repos/builtin/packages/openspeedshop/package.py @@ -3,10 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * +import os import spack.store -import os +from spack import * class Openspeedshop(CMakePackage): diff --git a/var/spack/repos/builtin/packages/openssh/package.py b/var/spack/repos/builtin/packages/openssh/package.py index af049c8396..e97e44a18f 100644 --- a/var/spack/repos/builtin/packages/openssh/package.py +++ b/var/spack/repos/builtin/packages/openssh/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import re +from spack import * + class Openssh(AutotoolsPackage): """OpenSSH is the premier connectivity tool for remote login with the diff --git a/var/spack/repos/builtin/packages/openssl/package.py b/var/spack/repos/builtin/packages/openssl/package.py index 473b5c4092..f8455e10e8 100644 --- a/var/spack/repos/builtin/packages/openssl/package.py +++ b/var/spack/repos/builtin/packages/openssl/package.py @@ -3,13 +3,13 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import os +import re + import llnl.util.tty as tty from spack import * -import os -import re - class Openssl(Package): # Uses Fake Autotools, should subclass Package """OpenSSL is an open source project that provides a robust, diff --git a/var/spack/repos/builtin/packages/openvdb/package.py b/var/spack/repos/builtin/packages/openvdb/package.py index 2fea55fe0b..f42efd4ed6 100644 --- a/var/spack/repos/builtin/packages/openvdb/package.py +++ b/var/spack/repos/builtin/packages/openvdb/package.py @@ -5,6 +5,7 @@ import os import sys + from spack import * diff --git a/var/spack/repos/builtin/packages/optional-lite/package.py b/var/spack/repos/builtin/packages/optional-lite/package.py index d779ddcb44..3feb91ea95 100644 --- a/var/spack/repos/builtin/packages/optional-lite/package.py +++ b/var/spack/repos/builtin/packages/optional-lite/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from shutil import copytree +from spack import * + class OptionalLite(CMakePackage): """ diff --git a/var/spack/repos/builtin/packages/oracle-instant-client/package.py b/var/spack/repos/builtin/packages/oracle-instant-client/package.py index 9155132e58..dc53432fc8 100644 --- a/var/spack/repos/builtin/packages/oracle-instant-client/package.py +++ b/var/spack/repos/builtin/packages/oracle-instant-client/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob +from spack import * + def oracleclient_releases(): releases = [ diff --git a/var/spack/repos/builtin/packages/orca/package.py b/var/spack/repos/builtin/packages/orca/package.py index b499cb647d..18d6d2692d 100644 --- a/var/spack/repos/builtin/packages/orca/package.py +++ b/var/spack/repos/builtin/packages/orca/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Orca(Package): """An ab initio, DFT and semiempirical SCF-MO package diff --git a/var/spack/repos/builtin/packages/orthofiller/package.py b/var/spack/repos/builtin/packages/orthofiller/package.py index cbb5c2cb2d..afec2c7ef7 100644 --- a/var/spack/repos/builtin/packages/orthofiller/package.py +++ b/var/spack/repos/builtin/packages/orthofiller/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Orthofiller(Package): """OrthoFiller: Identifying missing annotations for evolutionarily diff --git a/var/spack/repos/builtin/packages/orthofinder/package.py b/var/spack/repos/builtin/packages/orthofinder/package.py index 53969220af..a85f5746fd 100644 --- a/var/spack/repos/builtin/packages/orthofinder/package.py +++ b/var/spack/repos/builtin/packages/orthofinder/package.py @@ -5,6 +5,7 @@ import os import shutil + from spack import * diff --git a/var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py b/var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py index 367fd958bf..d28a5bf3c5 100644 --- a/var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py +++ b/var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class OsuMicroBenchmarks(AutotoolsPackage): """The Ohio MicroBenchmark suite is a collection of independent MPI diff --git a/var/spack/repos/builtin/packages/pandoc/package.py b/var/spack/repos/builtin/packages/pandoc/package.py index 49e9048e4e..ca0c8371c8 100644 --- a/var/spack/repos/builtin/packages/pandoc/package.py +++ b/var/spack/repos/builtin/packages/pandoc/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import platform +from spack import * + class Pandoc(Package): """If you need to convert files from one markup format into another, pandoc diff --git a/var/spack/repos/builtin/packages/papi/package.py b/var/spack/repos/builtin/packages/papi/package.py index 621b5121db..5f3c96cbdc 100644 --- a/var/spack/repos/builtin/packages/papi/package.py +++ b/var/spack/repos/builtin/packages/papi/package.py @@ -6,6 +6,7 @@ import glob import os import sys + import llnl.util.filesystem as fs diff --git a/var/spack/repos/builtin/packages/papyrus/package.py b/var/spack/repos/builtin/packages/papyrus/package.py index 4430e93652..b2d3688df5 100644 --- a/var/spack/repos/builtin/packages/papyrus/package.py +++ b/var/spack/repos/builtin/packages/papyrus/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Papyrus(CMakePackage): """Parallel Aggregate Persistent Storage""" diff --git a/var/spack/repos/builtin/packages/parallel-netcdf/package.py b/var/spack/repos/builtin/packages/parallel-netcdf/package.py index 902f007847..0122b3707c 100644 --- a/var/spack/repos/builtin/packages/parallel-netcdf/package.py +++ b/var/spack/repos/builtin/packages/parallel-netcdf/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class ParallelNetcdf(AutotoolsPackage): """PnetCDF (Parallel netCDF) is a high-performance parallel I/O diff --git a/var/spack/repos/builtin/packages/paraver/package.py b/var/spack/repos/builtin/packages/paraver/package.py index 64b1a317de..f184780e2f 100644 --- a/var/spack/repos/builtin/packages/paraver/package.py +++ b/var/spack/repos/builtin/packages/paraver/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Paraver(Package): """"A very powerful performance visualization and analysis tool diff --git a/var/spack/repos/builtin/packages/paraview/package.py b/var/spack/repos/builtin/packages/paraview/package.py index b0b83914c2..91291e38ea 100644 --- a/var/spack/repos/builtin/packages/paraview/package.py +++ b/var/spack/repos/builtin/packages/paraview/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Paraview(CMakePackage, CudaPackage): """ParaView is an open-source, multi-platform data analysis and diff --git a/var/spack/repos/builtin/packages/parflow/package.py b/var/spack/repos/builtin/packages/parflow/package.py index c4040859ad..22120a2dc7 100644 --- a/var/spack/repos/builtin/packages/parflow/package.py +++ b/var/spack/repos/builtin/packages/parflow/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Parflow(CMakePackage): """ParFlow is an open-source parallel watershed simulator which diff --git a/var/spack/repos/builtin/packages/parmetis/package.py b/var/spack/repos/builtin/packages/parmetis/package.py index a7a3749afd..2968c3a1d0 100644 --- a/var/spack/repos/builtin/packages/parmetis/package.py +++ b/var/spack/repos/builtin/packages/parmetis/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Parmetis(CMakePackage): """ParMETIS is an MPI-based parallel library that implements a variety of diff --git a/var/spack/repos/builtin/packages/parsec/package.py b/var/spack/repos/builtin/packages/parsec/package.py index 1397abec01..ab154e71b6 100644 --- a/var/spack/repos/builtin/packages/parsec/package.py +++ b/var/spack/repos/builtin/packages/parsec/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) # -from spack import * import llnl.util.tty as tty +from spack import * + class Parsec(CMakePackage, CudaPackage): """PaRSEC: the Parallel Runtime Scheduler and Execution Controller diff --git a/var/spack/repos/builtin/packages/patchelf/package.py b/var/spack/repos/builtin/packages/patchelf/package.py index 04a93e7427..46c8bd1a4d 100644 --- a/var/spack/repos/builtin/packages/patchelf/package.py +++ b/var/spack/repos/builtin/packages/patchelf/package.py @@ -2,9 +2,10 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Patchelf(AutotoolsPackage): """PatchELF is a small utility to modify the dynamic linker and RPATH of diff --git a/var/spack/repos/builtin/packages/pdftk/package.py b/var/spack/repos/builtin/packages/pdftk/package.py index 9fe2e2fa8e..795c293d4f 100644 --- a/var/spack/repos/builtin/packages/pdftk/package.py +++ b/var/spack/repos/builtin/packages/pdftk/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Pdftk(MakefilePackage): """PDFtk Server is a command-line tool for working with PDFs. It is diff --git a/var/spack/repos/builtin/packages/pdt/package.py b/var/spack/repos/builtin/packages/pdt/package.py index 32678012f6..86a10b92b4 100644 --- a/var/spack/repos/builtin/packages/pdt/package.py +++ b/var/spack/repos/builtin/packages/pdt/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/perl-bioperl/package.py b/var/spack/repos/builtin/packages/perl-bioperl/package.py index 174bf4b94c..00ee4af03e 100644 --- a/var/spack/repos/builtin/packages/perl-bioperl/package.py +++ b/var/spack/repos/builtin/packages/perl-bioperl/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import inspect +from spack import * + class PerlBioperl(PerlPackage): """BioPerl is the product of a community effort to produce Perl code which diff --git a/var/spack/repos/builtin/packages/perl-io-socket-ssl/package.py b/var/spack/repos/builtin/packages/perl-io-socket-ssl/package.py index ea5e6fc509..e452762cab 100644 --- a/var/spack/repos/builtin/packages/perl-io-socket-ssl/package.py +++ b/var/spack/repos/builtin/packages/perl-io-socket-ssl/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import inspect +from spack import * + class PerlIoSocketSsl(PerlPackage): """SSL sockets with IO::Socket interface""" diff --git a/var/spack/repos/builtin/packages/perl-net-ssleay/package.py b/var/spack/repos/builtin/packages/perl-net-ssleay/package.py index 46ca769edd..da18b494d7 100644 --- a/var/spack/repos/builtin/packages/perl-net-ssleay/package.py +++ b/var/spack/repos/builtin/packages/perl-net-ssleay/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import inspect +from spack import * + class PerlNetSsleay(PerlPackage): """Perl extension for using OpenSSL""" diff --git a/var/spack/repos/builtin/packages/perl/package.py b/var/spack/repos/builtin/packages/perl/package.py index a4e2d18a9b..e318748cd7 100644 --- a/var/spack/repos/builtin/packages/perl/package.py +++ b/var/spack/repos/builtin/packages/perl/package.py @@ -16,6 +16,7 @@ import re from contextlib import contextmanager from llnl.util.lang import match_predicate + from spack import * diff --git a/var/spack/repos/builtin/packages/pfunit/package.py b/var/spack/repos/builtin/packages/pfunit/package.py index 2ffbfced64..16738f4d2f 100644 --- a/var/spack/repos/builtin/packages/pfunit/package.py +++ b/var/spack/repos/builtin/packages/pfunit/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import glob + # from spack import * -import glob class Pfunit(CMakePackage): diff --git a/var/spack/repos/builtin/packages/pgdspider/package.py b/var/spack/repos/builtin/packages/pgdspider/package.py index efbab33f4d..89ec76480a 100644 --- a/var/spack/repos/builtin/packages/pgdspider/package.py +++ b/var/spack/repos/builtin/packages/pgdspider/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Pgdspider(Package): """"PGDSpider is a powerful automated data conversion tool for population diff --git a/var/spack/repos/builtin/packages/pgi/package.py b/var/spack/repos/builtin/packages/pgi/package.py index fc6cf89a7c..db0f38cf99 100644 --- a/var/spack/repos/builtin/packages/pgi/package.py +++ b/var/spack/repos/builtin/packages/pgi/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import os + from spack import * from spack.util.prefix import Prefix -import os class Pgi(Package): diff --git a/var/spack/repos/builtin/packages/phist/package.py b/var/spack/repos/builtin/packages/phist/package.py index e276bcf800..9d1a40e529 100644 --- a/var/spack/repos/builtin/packages/phist/package.py +++ b/var/spack/repos/builtin/packages/phist/package.py @@ -4,8 +4,8 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import spack.hooks.sbang as sbang +from spack import * class Phist(CMakePackage): diff --git a/var/spack/repos/builtin/packages/php/package.py b/var/spack/repos/builtin/packages/php/package.py index 839afd9d84..e8a743bb56 100644 --- a/var/spack/repos/builtin/packages/php/package.py +++ b/var/spack/repos/builtin/packages/php/package.py @@ -3,9 +3,8 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import spack.hooks.sbang as sbang +from spack import * class Php(AutotoolsPackage): diff --git a/var/spack/repos/builtin/packages/phrap-crossmatch-swat/package.py b/var/spack/repos/builtin/packages/phrap-crossmatch-swat/package.py index 6b8f8ff918..75625aade2 100644 --- a/var/spack/repos/builtin/packages/phrap-crossmatch-swat/package.py +++ b/var/spack/repos/builtin/packages/phrap-crossmatch-swat/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class PhrapCrossmatchSwat(MakefilePackage): """phrap is a program for assembling shotgun DNA sequence data. diff --git a/var/spack/repos/builtin/packages/phred/package.py b/var/spack/repos/builtin/packages/phred/package.py index 3587bb25f1..99bc48446a 100644 --- a/var/spack/repos/builtin/packages/phred/package.py +++ b/var/spack/repos/builtin/packages/phred/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Phred(MakefilePackage): """The phred software reads DNA sequencing trace files, calls bases, diff --git a/var/spack/repos/builtin/packages/picard/package.py b/var/spack/repos/builtin/packages/picard/package.py index d3acce0f18..de180d2275 100644 --- a/var/spack/repos/builtin/packages/picard/package.py +++ b/var/spack/repos/builtin/packages/picard/package.py @@ -3,11 +3,12 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import os.path import re +from spack import * + class Picard(Package): """Picard is a set of command line tools for manipulating high-throughput diff --git a/var/spack/repos/builtin/packages/pilon/package.py b/var/spack/repos/builtin/packages/pilon/package.py index 6bb4ed9ab7..09b9074091 100644 --- a/var/spack/repos/builtin/packages/pilon/package.py +++ b/var/spack/repos/builtin/packages/pilon/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Pilon(Package): """Pilon is an automated genome assembly improvement and variant diff --git a/var/spack/repos/builtin/packages/pixman/package.py b/var/spack/repos/builtin/packages/pixman/package.py index 5cb50c6198..7d3e46783e 100644 --- a/var/spack/repos/builtin/packages/pixman/package.py +++ b/var/spack/repos/builtin/packages/pixman/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Pixman(AutotoolsPackage): """The Pixman package contains a library that provides low-level diff --git a/var/spack/repos/builtin/packages/pmix/package.py b/var/spack/repos/builtin/packages/pmix/package.py index 40baaa9d03..aec064505d 100644 --- a/var/spack/repos/builtin/packages/pmix/package.py +++ b/var/spack/repos/builtin/packages/pmix/package.py @@ -4,10 +4,11 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import spack.architecture import os +import spack.architecture +from spack import * + class Pmix(AutotoolsPackage): """The Process Management Interface (PMI) has been used for quite some diff --git a/var/spack/repos/builtin/packages/pocl/package.py b/var/spack/repos/builtin/packages/pocl/package.py index da19e674a7..e148b4b554 100644 --- a/var/spack/repos/builtin/packages/pocl/package.py +++ b/var/spack/repos/builtin/packages/pocl/package.py @@ -6,7 +6,7 @@ import os from spack import * -from spack.package_test import compile_c_and_execute, compare_output_file +from spack.package_test import compare_output_file, compile_c_and_execute class Pocl(CMakePackage): diff --git a/var/spack/repos/builtin/packages/povray/package.py b/var/spack/repos/builtin/packages/povray/package.py index 4c622475af..f59974529b 100644 --- a/var/spack/repos/builtin/packages/povray/package.py +++ b/var/spack/repos/builtin/packages/povray/package.py @@ -3,12 +3,14 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -# For getting fqdn for defaulting COMPILED_BY -import socket # For getting username for defaulting COMPILED_BY import getpass +# For getting fqdn for defaulting COMPILED_BY +import socket + +from spack import * + class Povray(AutotoolsPackage): """The Persistence of Vision Raytracer creates three-dimensional, diff --git a/var/spack/repos/builtin/packages/ppopen-appl-bem/package.py b/var/spack/repos/builtin/packages/ppopen-appl-bem/package.py index db914a5ca3..9fa1c43aec 100644 --- a/var/spack/repos/builtin/packages/ppopen-appl-bem/package.py +++ b/var/spack/repos/builtin/packages/ppopen-appl-bem/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class PpopenApplBem(MakefilePackage): """ppOpen-APPL/BEM is software used to support a boundary element analysis diff --git a/var/spack/repos/builtin/packages/ppopen-appl-fem/package.py b/var/spack/repos/builtin/packages/ppopen-appl-fem/package.py index 216f055123..c8be0bd094 100644 --- a/var/spack/repos/builtin/packages/ppopen-appl-fem/package.py +++ b/var/spack/repos/builtin/packages/ppopen-appl-fem/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class PpopenApplFem(MakefilePackage): """ diff --git a/var/spack/repos/builtin/packages/protobuf/package.py b/var/spack/repos/builtin/packages/protobuf/package.py index 1c09bf2e82..ab3c8591a1 100644 --- a/var/spack/repos/builtin/packages/protobuf/package.py +++ b/var/spack/repos/builtin/packages/protobuf/package.py @@ -4,8 +4,9 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import sys -from spack import * + import spack.util.web +from spack import * class Protobuf(Package): diff --git a/var/spack/repos/builtin/packages/prrte/package.py b/var/spack/repos/builtin/packages/prrte/package.py index 5e730479f9..2bc81c1869 100644 --- a/var/spack/repos/builtin/packages/prrte/package.py +++ b/var/spack/repos/builtin/packages/prrte/package.py @@ -5,6 +5,7 @@ import os + from spack import * diff --git a/var/spack/repos/builtin/packages/psi4/package.py b/var/spack/repos/builtin/packages/psi4/package.py index 105ade6b02..a3afc32d01 100644 --- a/var/spack/repos/builtin/packages/psi4/package.py +++ b/var/spack/repos/builtin/packages/psi4/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Psi4(CMakePackage): """Psi4 is an open-source suite of ab initio quantum chemistry diff --git a/var/spack/repos/builtin/packages/pvm/package.py b/var/spack/repos/builtin/packages/pvm/package.py index 661cc70edb..75b61871c8 100644 --- a/var/spack/repos/builtin/packages/pvm/package.py +++ b/var/spack/repos/builtin/packages/pvm/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import subprocess +from spack import * + class Pvm(MakefilePackage): """PVM (Parallel Virtual Machine) is a software package that permits a diff --git a/var/spack/repos/builtin/packages/py-astropy/package.py b/var/spack/repos/builtin/packages/py-astropy/package.py index 83ad6961ec..cd2bcb1c70 100644 --- a/var/spack/repos/builtin/packages/py-astropy/package.py +++ b/var/spack/repos/builtin/packages/py-astropy/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class PyAstropy(PythonPackage): """The Astropy Project is a community effort to develop a single core diff --git a/var/spack/repos/builtin/packages/py-azureml-dataprep-rslex/package.py b/var/spack/repos/builtin/packages/py-azureml-dataprep-rslex/package.py index bb18b6ce47..40eb3d73c8 100644 --- a/var/spack/repos/builtin/packages/py-azureml-dataprep-rslex/package.py +++ b/var/spack/repos/builtin/packages/py-azureml-dataprep-rslex/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import sys + import archspec from spack import * diff --git a/var/spack/repos/builtin/packages/py-basemap/package.py b/var/spack/repos/builtin/packages/py-basemap/package.py index 23b1a64372..c143b30b96 100644 --- a/var/spack/repos/builtin/packages/py-basemap/package.py +++ b/var/spack/repos/builtin/packages/py-basemap/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class PyBasemap(PythonPackage): """The matplotlib basemap toolkit is a library for plotting diff --git a/var/spack/repos/builtin/packages/py-cffi/package.py b/var/spack/repos/builtin/packages/py-cffi/package.py index 617fd1a5d1..5ab4a00a9f 100644 --- a/var/spack/repos/builtin/packages/py-cffi/package.py +++ b/var/spack/repos/builtin/packages/py-cffi/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class PyCffi(PythonPackage): """Foreign Function Interface for Python calling C code""" diff --git a/var/spack/repos/builtin/packages/py-chainer/package.py b/var/spack/repos/builtin/packages/py-chainer/package.py index 7b2d7011b2..ebf25e8ae7 100644 --- a/var/spack/repos/builtin/packages/py-chainer/package.py +++ b/var/spack/repos/builtin/packages/py-chainer/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import json +from spack import * + class PyChainer(PythonPackage): """ diff --git a/var/spack/repos/builtin/packages/py-cudf/package.py b/var/spack/repos/builtin/packages/py-cudf/package.py index 38cfe7d750..a660fa9b7a 100644 --- a/var/spack/repos/builtin/packages/py-cudf/package.py +++ b/var/spack/repos/builtin/packages/py-cudf/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/py-docutils/package.py b/var/spack/repos/builtin/packages/py-docutils/package.py index 78f5e696b2..b7874c5d72 100644 --- a/var/spack/repos/builtin/packages/py-docutils/package.py +++ b/var/spack/repos/builtin/packages/py-docutils/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class PyDocutils(PythonPackage): """Docutils is an open-source text processing system for processing diff --git a/var/spack/repos/builtin/packages/py-dp-gp-cluster/package.py b/var/spack/repos/builtin/packages/py-dp-gp-cluster/package.py index fd6628cd7e..c4a329b217 100644 --- a/var/spack/repos/builtin/packages/py-dp-gp-cluster/package.py +++ b/var/spack/repos/builtin/packages/py-dp-gp-cluster/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -from os import unlink from glob import glob +from os import unlink + +from spack import * class PyDpGpCluster(PythonPackage): diff --git a/var/spack/repos/builtin/packages/py-intel-openmp/package.py b/var/spack/repos/builtin/packages/py-intel-openmp/package.py index efc942cb4d..dfa02c55d8 100644 --- a/var/spack/repos/builtin/packages/py-intel-openmp/package.py +++ b/var/spack/repos/builtin/packages/py-intel-openmp/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import sys + from spack import * diff --git a/var/spack/repos/builtin/packages/py-itk/package.py b/var/spack/repos/builtin/packages/py-itk/package.py index 48e3e17caf..8d985dbd09 100644 --- a/var/spack/repos/builtin/packages/py-itk/package.py +++ b/var/spack/repos/builtin/packages/py-itk/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import sys + import archspec from spack import * diff --git a/var/spack/repos/builtin/packages/py-mixedhtseq/package.py b/var/spack/repos/builtin/packages/py-mixedhtseq/package.py index ae74d6cca0..4a497872cf 100644 --- a/var/spack/repos/builtin/packages/py-mixedhtseq/package.py +++ b/var/spack/repos/builtin/packages/py-mixedhtseq/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob +from spack import * + class PyMixedhtseq(PythonPackage): """HTSeq for mixed single and paired end reads""" diff --git a/var/spack/repos/builtin/packages/py-nltk/resourcegen.py b/var/spack/repos/builtin/packages/py-nltk/resourcegen.py index 77042e70c0..7a1fa49a3c 100644 --- a/var/spack/repos/builtin/packages/py-nltk/resourcegen.py +++ b/var/spack/repos/builtin/packages/py-nltk/resourcegen.py @@ -2,9 +2,10 @@ # # Helper script for maintainers to autogenerate resources for py-nltk # +import hashlib import urllib.request import xml.etree.ElementTree -import hashlib + url = 'https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/index.xml' document = urllib.request.urlopen(url).read() tree = xml.etree.ElementTree.fromstring(document) diff --git a/var/spack/repos/builtin/packages/py-pybind11/package.py b/var/spack/repos/builtin/packages/py-pybind11/package.py index 94fa5d14b1..77f3475dc1 100644 --- a/var/spack/repos/builtin/packages/py-pybind11/package.py +++ b/var/spack/repos/builtin/packages/py-pybind11/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class PyPybind11(CMakePackage): """pybind11 -- Seamless operability between C++11 and Python. diff --git a/var/spack/repos/builtin/packages/py-pycairo/package.py b/var/spack/repos/builtin/packages/py-pycairo/package.py index 6575945cb0..0ad69c46f0 100644 --- a/var/spack/repos/builtin/packages/py-pycairo/package.py +++ b/var/spack/repos/builtin/packages/py-pycairo/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class PyPycairo(PythonPackage): """Pycairo is a set of Python bindings for the cairo graphics library.""" diff --git a/var/spack/repos/builtin/packages/py-pygpu/package.py b/var/spack/repos/builtin/packages/py-pygpu/package.py index 69da808072..af5409e1b2 100644 --- a/var/spack/repos/builtin/packages/py-pygpu/package.py +++ b/var/spack/repos/builtin/packages/py-pygpu/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class PyPygpu(PythonPackage): """Python packge for the libgpuarray C library.""" diff --git a/var/spack/repos/builtin/packages/py-pyside/package.py b/var/spack/repos/builtin/packages/py-pyside/package.py index 52c1dcdcaf..20de47e4d3 100644 --- a/var/spack/repos/builtin/packages/py-pyside/package.py +++ b/var/spack/repos/builtin/packages/py-pyside/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class PyPyside(PythonPackage): """Python bindings for Qt.""" diff --git a/var/spack/repos/builtin/packages/py-shiboken/package.py b/var/spack/repos/builtin/packages/py-shiboken/package.py index af6bfe5669..5395682533 100644 --- a/var/spack/repos/builtin/packages/py-shiboken/package.py +++ b/var/spack/repos/builtin/packages/py-shiboken/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class PyShiboken(PythonPackage): """Shiboken generates bindings for C++ libraries using CPython.""" diff --git a/var/spack/repos/builtin/packages/py-sip/package.py b/var/spack/repos/builtin/packages/py-sip/package.py index 3c86a2449d..2a6d79fe48 100644 --- a/var/spack/repos/builtin/packages/py-sip/package.py +++ b/var/spack/repos/builtin/packages/py-sip/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class PySip(Package): """SIP is a tool that makes it very easy to create Python bindings for C diff --git a/var/spack/repos/builtin/packages/py-statsmodels/package.py b/var/spack/repos/builtin/packages/py-statsmodels/package.py index 25920d6ad3..d350805137 100644 --- a/var/spack/repos/builtin/packages/py-statsmodels/package.py +++ b/var/spack/repos/builtin/packages/py-statsmodels/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob +from spack import * + class PyStatsmodels(PythonPackage): """Statistical computations and models for use with SciPy""" diff --git a/var/spack/repos/builtin/packages/py-tensorflow-estimator/package.py b/var/spack/repos/builtin/packages/py-tensorflow-estimator/package.py index 6b79631bed..71d49302c5 100644 --- a/var/spack/repos/builtin/packages/py-tensorflow-estimator/package.py +++ b/var/spack/repos/builtin/packages/py-tensorflow-estimator/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import tempfile +from spack import * + class PyTensorflowEstimator(Package): """TensorFlow Estimator is a high-level TensorFlow API that greatly diff --git a/var/spack/repos/builtin/packages/pythia6/package.py b/var/spack/repos/builtin/packages/pythia6/package.py index 80a8ecce09..45186b97ae 100644 --- a/var/spack/repos/builtin/packages/pythia6/package.py +++ b/var/spack/repos/builtin/packages/pythia6/package.py @@ -3,12 +3,14 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import numbers import os + from six import iteritems from six.moves.urllib.parse import urlparse +from spack import * + def _is_integral(x): """Accepts only integral values.""" diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py index 5c5885e0c8..62805e12a1 100644 --- a/var/spack/repos/builtin/packages/python/package.py +++ b/var/spack/repos/builtin/packages/python/package.py @@ -10,6 +10,7 @@ import re import llnl.util.tty as tty from llnl.util.filesystem import get_filetype, path_contains_subdirectory from llnl.util.lang import match_predicate + from spack import * from spack.util.environment import is_system_path from spack.util.prefix import Prefix diff --git a/var/spack/repos/builtin/packages/qbank/package.py b/var/spack/repos/builtin/packages/qbank/package.py index e62e8197ba..89f0622a21 100644 --- a/var/spack/repos/builtin/packages/qbank/package.py +++ b/var/spack/repos/builtin/packages/qbank/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Qbank(Package): """QBank is a unique dynamic reservation-based allocation management system diff --git a/var/spack/repos/builtin/packages/qmcpack/package.py b/var/spack/repos/builtin/packages/qmcpack/package.py index 32712a7172..4732054998 100644 --- a/var/spack/repos/builtin/packages/qmcpack/package.py +++ b/var/spack/repos/builtin/packages/qmcpack/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import llnl.util.tty as tty +from spack import * + class Qmcpack(CMakePackage, CudaPackage): """QMCPACK, is a modern high-performance open-source Quantum Monte diff --git a/var/spack/repos/builtin/packages/qorts/package.py b/var/spack/repos/builtin/packages/qorts/package.py index 280c01365a..4fdc432270 100644 --- a/var/spack/repos/builtin/packages/qorts/package.py +++ b/var/spack/repos/builtin/packages/qorts/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Qorts(RPackage): """The QoRTs software package is a fast, efficient, and portable diff --git a/var/spack/repos/builtin/packages/qrupdate/package.py b/var/spack/repos/builtin/packages/qrupdate/package.py index cea9590dfb..86ce64c978 100644 --- a/var/spack/repos/builtin/packages/qrupdate/package.py +++ b/var/spack/repos/builtin/packages/qrupdate/package.py @@ -5,6 +5,7 @@ import os import sys + from spack import * diff --git a/var/spack/repos/builtin/packages/qscintilla/package.py b/var/spack/repos/builtin/packages/qscintilla/package.py index 30dd0405a3..5c1cd35766 100644 --- a/var/spack/repos/builtin/packages/qscintilla/package.py +++ b/var/spack/repos/builtin/packages/qscintilla/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Qscintilla(QMakePackage): """ diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py index e3235c7036..e3ddac3824 100644 --- a/var/spack/repos/builtin/packages/qt/package.py +++ b/var/spack/repos/builtin/packages/qt/package.py @@ -7,6 +7,7 @@ import os import sys import llnl.util.tty as tty + from spack import * from spack.operating_systems.mac_os import macos_version diff --git a/var/spack/repos/builtin/packages/qtgraph/package.py b/var/spack/repos/builtin/packages/qtgraph/package.py index 1ab7eae4aa..25f503d576 100644 --- a/var/spack/repos/builtin/packages/qtgraph/package.py +++ b/var/spack/repos/builtin/packages/qtgraph/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Qtgraph(QMakePackage): """The baseline library used in the CUDA-centric Open|SpeedShop Graphical diff --git a/var/spack/repos/builtin/packages/qucs/package.py b/var/spack/repos/builtin/packages/qucs/package.py index ed23c7c979..ecec0511e2 100644 --- a/var/spack/repos/builtin/packages/qucs/package.py +++ b/var/spack/repos/builtin/packages/qucs/package.py @@ -2,9 +2,10 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Qucs(AutotoolsPackage): """QUCS - Quite Universal Circuit Simulator diff --git a/var/spack/repos/builtin/packages/range-v3/package.py b/var/spack/repos/builtin/packages/range-v3/package.py index 182f3fecc3..342a240bb2 100644 --- a/var/spack/repos/builtin/packages/range-v3/package.py +++ b/var/spack/repos/builtin/packages/range-v3/package.py @@ -3,11 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import os import shutil +from spack import * + class RangeV3(CMakePackage): """Range v3 forms the basis of a proposal to add range support to the diff --git a/var/spack/repos/builtin/packages/recon/package.py b/var/spack/repos/builtin/packages/recon/package.py index 32036c003d..1baa549933 100644 --- a/var/spack/repos/builtin/packages/recon/package.py +++ b/var/spack/repos/builtin/packages/recon/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os import symlink +from spack import * + class Recon(MakefilePackage): """RECON: a package for automated de novo identification of repeat families diff --git a/var/spack/repos/builtin/packages/redland-bindings/package.py b/var/spack/repos/builtin/packages/redland-bindings/package.py index e218f7afd9..14e82fe863 100644 --- a/var/spack/repos/builtin/packages/redland-bindings/package.py +++ b/var/spack/repos/builtin/packages/redland-bindings/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class RedlandBindings(AutotoolsPackage): """Redland Language Bindings for language APIs to Redland""" diff --git a/var/spack/repos/builtin/packages/reframe/package.py b/var/spack/repos/builtin/packages/reframe/package.py index a412015ae1..252e94af89 100644 --- a/var/spack/repos/builtin/packages/reframe/package.py +++ b/var/spack/repos/builtin/packages/reframe/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import shutil +from spack import * + class Reframe(Package): """ReFrame is a framework for writing regression tests for HPC systems. diff --git a/var/spack/repos/builtin/packages/repeatmasker/package.py b/var/spack/repos/builtin/packages/repeatmasker/package.py index 3663f57b4d..180e8a085a 100644 --- a/var/spack/repos/builtin/packages/repeatmasker/package.py +++ b/var/spack/repos/builtin/packages/repeatmasker/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob +from spack import * + class Repeatmasker(Package): """RepeatMasker is a program that screens DNA sequences for interspersed diff --git a/var/spack/repos/builtin/packages/revocap-coupler/package.py b/var/spack/repos/builtin/packages/revocap-coupler/package.py index 838b51036d..1869573714 100644 --- a/var/spack/repos/builtin/packages/revocap-coupler/package.py +++ b/var/spack/repos/builtin/packages/revocap-coupler/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/rivet/package.py b/var/spack/repos/builtin/packages/rivet/package.py index 12ccf1fea1..c684558155 100644 --- a/var/spack/repos/builtin/packages/rivet/package.py +++ b/var/spack/repos/builtin/packages/rivet/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Rivet(AutotoolsPackage): """Rivet - the particle-physics MC analysis toolkit""" diff --git a/var/spack/repos/builtin/packages/rmats/package.py b/var/spack/repos/builtin/packages/rmats/package.py index 48d7d79bd7..6e6b2ffad7 100644 --- a/var/spack/repos/builtin/packages/rmats/package.py +++ b/var/spack/repos/builtin/packages/rmats/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os import symlink +from spack import * + class Rmats(Package): """MATS is a computational tool to detect differential alternative diff --git a/var/spack/repos/builtin/packages/rna-seqc/package.py b/var/spack/repos/builtin/packages/rna-seqc/package.py index 96c7b240b3..0ff7d38900 100644 --- a/var/spack/repos/builtin/packages/rna-seqc/package.py +++ b/var/spack/repos/builtin/packages/rna-seqc/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class RnaSeqc(Package): """RNA-SeQC is a java program which computes a series of quality control diff --git a/var/spack/repos/builtin/packages/rnaquast/package.py b/var/spack/repos/builtin/packages/rnaquast/package.py index 8ffc85a26c..edc3ab0d8c 100644 --- a/var/spack/repos/builtin/packages/rnaquast/package.py +++ b/var/spack/repos/builtin/packages/rnaquast/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/rockstar/package.py b/var/spack/repos/builtin/packages/rockstar/package.py index fe25487d68..33f6000f64 100644 --- a/var/spack/repos/builtin/packages/rockstar/package.py +++ b/var/spack/repos/builtin/packages/rockstar/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/rocm-openmp-extras/package.py b/var/spack/repos/builtin/packages/rocm-openmp-extras/package.py index 7947e41914..32af84d329 100644 --- a/var/spack/repos/builtin/packages/rocm-openmp-extras/package.py +++ b/var/spack/repos/builtin/packages/rocm-openmp-extras/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import re +from spack import * + tools_url = 'https://github.com/ROCm-Developer-Tools' compute_url = 'https://github.com/RadeonOpenCompute' diff --git a/var/spack/repos/builtin/packages/rocm-smi-lib/package.py b/var/spack/repos/builtin/packages/rocm-smi-lib/package.py index 717bc4769a..53cae44711 100644 --- a/var/spack/repos/builtin/packages/rocm-smi-lib/package.py +++ b/var/spack/repos/builtin/packages/rocm-smi-lib/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import shutil +from spack import * + class RocmSmiLib(CMakePackage): """It is a C library for Linux that provides a user space interface diff --git a/var/spack/repos/builtin/packages/rocm-smi/package.py b/var/spack/repos/builtin/packages/rocm-smi/package.py index 7dbdae1094..0445b08382 100644 --- a/var/spack/repos/builtin/packages/rocm-smi/package.py +++ b/var/spack/repos/builtin/packages/rocm-smi/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class RocmSmi(MakefilePackage): """This tool exposes functionality for clock and temperature diff --git a/var/spack/repos/builtin/packages/rocrand/package.py b/var/spack/repos/builtin/packages/rocrand/package.py index ff9bb8caa6..68e80830cf 100644 --- a/var/spack/repos/builtin/packages/rocrand/package.py +++ b/var/spack/repos/builtin/packages/rocrand/package.py @@ -3,8 +3,8 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -import os import glob +import os from spack import * diff --git a/var/spack/repos/builtin/packages/rpm/package.py b/var/spack/repos/builtin/packages/rpm/package.py index 1498441cd9..562b749b86 100644 --- a/var/spack/repos/builtin/packages/rpm/package.py +++ b/var/spack/repos/builtin/packages/rpm/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import llnl.util.tty as tty +from spack import * + class Rpm(AutotoolsPackage): """ diff --git a/var/spack/repos/builtin/packages/rsync/package.py b/var/spack/repos/builtin/packages/rsync/package.py index e223150cfe..bac8e8a494 100644 --- a/var/spack/repos/builtin/packages/rsync/package.py +++ b/var/spack/repos/builtin/packages/rsync/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import re +from spack import * + class Rsync(AutotoolsPackage): """An open source utility that provides fast incremental file transfer.""" diff --git a/var/spack/repos/builtin/packages/rust-bindgen/package.py b/var/spack/repos/builtin/packages/rust-bindgen/package.py index 23c524a8c9..59f9a88774 100644 --- a/var/spack/repos/builtin/packages/rust-bindgen/package.py +++ b/var/spack/repos/builtin/packages/rust-bindgen/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class RustBindgen(Package): """The rust programming language toolchain""" diff --git a/var/spack/repos/builtin/packages/seacas/package.py b/var/spack/repos/builtin/packages/seacas/package.py index b5e2f55ba7..1fa8fb193d 100644 --- a/var/spack/repos/builtin/packages/seacas/package.py +++ b/var/spack/repos/builtin/packages/seacas/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import sys + from spack import * from spack.operating_systems.mac_os import macos_version diff --git a/var/spack/repos/builtin/packages/sentieon-genomics/package.py b/var/spack/repos/builtin/packages/sentieon-genomics/package.py index 3ebbfe0921..e51583004d 100644 --- a/var/spack/repos/builtin/packages/sentieon-genomics/package.py +++ b/var/spack/repos/builtin/packages/sentieon-genomics/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os.path + from spack import * diff --git a/var/spack/repos/builtin/packages/siesta/package.py b/var/spack/repos/builtin/packages/siesta/package.py index 4060d90eb7..1c2758f977 100644 --- a/var/spack/repos/builtin/packages/siesta/package.py +++ b/var/spack/repos/builtin/packages/siesta/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Siesta(Package): """SIESTA performs electronic structure calculations and ab initio molecular diff --git a/var/spack/repos/builtin/packages/signalp/package.py b/var/spack/repos/builtin/packages/signalp/package.py index 521e9b28c1..831cbb1515 100644 --- a/var/spack/repos/builtin/packages/signalp/package.py +++ b/var/spack/repos/builtin/packages/signalp/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Signalp(Package): """SignalP predicts the presence and location of signal peptide cleavage diff --git a/var/spack/repos/builtin/packages/simmetrix-simmodsuite/package.py b/var/spack/repos/builtin/packages/simmetrix-simmodsuite/package.py index 87e7324061..4dd5fb5083 100644 --- a/var/spack/repos/builtin/packages/simmetrix-simmodsuite/package.py +++ b/var/spack/repos/builtin/packages/simmetrix-simmodsuite/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + def simmodsuite_releases(): releases = [ diff --git a/var/spack/repos/builtin/packages/singularityce/package.py b/var/spack/repos/builtin/packages/singularityce/package.py index 725293b20e..8b4fea32ff 100644 --- a/var/spack/repos/builtin/packages/singularityce/package.py +++ b/var/spack/repos/builtin/packages/singularityce/package.py @@ -3,12 +3,13 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - -import llnl.util.tty as tty import os import shutil +import llnl.util.tty as tty + +from spack import * + class SingularityBase(MakefilePackage): variant('suid', default=True, description='install SUID binary') diff --git a/var/spack/repos/builtin/packages/slepc/package.py b/var/spack/repos/builtin/packages/slepc/package.py index 8dcc8c4abe..df1829b549 100644 --- a/var/spack/repos/builtin/packages/slepc/package.py +++ b/var/spack/repos/builtin/packages/slepc/package.py @@ -5,6 +5,7 @@ import os import sys + from spack import * diff --git a/var/spack/repos/builtin/packages/smof/package.py b/var/spack/repos/builtin/packages/smof/package.py index 7e106fc41e..0564605b94 100644 --- a/var/spack/repos/builtin/packages/smof/package.py +++ b/var/spack/repos/builtin/packages/smof/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) # See the Spack documentation for more information on packaging. -from spack import * from os import symlink +from spack import * + class Smof(Package): """Explore and analyze biological sequence data""" diff --git a/var/spack/repos/builtin/packages/snpeff/package.py b/var/spack/repos/builtin/packages/snpeff/package.py index 7544d504b9..c898ec1127 100644 --- a/var/spack/repos/builtin/packages/snpeff/package.py +++ b/var/spack/repos/builtin/packages/snpeff/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Snpeff(Package, SourceforgePackage): """SnpEff is a variant annotation and effect prediction tool. It diff --git a/var/spack/repos/builtin/packages/sombrero/package.py b/var/spack/repos/builtin/packages/sombrero/package.py index e688ec974d..c834df6134 100644 --- a/var/spack/repos/builtin/packages/sombrero/package.py +++ b/var/spack/repos/builtin/packages/sombrero/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from llnl.util.filesystem import join_path + from spack import * diff --git a/var/spack/repos/builtin/packages/sonlib/package.py b/var/spack/repos/builtin/packages/sonlib/package.py index c5d1a65ef4..8a0e8cd435 100644 --- a/var/spack/repos/builtin/packages/sonlib/package.py +++ b/var/spack/repos/builtin/packages/sonlib/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Sonlib(MakefilePackage): """sonLib is a compact C/Python library for diff --git a/var/spack/repos/builtin/packages/span-lite/package.py b/var/spack/repos/builtin/packages/span-lite/package.py index c433640fd7..c5a25c9000 100644 --- a/var/spack/repos/builtin/packages/span-lite/package.py +++ b/var/spack/repos/builtin/packages/span-lite/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from shutil import copytree +from spack import * + class SpanLite(CMakePackage): """ diff --git a/var/spack/repos/builtin/packages/sparskit/package.py b/var/spack/repos/builtin/packages/sparskit/package.py index e7b72ad42c..a1ca775828 100644 --- a/var/spack/repos/builtin/packages/sparskit/package.py +++ b/var/spack/repos/builtin/packages/sparskit/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Sparskit(MakefilePackage): """SPARSKIT: A basic tool-kit for sparse matrix computations (Version 2). diff --git a/var/spack/repos/builtin/packages/srilm/package.py b/var/spack/repos/builtin/packages/srilm/package.py index 05e7daf822..16cfff9c3e 100644 --- a/var/spack/repos/builtin/packages/srilm/package.py +++ b/var/spack/repos/builtin/packages/srilm/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import os import glob +import os + +from spack import * class Srilm(MakefilePackage): diff --git a/var/spack/repos/builtin/packages/sspace-longread/package.py b/var/spack/repos/builtin/packages/sspace-longread/package.py index 7a233bedd9..79001c59d7 100644 --- a/var/spack/repos/builtin/packages/sspace-longread/package.py +++ b/var/spack/repos/builtin/packages/sspace-longread/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class SspaceLongread(Package): """SSPACE-LongRead is a stand-alone program for scaffolding pre-assembled diff --git a/var/spack/repos/builtin/packages/sspace-standard/package.py b/var/spack/repos/builtin/packages/sspace-standard/package.py index 1b20b5f144..9b623228a1 100644 --- a/var/spack/repos/builtin/packages/sspace-standard/package.py +++ b/var/spack/repos/builtin/packages/sspace-standard/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import os import glob +import os + +from spack import * class SspaceStandard(Package): diff --git a/var/spack/repos/builtin/packages/star-ccm-plus/package.py b/var/spack/repos/builtin/packages/star-ccm-plus/package.py index e0b637de1e..0b39c0d6c7 100644 --- a/var/spack/repos/builtin/packages/star-ccm-plus/package.py +++ b/var/spack/repos/builtin/packages/star-ccm-plus/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import os +from spack import * + class StarCcmPlus(Package): """STAR-CCM+ (Computational Continuum Mechanics) CFD solver.""" diff --git a/var/spack/repos/builtin/packages/stata/package.py b/var/spack/repos/builtin/packages/stata/package.py index 9d10d9f936..0c5ae83576 100644 --- a/var/spack/repos/builtin/packages/stata/package.py +++ b/var/spack/repos/builtin/packages/stata/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os from datetime import datetime +from spack import * + class Stata(Package): """STATA is a general-purpose statistical software package developed diff --git a/var/spack/repos/builtin/packages/string-view-lite/package.py b/var/spack/repos/builtin/packages/string-view-lite/package.py index ac316d761e..467e2df4a2 100644 --- a/var/spack/repos/builtin/packages/string-view-lite/package.py +++ b/var/spack/repos/builtin/packages/string-view-lite/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from shutil import copytree +from spack import * + class StringViewLite(CMakePackage): """ diff --git a/var/spack/repos/builtin/packages/subread/package.py b/var/spack/repos/builtin/packages/subread/package.py index d17508b333..bacc0295c4 100644 --- a/var/spack/repos/builtin/packages/subread/package.py +++ b/var/spack/repos/builtin/packages/subread/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Subread(MakefilePackage): """The Subread software package is a tool kit for processing next-gen diff --git a/var/spack/repos/builtin/packages/sundials/package.py b/var/spack/repos/builtin/packages/sundials/package.py index 6a9cbe3ed3..cd65d6ac8c 100644 --- a/var/spack/repos/builtin/packages/sundials/package.py +++ b/var/spack/repos/builtin/packages/sundials/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import sys +from spack import * + class Sundials(CMakePackage, CudaPackage, ROCmPackage): """SUNDIALS (SUite of Nonlinear and DIfferential/ALgebraic equation diff --git a/var/spack/repos/builtin/packages/superlu-mt/package.py b/var/spack/repos/builtin/packages/superlu-mt/package.py index a03664bab6..56c73e1742 100644 --- a/var/spack/repos/builtin/packages/superlu-mt/package.py +++ b/var/spack/repos/builtin/packages/superlu-mt/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import os +from spack import * + class SuperluMt(Package): """SuperLU is a general purpose library for the direct solution of large, diff --git a/var/spack/repos/builtin/packages/supernova/package.py b/var/spack/repos/builtin/packages/supernova/package.py index fff4d9843b..54cefd0052 100644 --- a/var/spack/repos/builtin/packages/supernova/package.py +++ b/var/spack/repos/builtin/packages/supernova/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Supernova(Package): """Supernova is a software package for de novo assembly from Chromium diff --git a/var/spack/repos/builtin/packages/swiftsim/package.py b/var/spack/repos/builtin/packages/swiftsim/package.py index eab510002b..8f61e35a45 100644 --- a/var/spack/repos/builtin/packages/swiftsim/package.py +++ b/var/spack/repos/builtin/packages/swiftsim/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import llnl.util.tty as tty +from spack import * + class Swiftsim(AutotoolsPackage): """SPH With Inter-dependent Fine-grained Tasking (SWIFT) provides diff --git a/var/spack/repos/builtin/packages/swig/package.py b/var/spack/repos/builtin/packages/swig/package.py index 4cf58e8bea..f8cc55ea46 100644 --- a/var/spack/repos/builtin/packages/swig/package.py +++ b/var/spack/repos/builtin/packages/swig/package.py @@ -5,7 +5,6 @@ import os - from spack import * diff --git a/var/spack/repos/builtin/packages/symengine/package.py b/var/spack/repos/builtin/packages/symengine/package.py index ac13bfd0fc..6163feee43 100644 --- a/var/spack/repos/builtin/packages/symengine/package.py +++ b/var/spack/repos/builtin/packages/symengine/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Symengine(CMakePackage): """SymEngine is a fast symbolic manipulation library, written in C++.""" diff --git a/var/spack/repos/builtin/packages/sysget/package.py b/var/spack/repos/builtin/packages/sysget/package.py index b73a9341c5..79331502b2 100644 --- a/var/spack/repos/builtin/packages/sysget/package.py +++ b/var/spack/repos/builtin/packages/sysget/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Sysget(MakefilePackage): """sysget is a bridge that lets you use one syntax to every diff --git a/var/spack/repos/builtin/packages/targetp/package.py b/var/spack/repos/builtin/packages/targetp/package.py index 06a1f77ef6..2a4daf5657 100644 --- a/var/spack/repos/builtin/packages/targetp/package.py +++ b/var/spack/repos/builtin/packages/targetp/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Targetp(Package): """TargetP predicts the subcellular location of eukaryotic protein sequences. diff --git a/var/spack/repos/builtin/packages/tau/package.py b/var/spack/repos/builtin/packages/tau/package.py index 87cad051ec..486b6734c9 100644 --- a/var/spack/repos/builtin/packages/tau/package.py +++ b/var/spack/repos/builtin/packages/tau/package.py @@ -3,14 +3,16 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import os import fnmatch import glob +import os import platform import sys + from llnl.util.filesystem import join_path +from spack import * + class Tau(Package): """A portable profiling and tracing toolkit for performance diff --git a/var/spack/repos/builtin/packages/tbl2asn/package.py b/var/spack/repos/builtin/packages/tbl2asn/package.py index 5785f5ed61..acf4d2ecdf 100644 --- a/var/spack/repos/builtin/packages/tbl2asn/package.py +++ b/var/spack/repos/builtin/packages/tbl2asn/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os import chmod +from spack import * + class Tbl2asn(Package): """Tbl2asn is a command-line program that automates the creation of diff --git a/var/spack/repos/builtin/packages/tcptrace/package.py b/var/spack/repos/builtin/packages/tcptrace/package.py index 4122021ad5..a70ac19c30 100644 --- a/var/spack/repos/builtin/packages/tcptrace/package.py +++ b/var/spack/repos/builtin/packages/tcptrace/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * from os.path import join +from spack import * + class Tcptrace(AutotoolsPackage): """tcptrace is a tool written by Shawn Ostermann at Ohio University for diff --git a/var/spack/repos/builtin/packages/tecplot/package.py b/var/spack/repos/builtin/packages/tecplot/package.py index 5f5a66db2f..ee881ab8d1 100644 --- a/var/spack/repos/builtin/packages/tecplot/package.py +++ b/var/spack/repos/builtin/packages/tecplot/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Tecplot(Package): """Tecplot 360 is a Computational Fluid Dynamics (CFD) and numerical diff --git a/var/spack/repos/builtin/packages/templight/package.py b/var/spack/repos/builtin/packages/templight/package.py index a24ee96efc..bb6a11171d 100644 --- a/var/spack/repos/builtin/packages/templight/package.py +++ b/var/spack/repos/builtin/packages/templight/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Templight(CMakePackage): """Templight is a Clang-based tool to profile the time and memory diff --git a/var/spack/repos/builtin/packages/tetgen/package.py b/var/spack/repos/builtin/packages/tetgen/package.py index d7b5fcfd5e..1efff4ea65 100644 --- a/var/spack/repos/builtin/packages/tetgen/package.py +++ b/var/spack/repos/builtin/packages/tetgen/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob +from spack import * + class Tetgen(Package): """TetGen is a program and library that can be used to generate diff --git a/var/spack/repos/builtin/packages/texinfo/package.py b/var/spack/repos/builtin/packages/texinfo/package.py index f2959712fd..a978181cb0 100644 --- a/var/spack/repos/builtin/packages/texinfo/package.py +++ b/var/spack/repos/builtin/packages/texinfo/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import re +from spack import * + class Texinfo(AutotoolsPackage, GNUMirrorPackage): """Texinfo is the official documentation format of the GNU project. diff --git a/var/spack/repos/builtin/packages/texlive/package.py b/var/spack/repos/builtin/packages/texlive/package.py index 6bb46dc75c..6447a51a4d 100644 --- a/var/spack/repos/builtin/packages/texlive/package.py +++ b/var/spack/repos/builtin/packages/texlive/package.py @@ -3,11 +3,12 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import platform -import tempfile import re +import tempfile + +from spack import * class Texlive(AutotoolsPackage): diff --git a/var/spack/repos/builtin/packages/thornado-mini/package.py b/var/spack/repos/builtin/packages/thornado-mini/package.py index 40a9be8dcd..bea92c42c1 100644 --- a/var/spack/repos/builtin/packages/thornado-mini/package.py +++ b/var/spack/repos/builtin/packages/thornado-mini/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class ThornadoMini(MakefilePackage): """Code to solve the equation of radiative transfer in the diff --git a/var/spack/repos/builtin/packages/tinyxml/package.py b/var/spack/repos/builtin/packages/tinyxml/package.py index 5cb26b4cb8..d4d381fd5b 100644 --- a/var/spack/repos/builtin/packages/tinyxml/package.py +++ b/var/spack/repos/builtin/packages/tinyxml/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Tinyxml(CMakePackage): """Simple, small, efficient, C++ XML parser""" diff --git a/var/spack/repos/builtin/packages/tioga/package.py b/var/spack/repos/builtin/packages/tioga/package.py index 7957bf64e9..11c96a1aa1 100644 --- a/var/spack/repos/builtin/packages/tioga/package.py +++ b/var/spack/repos/builtin/packages/tioga/package.py @@ -3,6 +3,7 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import sys + from spack import * diff --git a/var/spack/repos/builtin/packages/tmhmm/package.py b/var/spack/repos/builtin/packages/tmhmm/package.py index 692a2a91e5..8ab54c8ce6 100644 --- a/var/spack/repos/builtin/packages/tmhmm/package.py +++ b/var/spack/repos/builtin/packages/tmhmm/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Tmhmm(Package): """Transmembrane helices in proteins diff --git a/var/spack/repos/builtin/packages/totalview/package.py b/var/spack/repos/builtin/packages/totalview/package.py index b985fc094f..21fb52b4df 100644 --- a/var/spack/repos/builtin/packages/totalview/package.py +++ b/var/spack/repos/builtin/packages/totalview/package.py @@ -3,10 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import os +from spack import * + class Totalview(Package): """Totalview parallel debugger. diff --git a/var/spack/repos/builtin/packages/transrate/package.py b/var/spack/repos/builtin/packages/transrate/package.py index 4b33cdfa21..b9d1f6bf99 100644 --- a/var/spack/repos/builtin/packages/transrate/package.py +++ b/var/spack/repos/builtin/packages/transrate/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Transrate(Package): """Transrate is software for de-novo transcriptome assembly quality diff --git a/var/spack/repos/builtin/packages/tree/package.py b/var/spack/repos/builtin/packages/tree/package.py index 16c21aff0a..1b1c176368 100644 --- a/var/spack/repos/builtin/packages/tree/package.py +++ b/var/spack/repos/builtin/packages/tree/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Tree(Package): """Tree is a recursive directory listing command that produces a depth diff --git a/var/spack/repos/builtin/packages/treelite/package.py b/var/spack/repos/builtin/packages/treelite/package.py index b3b440f094..dbd717880a 100644 --- a/var/spack/repos/builtin/packages/treelite/package.py +++ b/var/spack/repos/builtin/packages/treelite/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os + from spack import * diff --git a/var/spack/repos/builtin/packages/treesub/package.py b/var/spack/repos/builtin/packages/treesub/package.py index 10be3af820..94e0168714 100644 --- a/var/spack/repos/builtin/packages/treesub/package.py +++ b/var/spack/repos/builtin/packages/treesub/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Treesub(Package): """A small program (which glues together other programs) that diff --git a/var/spack/repos/builtin/packages/trf/package.py b/var/spack/repos/builtin/packages/trf/package.py index 79a31be7c5..805769dac3 100644 --- a/var/spack/repos/builtin/packages/trf/package.py +++ b/var/spack/repos/builtin/packages/trf/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Trf(AutotoolsPackage): """Tandem Repeats Finder is a program to locate and display tandem repeats diff --git a/var/spack/repos/builtin/packages/trimmomatic/package.py b/var/spack/repos/builtin/packages/trimmomatic/package.py index cc0a4b78d7..91e9cf7e27 100644 --- a/var/spack/repos/builtin/packages/trimmomatic/package.py +++ b/var/spack/repos/builtin/packages/trimmomatic/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Trimmomatic(Package): """A flexible read trimming tool for Illumina NGS data.""" diff --git a/var/spack/repos/builtin/packages/trinotate/package.py b/var/spack/repos/builtin/packages/trinotate/package.py index 2b2f96de7d..8aca2fb4ef 100644 --- a/var/spack/repos/builtin/packages/trinotate/package.py +++ b/var/spack/repos/builtin/packages/trinotate/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * -import os import glob +import os + +from spack import * class Trinotate(Package): diff --git a/var/spack/repos/builtin/packages/turbine/package.py b/var/spack/repos/builtin/packages/turbine/package.py index 2a1c3ac6fe..f7b84e5f8b 100644 --- a/var/spack/repos/builtin/packages/turbine/package.py +++ b/var/spack/repos/builtin/packages/turbine/package.py @@ -4,10 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import os +from spack import * + class Turbine(AutotoolsPackage): """Turbine: The Swift/T runtime""" diff --git a/var/spack/repos/builtin/packages/turbomole/package.py b/var/spack/repos/builtin/packages/turbomole/package.py index d5cac01132..3c239098a7 100644 --- a/var/spack/repos/builtin/packages/turbomole/package.py +++ b/var/spack/repos/builtin/packages/turbomole/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import subprocess +from spack import * + class Turbomole(Package): """TURBOMOLE: Program Package for ab initio Electronic Structure diff --git a/var/spack/repos/builtin/packages/usearch/package.py b/var/spack/repos/builtin/packages/usearch/package.py index 0bbb67f453..d43f8bb593 100644 --- a/var/spack/repos/builtin/packages/usearch/package.py +++ b/var/spack/repos/builtin/packages/usearch/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Usearch(Package): """USEARCH is a unique sequence analysis tool with thousands of users diff --git a/var/spack/repos/builtin/packages/util-linux/package.py b/var/spack/repos/builtin/packages/util-linux/package.py index 350d38f577..3b6b6d4c9c 100644 --- a/var/spack/repos/builtin/packages/util-linux/package.py +++ b/var/spack/repos/builtin/packages/util-linux/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class UtilLinux(AutotoolsPackage): """Util-linux is a suite of essential utilities for any Linux system.""" diff --git a/var/spack/repos/builtin/packages/valgrind/package.py b/var/spack/repos/builtin/packages/valgrind/package.py index c8ac9f71ce..dd5caef082 100644 --- a/var/spack/repos/builtin/packages/valgrind/package.py +++ b/var/spack/repos/builtin/packages/valgrind/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import sys +from spack import * + class Valgrind(AutotoolsPackage, SourcewarePackage): """An instrumentation framework for building dynamic analysis. diff --git a/var/spack/repos/builtin/packages/varscan/package.py b/var/spack/repos/builtin/packages/varscan/package.py index e062139028..69e42a8617 100644 --- a/var/spack/repos/builtin/packages/varscan/package.py +++ b/var/spack/repos/builtin/packages/varscan/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os.path +from spack import * + class Varscan(Package): """Variant calling and somatic mutation/CNV detection for next-generation diff --git a/var/spack/repos/builtin/packages/vasp/package.py b/var/spack/repos/builtin/packages/vasp/package.py index 065cd09415..525876e6e1 100644 --- a/var/spack/repos/builtin/packages/vasp/package.py +++ b/var/spack/repos/builtin/packages/vasp/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Vasp(MakefilePackage): """ diff --git a/var/spack/repos/builtin/packages/veclibfort/package.py b/var/spack/repos/builtin/packages/veclibfort/package.py index a0b7744485..2f8b11f456 100644 --- a/var/spack/repos/builtin/packages/veclibfort/package.py +++ b/var/spack/repos/builtin/packages/veclibfort/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Veclibfort(Package): """Lightweight but flexible shim designed to rectify the incompatibilities diff --git a/var/spack/repos/builtin/packages/verrou/package.py b/var/spack/repos/builtin/packages/verrou/package.py index a791ab8e1e..273c1ba6a2 100644 --- a/var/spack/repos/builtin/packages/verrou/package.py +++ b/var/spack/repos/builtin/packages/verrou/package.py @@ -3,11 +3,12 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import os import sys +from spack import * + class Verrou(AutotoolsPackage): """A floating-point error checker. diff --git a/var/spack/repos/builtin/packages/visit-cgns/package.py b/var/spack/repos/builtin/packages/visit-cgns/package.py index c1b49bd81a..414b446228 100644 --- a/var/spack/repos/builtin/packages/visit-cgns/package.py +++ b/var/spack/repos/builtin/packages/visit-cgns/package.py @@ -3,11 +3,13 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os + # Import re module to use regular expression import re +from spack import * + class VisitCgns(CMakePackage): """This is the CGNS Plug-In for VisIt. diff --git a/var/spack/repos/builtin/packages/visit-mfem/package.py b/var/spack/repos/builtin/packages/visit-mfem/package.py index 3fa9cb46dd..ca59e5a022 100644 --- a/var/spack/repos/builtin/packages/visit-mfem/package.py +++ b/var/spack/repos/builtin/packages/visit-mfem/package.py @@ -3,11 +3,13 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os + # Import re module to use regular expression import re +from spack import * + class VisitMfem(CMakePackage): """This is the MFEM Plug-In for VisIt. diff --git a/var/spack/repos/builtin/packages/visit-silo/package.py b/var/spack/repos/builtin/packages/visit-silo/package.py index 935049d9d0..db70b9b66e 100644 --- a/var/spack/repos/builtin/packages/visit-silo/package.py +++ b/var/spack/repos/builtin/packages/visit-silo/package.py @@ -3,11 +3,13 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os + # Import re module to use regular expression import re +from spack import * + class VisitSilo(CMakePackage): """This is the Silo Plug-In for VisIt. diff --git a/var/spack/repos/builtin/packages/vizglow/package.py b/var/spack/repos/builtin/packages/vizglow/package.py index 6e6639a778..8ae1dd5187 100644 --- a/var/spack/repos/builtin/packages/vizglow/package.py +++ b/var/spack/repos/builtin/packages/vizglow/package.py @@ -3,10 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import glob import os +from spack import * + class Vizglow(Package): """VizGlow software tool is used for high-fidelity multi-dimensional diff --git a/var/spack/repos/builtin/packages/vmd/package.py b/var/spack/repos/builtin/packages/vmd/package.py index 1746d7bce8..fa9969cc21 100644 --- a/var/spack/repos/builtin/packages/vmd/package.py +++ b/var/spack/repos/builtin/packages/vmd/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Vmd(Package): """VMD provides user-editable materials which can be applied diff --git a/var/spack/repos/builtin/packages/vtk-h/package.py b/var/spack/repos/builtin/packages/vtk-h/package.py index 2745825124..66ccee6c32 100644 --- a/var/spack/repos/builtin/packages/vtk-h/package.py +++ b/var/spack/repos/builtin/packages/vtk-h/package.py @@ -4,15 +4,14 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - -import sys import os import socket - +import sys +from os import environ as env import llnl.util.tty as tty -from os import environ as env + +from spack import * def cmake_cache_entry(name, value, vtype=None): diff --git a/var/spack/repos/builtin/packages/vtk-m/package.py b/var/spack/repos/builtin/packages/vtk-m/package.py index e05c925b5f..74ed09c58c 100644 --- a/var/spack/repos/builtin/packages/vtk-m/package.py +++ b/var/spack/repos/builtin/packages/vtk-m/package.py @@ -4,11 +4,12 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os import shutil import sys +from spack import * + class VtkM(CMakePackage, CudaPackage): """VTK-m is a toolkit of scientific visualization algorithms for emerging diff --git a/var/spack/repos/builtin/packages/vtk/package.py b/var/spack/repos/builtin/packages/vtk/package.py index d0d75346db..6f94e10d12 100644 --- a/var/spack/repos/builtin/packages/vtk/package.py +++ b/var/spack/repos/builtin/packages/vtk/package.py @@ -6,6 +6,7 @@ import os import sys + from spack import * diff --git a/var/spack/repos/builtin/packages/wps/package.py b/var/spack/repos/builtin/packages/wps/package.py index 5a9c7303e6..f35b514b83 100644 --- a/var/spack/repos/builtin/packages/wps/package.py +++ b/var/spack/repos/builtin/packages/wps/package.py @@ -3,11 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - import glob import tempfile +from spack import * + class Wps(Package): """The Weather Research and Forecasting Pre-Processing System (WPS) diff --git a/var/spack/repos/builtin/packages/wrf/package.py b/var/spack/repos/builtin/packages/wrf/package.py index e508e41f0e..a6706aa08c 100644 --- a/var/spack/repos/builtin/packages/wrf/package.py +++ b/var/spack/repos/builtin/packages/wrf/package.py @@ -3,17 +3,18 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * - -from sys import stdout import glob +import re +import time +from fcntl import F_GETFL, F_SETFL, fcntl from os import O_NONBLOCK, rename from os.path import basename -from fcntl import fcntl, F_GETFL, F_SETFL -from subprocess import Popen, PIPE -import time +from subprocess import PIPE, Popen +from sys import stdout + from llnl.util import tty -import re + +from spack import * re_optline = re.compile(r'\s+[0-9]+\..*\((serial|smpar|dmpar|dm\+sm)\)\s+') re_paroptname = re.compile(r'\((serial|smpar|dmpar|dm\+sm)\)') diff --git a/var/spack/repos/builtin/packages/wxwidgets/package.py b/var/spack/repos/builtin/packages/wxwidgets/package.py index 4e159ec36d..d503fa5199 100644 --- a/var/spack/repos/builtin/packages/wxwidgets/package.py +++ b/var/spack/repos/builtin/packages/wxwidgets/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Wxwidgets(AutotoolsPackage): """wxWidgets is a C++ library that lets developers create diff --git a/var/spack/repos/builtin/packages/xerces-c/package.py b/var/spack/repos/builtin/packages/xerces-c/package.py index b1dbccefcf..ba4a80a22b 100644 --- a/var/spack/repos/builtin/packages/xerces-c/package.py +++ b/var/spack/repos/builtin/packages/xerces-c/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class XercesC(AutotoolsPackage): """Xerces-C++ is a validating XML parser written in a portable subset of diff --git a/var/spack/repos/builtin/packages/xios/package.py b/var/spack/repos/builtin/packages/xios/package.py index 980f7396ef..4670588ae8 100644 --- a/var/spack/repos/builtin/packages/xios/package.py +++ b/var/spack/repos/builtin/packages/xios/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import os + # from spack import * -import os class Xios(Package): diff --git a/var/spack/repos/builtin/packages/xlc/package.py b/var/spack/repos/builtin/packages/xlc/package.py index 42cf3b5888..59d65fe521 100644 --- a/var/spack/repos/builtin/packages/xlc/package.py +++ b/var/spack/repos/builtin/packages/xlc/package.py @@ -5,9 +5,10 @@ import collections import re -import spack.compiler import llnl.util.tty as tty +import spack.compiler + class Xlc(Package): """IBM XL C/C++ is an advanced, high-performance compiler that can be diff --git a/var/spack/repos/builtin/packages/xlf/package.py b/var/spack/repos/builtin/packages/xlf/package.py index 4f5aefdd0f..6650b0487d 100644 --- a/var/spack/repos/builtin/packages/xlf/package.py +++ b/var/spack/repos/builtin/packages/xlf/package.py @@ -2,13 +2,14 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -import os.path import collections +import os.path import re -import spack.compiler import llnl.util.tty as tty +import spack.compiler + class Xlf(Package): """IBM XL Fortran is an advanced, high-performance compiler that can be diff --git a/var/spack/repos/builtin/packages/xplor-nih/package.py b/var/spack/repos/builtin/packages/xplor-nih/package.py index 9522d2f5de..de95db7e57 100644 --- a/var/spack/repos/builtin/packages/xplor-nih/package.py +++ b/var/spack/repos/builtin/packages/xplor-nih/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class XplorNih(Package): """XPLOR-NIH is a structure determination program. diff --git a/var/spack/repos/builtin/packages/xsdk/package.py b/var/spack/repos/builtin/packages/xsdk/package.py index b5ef29ea71..c8f25ad5c9 100644 --- a/var/spack/repos/builtin/packages/xsdk/package.py +++ b/var/spack/repos/builtin/packages/xsdk/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import sys +from spack import * + class Xsdk(BundlePackage): """Xsdk is a suite of Department of Energy (DOE) packages for numerical diff --git a/var/spack/repos/builtin/packages/xsdktrilinos/package.py b/var/spack/repos/builtin/packages/xsdktrilinos/package.py index 3d76808890..e5c1b408e5 100644 --- a/var/spack/repos/builtin/packages/xsdktrilinos/package.py +++ b/var/spack/repos/builtin/packages/xsdktrilinos/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Xsdktrilinos(CMakePackage): """xSDKTrilinos contains the portions of Trilinos that depend on PETSc diff --git a/var/spack/repos/builtin/packages/xxd-standalone/package.py b/var/spack/repos/builtin/packages/xxd-standalone/package.py index bce886a193..f74253e858 100644 --- a/var/spack/repos/builtin/packages/xxd-standalone/package.py +++ b/var/spack/repos/builtin/packages/xxd-standalone/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class XxdStandalone(MakefilePackage): """xxd creates a hex dump of a given file or standard input. diff --git a/var/spack/repos/builtin/packages/yaml-cpp/package.py b/var/spack/repos/builtin/packages/yaml-cpp/package.py index da351f3c5a..7fa09c14f2 100644 --- a/var/spack/repos/builtin/packages/yaml-cpp/package.py +++ b/var/spack/repos/builtin/packages/yaml-cpp/package.py @@ -5,7 +5,6 @@ from spack.spec import ConflictsInSpecError - yaml_cpp_tests_libcxx_error_msg = 'yaml-cpp tests incompatible with libc++' diff --git a/var/spack/repos/builtin/packages/zoltan/package.py b/var/spack/repos/builtin/packages/zoltan/package.py index 44517b3f7e..1ea4aee31c 100644 --- a/var/spack/repos/builtin/packages/zoltan/package.py +++ b/var/spack/repos/builtin/packages/zoltan/package.py @@ -4,9 +4,10 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import re +from spack import * + class Zoltan(AutotoolsPackage): """The Zoltan library is a toolkit of parallel combinatorial algorithms diff --git a/var/spack/repos/tutorial/packages/mpich/package.py b/var/spack/repos/tutorial/packages/mpich/package.py index 87c7e30d82..fdd2feed0d 100644 --- a/var/spack/repos/tutorial/packages/mpich/package.py +++ b/var/spack/repos/tutorial/packages/mpich/package.py @@ -3,9 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * + class Mpich(AutotoolsPackage): """MPICH is a high performance and widely portable implementation of -- cgit v1.2.3-70-g09d2