diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-ros/ament_cmake_pytest | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-ros/ament_cmake_pytest')
-rw-r--r-- | dev-ros/ament_cmake_pytest/Manifest | 4 | ||||
-rw-r--r-- | dev-ros/ament_cmake_pytest/ament_cmake_pytest-1.0.0.ebuild | 46 | ||||
-rw-r--r-- | dev-ros/ament_cmake_pytest/ament_cmake_pytest-9999.ebuild | 46 | ||||
-rw-r--r-- | dev-ros/ament_cmake_pytest/metadata.xml | 11 |
4 files changed, 107 insertions, 0 deletions
diff --git a/dev-ros/ament_cmake_pytest/Manifest b/dev-ros/ament_cmake_pytest/Manifest new file mode 100644 index 000000000000..899dd9246716 --- /dev/null +++ b/dev-ros/ament_cmake_pytest/Manifest @@ -0,0 +1,4 @@ +DIST ament_cmake-1.0.0.tar.gz 63304 BLAKE2B dd0c4bc5b72d9143cfb8ee9caae236a3608981ee8523e879ea9c168d64fd1d0cb84e54679cfc0cfc58ffff34519bb1032afc956c3130c1da8b4f98d60a9191be SHA512 69236015368df29a128eceeb64dd1c683eb32a44188b52120592238f999be8c8c7c5892a36ddcef48b6686bf97eba77e820ca3b8896c64ec1522661fa3ed4fc7 +EBUILD ament_cmake_pytest-1.0.0.ebuild 1158 BLAKE2B ee413315205e26fd9606f578f147db7f9dfd14d66b86ca29114555b9bd34c6347cb6681fecca18e60aa0e966139a06c922d0c6d848e8409e48181257b8307b52 SHA512 20920da8d699f6675887da88dff9fdb279eb2ac1da3d2436b7b970b07128aafc2f07dc747f30174f6441546152fb3c02b670abab8d7a60502c78079acff2fa8d +EBUILD ament_cmake_pytest-9999.ebuild 1158 BLAKE2B ee413315205e26fd9606f578f147db7f9dfd14d66b86ca29114555b9bd34c6347cb6681fecca18e60aa0e966139a06c922d0c6d848e8409e48181257b8307b52 SHA512 20920da8d699f6675887da88dff9fdb279eb2ac1da3d2436b7b970b07128aafc2f07dc747f30174f6441546152fb3c02b670abab8d7a60502c78079acff2fa8d +MISC metadata.xml 331 BLAKE2B 57a4aabab6c138bc97c67d610a56eed290c8da0c1f81fa44ab734d1a932ae0f93e0a826431eaccbd6c512fbcdc4a3b5840e6971e145a92b0c6fc87e0edbb3a92 SHA512 ba55ade8e610e2bcc2c4d54b68422045d0110a3975c6893997a92185ea256edf96d815eaeacfd4193f8dfd8706052142b30b3f546f5806b5809478342a01f394 diff --git a/dev-ros/ament_cmake_pytest/ament_cmake_pytest-1.0.0.ebuild b/dev-ros/ament_cmake_pytest/ament_cmake_pytest-1.0.0.ebuild new file mode 100644 index 000000000000..f0104eb06e84 --- /dev/null +++ b/dev-ros/ament_cmake_pytest/ament_cmake_pytest-1.0.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{3_6,3_7,3_8} ) + +inherit cmake python-any-r1 + +ROS_PN="ament_cmake" +if [ "${PV#9999}" != "${PV}" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ament/ament_cmake" + SRC_URI="" + S=${WORKDIR}/${P}/${PN} +else + SRC_URI="https://github.com/ament/ament_cmake/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz" + S="${WORKDIR}/${ROS_PN}-${PV}/${PN}" +fi + +DESCRIPTION="The ability to run Python tests using pytest in the ament buildsystem" +HOMEPAGE="https://github.com/ament/ament_cmake" + +LICENSE="Apache-2.0" +SLOT="0" +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" +else + KEYWORDS="~amd64" +fi +IUSE="" + +RDEPEND=" + dev-ros/ament_cmake_core +" +DEPEND="${RDEPEND}" +# Deps here are transitive from ament_cmake_core to have matching python support +BDEPEND=" + $(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]') + ${PYTHON_DEPS} +" + +python_check_deps() { + has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \ + has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]" +} diff --git a/dev-ros/ament_cmake_pytest/ament_cmake_pytest-9999.ebuild b/dev-ros/ament_cmake_pytest/ament_cmake_pytest-9999.ebuild new file mode 100644 index 000000000000..f0104eb06e84 --- /dev/null +++ b/dev-ros/ament_cmake_pytest/ament_cmake_pytest-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{3_6,3_7,3_8} ) + +inherit cmake python-any-r1 + +ROS_PN="ament_cmake" +if [ "${PV#9999}" != "${PV}" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ament/ament_cmake" + SRC_URI="" + S=${WORKDIR}/${P}/${PN} +else + SRC_URI="https://github.com/ament/ament_cmake/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz" + S="${WORKDIR}/${ROS_PN}-${PV}/${PN}" +fi + +DESCRIPTION="The ability to run Python tests using pytest in the ament buildsystem" +HOMEPAGE="https://github.com/ament/ament_cmake" + +LICENSE="Apache-2.0" +SLOT="0" +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" +else + KEYWORDS="~amd64" +fi +IUSE="" + +RDEPEND=" + dev-ros/ament_cmake_core +" +DEPEND="${RDEPEND}" +# Deps here are transitive from ament_cmake_core to have matching python support +BDEPEND=" + $(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]') + ${PYTHON_DEPS} +" + +python_check_deps() { + has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \ + has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]" +} diff --git a/dev-ros/ament_cmake_pytest/metadata.xml b/dev-ros/ament_cmake_pytest/metadata.xml new file mode 100644 index 000000000000..d1baaf5c70f1 --- /dev/null +++ b/dev-ros/ament_cmake_pytest/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ros@gentoo.org</email> + <name>Gentoo ROS Project</name> + </maintainer> + <upstream> + <remote-id type="github">ament/ament_cmake</remote-id> + </upstream> +</pkgmetadata> |