From 15c311fbebac486b5a6199a163350428232c080c Mon Sep 17 00:00:00 2001 From: healther Date: Fri, 3 Mar 2017 14:57:47 +0100 Subject: add package notmuch and dependencies (#3329) * add package notmuch and dependencies depends on * gmime * flake8 again --- .../repos/builtin/packages/notmuch/package.py | 42 ++++++++++++++++++++++ var/spack/repos/builtin/packages/talloc/package.py | 35 ++++++++++++++++++ .../repos/builtin/packages/xapian-core/package.py | 39 ++++++++++++++++++++ 3 files changed, 116 insertions(+) create mode 100644 var/spack/repos/builtin/packages/notmuch/package.py create mode 100644 var/spack/repos/builtin/packages/talloc/package.py create mode 100644 var/spack/repos/builtin/packages/xapian-core/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/notmuch/package.py b/var/spack/repos/builtin/packages/notmuch/package.py new file mode 100644 index 0000000000..fea7cd8920 --- /dev/null +++ b/var/spack/repos/builtin/packages/notmuch/package.py @@ -0,0 +1,42 @@ +############################################################################## +# Copyright (c) 2013-2016, 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/llnl/spack +# Please also see the LICENSE file 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 Notmuch(AutotoolsPackage): + """Notmuch is a mail indexer. + + Essentially, is a very thin front end on top of xapian. + """ + + homepage = "https://notmuchmail.org/" + url = "https://notmuchmail.org/releases/notmuch-0.23.7.tar.gz" + + version('0.23.7', '1ad339b6d0c03548140434c7bcdf0624') + + depends_on('zlib') + depends_on('talloc') + depends_on('gmime@2.6:') + depends_on('xapian-core') diff --git a/var/spack/repos/builtin/packages/talloc/package.py b/var/spack/repos/builtin/packages/talloc/package.py new file mode 100644 index 0000000000..502057b3e9 --- /dev/null +++ b/var/spack/repos/builtin/packages/talloc/package.py @@ -0,0 +1,35 @@ +############################################################################## +# Copyright (c) 2013-2016, 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/llnl/spack +# Please also see the LICENSE file 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 Talloc(AutotoolsPackage): + """Talloc provides a hierarchical, reference counted memory pool system + with destructors. It is the core memory allocator used in Samba.""" + + homepage = "https://talloc.samba.org" + url = "https://www.samba.org/ftp/talloc/talloc-2.1.9.tar.gz" + + version('2.1.9', '19ba14eba97d79a169fa92ea824d2b9e') diff --git a/var/spack/repos/builtin/packages/xapian-core/package.py b/var/spack/repos/builtin/packages/xapian-core/package.py new file mode 100644 index 0000000000..9c2e4a55ee --- /dev/null +++ b/var/spack/repos/builtin/packages/xapian-core/package.py @@ -0,0 +1,39 @@ +############################################################################## +# Copyright (c) 2013-2016, 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/llnl/spack +# Please also see the LICENSE file 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 XapianCore(AutotoolsPackage): + """Xapian is a highly adaptable toolkit which allows developers to easily + add advanced indexing and search facilities to their own applications. + It supports the Probabilistic Information Retrieval model and also + supports a rich set of boolean query operators.""" + + homepage = "https://xapian.org" + url = "http://oligarchy.co.uk/xapian/1.4.3/xapian-core-1.4.3.tar.xz" + + version('1.4.3', '143f72693219f7fc5913815ed858f295') + + depends_on('zlib') -- cgit v1.2.3-70-g09d2