From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/ipy/Manifest | 3 +++ dev-python/ipy/ipy-0.83.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ dev-python/ipy/metadata.xml | 12 ++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 dev-python/ipy/Manifest create mode 100644 dev-python/ipy/ipy-0.83.ebuild create mode 100644 dev-python/ipy/metadata.xml (limited to 'dev-python/ipy') diff --git a/dev-python/ipy/Manifest b/dev-python/ipy/Manifest new file mode 100644 index 000000000000..134049be4f6d --- /dev/null +++ b/dev-python/ipy/Manifest @@ -0,0 +1,3 @@ +DIST IPy-0.83.tar.gz 31816 BLAKE2B 89ca11d292ff3ed6f633aacc2c689e710c5ed43ada32e75425f653bfe87bcf6eb777d5ede33133362833099e51b2248f5e846bae82b28a6050500f25679ddbfb SHA512 6bd69d96fa77dc4ceaf119b81c19a524b871badb37665a763a055e1c8b2ce3433c6e9534f03aa64d02e559dca2fac2c4e1d09b7fd78ed79c0fded88f803ad2de +EBUILD ipy-0.83.ebuild 1082 BLAKE2B 57f07aa34ef37bd91bed1ea3f78a233e416c7f32719a3ba3729777bc0757b24d8dce6720b3d89871049d496a0e9cca81c1b33c44c0b59f1ea61164a53ef8823c SHA512 176b07123e3ef67975e7db78b82d45831ef38c883fd60c9fbccb1ab83b0a86aa630b6c2d239ff29f1ba452a10331ccc73ebd3ec9a1eb484fc1d8753e492b8b82 +MISC metadata.xml 374 BLAKE2B 89f26050a20821b1ea3b45177a02c91f3682abd65aaeb775bf6d03688a37a6fe57b8a47037ffbf1f7deea7ede60fc1e3c95b74b76f8be28afae73ec87be5bfcc SHA512 8c12c38a49ffef811e6107d003f44cd8174bc95fc71dcc3296511e3356a0203cf12479a36c7d649f1933c6a90820c3212de25166b61eac8de06728cb8cb25566 diff --git a/dev-python/ipy/ipy-0.83.ebuild b/dev-python/ipy/ipy-0.83.ebuild new file mode 100644 index 000000000000..c09ae0c657ab --- /dev/null +++ b/dev-python/ipy/ipy-0.83.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 + +MY_PN="IPy" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Class and tools for handling of IPv4 and IPv6 addresses and networks" +HOMEPAGE="https://github.com/haypo/python-ipy/wiki https://pypi.org/project/IPy/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc x86" +IUSE="examples" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_test() { + # 1 test fail under pypy, persistent from 0.82a, not a regression. + cp -r test_doc.py README test "${BUILD_DIR}" || die + pushd "${BUILD_DIR}" > /dev/null || die + "${PYTHON}" test/test_IPy.py || die "Tests fail with ${EPYTHON}" + "${PYTHON}" test_doc.py || die "Doctests fail with ${EPYTHON}" + popd > /dev/null || die +} + +python_install_all() { + use examples && local EXAMPLES=( example/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/ipy/metadata.xml b/dev-python/ipy/metadata.xml new file mode 100644 index 000000000000..13405b9629d2 --- /dev/null +++ b/dev-python/ipy/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + Python + + + IPy + haypo/python-ipy + + -- cgit v1.2.3