A new user interface for you!

File python-nodeenv.spec of Package python-nodeenv

# spec file for package python-nodeenv
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:           python-nodeenv
Version:        1.0.0
Release:        0
Summary:        Nodejs virtual environment builder
License:        BSD-2-Clause
Group:          Development/Languages/Python
Url:            https://github.com/ekalinin/nodeenv
Source:         https://pypi.io/packages/source/n/nodeenv/nodeenv-%{version}.tar.gz
BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Provides:       nodeenv

Tool to create isolated node.js environments, with its own
installation directories, that doesn't share libraries with
other node.js virtual environments.

These environments can be integrated with ones created by
Python's virtualenv.

%setup -q -n nodeenv-%{version}

python setup.py build

python setup.py install --prefix=%{_prefix} --root=%{buildroot}