summaryrefslogtreecommitdiff
path: root/dev-python/filebytes
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/filebytes')
-rw-r--r--dev-python/filebytes/Manifest1
-rw-r--r--dev-python/filebytes/filebytes-0.10.2.ebuild23
-rw-r--r--dev-python/filebytes/filebytes-9999.ebuild23
-rw-r--r--dev-python/filebytes/metadata.xml19
4 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/filebytes/Manifest b/dev-python/filebytes/Manifest
new file mode 100644
index 000000000000..d2bf3d9b8638
--- /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 000000000000..a4fe77d577cb
--- /dev/null
+++ b/dev-python/filebytes/filebytes-0.10.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{6,7,8,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"
diff --git a/dev-python/filebytes/filebytes-9999.ebuild b/dev-python/filebytes/filebytes-9999.ebuild
new file mode 100644
index 000000000000..a4fe77d577cb
--- /dev/null
+++ b/dev-python/filebytes/filebytes-9999.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{6,7,8,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"
diff --git a/dev-python/filebytes/metadata.xml b/dev-python/filebytes/metadata.xml
new file mode 100644
index 000000000000..78229bb54c35
--- /dev/null
+++ b/dev-python/filebytes/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <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>
+ Python library to read and edit files in the following formats:
+ Executable and Linking Format (ELF), Portable Executable (PE), MachO
+ and OAT (Android Runtime)
+ </longdescription>
+
+ <origin>gentoo-staging</origin>
+</pkgmetadata> \ No newline at end of file