summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-virtualenvwrapper/package.py
blob: 5204725415afb8e0e2782c11bd36dc4ef02a6d16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class PyVirtualenvwrapper(PythonPackage):
    """virtualenvwrapper is a set of extensions to Ian Bicking's
    virtualenv tool. The extensions include wrappers for creating and
    deleting virtual environments and otherwise managing your development
    workflow, making it easier to work on more than one project at a time
    without introducing conflicts in their dependencies."""

    homepage = "https://bitbucket.org/virtualenvwrapper/virtualenvwrapper.git"
    pypi = "virtualenvwrapper/virtualenvwrapper-4.8.2.tar.gz"

    license("MIT")

    version("4.8.4", sha256="51a1a934e7ed0ff221bdd91bf9d3b604d875afbb3aa2367133503fee168f5bfa")
    version("4.8.2", sha256="18d8e4c500c4c4ee794f704e050cf2bbb492537532a4521d1047e7dd1ee4e374")

    depends_on("python@2.6:")
    depends_on("py-pbr", type="build", when="@4.8.4:")
    depends_on("py-virtualenv", type=("build", "run"))
    depends_on("py-virtualenv-clone", type=("build", "run"))
    depends_on("py-stevedore", type=("build", "run"))
    # not just build-time, requires pkg_resources
    depends_on("py-setuptools", type=("build", "run"))