
* The perl-uri-escape package duplicates perl-uri The Perl URI::Escape module is in the Perl URI package so the Spack perl-uri-escape package is a duplicate of the perl-uri package. This PR does the following: - replace `depends_on('perl-uri-escape')` with `depends_on('perl-uri')` in packages that dependend on perl-uri-escape - add the version from perl-uri-escape to perl-uri - remove the unneeded dependency from perl-uri - remove the perl-uri-escape package * Reinstated perl-test-needs dependency Put the perl-test-needs dependency for perl-uri back in but set it to type='test'. * For tests to succeed the type must be ('build', 'test')
19 lines
634 B
Python
19 lines
634 B
Python
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack import *
|
|
|
|
|
|
class PerlUri(PerlPackage):
|
|
"""Uniform Resource Identifiers (absolute and relative)"""
|
|
|
|
homepage = "http://search.cpan.org/~ether/URI-1.72/lib/URI.pm"
|
|
url = "http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/URI-1.72.tar.gz"
|
|
|
|
version('1.72', 'cd56d81ed429efaa97e7f3ff08851b48')
|
|
version('1.71', '247c3da29a794f72730e01aa5a715daf')
|
|
|
|
depends_on('perl-test-needs', type=('build', 'test'))
|