Accepting request 892593 from home:dirkmueller:Factory

- update to 0.9.6:
  * Python 3.6+ required
  * Convert to newer email.message.EmailMessage format for processing. Closes #98
  * Hopefully fix #105. Escapes every "&" in the URL
  * Attempt --run-safe implementation
  * Fixes #106
  * Scan a selection of email headers for URLs. Closes #97.
  * Add option for custom regex. Closes #79.
  * Allow $ as an acceptable trailing character
  * Fix urwid reverse error. Thanks to @pavoljuhas. Closes #99

OBS-URL: https://build.opensuse.org/request/show/892593
OBS-URL: https://build.opensuse.org/package/show/utilities/urlscan?expand=0&rev=20
This commit is contained in:
Dr. Werner Fink 2021-05-17 07:11:54 +00:00 committed by Git OBS Bridge
parent 11f95c58e3
commit e84f5652b2
4 changed files with 26 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:db76f61966431a8938adc998aaa2b30be54f9b1ff2a4c0064e9915df2fb6b996
size 32010

3
urlscan-0.9.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e8e406e3f87060f8765aab5a4aaecb3602a0ebe7c0936c22e1ecfc65589420e9
size 32909

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed May 12 22:03:24 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 0.9.6:
* Python 3.6+ required
* Convert to newer email.message.EmailMessage format for processing. Closes #98
* Hopefully fix #105. Escapes every "&" in the URL
* Attempt --run-safe implementation
* Fixes #106
* Scan a selection of email headers for URLs. Closes #97.
* Add option for custom regex. Closes #79.
* Allow $ as an acceptable trailing character
* Fix urwid reverse error. Thanks to @pavoljuhas. Closes #99
-------------------------------------------------------------------
Tue Jul 28 09:44:43 UTC 2020 - Martin Rey <mrey@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package urlscan
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,8 +16,9 @@
#
%define python_flavor python3
Name: urlscan
Version: 0.9.5
Version: 0.9.6
Release: 0
Summary: An other URL extractor/viewer
License: GPL-2.0-or-later
@ -25,16 +26,14 @@ Group: Productivity/Networking/Web/Browsers
URL: https://github.com/firecat53/urlscan
Source0: https://github.com/firecat53/urlscan/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: muttrc
Requires: python3
Requires: python3-base
Requires: python3-urwid
BuildRequires: python3-base
BuildRequires: python3-devel
BuildRequires: python3-rpm-macros
BuildRequires: python3-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python3
Requires: python3-base
Requires: python3-urwid
BuildArch: noarch
%define python_flavor python3
%description
The urlscan utility displays URLs found in an email message with
@ -50,18 +49,17 @@ python3 setup.py build
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
rm -rf %{buildroot}/usr/share/doc/%{name}*
rm -rf %{buildroot}%{_datadir}/doc/%{name}*
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
install -m 0644 %{S:1} %{buildroot}%{_defaultdocdir}/%{name}
install -m 0644 %{SOURCE1} %{buildroot}%{_defaultdocdir}/%{name}
rm -rvf %{buildroot}%{python_sitelib}/%{name}-%{version}-*-info
%files
%defattr(-,root,root)
%license COPYING
%doc README.rst
%{_bindir}/%{name}
%{python_sitelib}/%{name}
%{_mandir}/man1/%{name}.1.gz
%{_mandir}/man1/%{name}.1%{?ext_man}
%doc %{_defaultdocdir}/%{name}/muttrc
%changelog