From 5ad9291174c9747f732a9715c8ecdd9bbb50a48920e1b748e62ce5479611f365 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 10 May 2024 07:33:32 +0000 Subject: [PATCH] Accepting request 1173004 from home:alois:branches:devel:languages:python - Update to version 0.6.1 * Bump dependencies * Replace pkg_resources with importlib - Drop python-babelfish-rpmlintrc (no longer necessary) OBS-URL: https://build.opensuse.org/request/show/1173004 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-babelfish?expand=0&rev=15 --- babelfish-0.6.0.tar.gz | 3 --- babelfish-0.6.1.tar.gz | 3 +++ python-babelfish-rpmlintrc | 3 --- python-babelfish.changes | 8 ++++++++ python-babelfish.spec | 19 ++++++++++--------- 5 files changed, 21 insertions(+), 15 deletions(-) delete mode 100644 babelfish-0.6.0.tar.gz create mode 100644 babelfish-0.6.1.tar.gz delete mode 100644 python-babelfish-rpmlintrc diff --git a/babelfish-0.6.0.tar.gz b/babelfish-0.6.0.tar.gz deleted file mode 100644 index 405ac05..0000000 --- a/babelfish-0.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2dadfadd1b205ca5fa5dc9fa637f5b7933160a0418684c7c46a7a664033208a2 -size 87807 diff --git a/babelfish-0.6.1.tar.gz b/babelfish-0.6.1.tar.gz new file mode 100644 index 0000000..56010e6 --- /dev/null +++ b/babelfish-0.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:decb67a4660888d48480ab6998309837174158d0f1aa63bebb1c2e11aab97aab +size 87706 diff --git a/python-babelfish-rpmlintrc b/python-babelfish-rpmlintrc deleted file mode 100644 index bb1d6f0..0000000 --- a/python-babelfish-rpmlintrc +++ /dev/null @@ -1,3 +0,0 @@ -# remove warnings about modules not being executable -addFilter("non-executable-script") - diff --git a/python-babelfish.changes b/python-babelfish.changes index cbb4702..2395a8b 100644 --- a/python-babelfish.changes +++ b/python-babelfish.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri May 10 03:49:30 UTC 2024 - Luigi Baldoni + +- Update to version 0.6.1 + * Bump dependencies + * Replace pkg_resources with importlib +- Drop python-babelfish-rpmlintrc (no longer necessary) + ------------------------------------------------------------------- Mon Nov 8 17:24:33 UTC 2021 - Luigi Baldoni diff --git a/python-babelfish.spec b/python-babelfish.spec index 240df23..7b1f533 100644 --- a/python-babelfish.spec +++ b/python-babelfish.spec @@ -1,7 +1,7 @@ # # spec file for package python-babelfish # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -17,16 +17,15 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-babelfish -Version: 0.6.0 +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 -Source99: %{name}-rpmlintrc -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry >= 1.0.0} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -36,19 +35,21 @@ BuildArch: noarch BabelFish is a Python library to work with countries and languages. %prep -%setup -q -n babelfish-%{version} +%autosetup -p1 -n babelfish-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check + %files %{python_files} %license LICENSE %doc README.md %{python_sitelib}/babelfish -%{python_sitelib}/babelfish-%{version}-py%{python_version}.egg-info +%{python_sitelib}/babelfish-%{version}.dist-info %changelog