From 6d2b3b3dd7fe73bfe7e43ef34250b8254c9eccc1397201e81bd19b5e8289b278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 25 Jun 2018 08:54:04 +0000 Subject: [PATCH] Accepting request 618741 from home:awissu:branches:devel:languages:python:misc - Update to 3.5.0: * see: /usr/share/package/python-peewee/CHANGELOG.md - Build with dependencies: sqlite3, cython - Build with python3 and python2 (singlespec) - Drop the noarch package (arch-independent-package-contains-binary-or-object) - Spec file cleanup OBS-URL: https://build.opensuse.org/request/show/618741 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++ .gitignore | 1 + peewee-3.5.0.tar.gz | 3 +++ python-peewee.changes | 34 +++++++++++++++++++++++++ python-peewee.spec | 59 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 120 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 peewee-3.5.0.tar.gz create mode 100644 python-peewee.changes create mode 100644 python-peewee.spec 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/peewee-3.5.0.tar.gz b/peewee-3.5.0.tar.gz new file mode 100644 index 0000000..ef3aae8 --- /dev/null +++ b/peewee-3.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7bd76cf2f7fdda898ed5235774f6edd8104a712ecad9883ba91dfef8ad85d3e3 +size 595661 diff --git a/python-peewee.changes b/python-peewee.changes new file mode 100644 index 0000000..2bd48c4 --- /dev/null +++ b/python-peewee.changes @@ -0,0 +1,34 @@ +------------------------------------------------------------------- +Sat Jun 23 19:32:23 UTC 2018 - avvissu@yandex.by + +- Update to 3.5.0: + * see: /usr/share/package/python-peewee/CHANGELOG.md +- Build with dependencies: sqlite3, cython +- Build with python3 and python2 (singlespec) +- Drop the noarch package (arch-independent-package-contains-binary-or-object) +- Spec file cleanup + +------------------------------------------------------------------- +Fri Aug 14 15:11:22 UTC 2015 - i@marguerite.su + +- update version 2.6.3 + * read https://github.com/coleifer/peewee/releases + +------------------------------------------------------------------- +Mon Apr 28 12:41:04 UTC 2014 - i@marguerite.su + +- update version 2.2.3 + * New migrations module + * Added a return value to Model.save() indicating number of rows + affected. + * Added a date_trunc() method that works for Sqlite. + * Added a Model.sqlall() class-method to return all the SQL to + generate the model/indices. + * bugfixes + +------------------------------------------------------------------- +Sun Apr 20 16:21:08 UTC 2014 - i@marguerite.su + +- initial version 2.2.2 + * see https://github.com/coleifer/peewee/commits/master for details + diff --git a/python-peewee.spec b/python-peewee.spec new file mode 100644 index 0000000..b3c5cf9 --- /dev/null +++ b/python-peewee.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-peewee +# +# 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-peewee +Version: 3.5.0 +Release: 0 +Summary: A small expressive orm supports postgresql, mysql and sqlite +License: BSD-3-Clause +Group: Development/Languages/Python +URL: https://github.com/coleifer/peewee +Source: https://files.pythonhosted.org/packages/source/p/peewee/peewee-%{version}.tar.gz +BuildRequires: %{python_module Cython} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros +BuildRequires: unzip +BuildRequires: pkgconfig(sqlite3) +%python_subpackages + +%description +A small, expressive orm -- supports postgresql, mysql and sqlite + +%prep +%setup -q -n peewee-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_clone %{buildroot}%{_bindir}/pwiz.py + +%files %{python_files} +%license LICENSE +%doc CHANGELOG.md README.rst TODO.rst +%{_bindir}/pwiz.py-%{python_bin_suffix} +%python3_only %{_bindir}/pwiz.py +%{python_sitearch}/* + +%changelog