mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-15 01:53:25 -04:00
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:
32
dev-python/pure-protobuf/pure-protobuf-2.0.0-r1.ebuild
Normal file
32
dev-python/pure-protobuf/pure-protobuf-2.0.0-r1.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user