From 48c7f43451e1798e82f70bcb4b93ca00efb06e6aa687cfa499b6a49e532bfc95 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Mon, 21 Jul 2025 09:10:09 +0000 Subject: [PATCH] Accepting request 1294628 from home:bnavigator:branches:devel:languages:python - Replace pypi source with github archive for tests - Fix poetry dependency: poetry-core is enough to build OBS-URL: https://build.opensuse.org/request/show/1294628 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-babelfish?expand=0&rev=17 --- babelfish-0.6.1-gh.tar.gz | 3 +++ babelfish-0.6.1.tar.gz | 3 --- python-babelfish.changes | 6 ++++++ python-babelfish.spec | 13 +++++++++---- 4 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 babelfish-0.6.1-gh.tar.gz delete mode 100644 babelfish-0.6.1.tar.gz diff --git a/babelfish-0.6.1-gh.tar.gz b/babelfish-0.6.1-gh.tar.gz new file mode 100644 index 0000000..04355c3 --- /dev/null +++ b/babelfish-0.6.1-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15d600052cbe9991203d86195613f1a472157794b8477d87a93b6c1a74ae151e +size 93127 diff --git a/babelfish-0.6.1.tar.gz b/babelfish-0.6.1.tar.gz deleted file mode 100644 index 56010e6..0000000 --- a/babelfish-0.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:decb67a4660888d48480ab6998309837174158d0f1aa63bebb1c2e11aab97aab -size 87706 diff --git a/python-babelfish.changes b/python-babelfish.changes index 2395a8b..de529b4 100644 --- a/python-babelfish.changes +++ b/python-babelfish.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jul 20 16:49:00 UTC 2025 - Ben Greiner + +- Replace pypi source with github archive for tests +- Fix poetry dependency: poetry-core is enough to build + ------------------------------------------------------------------- Fri May 10 03:49:30 UTC 2024 - Luigi Baldoni diff --git a/python-babelfish.spec b/python-babelfish.spec index 7b1f533..762013a 100644 --- a/python-babelfish.spec +++ b/python-babelfish.spec @@ -1,7 +1,7 @@ # # spec file for package python-babelfish # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -22,12 +22,16 @@ Version: 0.6.1 Release: 0 Summary: A Python library to work with countries and languages License: BSD-3-Clause -URL: https://travis-ci.org/Diaoul/babelfish -Source: https://files.pythonhosted.org/packages/source/b/babelfish/babelfish-%{version}.tar.gz +URL: https://github.com/Diaoul/babelfish +Source: https://github.com/Diaoul/babelfish/archive/refs/tags/%{version}.tar.gz#/babelfish-%{version}-gh.tar.gz +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module pip} -BuildRequires: %{python_module poetry >= 1.0.0} +BuildRequires: %{python_module poetry-core >= 1.0.0} +BuildRequires: %{python_module pytest} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: (python-importlib-metadata if python-base < 3.10) +Requires: (python-importlib-resources if python-base < 3.9) BuildArch: noarch %python_subpackages @@ -45,6 +49,7 @@ BabelFish is a Python library to work with countries and languages. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +%pytest %files %{python_files} %license LICENSE