forked from pool/python-rt
Accepting request 987885 from home:xenonpk
- fix regression in version 3.0.3: - Temporary revert to setup.cfg from 3.0.2, due to: https://github.com/pypa/setuptools/issues/3269 OBS-URL: https://build.opensuse.org/request/show/987885 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rt?expand=0&rev=30
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 8 09:36:12 UTC 2022 - Duarte Pousa <pousaduarte@gmail.com>
|
||||||
|
|
||||||
|
- fix regression in version 3.0.3:
|
||||||
|
- Temporary revert to setup.cfg from 3.0.2, due to: https://github.com/pypa/setuptools/issues/3269
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 21 08:49:07 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Tue Jun 21 08:49:07 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||||
|
|
||||||
|
@@ -26,6 +26,7 @@ License: GPL-3.0-only
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/CZ-NIC/python-rt
|
URL: https://github.com/CZ-NIC/python-rt
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/rt/rt-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/rt/rt-%{version}.tar.gz
|
||||||
|
Source1: setup.cfg
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -40,6 +41,7 @@ Python implementation of Request Tracker (a ticketing system) REST API described
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n rt-%{version}
|
%setup -q -n rt-%{version}
|
||||||
|
cp %{SOURCE1} setup.cfg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
77
setup.cfg
Normal file
77
setup.cfg
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
[bdist_wheel]
|
||||||
|
universal = 0
|
||||||
|
|
||||||
|
[metadata]
|
||||||
|
name = rt
|
||||||
|
description = Python interface to Request Tracker API
|
||||||
|
long_description = file: README.rst
|
||||||
|
long_description_content_type = text/x-rst
|
||||||
|
license = GNU General Public License v3 (GPLv3)
|
||||||
|
license_file = LICENSE
|
||||||
|
author = Georges Toth
|
||||||
|
author_email = georges.toth@govcert.etat.lu
|
||||||
|
url = https://github.com/python-rt/python-rt
|
||||||
|
classifiers =
|
||||||
|
Development Status :: 5 - Production/Stable
|
||||||
|
Environment :: Console
|
||||||
|
Intended Audience :: Developers
|
||||||
|
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
||||||
|
Operating System :: POSIX
|
||||||
|
Programming Language :: Python
|
||||||
|
Programming Language :: Python :: 3 :: Only
|
||||||
|
Programming Language :: Python :: 3
|
||||||
|
Topic :: Software Development :: Libraries :: Python Modules
|
||||||
|
project_urls =
|
||||||
|
Documentation = https://python-rt.readthedocs.io/
|
||||||
|
Source = https://github.com/python-rt/python-rt
|
||||||
|
Tracker = https://github.com/python-rt/python-rt/issues
|
||||||
|
Changelog = https://github.com/python-rt/python-rt/blob/master/CHANGELOG.md
|
||||||
|
|
||||||
|
[options]
|
||||||
|
zip_safe = False
|
||||||
|
packages = rt
|
||||||
|
include_package_data = True
|
||||||
|
python_requires = >= 3.7
|
||||||
|
install_requires =
|
||||||
|
requests
|
||||||
|
requests_toolbelt
|
||||||
|
typing-extensions ; python_version < "3.8"
|
||||||
|
|
||||||
|
[options.packages.find]
|
||||||
|
exclude =
|
||||||
|
tests
|
||||||
|
|
||||||
|
[options.package_data]
|
||||||
|
rt = py.typed
|
||||||
|
|
||||||
|
[options.extras_require]
|
||||||
|
docs =
|
||||||
|
sphinx
|
||||||
|
sphinx-autodoc-typehints
|
||||||
|
sphinx-rtd-theme
|
||||||
|
furo
|
||||||
|
sphinx-copybutton
|
||||||
|
dev =
|
||||||
|
pycodestyle
|
||||||
|
pylint
|
||||||
|
mypy
|
||||||
|
flake8
|
||||||
|
flake8-bandit
|
||||||
|
flake8-comprehensions
|
||||||
|
flake8-docstrings
|
||||||
|
pep8-naming
|
||||||
|
types-requests
|
||||||
|
codespell
|
||||||
|
test =
|
||||||
|
pytest
|
||||||
|
coverage
|
||||||
|
|
||||||
|
|
||||||
|
[pycodestyle]
|
||||||
|
filename = rt/rt.py
|
||||||
|
ignore = E501, W503, E124, E126
|
||||||
|
|
||||||
|
|
||||||
|
[flake8]
|
||||||
|
max-line-length = 240
|
||||||
|
ignore = D210, D400, W503, D205, D209, D401, E126, E124, N803
|
Reference in New Issue
Block a user