From 5d2861fdd1db4a7436eac9b52eeb12ffe5f476d5e2d4166e7c495b3b30f179f4 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Thu, 29 Oct 2020 12:57:20 +0000 Subject: [PATCH] Accepting request 844865 from home:jayvdb:py-new - Disable building on Python 2 - Use LICENSE from PyPI sdist - Update to v1.1.0 OBS-URL: https://build.opensuse.org/request/show/844865 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-re-assert?expand=0&rev=2 --- LICENSE | 19 ------------------- python-re-assert.changes | 7 +++++++ python-re-assert.spec | 7 ++++--- re_assert-1.0.0.tar.gz | 3 --- re_assert-1.1.0.tar.gz | 3 +++ 5 files changed, 14 insertions(+), 25 deletions(-) delete mode 100644 LICENSE delete mode 100644 re_assert-1.0.0.tar.gz create mode 100644 re_assert-1.1.0.tar.gz diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 13a2c70..0000000 --- a/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2019 Anthony Sottile - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/python-re-assert.changes b/python-re-assert.changes index da71ab9..1f2c1a6 100644 --- a/python-re-assert.changes +++ b/python-re-assert.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Oct 29 12:43:29 UTC 2020 - John Vandenberg + +- Disable building on Python 2 +- Use LICENSE from PyPI sdist +- Update to v1.1.0 + ------------------------------------------------------------------- Thu Oct 29 00:58:23 UTC 2020 - John Vandenberg diff --git a/python-re-assert.spec b/python-re-assert.spec index 09d2445..82ef1b6 100644 --- a/python-re-assert.spec +++ b/python-re-assert.spec @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-re-assert -Version: 1.0.0 +Version: 1.1.0 Release: 0 Summary: Show Python regex match assertion failures License: MIT @@ -26,7 +27,6 @@ Group: Development/Languages/Python URL: https://github.com/asottile/re-assert Source: https://files.pythonhosted.org/packages/source/r/re_assert/re_assert-%{version}.tar.gz Source1: https://raw.githubusercontent.com/asottile/re-assert/master/tests/re_assert_test.py -Source2: https://raw.githubusercontent.com/asottile/re-assert/master/LICENSE BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -43,7 +43,7 @@ Show where your regex match assertion failed. %prep %setup -q -n re_assert-%{version} -cp %{SOURCE1} %{SOURCE2} . +cp %{SOURCE1} . %build %python_build @@ -56,6 +56,7 @@ cp %{SOURCE1} %{SOURCE2} . %pytest %files %{python_files} +%doc README.md %license LICENSE %{python_sitelib}/* diff --git a/re_assert-1.0.0.tar.gz b/re_assert-1.0.0.tar.gz deleted file mode 100644 index 24bc544..0000000 --- a/re_assert-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bc506382b1b9e77df7a6adfdd2a7d58871f7231113de0417e498dda61117c42d -size 3888 diff --git a/re_assert-1.1.0.tar.gz b/re_assert-1.1.0.tar.gz new file mode 100644 index 0000000..46c71eb --- /dev/null +++ b/re_assert-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5172dfbd2047a15dff2347735dea7e495479cc7e58841199a4a4973256b20464 +size 3869