From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/pefile/Manifest | 1 + dev-python/pefile/metadata.xml | 19 +++++++++++++++++++ dev-python/pefile/pefile-2024.8.26.ebuild | 27 +++++++++++++++++++++++++++ dev-python/pefile/pefile-9999.ebuild | 27 +++++++++++++++++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 dev-python/pefile/Manifest create mode 100644 dev-python/pefile/metadata.xml create mode 100644 dev-python/pefile/pefile-2024.8.26.ebuild create mode 100644 dev-python/pefile/pefile-9999.ebuild (limited to 'dev-python/pefile') diff --git a/dev-python/pefile/Manifest b/dev-python/pefile/Manifest new file mode 100644 index 000000000000..52fba18aab95 --- /dev/null +++ b/dev-python/pefile/Manifest @@ -0,0 +1 @@ +DIST pefile-2024.8.26.gh.tar.gz 76008 BLAKE2B 7f21d07bbe9a08239739f589e35d0ef4b5172e26b2a90acdbedc7792be70fdb0d4ee01888d674384fb011f3c716406c1b1a23b29fa412ce01863cae89acbc4bc SHA512 62781f2ab84040a13304ce550dd1e943991df152c5f2951281906e837b1659694051a074ff49cd08d5d508e9b70009b56418a4237511c4464c4eba9bda4bccf7 diff --git a/dev-python/pefile/metadata.xml b/dev-python/pefile/metadata.xml new file mode 100644 index 000000000000..5ed21b86990b --- /dev/null +++ b/dev-python/pefile/metadata.xml @@ -0,0 +1,19 @@ + + + + + mario.haustein@hrz.tu-chemnitz.de + Mario Haustein + + + sam@gentoo.org + Sam James + + + pefile is a multi-platform Python module to parse and work with + Portable Executable (PE) files. Most of the information contained in + the PE file headers is accessible, as well as all the sections' details + and data. + + baldeagleos-repo + diff --git a/dev-python/pefile/pefile-2024.8.26.ebuild b/dev-python/pefile/pefile-2024.8.26.ebuild new file mode 100644 index 000000000000..22962a50afe5 --- /dev/null +++ b/dev-python/pefile/pefile-2024.8.26.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) +inherit distutils-r1 + +DESCRIPTION="Module to read and work with Portable Executable (PE) files" +HOMEPAGE="https://github.com/erocarrera/pefile" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/erocarrera/pefile.git" + inherit git-r3 +else + SRC_URI="https://github.com/erocarrera/pefile/releases/download/v${PV}/${P}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86" +fi + +LICENSE="MIT" +SLOT="0" + +# Unfortunately there is nothing we can test here. Upstream doesn't ship a test +# suite inside the release files. The test fixtures in the source repo is +# encrypted so that only their CI pipeline is able to run the tests. +RESTRICT="test" diff --git a/dev-python/pefile/pefile-9999.ebuild b/dev-python/pefile/pefile-9999.ebuild new file mode 100644 index 000000000000..ea441a7d2930 --- /dev/null +++ b/dev-python/pefile/pefile-9999.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) +inherit distutils-r1 + +DESCRIPTION="Module to read and work with Portable Executable (PE) files" +HOMEPAGE="https://github.com/erocarrera/pefile" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/erocarrera/pefile.git" + inherit git-r3 +else + SRC_URI="https://github.com/erocarrera/pefile/releases/download/v${PV}/${P}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +# Unfortunately there is nothing we can test here. Upstream doesn't ship a test +# suite inside the release files. The test fixtures in the source repo is +# encrypted so that only their CI pipeline is able to run the tests. +RESTRICT="test" -- cgit v1.3