Accepting request 584526 from home:czerw:test

Submit new package python-iwlib "Python module to interface with iwlib" to python devel project.

OBS-URL: https://build.opensuse.org/request/show/584526
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iwlib?expand=0&rev=1
This commit is contained in:
Ondřej Súkup 2018-03-08 22:51:58 +00:00 committed by Git OBS Bridge
commit 188f20fb80
6 changed files with 112 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

15
_service Normal file
View File

@ -0,0 +1,15 @@
<services>
<service mode="disabled" name="tar_scm">
<param name="url">https://github.com/nathan-hoad/python-iwlib.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="filename">python-iwlib</param>
<param name="revision">master</param>
<param name="versionformat">1.5+%cd.%h</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/nathan-hoad/python-iwlib.git</param>
<param name="changesrevision">e6676a7a0bbc9d800b2ee804a0f9701a97537b39</param></service></servicedata>

View File

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

4
python-iwlib.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Mar 8 16:09:29 UTC 2018 - petr@cervinka.net
- Initial package

63
python-iwlib.spec Normal file
View File

@ -0,0 +1,63 @@
#
# spec file for package python-iwlib
#
# 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-iwlib
Version: 1.5+20170811.73b7fd2
Release: 0
Summary: Python module to interface with iwlib
License: GPL-2.0-only
Group: Development/Languages/Python
URL: https://github.com/nathan-hoad/python-iwlib
Source: python-iwlib-%{version}.tar.xz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module cffi}
BuildRequires: fdupes
BuildRequires: libiw-devel
BuildRequires: python-rpm-macros
Requires: python-cffi
%python_subpackages
%description
Python-iwlib is a package for interfacing with iwlib, providing an implementation to
the wireless tools in Linux.
It provides scanning, setting the ESSID of a device, and getting the current configuration
back from a device.
%prep
%setup -q -n python-iwlib-%{version}
%build
export CFLAGS="%{optflags}"
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%python_exec setup.py test
%files %{python_files}
%license COPYING
%doc AUTHORS README.rst
%{python_sitearch}/*
%changelog