summaryrefslogtreecommitdiff
path: root/dev-python/python-iwscan
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/python-iwscan
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/python-iwscan')
-rw-r--r--dev-python/python-iwscan/Manifest6
-rw-r--r--dev-python/python-iwscan/files/python-iwscan-20080402-wireless-tools-30.patch14
-rw-r--r--dev-python/python-iwscan/metadata.xml8
-rw-r--r--dev-python/python-iwscan/python-iwscan-20080402-r1.ebuild28
4 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/python-iwscan/Manifest b/dev-python/python-iwscan/Manifest
new file mode 100644
index 000000000000..41f73b136891
--- /dev/null
+++ b/dev-python/python-iwscan/Manifest
@@ -0,0 +1,6 @@
+AUX python-iwscan-20080402-wireless-tools-30.patch 366 SHA256 fc33b141d7c5f389616f3a952b3f8dcd291c3a1a0da9d8406d69314b39f76dba SHA512 67687e0c3fe5dacc58dca129325542b7b5fe11b761ce1c699d4d38a77738bad8ed1ae191716d7ca10bae056481242454c5afce7b6e4143f34e5c45121fdd4209 WHIRLPOOL dec8fe332bf2aee4d5981cc776aac6a248ed7ae5c6b9c7b4ddb0cbf6ac7da102e62a2e874a565221e5b414ea146f7d046305a59de59ce6ef74cd209fb1d443ef
+DIST python-iwscan-20080402.tar.bz2 16891 SHA256 1e534508597bd86cfab3f3d7b5e1f6d924812f374e3e26c1546c4ecbb07f8b8c SHA512 9e9d5e1b2cc491879a4f8a216044f46253820c6c8f30904a1867f758f6d158a9270c9c70a91f22a80f15fbe0446d786869104c5dc5d6bfcab470a79478f533d2 WHIRLPOOL de4a05b688e160ef721de71304a44731e5d28e803c27619d40a5c467674dcc2c5413c80ed5b97e1a739f6e3a41ec69b26ae3b2d71f17b3d5d088906d1481077d
+EBUILD python-iwscan-20080402-r1.ebuild 578 SHA256 fc1b9d9d8ae765a5ab58b88240f63de69857ea3fd38319a9c2d6af75964f2404 SHA512 16ddd2ab6b23ab481a95d534c8063c403e227167397f0eb326034e19f2d43fe26e47a6b40d22e243b6f1a39ce1647e76feaf8c5d4c6d6139854acfe4d1f6b7c7 WHIRLPOOL c148783d2609af7fe96b91b818f98977420e7ec8a8f938b2704e0fa7a6f1e0b9b651dcbe6bf71d0361966e25b92f60750be5d5e2198a2c304780b435d3c23b3a
+MISC ChangeLog 2516 SHA256 3d24666da80bcfec7cc1ecdc7c652535014158b699ecac779c9671341eedb39e SHA512 0f6eaca1ef5df4e8f30cf79d457e6bbe4656bf7b063409934afdf380720545e91adedccc49d860294ceb4b6695570442cf9a884c46a9ea18360b7a655084a5e7 WHIRLPOOL 85dc320c2b3f04ed082d2088c975d95e19625de3e707f41e7e0c50042ee90cff7999adf6164dfdfbdeca8948191bbcd07af7a432b9f61a92f0ea0088360c73d6
+MISC ChangeLog-2015 2996 SHA256 efe35c0f19f80bef389f283caa2e0ecd5d47f24278a9312f1fa7a684d4052611 SHA512 794044404cf0b293a4afbd49be0867ee6c07c15d14b9b8094f57ed2c717db1dc4147a791d4a12f24fbad02a00d3b7e65ea368ac145df009026ceffa0f330715c WHIRLPOOL b0db7fef7cacb04053d2ff56dca2bf8fbaedbf69e99836fd6f6efeda0d9230af055c45679d3c9081a2f9d799388666724c8ab7a4d0e7363ff0a84495c7c8cb6f
+MISC metadata.xml 238 SHA256 9e09d4dcb7278b727b88408a0535430d9894ad05d2596b5031e0e00842566219 SHA512 47119affb0bb88a6fef7b2121569fa43cc30157b6aa8d1edb7374367a11ea9d422497da9bbc0bb7106b4124c90e3c980ced5ae202d96a48526ecaf875975db6a WHIRLPOOL 9339618d7e20d7f9a6c320505b60efa401dafe71138c1915a51ae0b2d05a9caac7c21c2cee12a73ddf5fee41ac7afbcd60f3eac3fd41a397b2b47e9b94fb8496
diff --git a/dev-python/python-iwscan/files/python-iwscan-20080402-wireless-tools-30.patch b/dev-python/python-iwscan/files/python-iwscan-20080402-wireless-tools-30.patch
new file mode 100644
index 000000000000..16a9dce1858f
--- /dev/null
+++ b/dev-python/python-iwscan/files/python-iwscan-20080402-wireless-tools-30.patch
@@ -0,0 +1,14 @@
+--- pyiwscan.c
++++ pyiwscan.c
+@@ -13,6 +13,11 @@
+ #include <structmember.h>
+ #include <iwlib.h>
+
++/* PROC_NET_WIRELESS is defined in iwlib-private.h since wireless-tools-30_pre9 */
++#ifndef PROC_NET_WIRELESS
++#define PROC_NET_WIRELESS "/proc/net/wireless"
++#endif
++
+ #define IWSCAN_VERSION_MAJOR 0
+ #define IWSCAN_VERSION_MINOR 7
+ #define IWSCAN_VERSION_MICRO 0
diff --git a/dev-python/python-iwscan/metadata.xml b/dev-python/python-iwscan/metadata.xml
new file mode 100644
index 000000000000..a5c911a491f5
--- /dev/null
+++ b/dev-python/python-iwscan/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-python/python-iwscan/python-iwscan-20080402-r1.ebuild b/dev-python/python-iwscan/python-iwscan-20080402-r1.ebuild
new file mode 100644
index 000000000000..e037ac41b7f4
--- /dev/null
+++ b/dev-python/python-iwscan/python-iwscan-20080402-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="A Python extension for iwscan access"
+HOMEPAGE="http://projects.otaku42.de/browser/python-iwscan"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+DEPEND="net-wireless/wireless-tools"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-wireless-tools-30.patch"
+)
+
+python_configure_all() {
+ append-flags -fno-strict-aliasing
+}