commit:     f602289a7ee063b18bf20dc30bd7bef28f8afb18
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Thu Jul  8 10:55:12 2021 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Jul  8 10:55:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f602289a

sys-boot/bmaptools: restrict test for the moment

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 sys-boot/bmaptools/bmaptools-3.6-r1.ebuild | 43 ++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/sys-boot/bmaptools/bmaptools-3.6-r1.ebuild 
b/sys-boot/bmaptools/bmaptools-3.6-r1.ebuild
new file mode 100644
index 000000000..68303e83b
--- /dev/null
+++ b/sys-boot/bmaptools/bmaptools-3.6-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+MY_P="bmap-tools-${PV}"
+
+DESCRIPTION="Bmaptool is a tool for creating and copyng files using block maps"
+HOMEPAGE="https://github.com/intel/bmap-tools";
+
+SRC_URI="https://github.com/intel/bmap-tools/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="test" # missing python slot fot backports-* packages
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="dev-python/six"
+
+# leave it here until backports-* are ported into python3.9 and 10
+
+#DEPEND="
+#      ${RDEPEND}
+#      test? (
+#              dev-python/backports-tempfile[${PYTHON_USEDEP}]
+#              dev-python/mock[${PYTHON_USEDEP}]
+#              dev-python/nose[${PYTHON_USEDEP}]
+#      )
+#"
+
+python_install_all() {
+       distutils-r1_python_install_all
+}
+
+#distutils_enable_tests nose

Reply via email to