Group :: Development/Python3
RPM: python3-module-eradicate
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname eradicate
Name: python3-module-%oname
Version: 2.1.0
Release: alt1
Summary: Removes commented-out code from Python files
License: MIT
Group: Development/Python3
URL: https://github.com/myint/eradicate
Packager: Grigory Ustinov <grenka at altlinux.org>
BuildArch: noarch
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
Conflicts: python-module-%oname
%description
With modern revision control available, there is no reason to save
commented-out code to your repository. "eradicate" helps cleans up
existing junk comments. It does this by detecting block comments that
contain valid Python syntax that are likely to be commented out code.
(It avoids false positives like the sentence "this is not good",
which is valid Python syntax, but is probably not code.)
%prep
%setup
%build
%python3_build
%install
%python3_install
%files
%doc README.rst
%_bindir/eradicate
%python3_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui
Name: python3-module-%oname
Version: 2.1.0
Release: alt1
Summary: Removes commented-out code from Python files
License: MIT
Group: Development/Python3
URL: https://github.com/myint/eradicate
Packager: Grigory Ustinov <grenka at altlinux.org>
BuildArch: noarch
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
Conflicts: python-module-%oname
%description
With modern revision control available, there is no reason to save
commented-out code to your repository. "eradicate" helps cleans up
existing junk comments. It does this by detecting block comments that
contain valid Python syntax that are likely to be commented out code.
(It avoids false positives like the sentence "this is not good",
which is valid Python syntax, but is probably not code.)
%prep
%setup
%build
%python3_build
%install
%python3_install
%files
%doc README.rst
%_bindir/eradicate
%python3_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui