diff --git a/dev-python/filebytes/Manifest b/dev-python/filebytes/Manifest new file mode 100644 index 0000000000000..d2bf3d9b86380 --- /dev/null +++ b/dev-python/filebytes/Manifest @@ -0,0 +1 @@ +DIST filebytes-0.10.2.tar.gz 1958114 BLAKE2B 6b7fb865d01cc9ea0f14b32f6e0326da21fa2fa2a36549b99ca88e9bf015162d3b0f82e350be1cca805294fd56ef47e2db4394db5ffb3061773f146eda1ba666 SHA512 12317d6b5063e710b4410e4dcc61b45c0ac1cbc80655212dacb0929a19e100849df39ba84a05cb96699abe7ec16758e0b9656b3d3ce044f3d122b8636106e564 diff --git a/dev-python/filebytes/filebytes-0.10.2.ebuild b/dev-python/filebytes/filebytes-0.10.2.ebuild new file mode 100644 index 0000000000000..6dcf19310aedb --- /dev/null +++ b/dev-python/filebytes/filebytes-0.10.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..10} ) + +inherit distutils-r1 + +DESCRIPTION="Classes/Types to read and edit executable files" +HOMEPAGE="https://github.com/sashs/filebytes" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/sashs/filebytes" +else + SRC_URI="https://github.com/sashs/filebytes/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND}" diff --git a/dev-python/filebytes/filebytes-9999.ebuild b/dev-python/filebytes/filebytes-9999.ebuild new file mode 100644 index 0000000000000..6dcf19310aedb --- /dev/null +++ b/dev-python/filebytes/filebytes-9999.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..10} ) + +inherit distutils-r1 + +DESCRIPTION="Classes/Types to read and edit executable files" +HOMEPAGE="https://github.com/sashs/filebytes" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/sashs/filebytes" +else + SRC_URI="https://github.com/sashs/filebytes/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND}" diff --git a/dev-python/filebytes/metadata.xml b/dev-python/filebytes/metadata.xml new file mode 100644 index 0000000000000..11063ba5138e5 --- /dev/null +++ b/dev-python/filebytes/metadata.xml @@ -0,0 +1,20 @@ + + + + + mario.haustein@hrz.tu-chemnitz.de + Mario Haustein + + + sam@gentoo.org + Sam James + + + Python library to read and edit files in the following formats: + Executable and Linking Format (ELF), Portable Executable (PE), MachO + and OAT (Android Runtime) + + + sashs/filebytes + +