Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/portend/
Date: Wed, 10 Jan 2018 01:21:05
Message-Id: 1515547165.33bf6c2c9cc6a3ef75ed1c84cbe2687e19ae7972.zmedico@gentoo
1 commit: 33bf6c2c9cc6a3ef75ed1c84cbe2687e19ae7972
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 9 23:34:24 2018 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 10 01:19:25 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33bf6c2c
7
8 dev-python/portend: new package
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-python/portend/Manifest | 1 +
13 dev-python/portend/metadata.xml | 12 ++++++++++++
14 dev-python/portend/portend-2.2.ebuild | 26 ++++++++++++++++++++++++++
15 3 files changed, 39 insertions(+)
16
17 diff --git a/dev-python/portend/Manifest b/dev-python/portend/Manifest
18 new file mode 100644
19 index 00000000000..0c788ac69e6
20 --- /dev/null
21 +++ b/dev-python/portend/Manifest
22 @@ -0,0 +1 @@
23 +DIST portend-2.2.tar.gz 7974 BLAKE2B 77ffcf02b65f276a5ca1f1bdd76afd54e8f6afcb1c55b6948862017f973772dfe65c9b934ffbc98d2f36f799131d23d4a7128f46e46183010def8936f2dd0bad SHA512 1782132b0dec5b678892190b70ab795b1748dfa17e257b6655fc803f0cf19652725778cd329c3609353f969959501dd11fd2b9726cfcdf2c58689e2ce280c146
24
25 diff --git a/dev-python/portend/metadata.xml b/dev-python/portend/metadata.xml
26 new file mode 100644
27 index 00000000000..530cb9c31df
28 --- /dev/null
29 +++ b/dev-python/portend/metadata.xml
30 @@ -0,0 +1,12 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>zmedico@g.o</email>
36 + <name>Zac Medico</name>
37 + </maintainer>
38 + <upstream>
39 + <remote-id type="pypi">portend</remote-id>
40 + <remote-id type="github">jaraco/portend</remote-id>
41 + </upstream>
42 +</pkgmetadata>
43
44 diff --git a/dev-python/portend/portend-2.2.ebuild b/dev-python/portend/portend-2.2.ebuild
45 new file mode 100644
46 index 00000000000..4260f3a92b0
47 --- /dev/null
48 +++ b/dev-python/portend/portend-2.2.ebuild
49 @@ -0,0 +1,26 @@
50 +# Copyright 1999-2018 Gentoo Foundation
51 +# Distributed under the terms of the GNU General Public License v2
52 +
53 +EAPI=6
54 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
55 +
56 +inherit distutils-r1
57 +
58 +DESCRIPTION="TCP port monitoring utilities"
59 +HOMEPAGE="https://pypi.python.org/pypi/portend https://github.com/jaraco/portend"
60 +SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
61 +
62 +LICENSE="MIT"
63 +SLOT="0"
64 +KEYWORDS="~amd64 ~x86"
65 +IUSE="test"
66 +
67 +RDEPEND=">=dev-python/tempora-1.8[${PYTHON_USEDEP}]"
68 +DEPEND="${RDEPEND}
69 + dev-python/setuptools[${PYTHON_USEDEP}]
70 + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
71 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
72 +
73 +python_test() {
74 + py.test -v || die "tests failed under ${EPTYHON}"
75 +}