forked from pool/python-pyroma
Accepting request 673500 from home:jayvdb:coala:python3-bears
- Update to v2.4 - Remove unnecessary build dependency on python-devel - Update URL from BitBucket to GitHub - Use %license - Fix %doc to use README.rst instead of empty README.txt - Initial version for v2.3 OBS-URL: https://build.opensuse.org/request/show/673500 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyroma?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
pyroma-2.4.tar.gz
Normal file
3
pyroma-2.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:94a11cb077976bff9bd37ac8b487902556f216c4ee90b74a2344367f73b6ee7f
|
||||||
|
size 346509
|
18
python-pyroma.changes
Normal file
18
python-pyroma.changes
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 12 00:33:47 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Update to v2.4
|
||||||
|
- Get rid of the tests that rely on HTML scraping, it's too brittle.
|
||||||
|
- Added -n command line option to set the minimum rating needed for pyroma
|
||||||
|
to return success, useful in scripts.
|
||||||
|
- from 2.3.1
|
||||||
|
- Fixed installation fails with a non-UTF8 locale under Python 3.
|
||||||
|
- Remove unnecessary build dependency on python-devel
|
||||||
|
- Update URL from BitBucket to GitHub
|
||||||
|
- Use %license
|
||||||
|
- Fix %doc to use README.rst instead of empty README.txt
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 16 17:45:39 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Initial version for v2.3
|
77
python-pyroma.spec
Normal file
77
python-pyroma.spec
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-pyroma
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without test
|
||||||
|
Name: python-pyroma
|
||||||
|
Version: 2.4
|
||||||
|
Release: 0
|
||||||
|
Summary: Test your project's packaging friendliness
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: https://github.com/regebro/pyroma
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/p/pyroma/pyroma-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-docutils
|
||||||
|
Requires: python-setuptools
|
||||||
|
BuildArch: noarch
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module docutils}
|
||||||
|
%endif
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Pyroma rhymes with aroma, and is a product aimed at giving a rating of how well
|
||||||
|
a Python project complies with the best practices of the Python packaging
|
||||||
|
ecosystem, primarily PyPI, pip, Distribute etc, as well as a list of issues that
|
||||||
|
could be improved.
|
||||||
|
|
||||||
|
The aim of this is both to help people make a project that is nice and usable,
|
||||||
|
but also to improve the quality of Python third-party software, making it easier
|
||||||
|
and more enjoyable to use the vast array of available modules for Python.
|
||||||
|
|
||||||
|
It's written so that there are a library with methods to call from Python, as
|
||||||
|
well as a script, also called pyroma.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n pyroma-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%if %{with test}
|
||||||
|
%check
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
|
%python_exec setup.py test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE.txt
|
||||||
|
%doc README.rst HISTORY.txt
|
||||||
|
%python3_only %{_bindir}/pyroma
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user