15
0

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
This commit is contained in:
Tomáš Chvátal
2018-08-02 08:49:57 +00:00
committed by Git OBS Bridge
commit c84b9b05ee
5 changed files with 111 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

3
akismet-1.0.1.tar.gz Normal file
View File

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

23
python-akismet.changes Normal file
View File

@@ -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.

61
python-akismet.spec Normal file
View File

@@ -0,0 +1,61 @@
#
# spec file for package python-akismet
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 Matthias Fehring <buschmann23@opensuse.org>
#
# 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