diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
commit | fcc5224904648a8e6eb528d7603154160a20022f (patch) | |
tree | 3bfce096b38a9cea8eed13fc70c1526c456e9abd /dev-python/ipy | |
parent | 2fd57282f0262ca084e05b0f2c63fbada395d02b (diff) |
gentoo resync : 02.02.2022
Diffstat (limited to 'dev-python/ipy')
-rw-r--r-- | dev-python/ipy/Manifest | 1 | ||||
-rw-r--r-- | dev-python/ipy/ipy-1.01-r1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/ipy/Manifest b/dev-python/ipy/Manifest index 01b56ea8337d..84a8bf2e1b4f 100644 --- a/dev-python/ipy/Manifest +++ b/dev-python/ipy/Manifest @@ -1,3 +1,4 @@ DIST IPy-1.01.tar.gz 33641 BLAKE2B 10d5ac5c3df00a562393ee762e9ad0f458ecf4745f894ab23e686b7112842adcbb3f25064c0010630745273fa72280ba5ef92a951d687d0f46f341acd6c041ad SHA512 f0983254523025a1819d543877d9651fb6a9e39dabd3b043488495f681b02e43b544a0121658a0430a418a1c39b360a59db1699af87a75a16a2bdc29fcb2b74c +EBUILD ipy-1.01-r1.ebuild 920 BLAKE2B 97d8c144fb5a27663898dcc0a8655974f51c9db5025a8e4439c2c0fb465561a953b837e0c12caa0b71cdc59ec0c2c10d7817acd0dded318d96870fa2681bc36b SHA512 2dbad2d996272d8148b9bcac7c81d986ae21b9ce3ee048dea020f1285717edb5f59f0d11bdad9cfd2aeac8d0032b424beca785230deb3fc3daa0da348e7c73fd EBUILD ipy-1.01.ebuild 1104 BLAKE2B 1a872535f4fb91fa015ae947cd0d85ff39a6047b7de82aad9f85a37702d9cc38c7001f67143da6237141ee6b0b668623b691fdf325c61146d7653ac6a4a58b40 SHA512 31e364f825961e9ce0fe0d1c69df72335f952e2b81cda5484ce3cac00a6a12b81f0bcd49bcd8109395c782d6330905c308a4d2f6e4d2bdfa165483530db206f4 MISC metadata.xml 404 BLAKE2B 9b453bad2b9cc6b6f7b6bca5bd69afbc1c8181f8250d5889b8a192f6a242e94b546b650d0ca05acd7668cee160642d519d2eaa3f3d8755ffa228b43efbd3a6a0 SHA512 fb2d4c33ea00c87f1106ebf2ea4150476c62acd544f9c94cf28d5113cd272179df4710595135f5edd26cded036977fb7253e77c83d34ae362bd4b35eebbe356c 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..3557a2fbcd28 --- /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_{8..10} ) + +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/autocracy/python-ipy/wiki https://pypi.org/project/IPy/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +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 +} |