The perl-uri-escape package duplicates perl-uri (#12971)

* 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')
This commit is contained in:
Glenn Johnson
2019-09-29 09:27:42 -05:00
committed by Adam J. Stewart
parent 9117dfd118
commit c56f03a3ba
6 changed files with 6 additions and 25 deletions

View File

@@ -20,7 +20,7 @@ class Transdecoder(MakefilePackage):
url='https://github.com/TransDecoder/TransDecoder/archive/v3.0.1.tar.gz')
depends_on('perl', type=('build', 'run'))
depends_on('perl-uri-escape', type='run')
depends_on('perl-uri', type='run')
def install(self, spec, prefix):
mkdirp(prefix.util)