dev-python/betterproto: treeclean

Closes: https://bugs.gentoo.org/845015
Closes: https://bugs.gentoo.org/902879
Closes: https://bugs.gentoo.org/921778
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2024-07-11 10:56:29 +02:00
parent 05f69fd17d
commit 951f3a2f7e
7 changed files with 0 additions and 1266 deletions

View File

@@ -1,2 +0,0 @@
DIST betterproto-2.0.0_beta4.gh.tar.gz 137744 BLAKE2B 55cde21cca516ae935d8ff99303e3dcf78d952c470eaac2f91b5fa1dc20069e0ad150a0b59518d450c897547a3b3025d9ad683294adca5be6d66f06ba8034615 SHA512 10fc514e7a6d1ab87dd44e00d75d8f48752fa1ece26ccc671eeac502164aee2b8e4a30ec908e4abbb4b1c6671c72fc982764d74ccd0ac0f099d3533dcde64352
DIST betterproto-2.0.0_beta5.gh.tar.gz 122701 BLAKE2B 6083afab1759653c53f97fd0d65b96941588e7038bc24138d486105fe6d419eb79ca6b8d585263237b02fa40b626560c272c114db15fe5f649e499ba5d6798ab SHA512 b40ecd77ff731d1b157debcc81361aa11a8c94d8198e9e99e94014b883d1f8f34fec86a071de3db06edda37afa5813a5c04f6e29ff75d23da6b0ba1f990f827d

View File

@@ -1,56 +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_{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}/python-${PN}-${MY_PV}"
SRC_URI="https://github.com/danielgtaylor/python-${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
PATCHES=(
"${FILESDIR}/betterproto-2.0.0b4-fix-tests.patch"
)
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_test() {
"${EPYTHON}" -m tests.generate
epytest
}
pkg_postinst() {
optfeature "protoc compilation support" "dev-python/black dev-python/isort dev-python/grpcio-tools dev-python/jinja"
}

View File

@@ -1,52 +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_{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}/python-${PN}-${MY_PV}"
SRC_URI="https://github.com/danielgtaylor/python-${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.gh.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-3.0.3[${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_test() {
"${EPYTHON}" -m tests.generate
epytest
}
pkg_postinst() {
optfeature "protoc compilation support" "dev-python/black dev-python/isort dev-python/grpcio-tools dev-python/jinja"
}

View File

@@ -1,52 +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_{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}/python-${PN}-${MY_PV}"
SRC_URI="https://github.com/danielgtaylor/python-${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_test() {
"${EPYTHON}" -m tests.generate
epytest
}
pkg_postinst() {
optfeature "protoc compilation support" "dev-python/black dev-python/isort dev-python/grpcio-tools dev-python/jinja"
}

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>antonin.riha@protonmail.com</email>
<name>Antonín Říha</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/danielgtaylor/python-betterproto/issues</bugs-to>
<remote-id type="pypi">betterproto</remote-id>
<remote-id type="github">danielgtaylor/python-betterproto</remote-id>
</upstream>
</pkgmetadata>