14
0

Accepting request 611989 from devel:languages:python:misc

Create SVG drawings

OBS-URL: https://build.opensuse.org/request/show/611989
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-svgwrite?expand=0&rev=1
This commit is contained in:
Todd R
2018-05-24 20:56:56 +00:00
committed by Git OBS Bridge
commit 1bff04b6b6
5 changed files with 105 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

11
python-svgwrite.changes Normal file
View File

@@ -0,0 +1,11 @@
-------------------------------------------------------------------
Thu May 24 17:49:27 UTC 2018 - toddrme2178@gmail.com
- Update 1.1.12
* BUGFIX: values attribute for element animate, accepts any semicolon separated values
- spec file cleanups
-------------------------------------------------------------------
Fri Oct 20 16:19:04 UTC 2017 - toddrme2178@gmail.com
- initial version

67
python-svgwrite.spec Normal file
View File

@@ -0,0 +1,67 @@
#
# spec file for package python-svgwrite
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, 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 http://bugs.opensuse.org/
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-svgwrite
Version: 1.1.12
Release: 0
License: MIT
Summary: Create SVG drawings
Url: http://github.com/mozman/svgwrite
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/s/svgwrite/svgwrite-%{version}.zip
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
# SECTION test requirements
BuildRequires: %{python_module pyparsing >= 2.0.1}
# /SECTION
Requires: python-pyparsing >= 2.0.1
BuildArch: noarch
%python_subpackages
%description
A Python library to create SVG drawings.
%prep
%setup -q -n svgwrite-%{version}
find svgwrite -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} \; -exec sed -i 's/\r$//' {} \;
sed -i 's/\r$//' LICENSE.TXT NEWS.rst README.rst
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
pushd tests
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
$python -m unittest
}
popd
%files %{python_files}
%doc NEWS.rst README.rst
%license LICENSE.TXT
%{python_sitelib}/*
%changelog

3
svgwrite-1.1.12.zip Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:968c99f193f34f0fa7f0b3e82f49b93789c7c45cd89ce190480f16020d41ab79
size 171947