summaryrefslogtreecommitdiff
path: root/dev-python/python-betterproto/python-betterproto-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-betterproto/python-betterproto-9999.ebuild')
-rw-r--r--dev-python/python-betterproto/python-betterproto-9999.ebuild57
1 files changed, 0 insertions, 57 deletions
diff --git a/dev-python/python-betterproto/python-betterproto-9999.ebuild b/dev-python/python-betterproto/python-betterproto-9999.ebuild
deleted file mode 100644
index ca652f23ae20..000000000000
--- a/dev-python/python-betterproto/python-betterproto-9999.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{7,8,9,10,11} )
-
-inherit distutils-r1 optfeature
-
-DESCRIPTION="Better Protobuf / gRPC Support for Python"
-HOMEPAGE="https://github.com/danielgtaylor/python-betterproto"
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/danielgtaylor/python-betterproto"
-else
- MY_PV="${PV/_beta/b}"
- S="${WORKDIR}/${PN}-${MY_PV}"
- SRC_URI="https://github.com/danielgtaylor/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-
-RDEPEND="
- >=dev-python/grpclib-0.4.1[${PYTHON_USEDEP}]
- >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- >=dev-python/black-19.3[${PYTHON_USEDEP}]
- >=dev-python/isort-5.10.1[${PYTHON_USEDEP}]
- >=dev-python/jinja-2.11.2[${PYTHON_USEDEP}]
- >=dev-python/grpcio-tools-1.40.0[${PYTHON_USEDEP}]
- >=dev-python/pytest-mock-3.1.1[${PYTHON_USEDEP}]
- >=dev-python/pytest-asyncio-0.12.0[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
- '>=dev-python/sphinx-rtd-theme-0.5.0'
-
-python_prepare() {
- default
- python_fix_shebang tests/generate.py src/betterproto/plugin/main.py
-}
-
-python_test() {
- "${EPYTHON}" -m tests.generate -v
- epytest
-}
-
-pkg_postinst() {
- optfeature "protoc compilation support" "dev-python/black dev-python/isort dev-python/grpcio-tools dev-python/jinja"
-}