Group :: Development/Python3
RPM: python3-module-docopt
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname docopt
Name: python3-module-%oname
Version: 0.6.2
Release: alt3
Summary: Pythonic argument parser, that will make you smile
License: MIT
Group: Development/Python3
Url: https://github.com/docopt/docopt
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Source-url: %__pypi_url %oname
Source: %name-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.2.5
BuildRequires(pre): rpm-build-python3
BuildArch: noarch
BuildRequires: python3-devel python3-module-setuptools
#BuildRequires: python3-module-pytest python3-module-nose
%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*.
%prep
%setup
# remove upstream egg-info
rm -rf *.egg-info
%build
%python3_build
%install
%python3_install
%check
#python3_check
%files
%python3_sitelibdir/%oname.py
%python3_sitelibdir/__pycache__/%oname.*
%python3_sitelibdir/%oname-*.egg-info
%changelog
…
Todas as alterações você pod ver aqui
Name: python3-module-%oname
Version: 0.6.2
Release: alt3
Summary: Pythonic argument parser, that will make you smile
License: MIT
Group: Development/Python3
Url: https://github.com/docopt/docopt
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Source-url: %__pypi_url %oname
Source: %name-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.2.5
BuildRequires(pre): rpm-build-python3
BuildArch: noarch
BuildRequires: python3-devel python3-module-setuptools
#BuildRequires: python3-module-pytest python3-module-nose
%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*.
%prep
%setup
# remove upstream egg-info
rm -rf *.egg-info
%build
%python3_build
%install
%python3_install
%check
#python3_check
%files
%python3_sitelibdir/%oname.py
%python3_sitelibdir/__pycache__/%oname.*
%python3_sitelibdir/%oname-*.egg-info
%changelog
…
Todas as alterações você pod ver aqui