forked from pool/python-rfc3987
Accepting request 759104 from home:jayvdb:branches:devel:languages:python
- Remove hashbang from runtime module - Replace PyPI URL with https://github.com/dgerber/rfc3987 - Activate doctests OBS-URL: https://build.opensuse.org/request/show/759104 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rfc3987?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
9e9b3be501
commit
fc7fa7cd3b
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 24 02:56:05 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Remove hashbang from runtime module
|
||||
- Replace PyPI URL with https://github.com/dgerber/rfc3987
|
||||
- Activate doctests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 3 13:35:49 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
|
@@ -23,8 +23,9 @@ Release: 0
|
||||
Summary: Module for parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: http://pypi.python.org/pypi/rfc3987
|
||||
URL: https://github.com/dgerber/rfc3987
|
||||
Source: https://files.pythonhosted.org/packages/source/r/rfc3987/rfc3987-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -40,6 +41,7 @@ utilities for composition and relative resolution of references.
|
||||
|
||||
%prep
|
||||
%setup -q -n rfc3987-%{version}
|
||||
sed -i '1{/^#!/d}' rfc3987.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -49,7 +51,7 @@ utilities for composition and relative resolution of references.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# no tests in git repo
|
||||
%pytest --doctest-modules
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING.txt
|
||||
|
Reference in New Issue
Block a user