From c3bc61051d7f12b4c682efa7a5460bbc8815649e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 7 Jan 2022 22:48:01 +0000 Subject: gentoo resync : 07.01.2022 --- dev-python/vecrec/Manifest | 2 ++ dev-python/vecrec/vecrec-0.3.1.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 dev-python/vecrec/vecrec-0.3.1.ebuild (limited to 'dev-python/vecrec') diff --git a/dev-python/vecrec/Manifest b/dev-python/vecrec/Manifest index 3bdf57964423..864b75302c28 100644 --- a/dev-python/vecrec/Manifest +++ b/dev-python/vecrec/Manifest @@ -1,3 +1,5 @@ DIST vecrec-0.3.0.tar.gz 118946 BLAKE2B 04ecb6be616b0d65e93feb3e238f068e68d95a2d90e9ab7c0b0aaf3d257924cf14f46cf403661b26b74691ed41afad9f16c52b426da23e0209d8849fe01bf42b SHA512 9208bacac7e32380fce3d0e3fca8b3353776d4154ffe2eb2360020f76eace5ced38ad30253cad377716c9a0979ee0d038debd0e6187bc72caeb17505225597b5 +DIST vecrec-0.3.1.tar.gz 18893 BLAKE2B 1b04e2ccda949d45aea083c03f963efbe3f52cf23e4c73b66b4bbe2084ad0d2690b13db9ccbd852f60e01384e85131aa36768bf26d7722f85db7856f0238fd5e SHA512 8fb8257036204efde07e739c698586e4cff81b391d21db79413002b35cffb9e02f5348acbbb374208be1c25eb96d1d8877b6a8b20be501a7541b46c43eb1dbfc EBUILD vecrec-0.3.0.ebuild 454 BLAKE2B be9d2a577e5d1e73a8d1b97ea9d685fe95a7e72bf9929c41cc381d0789a883177d0012e859b44e46493f0c719d641d2208efe8fbf3eb6739f8ea6130e87e3452 SHA512 6e48eb64e9057795bd916aeca01ea5b7285970cbcbab318e5d9ddc43567711cfe9030b1b0e43fbed9af350a9b466391ad5d8d125d176f4fbe34635ca1ed1ae86 +EBUILD vecrec-0.3.1.ebuild 654 BLAKE2B 0e0477ad86c8484dcb4c0d0b4f5e69185867002bc3d2957ce23cf0534c8f847bba4234bfcee44efb2a3847f0d8f240947a792d6c30c3d30e068e5e48543eb9a7 SHA512 81cedccf4deed1dfdf772195d9499aeb4763e1f8119bfcac8412a219524d0b18398eb78c18a8f72f470a4242b383ef7f530a550b007f4b11bcfc5e61fda5f81d MISC metadata.xml 767 BLAKE2B aec0262db4d0adaf1c3a829b973860ca035f74d2e8cb1ab86af5cba9700ece310c532c58c83b4aabcec940bd42da774f95179f6bcae6749c44717a4550e6e4d5 SHA512 69e1cc79fc85bde614dd7556addf550cf31384371dcb740f3925f81d0475a3c920679b9c3d62d0e51b115a78a26cf1d324c2cc86ccc4af2d66b341409fca37aa diff --git a/dev-python/vecrec/vecrec-0.3.1.ebuild b/dev-python/vecrec/vecrec-0.3.1.ebuild new file mode 100644 index 000000000000..c784a58d1ffe --- /dev/null +++ b/dev-python/vecrec/vecrec-0.3.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="2D vector and rectangle classes" +HOMEPAGE="https://github.com/kxgames/vecrec + https://pypi.org/project/vecrec/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND="dev-python/autoprop[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/addopts/d' -i tests/pytest.ini || die + sed -e 's/distutils.core/setuptools/' -i setup.py || die + distutils-r1_src_prepare +} + +python_test() { + epytest tests +} -- cgit v1.2.3