15
0

Accepting request 808921 from home:alarrosa:branches:devel:languages:python

New package python-fontPens

OBS-URL: https://build.opensuse.org/request/show/808921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fontPens?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2020-05-26 08:26:17 +00:00
committed by Git OBS Bridge
commit 9c2c5b4073
5 changed files with 93 additions and 0 deletions

62
python-fontPens.spec Normal file
View File

@@ -0,0 +1,62 @@
#
# spec file for package python-fontPens
#
# Copyright (c) 2020 SUSE LLC
#
# 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-fontPens
Version: 0.2.4
Release: 0
Summary: A collection of classes implementing the pen protocol for manipulating glyphs
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/robofab-developers/fontPens
Source: https://files.pythonhosted.org/packages/source/f/fontPens/fontPens-%{version}.zip
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-FontTools >= 3.32.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module FontTools >= 3.32.0}
BuildRequires: %{python_module fontParts >= 0.8.1}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
%description
A collection of classes implementing the pen protocol for manipulating glyphs.
%prep
%setup -q -n fontPens-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/*
%changelog