diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 08:33:44 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 08:33:44 +0000 |
commit | edf3c8f801c61efc3bc1a2b73daecd79a4b53036 (patch) | |
tree | 82485cdb8b26f1be5ad9f707a8e22dce907103a5 | |
parent | 0ea4bd36d3fe71b848ffcbf8a23df89ff5da3462 (diff) |
automatic import of python-git-fame
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-git-fame.spec | 157 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 159 insertions, 0 deletions
@@ -0,0 +1 @@ +/git-fame-2.0.1.tar.gz diff --git a/python-git-fame.spec b/python-git-fame.spec new file mode 100644 index 0000000..8fad223 --- /dev/null +++ b/python-git-fame.spec @@ -0,0 +1,157 @@ +%global _empty_manifest_terminate_build 0 +Name: python-git-fame +Version: 2.0.1 +Release: 1 +Summary: Pretty-print `git` repository collaborators sorted by contributions +License: Mozilla Public License 2.0 (MPL 2.0) +URL: https://github.com/casperdcl/git-fame +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7a/f2/fd903eafd3bf5d5dff0d5885a9fd9f25d3779968897e61d406c57ed0aaf9/git-fame-2.0.1.tar.gz +BuildArch: noarch + +Requires: python3-argopt +Requires: python3-setuptools +Requires: python3-tabulate +Requires: python3-tqdm +Requires: python3-pyyaml +Requires: python3-py-make +Requires: python3-twine +Requires: python3-wheel +Requires: python3-pyyaml +Requires: python3-pyyaml + +%description +Pretty-print ``git`` repository collaborators sorted by contributions. +|Py-Versions| |PyPI| |Conda-Forge| |Docker| |Snapcraft| +|Build-Status| |Coverage-Status| |Branch-Coverage-Status| |Codacy-Grade| |Libraries-Rank| |PyPI-Downloads| +|DOI-URI| |LICENCE| |OpenHub-Status| |Sponsor-Casper| + ~$ git fame --cost hour,month --loc ins + Processing: 100%|██████████████████████████| 1/1 [00:00<00:00, 2.16repo/s] + Total commits: 1775 + Total ctimes: 2770 + Total files: 461 + Total hours: 449.7 + Total loc: 41659 + Total months: 151.0 + | Author | hrs | mths | loc | coms | fils | distribution | + |:---------------------|------:|-------:|------:|-------:|-------:|:----------------| + | Casper da Costa-Luis | 228 | 108 | 28572 | 1314 | 172 | 68.6/74.0/37.3 | + | Stephen Larroque | 28 | 18 | 5243 | 203 | 25 | 12.6/11.4/ 5.4 | + | pgajdos | 2 | 9 | 2606 | 2 | 18 | 6.3/ 0.1/ 3.9 | + | Martin Zugnoni | 2 | 5 | 1656 | 3 | 3 | 4.0/ 0.2/ 0.7 | + | Kyle Altendorf | 7 | 2 | 541 | 31 | 7 | 1.3/ 1.7/ 1.5 | + | Hadrien Mary | 5 | 1 | 469 | 31 | 17 | 1.1/ 1.7/ 3.7 | + | Richard Sheridan | 2 | 1 | 437 | 23 | 3 | 1.0/ 1.3/ 0.7 | + | Guangshuo Chen | 3 | 1 | 321 | 18 | 7 | 0.8/ 1.0/ 1.5 | + | Noam Yorav-Raphael | 4 | 1 | 229 | 11 | 6 | 0.5/ 0.6/ 1.3 | + | github-actions[bot] | 2 | 1 | 186 | 1 | 51 | 0.4/ 0.1/11.1 | +The ``distribution`` column is a percentage breakdown of ``loc/coms/fils``. +(e.g. in the table above, Casper has written surviving code in + +%package -n python3-git-fame +Summary: Pretty-print `git` repository collaborators sorted by contributions +Provides: python-git-fame +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-git-fame +Pretty-print ``git`` repository collaborators sorted by contributions. +|Py-Versions| |PyPI| |Conda-Forge| |Docker| |Snapcraft| +|Build-Status| |Coverage-Status| |Branch-Coverage-Status| |Codacy-Grade| |Libraries-Rank| |PyPI-Downloads| +|DOI-URI| |LICENCE| |OpenHub-Status| |Sponsor-Casper| + ~$ git fame --cost hour,month --loc ins + Processing: 100%|██████████████████████████| 1/1 [00:00<00:00, 2.16repo/s] + Total commits: 1775 + Total ctimes: 2770 + Total files: 461 + Total hours: 449.7 + Total loc: 41659 + Total months: 151.0 + | Author | hrs | mths | loc | coms | fils | distribution | + |:---------------------|------:|-------:|------:|-------:|-------:|:----------------| + | Casper da Costa-Luis | 228 | 108 | 28572 | 1314 | 172 | 68.6/74.0/37.3 | + | Stephen Larroque | 28 | 18 | 5243 | 203 | 25 | 12.6/11.4/ 5.4 | + | pgajdos | 2 | 9 | 2606 | 2 | 18 | 6.3/ 0.1/ 3.9 | + | Martin Zugnoni | 2 | 5 | 1656 | 3 | 3 | 4.0/ 0.2/ 0.7 | + | Kyle Altendorf | 7 | 2 | 541 | 31 | 7 | 1.3/ 1.7/ 1.5 | + | Hadrien Mary | 5 | 1 | 469 | 31 | 17 | 1.1/ 1.7/ 3.7 | + | Richard Sheridan | 2 | 1 | 437 | 23 | 3 | 1.0/ 1.3/ 0.7 | + | Guangshuo Chen | 3 | 1 | 321 | 18 | 7 | 0.8/ 1.0/ 1.5 | + | Noam Yorav-Raphael | 4 | 1 | 229 | 11 | 6 | 0.5/ 0.6/ 1.3 | + | github-actions[bot] | 2 | 1 | 186 | 1 | 51 | 0.4/ 0.1/11.1 | +The ``distribution`` column is a percentage breakdown of ``loc/coms/fils``. +(e.g. in the table above, Casper has written surviving code in + +%package help +Summary: Development documents and examples for git-fame +Provides: python3-git-fame-doc +%description help +Pretty-print ``git`` repository collaborators sorted by contributions. +|Py-Versions| |PyPI| |Conda-Forge| |Docker| |Snapcraft| +|Build-Status| |Coverage-Status| |Branch-Coverage-Status| |Codacy-Grade| |Libraries-Rank| |PyPI-Downloads| +|DOI-URI| |LICENCE| |OpenHub-Status| |Sponsor-Casper| + ~$ git fame --cost hour,month --loc ins + Processing: 100%|██████████████████████████| 1/1 [00:00<00:00, 2.16repo/s] + Total commits: 1775 + Total ctimes: 2770 + Total files: 461 + Total hours: 449.7 + Total loc: 41659 + Total months: 151.0 + | Author | hrs | mths | loc | coms | fils | distribution | + |:---------------------|------:|-------:|------:|-------:|-------:|:----------------| + | Casper da Costa-Luis | 228 | 108 | 28572 | 1314 | 172 | 68.6/74.0/37.3 | + | Stephen Larroque | 28 | 18 | 5243 | 203 | 25 | 12.6/11.4/ 5.4 | + | pgajdos | 2 | 9 | 2606 | 2 | 18 | 6.3/ 0.1/ 3.9 | + | Martin Zugnoni | 2 | 5 | 1656 | 3 | 3 | 4.0/ 0.2/ 0.7 | + | Kyle Altendorf | 7 | 2 | 541 | 31 | 7 | 1.3/ 1.7/ 1.5 | + | Hadrien Mary | 5 | 1 | 469 | 31 | 17 | 1.1/ 1.7/ 3.7 | + | Richard Sheridan | 2 | 1 | 437 | 23 | 3 | 1.0/ 1.3/ 0.7 | + | Guangshuo Chen | 3 | 1 | 321 | 18 | 7 | 0.8/ 1.0/ 1.5 | + | Noam Yorav-Raphael | 4 | 1 | 229 | 11 | 6 | 0.5/ 0.6/ 1.3 | + | github-actions[bot] | 2 | 1 | 186 | 1 | 51 | 0.4/ 0.1/11.1 | +The ``distribution`` column is a percentage breakdown of ``loc/coms/fils``. +(e.g. in the table above, Casper has written surviving code in + +%prep +%autosetup -n git-fame-2.0.1 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-git-fame -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.1-1 +- Package Spec generated @@ -0,0 +1 @@ +b8b0be30c8b6bdcf5f9d23d61f03d676 git-fame-2.0.1.tar.gz |