diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/python-axolotl-curve25519 | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python-axolotl-curve25519')
5 files changed, 71 insertions, 0 deletions
diff --git a/dev-python/python-axolotl-curve25519/Manifest b/dev-python/python-axolotl-curve25519/Manifest new file mode 100644 index 000000000000..e488ad0bf951 --- /dev/null +++ b/dev-python/python-axolotl-curve25519/Manifest @@ -0,0 +1 @@ +DIST python-axolotl-curve25519-0.4.1-2.gh.tar.gz 100957 BLAKE2B cda4fb7ad7c78df7465a952e2b5f3c6616849876bc1c8b72dde08042a655c2b86233329d311f6bee1bfc6d2b32926968aafc7e6204320209c2c1bd008f1aa361 SHA512 cbc7c6caa47a9a811640c247a1be727d7b1b68bcdb4c5336e02b4d1eaf9fd2c57b7438b0da466a379a1c0f3f146756b9b7eea3c9b7945ce88478d4bf0b8a1e0d diff --git a/dev-python/python-axolotl-curve25519/files/python-axolotl-curve25519-0.4.1_p2-fix-setuptools-warning.diff b/dev-python/python-axolotl-curve25519/files/python-axolotl-curve25519-0.4.1_p2-fix-setuptools-warning.diff new file mode 100644 index 000000000000..b62111a0b7c3 --- /dev/null +++ b/dev-python/python-axolotl-curve25519/files/python-axolotl-curve25519-0.4.1_p2-fix-setuptools-warning.diff @@ -0,0 +1,12 @@ +diff -Naurp a/setup.py b/setup.py +--- a/setup.py 2018-04-14 12:44:43.000000000 +0200 ++++ b/setup.py 2023-04-01 18:39:19.732484796 +0200 +@@ -18,7 +18,7 @@ module_curve = Extension('axolotl_curve2 + ) + setup( + name='python-axolotl-curve25519', +- version="0.4.1-2", ++ version="0.4.1.post2", + license='GPLv3 License', + author='Tarek Galal', + ext_modules = [module_curve], diff --git a/dev-python/python-axolotl-curve25519/files/python-axolotl-curve25519-fix-type.patch b/dev-python/python-axolotl-curve25519/files/python-axolotl-curve25519-fix-type.patch new file mode 100644 index 000000000000..dc30fff8d911 --- /dev/null +++ b/dev-python/python-axolotl-curve25519/files/python-axolotl-curve25519-fix-type.patch @@ -0,0 +1,15 @@ +See https://github.com/tgalal/python-axolotl-curve25519/pull/26 + +diff --git a/curve25519module.c b/curve25519module.c +index f4bd3d7..cf8bb45 100644 +--- a/curve25519module.c ++++ b/curve25519module.c +@@ -158,7 +158,7 @@ curve25519_functions[] = { + PyModuleDef_HEAD_INIT, + "axolotl_curve25519", + NULL, +- NULL, ++ 0, + curve25519_functions, + }; + diff --git a/dev-python/python-axolotl-curve25519/metadata.xml b/dev-python/python-axolotl-curve25519/metadata.xml new file mode 100644 index 000000000000..975f8ee8eaf3 --- /dev/null +++ b/dev-python/python-axolotl-curve25519/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <longdescription> + This is a python wrapper for the curve25519 library with ed25519 signatures. + The C code was pulled from libaxolotl-android. + At the moment this wrapper is meant for use by <pkg>dev-python/python-axolotl</pkg>. + </longdescription> + <upstream> + <bugs-to>https://github.com/tgalal/python-axolotl-curve25519/issues</bugs-to> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r4.ebuild b/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r4.ebuild new file mode 100644 index 000000000000..f200c2b2f838 --- /dev/null +++ b/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r4.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +MY_PV="${PV/_p/-}" + +DESCRIPTION="A python wrapper for the curve25519 library with ed25519 signatures" +HOMEPAGE="https://github.com/tgalal/python-axolotl-curve25519" +SRC_URI="https://github.com/tgalal/${PN}/archive/${MY_PV}.tar.gz -> ${PN}-${MY_PV}.gh.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="BSD GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~loong ~riscv x86" + +PATCHES=( + "${FILESDIR}/python-axolotl-curve25519-fix-type.patch" + "${FILESDIR}/${P}-fix-setuptools-warning.diff" +) |
