forked from pool/python-limnoria
Accepting request 558059 from home:badshah400:Staging
OBS-URL: https://build.opensuse.org/request/show/558059 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-limnoria?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
master-2017-10-25.tar.gz
Normal file
3
master-2017-10-25.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9cd4ab29d510fe7e84ed54bd8ba273acd2d2de2de5b133e679db54505f6c36b2
|
||||
size 957078
|
||||
15
python-limnoria.changes
Normal file
15
python-limnoria.changes
Normal file
@@ -0,0 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 18 08:48:19 UTC 2017 - badshah400@gmail.com
|
||||
|
||||
- Update to master-2017-10-25:
|
||||
* Aka: Escape the command in help strings, so they can be
|
||||
copy-pasted into @aka add.
|
||||
- Convert to python single-spec; disable python2 modules as
|
||||
python2-SocksiPy is not available.
|
||||
- Enable tests as part of %%check.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 25 01:23:30 UTC 2016 - badshah400@gmail.com
|
||||
|
||||
- Initial package.
|
||||
|
||||
87
python-limnoria.spec
Normal file
87
python-limnoria.spec
Normal file
@@ -0,0 +1,87 @@
|
||||
#
|
||||
# spec file for package python-limnoria
|
||||
#
|
||||
# Copyright (c) 2016 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-%{**}}
|
||||
%define skip_python2 1 # python2-SocksiPy not available
|
||||
%define appname limnoria
|
||||
%define srcver 2017-10-25
|
||||
Name: python-limnoria
|
||||
Version: 2017.10.25
|
||||
Release: 0
|
||||
Summary: A modified version of Supybot (an IRC bot and framework)
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/ProgVal/Limnoria
|
||||
Source: https://github.com/ProgVal/Limnoria/archive/master-%{srcver}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module SQLAlchemy}
|
||||
BuildRequires: %{python_module SocksiPy}
|
||||
BuildRequires: %{python_module chardet}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module ecdsa}
|
||||
BuildRequires: %{python_module feedparser}
|
||||
BuildRequires: %{python_module python-gnupg}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module python-dateutil}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
Requires: python-SQLAlchemy
|
||||
Requires: python-SocksiPy
|
||||
Requires: python-chardet
|
||||
Requires: python-ecdsa
|
||||
Requires: python-feedparser
|
||||
Requires: python-gnupg
|
||||
Requires: python-python-dateutil
|
||||
Requires: python-pytz
|
||||
Provides: Supybot = %{version}
|
||||
Obsoletes: Supybot < 1.0
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Limnoria is a robust, full-featured Python IRC bot with a clean and flexible plugin API. It is equipped with a complete ACL system for specifying user permissions with as much as per-command granularity. Batteries are included in the form of numerous plugins already written.
|
||||
|
||||
%prep
|
||||
%setup -q -n Limnoria-master-%{srcver}
|
||||
sed -i "1,4{/\/usr\/bin\/python/d}" plugins/Debug/plugin.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/supybot/
|
||||
|
||||
%check
|
||||
%{python_expand #
|
||||
export PYTHONPATH=%{buildroot}%{python_sitelib}/
|
||||
%python_exec test/test.py
|
||||
}
|
||||
|
||||
%files %python_files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.md README.md CONTRIBUTING.md
|
||||
%python3_only %{_bindir}/supybot
|
||||
%python3_only %{_bindir}/supybot-*
|
||||
%{python_sitelib}/*
|
||||
%python3_only %{_mandir}/man1/supybot*%{ext_man}
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user