dev-python/pure-protobuf: add 3.0.1

Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2024-03-06 21:10:31 +09:00
parent ea018323fe
commit 6571879228
4 changed files with 39 additions and 1 deletions

View File

@@ -1 +1,2 @@
DIST pure_protobuf-2.3.0.tar.gz 16481 BLAKE2B b56d024b13ef4711c9b53ffc47029fb4e49e025d8c096b547926d44a89769a26d180420698dbf51c2db4b58f8b8df6825d368c921babdd9774e4c3a4f0d72e7e SHA512 2b2eb372cde5b7c765fa878b06fe1a82f57061d0887f560aa84799db09d506a4947b54feffff51391ebf2c87923845f93badbab19e1cf45f998c79f6df75fb05
DIST pure_protobuf-3.0.1.tar.gz 18228 BLAKE2B c714bcd78763e854e9e690b98d4166cf8395511ad8fa8a37692daeec86463e99a884069b3da927a594b6204a5c8b3810b2fac5d7d1075794891d1843a232a2ba SHA512 f08005d2fbeda2d5cfc0f066cb88da350ba3ff7d8ee8922c58b77936360782c5e5ac40f8a5a98377c65c7a0d0df5e10d16fafa082f0a6caddbf6450782551ab0

View File

@@ -0,0 +1,12 @@
We don't need dynamic versioning, replace with default backend.
--- a/pyproject.toml 2024-03-06 20:59:32.071133500 +0900
+++ b/pyproject.toml 2024-03-06 21:00:01.002037882 +0900
@@ -31,7 +31,7 @@
[build-system]
requires = ["poetry-core", "poetry-dynamic-versioning"]
-build-backend = "poetry_dynamic_versioning.backend"
+build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
get-annotations = { version = "^0.1.2", python = "<3.10" }

View File

@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<maintainer type="person">
<email>pastalian46@gmail.com</email>
<name>Takuya Wakazono</name>
</maintainer>
<upstream>
<remote-id type="github">eigenein/protobuf</remote-id>
<remote-id type="pypi">pure-protobuf</remote-id>

View File

@@ -0,0 +1,22 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 pypi
DESCRIPTION="Python implementation of Protocol Buffers data types with dataclasses support"
HOMEPAGE="
https://github.com/eigenein/protobuf
https://pypi.org/project/pure-protobuf/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-python/typing-extensions[${PYTHON_USEDEP}]"
PATCHES=( "${FILESDIR}/${P}-static-version.patch" )