commit: 33bf6c2c9cc6a3ef75ed1c84cbe2687e19ae7972 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Tue Jan 9 23:34:24 2018 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Wed Jan 10 01:19:25 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33bf6c2c
dev-python/portend: new package Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-python/portend/Manifest | 1 + dev-python/portend/metadata.xml | 12 ++++++++++++ dev-python/portend/portend-2.2.ebuild | 26 ++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/dev-python/portend/Manifest b/dev-python/portend/Manifest new file mode 100644 index 00000000000..0c788ac69e6 --- /dev/null +++ b/dev-python/portend/Manifest @@ -0,0 +1 @@ +DIST portend-2.2.tar.gz 7974 BLAKE2B 77ffcf02b65f276a5ca1f1bdd76afd54e8f6afcb1c55b6948862017f973772dfe65c9b934ffbc98d2f36f799131d23d4a7128f46e46183010def8936f2dd0bad SHA512 1782132b0dec5b678892190b70ab795b1748dfa17e257b6655fc803f0cf19652725778cd329c3609353f969959501dd11fd2b9726cfcdf2c58689e2ce280c146 diff --git a/dev-python/portend/metadata.xml b/dev-python/portend/metadata.xml new file mode 100644 index 00000000000..530cb9c31df --- /dev/null +++ b/dev-python/portend/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmed...@gentoo.org</email> + <name>Zac Medico</name> + </maintainer> + <upstream> + <remote-id type="pypi">portend</remote-id> + <remote-id type="github">jaraco/portend</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/portend/portend-2.2.ebuild b/dev-python/portend/portend-2.2.ebuild new file mode 100644 index 00000000000..4260f3a92b0 --- /dev/null +++ b/dev-python/portend/portend-2.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="TCP port monitoring utilities" +HOMEPAGE="https://pypi.python.org/pypi/portend https://github.com/jaraco/portend" +SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=">=dev-python/tempora-1.8[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + py.test -v || die "tests failed under ${EPTYHON}" +}