
* Bump the package API of the `builtin` repo to `v2.0` * Move `var/spack/repos/builtin` -> `var/spack/repos/spack_repo/builtin` * Move test repos `var/spack/repos/{builtin.mock,tutorial,...}` -> `var/spack/test_repos/` * Update package dir names to v2 format (`-` -> `_` etc) * Change absolute imports `from spack.pkg.builtin.my_pkg ...` to relative imports `from ..my_pkg.package ...` Users who have a repo on top of builtin should change imports from ```python from spack.pkg.builtin.my_pkg import MyPkg ``` to ```python from spack_repo.builtin.packages.my_pkg.package import MyPkg ``` and can configure their editors with ``` PYTHONPATH=$spack/lib/spack:$spack/var/spack/repos ``` [skip-verify-checksums]
22 lines
618 B
Python
22 lines
618 B
Python
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack.package import *
|
|
|
|
|
|
class Aeskeyfind(MakefilePackage):
|
|
"""This program illustrates automatic techniques for locating 128-bit
|
|
and 256-bit AES keys in a captured memory image."""
|
|
|
|
homepage = "https://github.com/makomk/aeskeyfind"
|
|
git = "https://github.com/makomk/aeskeyfind.git"
|
|
|
|
version("master", branch="master")
|
|
|
|
depends_on("c", type="build") # generated
|
|
|
|
def install(self, spec, prefix):
|
|
mkdirp(prefix.bin)
|
|
install("aeskeyfind", prefix.bin)
|