dev-python/vecrec: new package

Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/17560
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
This commit is contained in:
Dennis Lamm
2020-09-15 20:53:47 +02:00
parent f069a04345
commit 885e6890e0
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST vecrec-0.3.0.tar.gz 118946 BLAKE2B 04ecb6be616b0d65e93feb3e238f068e68d95a2d90e9ab7c0b0aaf3d257924cf14f46cf403661b26b74691ed41afad9f16c52b426da23e0209d8849fe01bf42b SHA512 9208bacac7e32380fce3d0e3fca8b3353776d4154ffe2eb2360020f76eace5ced38ad30253cad377716c9a0979ee0d038debd0e6187bc72caeb17505225597b5

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>3dprint@gentoo.org</email>
<name>Gentoo 3D Printer Project</name>
</maintainer>
<longdescription>
Python-FCL is an (unofficial) Python interface for the Flexible Collision Library (FCL), an excellent C++
library for performing proximity and collision queries on pairs of geometric models.
</longdescription>
<upstream>
<remote-id type="github">kxgames/vecrec</remote-id>
<remote-id type="pypi">vecrec</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,23 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..9} )
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"
distutils_enable_tests pytest
python_test() {
pytest -vv tests || die "Tests fail with ${EPYTHON}"
}