Accepting request 922896 from home:bnavigator:branches:devel:languages:python

skip python2
- initial specfile for version 1.2.1
- required by setuptools_scm

OBS-URL: https://build.opensuse.org/request/show/922896
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomli?expand=0&rev=2
This commit is contained in:
2021-10-03 22:15:28 +00:00
committed by Git OBS Bridge
parent 1f6b712bf3
commit 0c8333728f
2 changed files with 9 additions and 3 deletions

5
python-tomli.changes Normal file
View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sun Oct 3 19:30:44 UTC 2021 - Ben Greiner <code@bnavigator.de>
- initial specfile for version 1.2.1
- required by setuptools_scm

View File

@@ -16,7 +16,8 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-tomli
Version: 1.2.1
Release: 0
@@ -25,13 +26,13 @@ License: MIT
URL: https://github.com/hukkin/tomli
# prefer github archive over pypi sdist for pacakged tests
Source: https://github.com/hukkin/tomli/archive/refs/tags/%{version}.tar.gz#/tomli-%{version}-gh.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-randomly}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages