mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
we used the python_foreach_impl function wrong
python_install is already run with python_foreach_impl,
thus the function should not be used inside python_install
for this there is python_install_all, but this is run after
python_foreach_impl python_install so we again get the
'${P} installs tests' error. Instead I just patched
a fix, this fix is also already in upstream master
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
26 lines
576 B
Bash
26 lines
576 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_7 )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="A more Pythonic version of doxypy, a Doxygen filter for Python"
|
|
HOMEPAGE="
|
|
https://github.com/eigenein/protobuf
|
|
https://pypi.org/project/pure-protobuf/
|
|
"
|
|
SRC_URI="https://github.com/eigenein/protobuf/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
S="${WORKDIR}/protobuf-${PV}"
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
PATCHES="${FILESDIR}/${PN}-do-not-install-tests.patch"
|