add new version for py-ranger-fm (formerly py-ranger) (#13681)

- download from pypi, drop 1.7.2
- drop 1.7.2, it is not available from pypi
This commit is contained in:
Simon Pintarelli 2019-11-12 19:05:18 +01:00 committed by Adam J. Stewart
parent 1ae824737e
commit d0de9f8d9d
2 changed files with 17 additions and 18 deletions

View file

@ -0,0 +1,17 @@
# Copyright 2013-2019 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 import *
class PyRangerFm(PythonPackage):
"""A VIM-inspired filemanager for the console"""
homepage = "https://pypi.python.org/pypi/ranger-fm"
url = "https://pypi.io/packages/source/r/ranger-fm/ranger-fm-1.9.2.tar.gz"
git = "https://github.com/ranger/ranger.git"
version('1.9.2', sha256='0ec62031185ad1f40b9faebd5a2d517c8597019c2eee919e3f1c60ce466d8625')

View file

@ -1,18 +0,0 @@
# Copyright 2013-2019 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 import *
class PyRanger(PythonPackage):
"""A VIM-inspired filemanager for the console"""
homepage = "http://ranger.nongnu.org/"
url = "https://github.com/ranger/ranger/archive/v1.7.2.tar.gz"
version('1.7.2', sha256='80917c93396e46272b6de63816d925eb708291a9f7a559d49b24c571ea0eeeb3')
depends_on('python@2.6:')