Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ripe-atlas-tools/
Date: Thu, 17 Dec 2015 07:56:59
Message-Id: 1450314695.9f6c17070484a72f17b2bed39dec36c06c0e918c.monsieurp@gentoo
1 commit: 9f6c17070484a72f17b2bed39dec36c06c0e918c
2 Author: Daniel Quinn <code <AT> danielquinn <DOT> org>
3 AuthorDate: Wed Dec 16 15:37:08 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 17 01:11:35 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f6c1707
7
8 net-analyzer/ripe-atlas-tools: Initial commit
9
10 net-analyzer/ripe-atlas-tools/Manifest | 2 +
11 net-analyzer/ripe-atlas-tools/metadata.xml | 10 +++++
12 .../ripe-atlas-tools/ripe-atlas-tools-1.2.1.ebuild | 47 ++++++++++++++++++++++
13 3 files changed, 59 insertions(+)
14
15 diff --git a/net-analyzer/ripe-atlas-tools/Manifest b/net-analyzer/ripe-atlas-tools/Manifest
16 new file mode 100644
17 index 0000000..b859976
18 --- /dev/null
19 +++ b/net-analyzer/ripe-atlas-tools/Manifest
20 @@ -0,0 +1,2 @@
21 +DIST ripe.atlas.tools-1.2.1.tar.gz 83916 SHA256 3f4d385ffa9bfb9cc04121dc109807f85d1291db4705529ff83da44847856665 SHA512 4c91d14f15e80e7e0ce4d6973e497bb48561314434d1521437311fb813197da7ba0a3e27f14cebe5a71d75baba37d2e5045b94d9e39699ef4a4e57aafb063ea7 WHIRLPOOL 7e5c2d30407191b18c7e4d4418fcb64c386ca9525a2b8224d5290c4fab1e458686d86a00cac7b7bbd70d1d0688e44e76bd563e2589c8aba204ac8165ef10fc0c
22 +EBUILD ripe-atlas-tools-1.2.1.ebuild 1277 SHA256 4734ec06ada6c5605dce4366129f29a647d53332d606da4e5883b11a93aeb270 SHA512 b24356a67c1aadb40e2b25f94ced2858b4b6a0f7896dbf411cb85bdb6ee11aba365ede9e2cc64c4c6c4a4631906307c99ed106302439640b01882840bab8cb61 WHIRLPOOL 9c159873251231b480de54b1356216cec6aaac560e1abf301c99c56f22a645c835c8735455da7cd94224298a6a8c221fb10ba6938850f3d6a79766d84c402f00
23
24 diff --git a/net-analyzer/ripe-atlas-tools/metadata.xml b/net-analyzer/ripe-atlas-tools/metadata.xml
25 new file mode 100644
26 index 0000000..46c5726
27 --- /dev/null
28 +++ b/net-analyzer/ripe-atlas-tools/metadata.xml
29 @@ -0,0 +1,10 @@
30 +<?xml version="1.0" encoding="UTF-8"?>
31 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
32 +<pkgmetadata>
33 + <herd>proxy-maintainers</herd>
34 + <maintainer>
35 + <email>gentoo@×××××××××××.org</email>
36 + <name>Daniel Quinn</name>
37 + <description>Proxied maintainer; set to assignee in all bugs</description>
38 + </maintainer>
39 +</pkgmetadata>
40
41 diff --git a/net-analyzer/ripe-atlas-tools/ripe-atlas-tools-1.2.1.ebuild b/net-analyzer/ripe-atlas-tools/ripe-atlas-tools-1.2.1.ebuild
42 new file mode 100644
43 index 0000000..de5991c
44 --- /dev/null
45 +++ b/net-analyzer/ripe-atlas-tools/ripe-atlas-tools-1.2.1.ebuild
46 @@ -0,0 +1,47 @@
47 +# Copyright 1999-2015 Gentoo Foundation
48 +# Distributed under the terms of the GNU General Public License v2
49 +# $Id$
50 +
51 +EAPI=5
52 +
53 +PYTHON_COMPAT=( python2_7 python3_4 )
54 +
55 +inherit distutils-r1
56 +
57 +MY_PN=${PN//-/.}
58 +DESCRIPTION="The official command-line client for RIPE Atlas"
59 +HOMEPAGE="https://atlas.ripe.net/"
60 +SRC_URI="mirror://pypi/${PN:0:1}/ripe.atlas.tools/ripe.atlas.tools-${PVR}.tar.gz"
61 +
62 +LICENSE="GPL-3"
63 +SLOT="0"
64 +KEYWORDS="~amd64 ~x86"
65 +IUSE="test"
66 +
67 +S="${WORKDIR}/${MY_PN}-${PVR}"
68 +
69 +RDEPEND="
70 + >=net-libs/ripe-atlas-sagan-1.1.8[${PYTHON_USEDEP}]
71 + >=www-client/ripe-atlas-cousteau-1.0.6[${PYTHON_USEDEP}]
72 + >=dev-python/requests-2.7.0[${PYTHON_USEDEP}]
73 + >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
74 + dev-python/pyyaml[${PYTHON_USEDEP}]
75 + dev-python/tzlocal[${PYTHON_USEDEP}]
76 + dev-python/python-dateutil[${PYTHON_USEDEP}]
77 + dev-python/ujson[${PYTHON_USEDEP}]"
78 +DEPEND="
79 + dev-python/setuptools[${PYTHON_USEDEP}]
80 + test? (
81 + "${RDEPEND}"
82 + dev-python/nose[${PYTHON_USEDEP}]
83 + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )"
84 +
85 +python_test() {
86 + nosetests --verbose || die "Tests failed with ${EPYTHON}"
87 +}
88 +
89 +python_install() {
90 + distutils-r1_python_install
91 + echo "RIPE Atlas Tools (Magellan) [Gentoo Linux] ${PVR}" > \
92 + ${D}$(python_get_sitedir)/ripe/atlas/tools/user-agent
93 +}
94 \ No newline at end of file