Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyshark/
Date: Sat, 28 Mar 2020 18:26:12
Message-Id: 1585419072.c2544c7666e2f45d71b87031dd8f25e8a0a8cc21.mgorny@gentoo
1 commit: c2544c7666e2f45d71b87031dd8f25e8a0a8cc21
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 28 18:11:12 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 28 18:11:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2544c76
7
8 dev-python/pyshark: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyshark/Manifest | 1 -
13 dev-python/pyshark/pyshark-0.3.7.2-r1.ebuild | 49 ----------------------------
14 2 files changed, 50 deletions(-)
15
16 diff --git a/dev-python/pyshark/Manifest b/dev-python/pyshark/Manifest
17 index fddea2e2139..4d7c054878a 100644
18 --- a/dev-python/pyshark/Manifest
19 +++ b/dev-python/pyshark/Manifest
20 @@ -1,2 +1 @@
21 -DIST pyshark-0.3.7.2.tar.gz 27232 BLAKE2B b93ee24fb29990b0ab455935e773e4844c26761c2515d1254c8e72d24d70be95aa17a590cc1f5b39bb5f76db624fb7c40d06e64731948ee75a5b8e2008830968 SHA512 dbd97665fae7d3067582bf7616e025b0c5e5fa14cacdaca59c89b4e70feb3017f2d8c7d899a70c0c8707589e4735b9283914bb6ccbf432e9072c64d7e957bc15
22 DIST pyshark-0.4.2.3.tar.gz 29363 BLAKE2B 91463f725eb893c3c7f7442eec5e0a8304bb8f2ecbd0ea80582c49bfd8538a5fcdb1d5d1ab2373f8e67684c78c8852af697dadf8ff041d42f8ff18a8954a6248 SHA512 bbef857dad5e5141e0ec7c04dba9faca81b17d67a7151959e9935577428cd1415e173e9c7ededff46f8621bcbbdfbe7a96ca5cfd65d7143fb6f235c0167964b6
23
24 diff --git a/dev-python/pyshark/pyshark-0.3.7.2-r1.ebuild b/dev-python/pyshark/pyshark-0.3.7.2-r1.ebuild
25 deleted file mode 100644
26 index 9f355c1a253..00000000000
27 --- a/dev-python/pyshark/pyshark-0.3.7.2-r1.ebuild
28 +++ /dev/null
29 @@ -1,49 +0,0 @@
30 -# Copyright 1999-2020 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI="6"
34 -
35 -PYTHON_COMPAT=( python3_6 )
36 -
37 -inherit distutils-r1 eutils
38 -
39 -DESCRIPTION="A Python wrapper for tshark output parsing"
40 -HOMEPAGE="https://pypi.org/project/pyshark/ https://github.com/KimiNewt/pyshark"
41 -# pypi tarball is missing tests
42 -#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 -SRC_URI="https://github.com/KimiNewt/pyshark/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="MIT"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE="test"
49 -RESTRICT="!test? ( test )"
50 -
51 -# See pyshark.egg-info/requires.txt
52 -RDEPEND="
53 - dev-python/py[${PYTHON_USEDEP}]
54 - dev-python/logbook[${PYTHON_USEDEP}]
55 - dev-python/lxml[${PYTHON_USEDEP}]
56 - dev-python/trollius[${PYTHON_USEDEP}]
57 - net-analyzer/wireshark[tshark]"
58 -DEPEND="
59 - dev-python/setuptools[${PYTHON_USEDEP}]
60 - test? (
61 - ${RDEPEND}
62 - dev-python/pytest[${PYTHON_USEDEP}]
63 - )
64 -"
65 -
66 -S="${WORKDIR}/${P}/src"
67 -
68 -python_prepare_all() {
69 - # Test fails unless portage can execute /usr/bin/dumpcap
70 - # https://github.com/KimiNewt/pyshark/issues/197
71 - rm "${WORKDIR}/${P}/tests/capture/test_inmem_capture.py" || die
72 - distutils-r1_python_prepare_all
73 -}
74 -
75 -python_test() {
76 - cd "${WORKDIR}/${P}/tests" || die
77 - py.test -v || die
78 -}