commit c84b9b05eee1709af0d8674ff8607f2245b7e3d72d2425ce6efcf441313d4034 Author: Tomáš Chvátal Date: Thu Aug 2 08:49:57 2018 +0000 osc copypac from project:devel:languages:python:misc package:python-akismet revision:1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-akismet?expand=0&rev=1 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/akismet-1.0.1.tar.gz b/akismet-1.0.1.tar.gz new file mode 100644 index 0000000..85ae58e --- /dev/null +++ b/akismet-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f038145896f0b5b62ff2790007407ef2f9ffd3c4322728ed3af292dd84efaea8 +size 13525 diff --git a/python-akismet.changes b/python-akismet.changes new file mode 100644 index 0000000..1db2d3c --- /dev/null +++ b/python-akismet.changes @@ -0,0 +1,23 @@ +------------------------------------------------------------------- +Wed Oct 25 07:58:30 UTC 2017 - buschmann23@opensuse.org + +- update to version 1.0.1 + + no changelog available +- update to version 1.0.0 + + no changelog available +- spec file changes + + update url + + update source link + + convert to python single spec + +------------------------------------------------------------------- +Sat Mar 26 00:53:50 UTC 2011 - alexandre@exatati.com.br + +- Regenerate spec file with py2pack; +- Bzip2 source file; +- Add README.txt as documentation. + +------------------------------------------------------------------- +Thu Apr 29 03:02:22 UTC 2010 - alexandre@exatati.com.br + +- Initial package (0.2.0) for openSUSE. diff --git a/python-akismet.spec b/python-akismet.spec new file mode 100644 index 0000000..0d5c122 --- /dev/null +++ b/python-akismet.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-akismet +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 Matthias Fehring +# +# 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-%{**}} + +%define mod_name akismet + +Name: python-%{mod_name} +Version: 1.0.1 +Release: 0 +Url: https://github.com/ubernostrum/akismet +Summary: Interface to the Akismet Anti Comment-Spam API +License: BSD-3-Clause +Group: Development/Languages/Python +Source0: https://files.pythonhosted.org/packages/source/a/%{mod_name}/%{mod_name}-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-requests +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%python_subpackages + +%description +A Python interface to the Akismet anti comment-spam API. + +%prep +%setup -q -n %{mod_name}-%{version} + +%build +export CFLAGS="%{optflags}" +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%defattr(-,root,root,-) +%doc README.rst LICENSE +%{python_sitelib}/* + +%changelog