Hello community, here is the log from the commit of package python-rfc3987 for openSUSE:Factory checked in at 2019-12-29 15:48:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-rfc3987 (Old) and /work/SRC/openSUSE:Factory/.python-rfc3987.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-rfc3987" Sun Dec 29 15:48:29 2019 rev:4 rq:759293 version:1.3.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-rfc3987/python-rfc3987.changes 2019-06-06 18:14:34.216734382 +0200 +++ /work/SRC/openSUSE:Factory/.python-rfc3987.new.6675/python-rfc3987.changes 2019-12-29 15:48:39.859147962 +0100 @@ -1,0 +2,7 @@ +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 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-rfc3987.spec ++++++ --- /var/tmp/diff_new_pack.43Rchh/_old 2019-12-29 15:48:40.295148161 +0100 +++ /var/tmp/diff_new_pack.43Rchh/_new 2019-12-29 15:48:40.299148163 +0100 @@ -23,8 +23,9 @@ 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 @@ %prep %setup -q -n rfc3987-%{version} +sed -i '1{/^#!/d}' rfc3987.py %build %python_build @@ -49,7 +51,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# no tests in git repo +%pytest --doctest-modules %files %{python_files} %license COPYING.txt