1 |
commit: 14125711c8a870b5cd5f59df28946c8b742640c7 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 23 13:12:03 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 23 13:13:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14125711 |
7 |
|
8 |
net-analyzer/pypacker: Version 4.6. |
9 |
|
10 |
Fixes: https://bugs.gentoo.org/663258 |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
12 |
|
13 |
net-analyzer/pypacker/Manifest | 1 + |
14 |
net-analyzer/pypacker/pypacker-4.6.ebuild | 30 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 31 insertions(+) |
16 |
|
17 |
diff --git a/net-analyzer/pypacker/Manifest b/net-analyzer/pypacker/Manifest |
18 |
index 4a42e57194a..8ef31bcff02 100644 |
19 |
--- a/net-analyzer/pypacker/Manifest |
20 |
+++ b/net-analyzer/pypacker/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST pypacker-2.9.tar.gz 276080 BLAKE2B 3bab4b4c7879fea10accbd3fb2bcb4a8e27096a29240f6b8e4e06c3486ee0cb2b8fa1e83674dee759fafc85c2e182cb75e836c00dfe28c83c0bb2cecaed758cd SHA512 b7ca61948a55a37661fa402ebc5a9c2be456e8df14d1ee091a50ccd1362c7a7fa9224e1ae2b8ee8057f302ee9e0c61c06d07b627dde92947f8d22158ef3623b8 |
23 |
+DIST pypacker-4.6.tar.gz 592362 BLAKE2B 41fc63f1fc40ab1cfc007db9dfc6d18cedb51cc8525dc2b467bc03babe03c49f9f0771b8146aacf80f74c511619da85e1f7d56667bcda350710e4c0bafb89351 SHA512 c55205b35f653903149517aad0e2d055745edd6c1a28b1b49aeaa435ca327693b20ed6f851011fa80df1fcc5281ac8b92fbffa3b1381cb3d4507ef7d45d49545 |
24 |
|
25 |
diff --git a/net-analyzer/pypacker/pypacker-4.6.ebuild b/net-analyzer/pypacker/pypacker-4.6.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..03473c1ed8f |
28 |
--- /dev/null |
29 |
+++ b/net-analyzer/pypacker/pypacker-4.6.ebuild |
30 |
@@ -0,0 +1,30 @@ |
31 |
+# Copyright 1999-2018 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{4,5,6} ) |
37 |
+ |
38 |
+inherit distutils-r1 vcs-snapshot |
39 |
+ |
40 |
+DESCRIPTION="Fast and simple packet creation and parsing library for Python" |
41 |
+HOMEPAGE="https://gitlab.com/mike01/pypacker" |
42 |
+SRC_URI="${HOMEPAGE}/-/archive/v${PV}/pypacker-v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="examples" |
48 |
+ |
49 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
50 |
+ |
51 |
+DOCS=( AUTHORS CHANGES HACKING README.md ) |
52 |
+ |
53 |
+python_test() { |
54 |
+ "${PYTHON}" tests/test_pypacker.py || die |
55 |
+} |
56 |
+ |
57 |
+python_install_all() { |
58 |
+ distutils-r1_python_install_all |
59 |
+ use examples && dodoc -r examples |
60 |
+} |