From 73f78cb8c4422e740c104ff823ba850f91e6a373 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 30 Mar 2017 02:18:40 -0500 Subject: Move py-dev to the proper repo directory (#3630) --- .../builtin/packages/py-dev/__init__.py.patch | 10 ++++++ var/spack/repos/builtin/packages/py-dev/package.py | 38 ++++++++++++++++++++++ var/spack/repos/builtin/py-dev/__init__.py.patch | 10 ------ var/spack/repos/builtin/py-dev/package.py | 38 ---------------------- 4 files changed, 48 insertions(+), 48 deletions(-) create mode 100644 var/spack/repos/builtin/packages/py-dev/__init__.py.patch create mode 100644 var/spack/repos/builtin/packages/py-dev/package.py delete mode 100644 var/spack/repos/builtin/py-dev/__init__.py.patch delete mode 100644 var/spack/repos/builtin/py-dev/package.py diff --git a/var/spack/repos/builtin/packages/py-dev/__init__.py.patch b/var/spack/repos/builtin/packages/py-dev/__init__.py.patch new file mode 100644 index 0000000000..1c783b82c8 --- /dev/null +++ b/var/spack/repos/builtin/packages/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/packages/py-dev/package.py b/var/spack/repos/builtin/packages/py-dev/package.py new file mode 100644 index 0000000000..449ed7dd80 --- /dev/null +++ b/var/spack/repos/builtin/packages/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') diff --git a/var/spack/repos/builtin/py-dev/__init__.py.patch b/var/spack/repos/builtin/py-dev/__init__.py.patch deleted file mode 100644 index 1c783b82c8..0000000000 --- a/var/spack/repos/builtin/py-dev/__init__.py.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- 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 deleted file mode 100644 index 449ed7dd80..0000000000 --- a/var/spack/repos/builtin/py-dev/package.py +++ /dev/null @@ -1,38 +0,0 @@ -############################################################################## -# 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