17
0

Accepting request 686876 from home:jayvdb:branches:devel:languages:python:numeric

- Convert to single spec
- Add %license
- Update to v0.1.18

OBS-URL: https://build.opensuse.org/request/show/686876
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-python-qdatamatrix?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2019-03-21 09:40:09 +00:00
committed by Git OBS Bridge
commit 884eec8e57
6 changed files with 124 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

27
copyright Normal file
View File

@@ -0,0 +1,27 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: python-qdatamatrix
Source: https://github.com/smathot/python-qdatamatrix
Files: *
Copyright: Copyright 2015-2016 Sebastiaan Mathot <s.mathot@cogsci.nl>
License: GPL-3+
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later
version.
.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
.
You should have received a copy of the GNU General Public
License along with this package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 3 can be found in the file
`/usr/share/common-licenses/GPL-3'.

View File

@@ -0,0 +1,12 @@
-------------------------------------------------------------------
Wed Mar 20 08:08:19 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Convert to single spec
- Add %license
- Update to v0.1.18
-------------------------------------------------------------------
Thu Nov 10 19:35:48 UTC 2016 - avvissu@yandex.by
- Initial package

View File

@@ -0,0 +1,58 @@
#
# spec file for package python-python-qdatamatrix
#
# Copyright (c) 2019 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-python-qdatamatrix
Version: 0.1.18
Release: 0
License: GPL-3.0-or-later
Summary: A PyQt4/PyQt5 widget for viewing and editing a DataMatrix object
Url: https://github.com/smathot/python-qdatamatrix
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/p/python-qdatamatrix/python-qdatamatrix-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/smathot/python-qdatamatrix/master/copyright
BuildRequires: python-rpm-macros
BuildRequires: %{python_module QtPy}
BuildRequires: %{python_module python-datamatrix}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
Requires: python-QtPy
Requires: python-python-datamatrix
BuildArch: noarch
%python_subpackages
%description
The qdatamatrix package provides a graphical PyQt4/PyQt5 widget to
view and edit a DataMatrix object.
%prep
%setup -q -n python-qdatamatrix-%{version}
cp %{SOURCE1} .
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license copyright
%{python_sitelib}/*
%changelog

View File

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