14
0
Files
python-babelfish/python-babelfish.spec
Dirk Mueller 2463873f66 Accepting request 930224 from home:alois:branches:devel:languages:python
- Update to version 0.6.0
  * Use poetry as build system
  * Use pytest as test runner
  * Move documentation to README
  * Switch to "main" branch

OBS-URL: https://build.opensuse.org/request/show/930224
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-babelfish?expand=0&rev=14
2021-11-08 22:13:55 +00:00

55 lines
1.7 KiB
RPMSpec

#
# spec file for package python-babelfish
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-babelfish
Version: 0.6.0
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: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
BabelFish is a Python library to work with countries and languages.
%prep
%setup -q -n babelfish-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/babelfish
%{python_sitelib}/babelfish-%{version}-py%{python_version}.egg-info
%changelog