From a8faec5b1709f76e12cde2a7ec5fc75c9c16a56c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hanno=20B=C3=B6ck?= Date: Sat, 1 Apr 2023 18:50:50 +0200 Subject: [PATCH] dev-python/python-axolotl-curve25519: Fix setuptools warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/797808 Signed-off-by: Hanno Böck --- ...l-curve25519-0.4.1_p2-fix-setuptools-warning.diff | 12 ++++++++++++ .../python-axolotl-curve25519-0.4.1_p2-r4.ebuild | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 dev-python/python-axolotl-curve25519/files/python-axolotl-curve25519-0.4.1_p2-fix-setuptools-warning.diff 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 0000000000000..b62111a0b7c36 --- /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/python-axolotl-curve25519-0.4.1_p2-r4.ebuild b/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r4.ebuild index b2e958e91dbea..6077f4fd176fc 100644 --- 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 @@ -19,4 +19,5 @@ LICENSE="BSD GPL-3" SLOT="0" KEYWORDS="amd64 ~arm64 ~riscv x86" -PATCHES=( "${FILESDIR}/python-axolotl-curve25519-fix-type.patch" ) +PATCHES=( "${FILESDIR}/python-axolotl-curve25519-fix-type.patch" + "${FILESDIR}/${P}-fix-setuptools-warning.diff" )