commit: 8541788e878d1b02a64296b448dac39f4d0f7d66 Author: Maciej Barć <xgqt <AT> protonmail <DOT> com> AuthorDate: Sun May 3 19:10:00 2020 +0000 Commit: Maciej Barć <xgqt <AT> protonmail <DOT> com> CommitDate: Sun May 3 19:10:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8541788e
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 <AT> protonmail.com> .../pure-protobuf/pure-protobuf-2.0.0-r1.ebuild | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/dev-python/pure-protobuf/pure-protobuf-2.0.0-r1.ebuild b/dev-python/pure-protobuf/pure-protobuf-2.0.0-r1.ebuild new file mode 100644 index 0000000..e240faf --- /dev/null +++ b/dev-python/pure-protobuf/pure-protobuf-2.0.0-r1.ebuild @@ -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 +}