Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lenovo-lico:lico-dep:5.1:el7
python-docopt
python-docopt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-docopt.spec of Package python-docopt
%global pypi_name docopt %bcond_with tests Name: python-docopt Version: 0.6.2 Release: 7%{?dist} Summary: Pythonic argument parser, that will make you smile License: MIT URL: https://github.com/docopt/docopt Source0: https://github.com/docopt/docopt/archive/%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch %description Isn't it awesome how optparse and argparse generate help messages based on your code?! Hell no! You know what's awesome? It's when the option parser is generated based on the beautiful help message that you write yourself! This way you don't need to write thisstupid repeatable parser-code, and instead can write only the help message--*the way you want it*. %package -n python2-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python2-%{pypi_name}} BuildRequires: python2-devel BuildRequires: python2-setuptools %if %{with tests} BuildRequires: python2-pytest %endif %description -n python2-%{pypi_name} Isn't it awesome how optparse and argparse generate help messages based on your code?! Hell no! You know what's awesome? It's when the option parser is generated based on the beautiful help message that you write yourself! This way you don't need to write thisstupid repeatable parser-code, and instead can write only the help message--*the way you want it*. Python 2 version. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} BuildRequires: python3-devel BuildRequires: python3-setuptools %if %{with tests} BuildRequires: python3-pytest %endif %description -n python3-%{pypi_name} Isn't it awesome how optparse and argparse generate help messages based on your code?! Hell no! You know what's awesome? It's when the option parser is generated based on the beautiful help message that you write yourself! This way you don't need to write thisstupid repeatable parser-code, and instead can write only the help message--*the way you want it*. Python 3 version. %prep %autosetup -n %{pypi_name}-%{version} %build %py2_build %py3_build %install %py2_install %py3_install %if %{with tests} %check py.test-%{python2_version} -v py.test-%{python3_version} -v %endif %files -n python2-%{pypi_name} %license LICENSE-MIT %doc README.rst %{python2_sitelib}/%{pypi_name}-*.egg-info/ %{python2_sitelib}/%{pypi_name}.py* %files -n python%{python3_pkgversion}-%{pypi_name} %license LICENSE-MIT %doc README.rst %{python3_sitelib}/%{pypi_name}-*.egg-info/ %{python3_sitelib}/%{pypi_name}.py %{python3_sitelib}/__pycache__/%{pypi_name}.* %changelog * Wed Jan 03 2018 Carl George <carl@george.computer> - 0.6.2-7 - EPEL compatibility, including Python 3 build * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 0.6.2-4 - Rebuild for Python 3.6 * Fri Dec 16 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.6.2-3 - Don't own __pycache__ directory in python3 subpackage - Really run tests (setup.py test doesn't do anything) - Drop copy-pasted Requires (RHBZ #1405639) - Trivial cleanups * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Fri Feb 05 2016 Germano Massullo <germano.massullo@gmail.com> - 0.6.2-1 - Heavy edits to make spec file compliant to https://fedoraproject.org/wiki/Packaging:Python (package python-docopt did not provide a python2-docopt package in Fedora repositories) - Removed egg files stuff since they are no longer present in upstream source file. - 0.6.2 minor update * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-7 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Mon Feb 03 2014 Martin Sivak <msivak@redhat.com> - 0.6.1-3 - Fix a mistake in spec file that prevented the subpackage from being created for Python 3 * Fri Nov 15 2013 Martin Sivak <msivak@redhat.com> - 0.6.1-2 - Enable python3 package * Mon Aug 19 2013 Martin Sivak <msivak@redhat.com> - 0.6.1-1 - Upstream version sync * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Jan 14 2013 Martin Sivak <msivak@redhat.com> - 0.5.0-1 - Initial release
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