summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/vecrec')
-rw-r--r--dev-python/vecrec/Manifest1
-rw-r--r--dev-python/vecrec/vecrec-0.3.1.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/vecrec/Manifest b/dev-python/vecrec/Manifest
index da37cb051d39..9f3b0bb8690d 100644
--- a/dev-python/vecrec/Manifest
+++ b/dev-python/vecrec/Manifest
@@ -1 +1,2 @@
DIST vecrec-0.3.0.tar.gz 118946 BLAKE2B 04ecb6be616b0d65e93feb3e238f068e68d95a2d90e9ab7c0b0aaf3d257924cf14f46cf403661b26b74691ed41afad9f16c52b426da23e0209d8849fe01bf42b SHA512 9208bacac7e32380fce3d0e3fca8b3353776d4154ffe2eb2360020f76eace5ced38ad30253cad377716c9a0979ee0d038debd0e6187bc72caeb17505225597b5
+DIST vecrec-0.3.1.tar.gz 18893 BLAKE2B 1b04e2ccda949d45aea083c03f963efbe3f52cf23e4c73b66b4bbe2084ad0d2690b13db9ccbd852f60e01384e85131aa36768bf26d7722f85db7856f0238fd5e SHA512 8fb8257036204efde07e739c698586e4cff81b391d21db79413002b35cffb9e02f5348acbbb374208be1c25eb96d1d8877b6a8b20be501a7541b46c43eb1dbfc
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
+}