diff --git a/dev-python/git-review/Manifest b/dev-python/git-review/Manifest new file mode 100644 index 0000000..ae1e808 --- /dev/null +++ b/dev-python/git-review/Manifest @@ -0,0 +1,2 @@ +DIST git-review-2.3.1.tar.gz 66400 BLAKE2B 67b2bf60e91a127144995231b94a48eaa03cfe8cb8e27513183f21b4cae1fbe2eeaa00a23d21da2dd7258aa794ce4cb0ee06e91510d707116699da1702bbebac SHA512 b3fe0ab40c473c80da20c42b4104e82115c9ea02bda01580aedb69622e117d733160eb42027432eec12379250186ea7b6f9eb4cb86b128a591816243a0c0fadc +EBUILD git-review-2.3.1-r10.ebuild 845 BLAKE2B 9d05362ed50d953826e93582d55243f4f8d39d857c90d1fadd8f9466c55319e408ff2e02b65c25de08bc19a2297c117cd52ff7dc2780c53dbef617c36f4bc47f SHA512 d2c5f580f3af498e801cdd80e2d899a2aa4354b374057d6784cb02f00ef40dcc12975419d758a2982f8943ffe4bd81895d71244fd5380120739984ac84f59626 diff --git a/dev-python/git-review/git-review-2.3.1-r10.ebuild b/dev-python/git-review/git-review-2.3.1-r10.ebuild new file mode 100644 index 0000000..b6c0974 --- /dev/null +++ b/dev-python/git-review/git-review-2.3.1-r10.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Tool to submit code to Gerrit" +HOMEPAGE="https://git.openstack.org/cgit/openstack-infra/git-review" +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://opendev.org/opendev/${PN}.git" +else + inherit pypi + KEYWORDS="~amd64 ~x86 ~x64-cygwin ~amd64-linux ~x86-linux" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +BDEPEND=" + >=dev-python/pbr-4.1.0[${PYTHON_USEDEP}] +" +RDEPEND=" + >=dev-python/requests-1.1[${PYTHON_USEDEP}] +" + +python_prepare_all() { + sed -i -e '/manpages/,+1d' setup.cfg || die + distutils-r1_python_prepare_all +} + +python_install_all() { + doman git-review.1 + + distutils-r1_python_install_all +}