diff options
Diffstat (limited to 'dev-python/pefile')
| -rw-r--r-- | dev-python/pefile/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pefile/metadata.xml | 19 | ||||
| -rw-r--r-- | dev-python/pefile/pefile-2024.8.26.ebuild | 27 | ||||
| -rw-r--r-- | dev-python/pefile/pefile-9999.ebuild | 27 |
4 files changed, 74 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>mario.haustein@hrz.tu-chemnitz.de</email> + <name>Mario Haustein</name> + </maintainer> + <maintainer type="person"> + <email>sam@gentoo.org</email> + <name>Sam James</name> + </maintainer> + <longdescription> + 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. + </longdescription> + <origin>baldeagleos-repo</origin> +</pkgmetadata> 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" |
