diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-03 07:06:27 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-03 07:06:27 +0000 |
| commit | 9db05347f01604a785caafda9c9c5dbac4649447 (patch) | |
| tree | 7873c834ded9b95b80126efa60008cb6b21c20d6 /dev-python/leechcorepyc | |
| parent | aee0c31dbc78c41664cf2579b7e49094fc2cc08e (diff) | |
| download | baldeagleos-repo-9db05347f01604a785caafda9c9c5dbac4649447.tar.gz baldeagleos-repo-9db05347f01604a785caafda9c9c5dbac4649447.tar.xz baldeagleos-repo-9db05347f01604a785caafda9c9c5dbac4649447.zip | |
Adding metadata
Diffstat (limited to 'dev-python/leechcorepyc')
| -rw-r--r-- | dev-python/leechcorepyc/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/leechcorepyc/leechcorepyc-2.22.3.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest index 5f05081453b3..81886dc0306c 100644 --- a/dev-python/leechcorepyc/Manifest +++ b/dev-python/leechcorepyc/Manifest @@ -1 +1,2 @@ DIST leechcorepyc-2.21.0.tar.gz 241055 BLAKE2B fbf2423044ec2a0d43c81b2e70c4171d912e2811878c398120305ac3cfa2b024ca8b785ab5df6487f8d6100959d1b7a556710516d4669445122ce6066c61a138 SHA512 107036e9feba18a0c7f076d21f4b81b0ffe96f6dded441521241875e62e4cc76cb1a327b4231aadf6ae0093b6af00e191b74dd2525d164cf906fcca50318ab10 +DIST leechcorepyc-2.22.3.tar.gz 241436 BLAKE2B 2d929951f312dc1499aafd83f9cb8a16a4af827dac9f10e2ad503ecc928dc55d54045b440e5eaceff883efbb9a9e485b93cf40a803faf81a594bc281a64c7496 SHA512 894aa4c13c247b27bdacd7583edac13e129356f566e60b6a223e8be016f27a70ca81d9281b51fe388b87be2fe11080b99c1d6f663a3d7c21273a6ed40f654835 diff --git a/dev-python/leechcorepyc/leechcorepyc-2.22.3.ebuild b/dev-python/leechcorepyc/leechcorepyc-2.22.3.ebuild new file mode 100644 index 000000000000..0803923ba53e --- /dev/null +++ b/dev-python/leechcorepyc/leechcorepyc-2.22.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-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_{9,10,11,12,13} ) + +inherit distutils-r1 toolchain-funcs pypi + +DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library" +HOMEPAGE=" + https://github.com/ufrisk/LeechCore/ + https://pypi.org/project/leechcorepyc/ +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# leechcorepyc ships with a bundled version of the LeechCore library. So we +# don't depend on the library here. But we must be aware this module doesn't +# use the system library. +DEPEND="virtual/libusb:=" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-2.21.0-respect-CC.patch" + "${FILESDIR}/${PN}-2.19.2-cflags-ldflags.patch" +) + +src_prepare() { + default + + # Avoid redefining _FORTIFY_SOURCE. See #893824, #906715. + sed -i -e 's/ -D_FORTIFY_SOURCE=2 / /g' leechcore/Makefile || die +} + +src_configure() { + tc-export CC + + distutils-r1_src_configure +} |
