15
0
forked from pool/python-dparse

Accepting request 791128 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/791128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dparse?expand=0&rev=2
This commit is contained in:
2020-04-04 10:25:38 +00:00
committed by Git OBS Bridge
4 changed files with 17 additions and 7 deletions

View File

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

3
dparse-0.5.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Apr 3 08:12:12 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 0.5.0
* Dropped Python 2.7, 3.3, 3.4 support
* Removed six package
* Removed pinned dependencies of tests
* Dropped setup.py tests support in favor of tox
-------------------------------------------------------------------
Tue Apr 16 12:30:22 CEST 2019 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-dparse
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,8 +18,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
%define skip_python2 1
Name: python-dparse
Version: 0.4.1
Version: 0.5.0
Release: 0
Summary: Python dependency file parser
License: MIT
@@ -31,14 +32,13 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML
Requires: python-packaging
Requires: python-six
Recommends: python-pipenv
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
BuildRequires: %{python_module toml}
%endif
%python_subpackages
@@ -60,6 +60,7 @@ A parser for Python dependency files.
%check
# There is a bug in the pipenv support, related to writing a new toml file.
# Both dparse and pipenv have a vendored copy of different toml libraries.
# and even more, we do not have pipenv in our distribution
%pytest --deselect 'tests/test_updater.py::test_update_pipfile'
%endif