Summary: Grep-like tool for source code Name: grin Version: 1.3.0 Release: 8%{?dist} License: BSD URL: http://pypi.python.org/pypi/grin Source0: https://files.pythonhosted.org/packages/source/g/grin/grin-%{version}.tar.gz Requires: python3-setuptools BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %description grin is a similar in function to GNU grep, however it is has modified behaviour to make it simpler to use when grepping source code. Some features grin feature are: * recurse directories by default * do not go into directories with specified names * do not search files with specified extensions * be able to show context lines before and after matched lines * Python regex syntax * unless suppressed via a command line option, display the filename regardless of the number of files * accept a file (or stdin) with a list of newline-separated filenames * grep through gzipped text files * be useful as a library to build custom tools quickly %prep %autosetup sed -i -e '1d' grin.py %build %{py3_build} %install %{py3_install} %files %doc README.rst %{_bindir}/grin %{_bindir}/grind %{python3_sitelib}/grin.py* %{python3_sitelib}/grin-*-py*.egg-info/ %{python3_sitelib}/__pycache__/grin.* %changelog * Thu Jul 21 2022 Fedora Release Engineering - 1.3.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.3.0-7 - Rebuilt for Python 3.11 * Sun Feb 20 2022 Terje Rosten - 1.3.0-6 - Remove the nose dependency (Charalampos Stratakis) * Thu Jan 20 2022 Fedora Release Engineering - 1.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.3.0-3 - Rebuilt for Python 3.10 * Tue Jan 26 2021 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jan 12 2021 Terje Rosten - 1.3.0-1 - 1.3.0 * Tue Jul 28 2020 Fedora Release Engineering - 1.2.1-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.2.1-25 - Rebuilt for Python 3.9 * Wed Jan 29 2020 Fedora Release Engineering - 1.2.1-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.2.1-23 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.2.1-22 - Rebuilt for Python 3.8 * Mon Aug 05 2019 Terje Rosten - 1.2.1-21 - Convert to Python 3 * Thu Jul 25 2019 Fedora Release Engineering - 1.2.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.2.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.2.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Iryna Shcherbina - 1.2.1-17 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Wed Feb 07 2018 Fedora Release Engineering - 1.2.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.2.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.2.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Oct 01 2016 Terje Rosten - 1.2.1-13 - Some clean up * Tue Jul 19 2016 Fedora Release Engineering - 1.2.1-12 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed Feb 03 2016 Fedora Release Engineering - 1.2.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.2.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 30 2014 Toshio Kuratomi - 1.2.1-9 - Replace python-setuptools-devel BR with python-setuptools * Sat Jun 07 2014 Fedora Release Engineering - 1.2.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.2.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 1.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon May 09 2011 Terje Rosten - 1.2.1-2 - Add patch to work with Python 2.7 and later - Add argparse req. if needed * Wed Feb 09 2011 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jan 30 2011 Terje Rosten - 1.2.1-1 - 1.2.1 * Sun Dec 26 2010 Thomas Spura - 1.1.1-5 - Update python_sitelib macro - Don't requires python-argparse (#665727) * Wed Jul 21 2010 David Malcolm - 1.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Fri Jul 24 2009 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat Feb 21 2009 Terje Rosten - 1.1.1-2 - add docs - rpmlint clean - add %%check section * Sat Jan 17 2009 Terje Rosten - 1.1.1-1 - initial build