diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-07 20:13:00 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-07 20:13:00 +0000 |
| commit | 3dbde7cfd1e35fe558b909f2e760393bc50555e7 (patch) | |
| tree | 4025eda1aad5f065e2e4619a74b2735022bdef39 /dev-python/protobuf-python | |
| parent | 1f368b17dccbd1f06af9de415f4e91e53f3d585d (diff) | |
| download | baldeagleos-repo-3dbde7cfd1e35fe558b909f2e760393bc50555e7.tar.gz baldeagleos-repo-3dbde7cfd1e35fe558b909f2e760393bc50555e7.tar.xz baldeagleos-repo-3dbde7cfd1e35fe558b909f2e760393bc50555e7.zip | |
Adding metadata
Diffstat (limited to 'dev-python/protobuf-python')
| -rw-r--r-- | dev-python/protobuf-python/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/protobuf-python/protobuf-python-4.25.1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/protobuf-python/Manifest b/dev-python/protobuf-python/Manifest index 92fe20f09aae..bb7942b4cdd5 100644 --- a/dev-python/protobuf-python/Manifest +++ b/dev-python/protobuf-python/Manifest @@ -5,3 +5,4 @@ DIST protobuf-24.2.tar.gz 5179130 BLAKE2B a1e3da4e95072391fa4abf671a9eb77806f1b3 DIST protobuf-24.3.tar.gz 5179711 BLAKE2B 9473a1a9489d4cb92fb7ee56ac51a891cd6de005607be3f5a385957318045d2d8e6bdaa9ffa3c3f88d376b1d9a499ba9560054ae87fe031afffb62b3292ef365 SHA512 2c1a381f81bb2c0afa3a2ff6681f9f37bc7aef3a3882c371eea7284f4e9524c2a0c834de6c7f681706890eee2220a42442367b8f8dc8370f182fab9e2c37cfd2 DIST protobuf-24.4.tar.gz 5180235 BLAKE2B 1c7e9035d9f3810886baaea7d679414c882463c79828c99dd8895a9549638c1ca17f9ab3b38d461019f3e1412d9cb9584b995b1da99866eb6fdbb8bdeb063e6f SHA512 52b6ab5587d03cbd1f35cf3cdc388e1710fa50f3031559ac53cf754965407ded7602cdead56080444ab695588112cc3391a1d7fdd5e565d90d0af7ad08706315 DIST protobuf-25.0.tar.gz 5873954 BLAKE2B 4886d2a00bc3d15bdde967586633b512f0c5e693f33a08946c7aa1ef44692153e221c7993b92ff01307761472417b9bc85ed684aee670c09a83d3a4672e092c1 SHA512 4dc0b483533cefaf92610524bf131aeff448d4e176a615643804f49cdfbd8efe7d8fdb60cd6e1ed70ffe6e7f1ad00657957f876458cdb093361049e2c83846ad +DIST protobuf-25.1.tar.gz 5878124 BLAKE2B a0b917e4518b07b221afd01e801e45b5b6fa35c7ccf8c21120d6a63f7174e53cc37d0516b1802d9243f8bb37b72b7f460a36dcbf0fffb09e011b05315c53efc3 SHA512 d2fad2188118ced2cd951bdb472d72cc9e9b2158c88eeca652c76332a884b5b5b4b58628f7777272fa693140753823584ea9c7924f1655b1d5a363f59bdf7a4c diff --git a/dev-python/protobuf-python/protobuf-python-4.25.1.ebuild b/dev-python/protobuf-python/protobuf-python-4.25.1.ebuild new file mode 100644 index 000000000000..f5aca41cdbf1 --- /dev/null +++ b/dev-python/protobuf-python/protobuf-python-4.25.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 2023 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 flag-o-matic + +PARENT_PN="${PN/-python/}" +PARENT_PV="$(ver_cut 2-)" +PARENT_P="${PARENT_PN}-${PARENT_PV}" + +SRC_URI=" + https://github.com/protocolbuffers/protobuf/archive/v${PARENT_PV}.tar.gz -> ${PARENT_P}.tar.gz +" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +DESCRIPTION="Google's Protocol Buffers - Python bindings" +HOMEPAGE=" + https://developers.google.com/protocol-buffers/ + https://pypi.org/project/protobuf/ +" + +LICENSE="BSD" +SLOT="0/25.1.0" + +S="${WORKDIR}/${PARENT_P}/python" + +BDEPEND=" +" +DEPEND=" + ${PYTHON_DEPS} +" +RDEPEND=" + ${BDEPEND} + dev-libs/protobuf:${SLOT} +" + +distutils_enable_tests setup.py + +python_prepare_all() { + eapply_user + + distutils-r1_python_prepare_all +} + +src_configure() { + append-cxxflags -std=c++17 + DISTUTILS_ARGS=( --cpp_implementation ) +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}/install" -name "*.pth" -type f -delete || die +} |
