Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37801923
en ru br
ALT Linux repos
S:2.3.0-alt1

Group :: Development/Python3
RPM: python3-module-eradicate

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and 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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin