Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yarunachalam:branches:devel:languages:python
python-pysol-cards
python-pysol-cards.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pysol-cards.spec of Package python-pysol-cards
# # spec file for package python-pysol-cards # # Copyright (c) 2021 SUSE LLC # Copyright (c) 2020 Malcolm J Lewis <malcolmlewis@opensuse.org> # # 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 https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define pythons python3 Name: python-pysol-cards Version: 0.10.1 Release: 0 Summary: Python module for pysol-cards License: Apache-2.0 Group: Development/Languages/Python URL: https://pypi.org/project/pysol-cards/ Source: https://files.pythonhosted.org/packages/source/p/pysol_cards/pysol_cards-%{version}.tar.gz BuildRequires: %{python_module oslotest} BuildRequires: %{python_module pbr >= 2.0} BuildRequires: %{python_module pytest} BuildRequires: %{python_module random2} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros ## MANUAL BEGIN ## Requires: python-random2 Requires: python-six ## MANUAL END ## BuildArch: noarch %python_subpackages %description This module allows the python developer to generate the initial deals of some PySol FC games. It also supports PySol legacy deals and Microsoft FreeCell / Freecell Pro deals. %prep %setup -q -n pysol_cards-%{version} # Fix rpm runtime dependency rpmlint error replace the shebang in all the scripts with %%{_bindir}/python3 find . -name "*.py" -exec sed -i 's|#! %{_bindir}/env python|#!%{_bindir}/python3|' {} ";" %build export LC_ALL=en_US.utf8 %python_build %install export LC_ALL=en_US.utf8 %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib}/ %check %pytest %files %{python_files} %doc AUTHORS ChangeLog CONTRIBUTING.rst HACKING.rst %license LICENSE %{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