From 20d55da3a526ab0cc5dfb0582b119ef9a8d7167b6d589896d59649c0101df806 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 29 Jan 2023 20:44:30 +0000 Subject: [PATCH] - use gh tarball for tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iniconfig?expand=0&rev=11 --- iniconfig-2.0.0-tests.tar.gz | 3 +++ iniconfig-2.0.0.tar.gz | 3 +++ python-iniconfig.changes | 1 + python-iniconfig.spec | 5 +++-- 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 iniconfig-2.0.0-tests.tar.gz create mode 100644 iniconfig-2.0.0.tar.gz diff --git a/iniconfig-2.0.0-tests.tar.gz b/iniconfig-2.0.0-tests.tar.gz new file mode 100644 index 0000000..0bacf7e --- /dev/null +++ b/iniconfig-2.0.0-tests.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee33adf27310b0fc9b41abc504ca95925083762bcd7bec28cdbaf42fb215bcb3 +size 8077 diff --git a/iniconfig-2.0.0.tar.gz b/iniconfig-2.0.0.tar.gz new file mode 100644 index 0000000..bb7c3e4 --- /dev/null +++ b/iniconfig-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 +size 4646 diff --git a/python-iniconfig.changes b/python-iniconfig.changes index 2b3fe4e..d076314 100644 --- a/python-iniconfig.changes +++ b/python-iniconfig.changes @@ -5,6 +5,7 @@ Sun Jan 29 18:27:24 UTC 2023 - Dirk Müller * Drop Python 3.6 * Add Python 3.11 support * type hints added +- use gh tarball for tests ------------------------------------------------------------------- Mon Dec 5 12:45:15 UTC 2022 - Daniel Garcia diff --git a/python-iniconfig.spec b/python-iniconfig.spec index 63dde48..39669ca 100644 --- a/python-iniconfig.spec +++ b/python-iniconfig.spec @@ -32,7 +32,8 @@ Summary: iniconfig: brain-dead simple config-ini parsing License: MIT Group: Development/Languages/Python URL: https://github.com/RonnyPfannschmidt/iniconfig -Source: https://github.com/pytest-dev/iniconfig/archive/refs/tags/v%{version}.tar.gz#/iniconfig-%{version}-gh.tar.gz +Source: https://files.pythonhosted.org/packages/source/i/iniconfig/iniconfig-%{version}.tar.gz +Source1: https://github.com/pytest-dev/iniconfig/archive/refs/tags/v%{version}.tar.gz#/iniconfig-%{version}-tests.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module hatch_vcs} BuildRequires: %{python_module hatchling} @@ -61,7 +62,7 @@ having a unique set of features: * iniconfig raises an Error if two sections have the same name. %prep -%setup -q -n iniconfig-%{version} +%setup -q -n iniconfig-%{version} -a1 %build %pyproject_wheel