From ae9512cdfbd3c1b4ff9c7cefaf0cff4a99eadb2c Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 2 Jul 2022 13:10:15 +0000 Subject: Adding metadata --- dev-python/IPy/IPy-1.01-r1.ebuild | 36 ++++++++++++++++++++++++++++++++++++ dev-python/IPy/Manifest | 1 + dev-python/IPy/metadata.xml | 11 +++++++++++ 3 files changed, 48 insertions(+) create mode 100644 dev-python/IPy/IPy-1.01-r1.ebuild create mode 100644 dev-python/IPy/Manifest create mode 100644 dev-python/IPy/metadata.xml (limited to 'dev-python/IPy') diff --git a/dev-python/IPy/IPy-1.01-r1.ebuild b/dev-python/IPy/IPy-1.01-r1.ebuild new file mode 100644 index 000000000000..cf3f95a05103 --- /dev/null +++ b/dev-python/IPy/IPy-1.01-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Class and tools for handling of IPv4 and IPv6 addresses and networks" +HOMEPAGE=" + https://github.com/autocracy/python-ipy/ + https://pypi.org/project/IPy/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc x86" +IUSE="examples" + +python_test() { + "${EPYTHON}" test/test_IPy.py || die "Tests fail with ${EPYTHON}" + "${EPYTHON}" test_doc.py || die "Doctests fail with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + docinto examples + dodoc -r example/. + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/IPy/Manifest b/dev-python/IPy/Manifest new file mode 100644 index 000000000000..23bdf7c8ec7f --- /dev/null +++ b/dev-python/IPy/Manifest @@ -0,0 +1 @@ +DIST IPy-1.01.tar.gz 33641 BLAKE2B 10d5ac5c3df00a562393ee762e9ad0f458ecf4745f894ab23e686b7112842adcbb3f25064c0010630745273fa72280ba5ef92a951d687d0f46f341acd6c041ad SHA512 f0983254523025a1819d543877d9651fb6a9e39dabd3b043488495f681b02e43b544a0121658a0430a418a1c39b360a59db1699af87a75a16a2bdc29fcb2b74c diff --git a/dev-python/IPy/metadata.xml b/dev-python/IPy/metadata.xml new file mode 100644 index 000000000000..ea8988e8af6a --- /dev/null +++ b/dev-python/IPy/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + Python + + + gentoo-staging + + \ No newline at end of file -- cgit v1.3