From 884eec8e570bf20df3c844c511cc4deccfc24d5186468eae89b29db6c946f895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 21 Mar 2019 09:40:09 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + copyright | 27 ++++++++++++++ python-python-qdatamatrix.changes | 12 +++++++ python-python-qdatamatrix.spec | 58 +++++++++++++++++++++++++++++++ python-qdatamatrix-0.1.18.tar.gz | 3 ++ 6 files changed, 124 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 copyright create mode 100644 python-python-qdatamatrix.changes create mode 100644 python-python-qdatamatrix.spec create mode 100644 python-qdatamatrix-0.1.18.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/copyright b/copyright new file mode 100644 index 0000000..40218eb --- /dev/null +++ b/copyright @@ -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 +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'. diff --git a/python-python-qdatamatrix.changes b/python-python-qdatamatrix.changes new file mode 100644 index 0000000..ed3bf65 --- /dev/null +++ b/python-python-qdatamatrix.changes @@ -0,0 +1,12 @@ +------------------------------------------------------------------- +Wed Mar 20 08:08:19 UTC 2019 - John Vandenberg + +- Convert to single spec +- Add %license +- Update to v0.1.18 + +------------------------------------------------------------------- +Thu Nov 10 19:35:48 UTC 2016 - avvissu@yandex.by + +- Initial package + diff --git a/python-python-qdatamatrix.spec b/python-python-qdatamatrix.spec new file mode 100644 index 0000000..0ebe00c --- /dev/null +++ b/python-python-qdatamatrix.spec @@ -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 diff --git a/python-qdatamatrix-0.1.18.tar.gz b/python-qdatamatrix-0.1.18.tar.gz new file mode 100644 index 0000000..e4031a5 --- /dev/null +++ b/python-qdatamatrix-0.1.18.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:baeb556db4ae2cc8ba7f3c3944d88f4ba72f0d5aae0fc41fad31b5f747dfce44 +size 6539