diff options
author | Francesco Di Natale <frank.dinatale1988@gmail.com> | 2018-08-31 12:21:55 -0600 |
---|---|---|
committer | becker33 <becker33@llnl.gov> | 2018-08-31 11:21:55 -0700 |
commit | 3d92b975f3c8fedf703ee5ecbebfed06f6e4e1c7 (patch) | |
tree | 7135427cb1a6b33c5632b9ab242430b75f713da1 | |
parent | d54a91fd2b50fe459bebdcc4deaf4e29df92c074 (diff) | |
download | spack-3d92b975f3c8fedf703ee5ecbebfed06f6e4e1c7.tar.gz spack-3d92b975f3c8fedf703ee5ecbebfed06f6e4e1c7.tar.bz2 spack-3d92b975f3c8fedf703ee5ecbebfed06f6e4e1c7.tar.xz spack-3d92b975f3c8fedf703ee5ecbebfed06f6e4e1c7.zip |
py-filelock: new package (#9136)
* Addition of py-filelock and first page of versions.
* Addition of setup.py patch for setuptools.
* flake8 failure fixes.
* Reduced url declaration to a single line.
* Correction to py-filelock to use distutils.
-rw-r--r-- | var/spack/repos/builtin/packages/py-filelock/package.py | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-filelock/package.py b/var/spack/repos/builtin/packages/py-filelock/package.py new file mode 100644 index 0000000000..757cfb8006 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-filelock/package.py @@ -0,0 +1,45 @@ +############################################################################## +# 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/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 PyFilelock(PythonPackage): + """This package contains a single module, which implements a platform + independent file lock in Python, which provides a simple way of + inter-process communication""" + + homepage = "https://github.com/benediktschmitt/py-filelock" + url = "https://github.com/benediktschmitt/py-filelock/archive/v3.0.4.tar.gz" + + version('3.0.4', '3cafce82375c3b635f2c872acaf3a00b') + version('3.0.3', 'e4bd69f15ebcc6d5a3d684cea3694840') + version('3.0.1', 'cbf41ad3d89c89e2b752bc85b501dff6') + version('3.0.0', '29d199e8998ac324d0d7cab7aa814943') + version('2.0.13', 'cdd0c4f3e905fbab76d1202ce8e8b454') + version('2.0.12', 'fffda24b6cfd459ea5d2d5c335e949e2') + version('2.0.11', '9e8cbbe18494d12647050bb32a7e624d') + version('2.0.10', '1791e72bb19e503fdd0f365fb8ce2a4d') + version('2.0.9', 'b0269e7f77a090cc0d5fc9cf5fbe6ac2') + version('2.0.8', '939ec6d4e2ecdc353a1f27fc452d8e8c') |