Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-ebtables/
Date: Thu, 28 Sep 2017 17:20:00
Message-Id: 1506619175.c9050c99d18c223561dbedddc4d747bef899508b.chutzpah@gentoo
1 commit: c9050c99d18c223561dbedddc4d747bef899508b
2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 28 17:19:10 2017 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 28 17:19:35 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9050c99
7
8 dev-python/python-ebtables: New package, python bindings for ebtables
9
10 Package-Manager: Portage-2.3.10, Repoman-2.3.3
11
12 dev-python/python-ebtables/Manifest | 1 +
13 dev-python/python-ebtables/metadata.xml | 15 +++++++++++++++
14 .../python-ebtables/python-ebtables-0.2.0.ebuild | 18 ++++++++++++++++++
15 3 files changed, 34 insertions(+)
16
17 diff --git a/dev-python/python-ebtables/Manifest b/dev-python/python-ebtables/Manifest
18 new file mode 100644
19 index 00000000000..e1eabc3e8cb
20 --- /dev/null
21 +++ b/dev-python/python-ebtables/Manifest
22 @@ -0,0 +1 @@
23 +DIST python-ebtables-0.2.0.tar.gz 20290 SHA256 5d5cc3b84dd7ce3bd3299fa276e71bc2dece4b2cb8a388828b54bd92a5c549b3 SHA512 7051672d205b8318dcf7d08b50c8e0f66d9bb6532794d9292a890c5f75a88845f9e0cd9abf41450bf2a0516623c494eb40330021dc99320e5e0ffa56c75b100a WHIRLPOOL a4ab5845367b530b6184c976f2a8a20438d5ed14053379d3c47d44217cc141d7dd3078605d3ece504843a22f921676cc75cd7481dc2a8ad62ae059451a17b074
24
25 diff --git a/dev-python/python-ebtables/metadata.xml b/dev-python/python-ebtables/metadata.xml
26 new file mode 100644
27 index 00000000000..25d80baf6f1
28 --- /dev/null
29 +++ b/dev-python/python-ebtables/metadata.xml
30 @@ -0,0 +1,15 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="project">
35 + <email>python@g.o</email>
36 + <name>Python</name>
37 + </maintainer>
38 + <longdescription lang="en">
39 + Ebtables is used for Ethernet bridge frame table administration on Linux.
40 + Python-ebtables is a simple Python binding for Ebtables.
41 + </longdescription>
42 + <upstream>
43 + <remote-id type="github">ldx/python-ebtables</remote-id>
44 + </upstream>
45 +</pkgmetadata>
46
47 diff --git a/dev-python/python-ebtables/python-ebtables-0.2.0.ebuild b/dev-python/python-ebtables/python-ebtables-0.2.0.ebuild
48 new file mode 100644
49 index 00000000000..d8bec59d8cf
50 --- /dev/null
51 +++ b/dev-python/python-ebtables/python-ebtables-0.2.0.ebuild
52 @@ -0,0 +1,18 @@
53 +# Copyright 1999-2017 Gentoo Foundation
54 +# Distributed under the terms of the GNU General Public License v2
55 +
56 +EAPI=6
57 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
58 +inherit distutils-r1
59 +
60 +DESCRIPTION="Python bindings for ebtables"
61 +HOMEPAGE="https://github.com/ldx/python-iptables"
62 +SRC_URI="https://github.com/ldx/${PN}/archive/v0.2.0.tar.gz -> ${P}.tar.gz"
63 +
64 +LICENSE="GPL-2"
65 +SLOT="0"
66 +KEYWORDS="~amd64 ~x86"
67 +
68 +RDEPEND="net-firewall/ebtables[-static]
69 + dev-python/cffi[${PYTHON_USEDEP}]"
70 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"