From 0e922045589f60798785ca690b6d7c7907cb58e2 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [feature/flatten]" Date: Fri, 25 Sep 2020 18:00:50 +0000 Subject: Updating liguros repo --- dev-python/ipaddr/ipaddr-2.2.0-r1.ebuild | 28 ++++++++++++++++++++++++++++ dev-python/ipaddr/ipaddr-2.2.0.ebuild | 28 ---------------------------- 2 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 dev-python/ipaddr/ipaddr-2.2.0-r1.ebuild delete mode 100644 dev-python/ipaddr/ipaddr-2.2.0.ebuild (limited to 'dev-python/ipaddr') diff --git a/dev-python/ipaddr/ipaddr-2.2.0-r1.ebuild b/dev-python/ipaddr/ipaddr-2.2.0-r1.ebuild new file mode 100644 index 000000000000..a9bc8dd03454 --- /dev/null +++ b/dev-python/ipaddr/ipaddr-2.2.0-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Python IP address manipulation library" +HOMEPAGE="https://github.com/google/ipaddr-py https://pypi.org/project/ipaddr/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~ppc64 x86" + +python_prepare() { + if python_is_python3; then + 2to3 -n -w --no-diffs *.py || die + fi +} + +python_test() { + distutils_install_for_testing + "${EPYTHON}" ipaddr_test.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/ipaddr/ipaddr-2.2.0.ebuild b/dev-python/ipaddr/ipaddr-2.2.0.ebuild deleted file mode 100644 index 7e989511779b..000000000000 --- a/dev-python/ipaddr/ipaddr-2.2.0.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="Python IP address manipulation library" -HOMEPAGE="https://github.com/google/ipaddr-py https://pypi.org/project/ipaddr/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc64 x86" - -python_prepare() { - if python_is_python3; then - 2to3 -n -w --no-diffs *.py || die - fi -} - -python_test() { - distutils_install_for_testing - "${EPYTHON}" ipaddr_test.py || die "Tests fail with ${EPYTHON}" -} -- cgit v1.3