From be5bb33aaccd75bf9ff4abe1951fa0c14e391f58 Mon Sep 17 00:00:00 2001 From: Jimmy Tang Date: Fri, 24 Mar 2017 18:12:57 +0000 Subject: Initial add of dev package (#3533) * Initial add of dev package * Use a more acceptable URL --- var/spack/repos/builtin/py-dev/__init__.py.patch | 10 +++++++ var/spack/repos/builtin/py-dev/package.py | 38 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 var/spack/repos/builtin/py-dev/__init__.py.patch create mode 100644 var/spack/repos/builtin/py-dev/package.py diff --git a/var/spack/repos/builtin/py-dev/__init__.py.patch b/var/spack/repos/builtin/py-dev/__init__.py.patch new file mode 100644 index 0000000000..1c783b82c8 --- /dev/null +++ b/var/spack/repos/builtin/py-dev/__init__.py.patch @@ -0,0 +1,10 @@ +--- a/dev/__init__.py 2017-03-24 13:46:56.211385166 +0000 ++++ b/dev/__init__.py 2017-03-24 13:47:01.535332256 +0000 +@@ -1,6 +1,6 @@ + """ + +-🚧 About ++About + -------- + + dev is a collection of Python developer tools presented as a diff --git a/var/spack/repos/builtin/py-dev/package.py b/var/spack/repos/builtin/py-dev/package.py new file mode 100644 index 0000000000..449ed7dd80 --- /dev/null +++ b/var/spack/repos/builtin/py-dev/package.py @@ -0,0 +1,38 @@ +############################################################################## +# 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 PyDev(PythonPackage): + """libraries and tools for Python development""" + + homepage = "https://pypi.python.org/pypi/dev" + url = "https://pypi.io/packages/source/d/dev/dev-0.4.0.tar.gz" + + version('0.4.0', '00449cf0b347c32da9c840adcb4cf24b') + + patch('__init__.py.patch') + + depends_on('py-setuptools', type='build') -- cgit v1.2.3-70-g09d2