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
This commit is contained in:
parent
0587f5d643
commit
5d2861fdd1
19
LICENSE
19
LICENSE
@ -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.
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 29 12:43:29 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- 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 <jayvdb@gmail.com>
|
||||
|
||||
|
@ -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}/*
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bc506382b1b9e77df7a6adfdd2a7d58871f7231113de0417e498dda61117c42d
|
||||
size 3888
|
BIN
re_assert-1.1.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
re_assert-1.1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user