diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-05 07:14:28 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-05 07:14:28 +0000 |
| commit | 3f9f4e97c1ac6ba1b1d0590e4c70afeb592c172b (patch) | |
| tree | 6f557e790667e96e8b85eea50c54fb4182cc83b8 /dev-python/python-tlsh | |
| parent | eb879137397b2780739bdbeddd7ea01439186c1c (diff) | |
| download | baldeagleos-repo-3f9f4e97c1ac6ba1b1d0590e4c70afeb592c172b.tar.gz baldeagleos-repo-3f9f4e97c1ac6ba1b1d0590e4c70afeb592c172b.tar.xz baldeagleos-repo-3f9f4e97c1ac6ba1b1d0590e4c70afeb592c172b.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python-tlsh')
| -rw-r--r-- | dev-python/python-tlsh/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/python-tlsh/files/python-tlsh-4.8.2-r1-py312.patch | 25 | ||||
| -rw-r--r-- | dev-python/python-tlsh/python-tlsh-4.8.2-r1.ebuild | 38 |
3 files changed, 0 insertions, 64 deletions
diff --git a/dev-python/python-tlsh/Manifest b/dev-python/python-tlsh/Manifest index 0c9b0e709bce..e9869fed6d86 100644 --- a/dev-python/python-tlsh/Manifest +++ b/dev-python/python-tlsh/Manifest @@ -1,2 +1 @@ DIST tlsh-4.12.1.gh.tar.gz 10243609 BLAKE2B 96095f897ff68e4e6c738b7df2d11963003b360db2354674803aa68e5b76f25b28cdf3ef9d376f046ab0a2b7663d1e4efe77f1ed6594c3e7692aef614b25c987 SHA512 82d6971baacdede7b4e4fd282d861d264e4ae196d1b5f3ea26648e93c0f0884b90bf9cab4dd1cc0f36fd00fb2e2ca3db8128769725a8858c5fcf48c192f33c45 -DIST tlsh-4.8.2.gh.tar.gz 3345458 BLAKE2B 27d5eece16bb36225b9ae8b3d3a9d055a0f214fffae08a58c39211c3d918dd842497315a62237b291ee1055dfadad78826bbd24f7b9d88f510e9a31f74654039 SHA512 5355c7734f5356a3a7a31ccc078254835871fc0369f1889a34131a0f810735201c68f674eb18e975b6a03a32e5c284899ca9ffdc1f583e42192188c172d2aad0 diff --git a/dev-python/python-tlsh/files/python-tlsh-4.8.2-r1-py312.patch b/dev-python/python-tlsh/files/python-tlsh-4.8.2-r1-py312.patch deleted file mode 100644 index 56c4766bd711..000000000000 --- a/dev-python/python-tlsh/files/python-tlsh-4.8.2-r1-py312.patch +++ /dev/null @@ -1,25 +0,0 @@ -Use PyVarObject_HEAD_INIT instead PyObject_HEAD_INIT - ---- a/tlshmodule.cpp -+++ b/tlshmodule.cpp -@@ -59,7 +59,7 @@ - #include <Python.h> - #include <new> - #include <bytesobject.h> --#include "tlsh.h" -+#include <tlsh/tlsh.h> - - // to generate the "T1" hashes introduced in TLSH 4.0.0 - // see 4.0.0 from 26/Mar/2020 at https://github.com/trendmicro/tlsh/blob/master/Change_History.md -@@ -286,10 +286,7 @@ static PyGetSetDef Tlsh_getsetters[] = { - }; - - static PyTypeObject tlsh_TlshType = { -- PyObject_HEAD_INIT(NULL) --#if PY_MAJOR_VERSION < 3 -- 0, /* ob_size */ --#endif -+ PyVarObject_HEAD_INIT(NULL, 0) - "tlsh.Tlsh", /* tp_name */ - sizeof(tlsh_TlshObject), /* tp_basicsize */ - 0, /* tp_itemsize */ diff --git a/dev-python/python-tlsh/python-tlsh-4.8.2-r1.ebuild b/dev-python/python-tlsh/python-tlsh-4.8.2-r1.ebuild deleted file mode 100644 index ee8c204e9bb0..000000000000 --- a/dev-python/python-tlsh/python-tlsh-4.8.2-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2022-2025 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_{10..14} ) - -inherit distutils-r1 - -MY_P=tlsh-${PV} -DESCRIPTION="Fuzzy matching library - C++ extension for Python" -HOMEPAGE=" - https://github.com/trendmicro/tlsh/ - https://pypi.org/project/python-tlsh/ -" -SRC_URI=" - https://github.com/trendmicro/tlsh/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/py_ext - -LICENSE="|| ( Apache-2.0 BSD )" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" - -DEPEND="dev-libs/tlsh" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-setup-sources.patch - "${FILESDIR}"/${P}-r1-py312.patch -) - -python_test() { - ../Testing/python_test.sh "${EPYTHON}" || die -} |
