diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-10-05 07:26:37 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-10-05 07:26:37 +0200 |
commit | 9ab74ab21bcf23f5f46a00c4dd29fe9c1c4e53ab (patch) | |
tree | 4769f47ff2856a238f6dbb8a6d01a0c49c9ac69f /dev-util | |
parent | dev-ruby/actionpack-action_caching: enable ruby31 and disable ruby26 (diff) | |
download | gentoo-9ab74ab21bcf23f5f46a00c4dd29fe9c1c4e53ab.tar.gz gentoo-9ab74ab21bcf23f5f46a00c4dd29fe9c1c4e53ab.tar.bz2 gentoo-9ab74ab21bcf23f5f46a00c4dd29fe9c1c4e53ab.zip |
dev-util/rbtools: add 3.1.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/rbtools/Manifest | 1 | ||||
-rw-r--r-- | dev-util/rbtools/rbtools-3.1.2.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/rbtools/Manifest b/dev-util/rbtools/Manifest index 7f319f846e96..ae5e19e01990 100644 --- a/dev-util/rbtools/Manifest +++ b/dev-util/rbtools/Manifest @@ -1,3 +1,4 @@ DIST RBTools-2.0.1.tar.gz 229394 BLAKE2B a3864c5a39854ffd8744cc562fb888aded06b86945b7b08bab1b172e557b80c0183352068722e6d530a7b0c2fae85f24ae1bbef9116538c5c31735ae5c47f313 SHA512 41ef3f6ad030e3551b76cce5358806442ddc78ad14cb3f2f5978d25858b44647fc80a8a98c84edc112d3e121748fa49aeca0ae24287c392d2f8d1d3b72df12ff DIST RBTools-3.1.1.tar.gz 317592 BLAKE2B c50e27cf67e2015904e2330208f0d13ec5a799d0820f6477a6701553140851a5d82de65fbf41d8b64bfcf0028a9baf27b710909d230e1798032a4e28f2b43935 SHA512 1a1aa51f8924b1fcdc100c0337c66870284b8c3c91cb756d231509111e4b9ae233ccae1245251e826dc23c699553f5d3441e4b9ef2b80f32d4ce8876dfa43819 +DIST RBTools-3.1.2.tar.gz 322538 BLAKE2B ab459e60e1c25a8eb3cb8afbe9ad1c5c63d1d5bb73626225057e42a9afb61d1bf59b841db6ac61cab2ddb14cdb555f9a789d0ecab7eaf02b1489a6bcf9144149 SHA512 b70c42566559180245afcfa31d3920a7a35817377c60f7c70559625866d54790e9666ba9a366a03bf14feaf1d0e8d2847a526d3976be364d14447a82d148a2eb DIST RBTools-3.1.tar.gz 317015 BLAKE2B dccabc93af3a8095f5e166f9e3a31cce52155876cb38675b3dd43b6556024bb9b4ed66291e495ab42b41b09934f136f4eeca7a185fc0fbb2aa2d03e1ef12d656 SHA512 2568aa905dfd119e0b66213e3ae9c8edad5a3337df00228b955006cc85e90c1492e1dc4cccc2695b53f5879103c5d4ee8dba6262112c8781e452dea7633d2c0b diff --git a/dev-util/rbtools/rbtools-3.1.2.ebuild b/dev-util/rbtools/rbtools-3.1.2.ebuild new file mode 100644 index 000000000000..9fb63ed11ab4 --- /dev/null +++ b/dev-util/rbtools/rbtools-3.1.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8,9,10} ) + +inherit distutils-r1 + +MY_PN="RBTools" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Command line tools for use with Review Board" +HOMEPAGE="https://www.reviewboard.org/" +SRC_URI="https://downloads.reviewboard.org/releases/${MY_PN}/$(ver_cut 1-2)/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-python/pydiffx-1.0.1-r1[${PYTHON_USEDEP}] + >=dev-python/six-1.8.0[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-python/texttable[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/kgb[${PYTHON_USEDEP}] ) +" + +DOCS=( AUTHORS NEWS README.md ) + +S=${WORKDIR}/${MY_P} + +distutils_enable_tests nose + +src_prepare() { + default + + # Avoid tests requiring unpackaged test data + rm -f rbtools/clients/tests/test_scanning.py || die + + # Avoid repository specific tests to avoid dependencies on them + rm -f rbtools/clients/tests/test_{cvs,git,mercurial,svn}.py || die + + # Fix test that appears to expect case-insentive comparison + sed -i -e 's/TEST CONTENT/Test content/' rbtools/utils/tests/test_console.py || die +} + +python_test() { + distutils_install_for_testing + distutils-r1_python_test +} |