Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jayvdb:branches:devel:languages:python:misc
python-memento_test
python-memento_test.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-memento_test.spec of Package python-memento_test
# # spec file for package python-memento_test # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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/ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_with test Name: python-memento_test Version: 0.1.3 Release: 0 License: BSD-3-Clause Summary: Memento Test Suite Url: https://github.com/mementoweb/memento_test Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/m/memento_test/memento_test-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module Werkzeug >= 0.12} %endif Requires: python-Werkzeug >= 0.12 BuildArch: noarch Requires(post): update-alternatives Requires(postun): update-alternatives %python_subpackages %description A test suite for Memento. %prep %setup -q -n memento_test-%{version} sed -i -e '/^#!\//, 1d' memento_test/server.py %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/memento_test_server %post %python_install_alternative memento_test_server %postun %python_uninstall_alternative memento_test_server %if %{with test} %check %python_exec setup.py test %endif %files %{python_files} %python_alternative %{_bindir}/memento_test_server %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor