diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
commit | 8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch) | |
tree | 230f3135ceaace633cf93e9838b185c4a6664c2e /dev-python/fcl | |
parent | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff) |
gentoo resync : 23.09.2020
Diffstat (limited to 'dev-python/fcl')
-rw-r--r-- | dev-python/fcl/Manifest | 3 | ||||
-rw-r--r-- | dev-python/fcl/fcl-0.0.12.ebuild | 43 | ||||
-rw-r--r-- | dev-python/fcl/metadata.xml | 16 |
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/fcl/Manifest b/dev-python/fcl/Manifest new file mode 100644 index 000000000000..bb5776d92cb4 --- /dev/null +++ b/dev-python/fcl/Manifest @@ -0,0 +1,3 @@ +DIST python-fcl-0.0.12.tar.gz 17204 BLAKE2B 594d466270160e71e67d99f1745b382c3b1f7754adeb9ba58443e4370e14496e45f4a7619eb7d41db22766f75fe841e088609014bf5a9ff5a6b7ee526b34eca2 SHA512 3b5462206e63e17c646edeeedb268474cc6df1ff12d64d4de0c46bcc281787a42b6306778d2fe5d4d3b2e23bc0ed86e092c9a39b74d019638c771ac5c9d9f8ce +EBUILD fcl-0.0.12.ebuild 880 BLAKE2B 07a2f4db8ef966981a9cb40b7e02568ce75c5e89104be3072c54cfdc453a9b61bef4454dcd4ba2d29b91982ff9fc1dffe940417201b3d913be28a21b88312d3d SHA512 935b02b3406402d1943c5f6ed9e5fb1f3321ba2f81428cd90feb4bd32fe1caf8a6ef2866c7c10f1f0a49e8a2e9a5d68155455d27bea29b782df42aa7bd35d8b3 +MISC metadata.xml 690 BLAKE2B 9ffe7a20279a393ab054e5f14e03b567b6c9a22da79a0f4abf44a534bb217931a0a2774e8ab03fbfe28028b664ed45654d5687bd44eb5ab7461f16a1bae82f8a SHA512 8d59da8cedbed47d103b8fe47fc05b16533008c8ab8e5d684ffad836d4a06c9c139a1c3800d2922e4ee68f432924dd363e99b233c167be8b585a4eb8a4de72dc diff --git a/dev-python/fcl/fcl-0.0.12.ebuild b/dev-python/fcl/fcl-0.0.12.ebuild new file mode 100644 index 000000000000..56e45b519abe --- /dev/null +++ b/dev-python/fcl/fcl-0.0.12.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..7} ) + +inherit distutils-r1 + +MY_PN="python-fcl" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python bindings for the Flexible Collision Library" +HOMEPAGE="https://github.com/BerkeleyAutomation/python-fcl https://pypi.org/project/python-fcl/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +LICENSE="BSD" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="examples" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + ~sci-libs/fcl-0.5.0 + sci-libs/octomap +" + +S=${WORKDIR}/${MY_P} + +distutils_enable_tests unittest + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r example + fi + + distutils-r1_python_install_all +} + +python_test() { + "${EPYTHON}" test/test_fcl.py -v || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/fcl/metadata.xml b/dev-python/fcl/metadata.xml new file mode 100644 index 000000000000..4dae84fa0a47 --- /dev/null +++ b/dev-python/fcl/metadata.xml @@ -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">BerkeleyAutomation/python-fcl</remote-id> + <remote-id type="pypi">python-fcl</remote-id> + </upstream> +</pkgmetadata> |