summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author健美猞猁 <weijianwen@gmail.com>2018-06-26 01:02:04 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2018-06-25 12:02:04 -0500
commit808a53c0df5e434f012a6bf9a3e9e28d051c74c9 (patch)
treec831ce84cd8a2806cb849c28f85235c0aaaa2302
parent6afe309fdf24979553eeacdfaaee39f1e2112e59 (diff)
downloadspack-808a53c0df5e434f012a6bf9a3e9e28d051c74c9.tar.gz
spack-808a53c0df5e434f012a6bf9a3e9e28d051c74c9.tar.bz2
spack-808a53c0df5e434f012a6bf9a3e9e28d051c74c9.tar.xz
spack-808a53c0df5e434f012a6bf9a3e9e28d051c74c9.zip
A new perl package: perl-io-compress. (#8566)
* A new package: perl-compress-raw-zlib. * A new package: perl-compress-raw-bzip2. * A new perl package: perl-io-compress. * flake8. * Add zlib and bzip2 dependency.
-rw-r--r--var/spack/repos/builtin/packages/perl-compress-raw-bzip2/package.py37
-rw-r--r--var/spack/repos/builtin/packages/perl-compress-raw-zlib/package.py37
-rw-r--r--var/spack/repos/builtin/packages/perl-io-compress/package.py38
3 files changed, 112 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/perl-compress-raw-bzip2/package.py b/var/spack/repos/builtin/packages/perl-compress-raw-bzip2/package.py
new file mode 100644
index 0000000000..1d836ce93f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/perl-compress-raw-bzip2/package.py
@@ -0,0 +1,37 @@
+##############################################################################
+# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/spack/spack
+# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+
+class PerlCompressRawBzip2(PerlPackage):
+ """A low-Level Interface to bzip2 compression library."""
+
+ homepage = "http://search.cpan.org/~pmqs/Compress-Raw-Bzip2-2.081/lib/Compress/Raw/Bzip2.pm"
+ url = "http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-2.081.tar.gz"
+
+ version('2.081', '25fa9c9cc4fd3250b65b91694f9eac2e')
+
+ depends_on('bzip2')
+ depends_on('perl-extutils-makemaker', type='build')
diff --git a/var/spack/repos/builtin/packages/perl-compress-raw-zlib/package.py b/var/spack/repos/builtin/packages/perl-compress-raw-zlib/package.py
new file mode 100644
index 0000000000..35784f7c3d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/perl-compress-raw-zlib/package.py
@@ -0,0 +1,37 @@
+##############################################################################
+# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/spack/spack
+# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+
+class PerlCompressRawZlib(PerlPackage):
+ "A low-Level Interface to zlib compression library"
+
+ homepage = "http://search.cpan.org/~pmqs/Compress-Raw-Zlib-2.081/lib/Compress/Raw/Zlib.pm"
+ url = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/Compress-Raw-Zlib-2.081.tar.gz"
+
+ version('2.081', 'a22d23bb4f8ce92a41ace1dff29f2bd1')
+
+ depends_on('zlib')
+ depends_on('perl-extutils-makemaker', type='build')
diff --git a/var/spack/repos/builtin/packages/perl-io-compress/package.py b/var/spack/repos/builtin/packages/perl-io-compress/package.py
new file mode 100644
index 0000000000..5ae1dacd3a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/perl-io-compress/package.py
@@ -0,0 +1,38 @@
+##############################################################################
+# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/spack/spack
+# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+
+class PerlIoCompress(PerlPackage):
+ """A perl library for uncompressing gzip, zip, bzip2
+ or lzop file/buffer."""
+
+ homepage = "http://search.cpan.org/~pmqs/IO-Compress-2.070/lib/IO/Uncompress/AnyUncompress.pm"
+ url = "http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/IO-Compress-2.070.tar.gz"
+
+ version('2.081', '379932c1b9428b873ed7ad3c1db15872')
+
+ depends_on('perl-compress-raw-zlib', type='run')
+ depends_on('perl-compress-raw-bzip2', type='run')