From 188f20fb80f60e6db866d0d6909bc4abd3bf783697b9aed79afa0b91eb7d8686 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Thu, 8 Mar 2018 22:51:58 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 +++++++++ _service | 15 ++++++ _servicedata | 4 ++ python-iwlib-1.5+20170811.73b7fd2.tar.xz | 3 ++ python-iwlib.changes | 4 ++ python-iwlib.spec | 63 ++++++++++++++++++++++++ 6 files changed, 112 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 _servicedata create mode 100644 python-iwlib-1.5+20170811.73b7fd2.tar.xz create mode 100644 python-iwlib.changes create mode 100644 python-iwlib.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/_service b/_service new file mode 100644 index 0000000..8d61f80 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/nathan-hoad/python-iwlib.git + git + enable + python-iwlib + master + 1.5+%cd.%h + + + *.tar + xz + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..73b9716 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/nathan-hoad/python-iwlib.git + e6676a7a0bbc9d800b2ee804a0f9701a97537b39 \ No newline at end of file diff --git a/python-iwlib-1.5+20170811.73b7fd2.tar.xz b/python-iwlib-1.5+20170811.73b7fd2.tar.xz new file mode 100644 index 0000000..2eaf193 --- /dev/null +++ b/python-iwlib-1.5+20170811.73b7fd2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:60ff59c376d5cbe47e352f7646799a1da5faefc5b6bcec5ae30d85ab7322e475 +size 11536 diff --git a/python-iwlib.changes b/python-iwlib.changes new file mode 100644 index 0000000..2aa901e --- /dev/null +++ b/python-iwlib.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Mar 8 16:09:29 UTC 2018 - petr@cervinka.net + +- Initial package diff --git a/python-iwlib.spec b/python-iwlib.spec new file mode 100644 index 0000000..7d44969 --- /dev/null +++ b/python-iwlib.spec @@ -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