summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsnehring <snehring@users.noreply.github.com>2022-04-19 10:50:53 -0500
committerGitHub <noreply@github.com>2022-04-19 15:50:53 +0000
commit3273928ddc384730925ef9c8defd7313581b6661 (patch)
tree8d723cf0d5f678f9d3604d75fc8efde0e8bf47b9
parenta4f32dbf8d3ed3a28692caa09a00560096452168 (diff)
downloadspack-3273928ddc384730925ef9c8defd7313581b6661.tar.gz
spack-3273928ddc384730925ef9c8defd7313581b6661.tar.bz2
spack-3273928ddc384730925ef9c8defd7313581b6661.tar.xz
spack-3273928ddc384730925ef9c8defd7313581b6661.zip
aperture-photometry: add v3.0.2, change url (#30103)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/aperture-photometry/package.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/aperture-photometry/package.py b/var/spack/repos/builtin/packages/aperture-photometry/package.py
index f81ea60fa1..6d434fe7b1 100644
--- a/var/spack/repos/builtin/packages/aperture-photometry/package.py
+++ b/var/spack/repos/builtin/packages/aperture-photometry/package.py
@@ -11,24 +11,24 @@ from spack import *
class AperturePhotometry(Package):
"""Aperture Photometry Tool APT is software for astronomical research"""
- homepage = "http://www.aperturephotometry.org/aptool/"
- url = "http://www.aperturephotometry.org/aptool/wp-content/plugins/download-monitor/download.php?id=1"
+ homepage = "http://www.aperturephotometry.org/"
+ url = "https://web.ipac.caltech.edu/staff/laher/apt/APT_v2.8.4.tar.gz"
+ maintainers = ['snehring']
- version('2.8.4', '28ae136c708a3ebcb83632230e119a03ca1a65499006ab69dc76e21b4921f465', extension='tar.gz')
- version('2.8.2', 'cb29eb39a630dc5d17c02fb824c69571fe1870a910a6acf9115c5f76fd89dd7e', extension='tar.gz')
+ version('3.0.2', '8ac430079825ba274567fb998dd693bb6f99490f5b896d4746178ba796bfdead')
+ version('2.8.4', '28ae136c708a3ebcb83632230e119a03ca1a65499006ab69dc76e21b4921f465')
+ version('2.8.2', 'cb29eb39a630dc5d17c02fb824c69571fe1870a910a6acf9115c5f76fd89dd7e', deprecated=True)
depends_on('java')
def install(self, spec, prefix):
mkdirp(prefix.bin)
- jar_file = 'APT.jar'
- install(jar_file, prefix.bin)
+ install('APT.jar', prefix.bin)
java = join_path(self.spec['java'].prefix, 'bin', 'java')
script_sh = join_path(os.path.dirname(__file__), "APT.sh")
script = join_path(prefix.bin, "apt")
install(script_sh, script)
set_executable(script)
- kwargs = {'ignore_absent': False, 'backup': False, 'string': False}
- filter_file('^java', java, script, **kwargs)
+ filter_file('^java', java, script)
filter_file('APT.jar', join_path(prefix.bin, 'APT.jar'),
- script, **kwargs)
+ script)