dev-python/pure-protobuf: version 2.0.0 revision bump

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć
2020-05-03 21:10:00 +02:00
parent 89d5906d7c
commit 8541788e87

View File

@@ -0,0 +1,32 @@
# 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
python_install() {
# Package installs 'tests' package which is forbidden and likely a bug in the build system.
rm -r tests || die
# Previously it did not actually install any python libs
python_foreach_impl esetup.py install
python_foreach_impl python_optimize
}