Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/filebytes/
Date: Fri, 28 Jan 2022 05:18:47
Message-Id: 1643347003.c70d4167b9e811713d0c9e740f4e35cef4727235.sam@gentoo
1 commit: c70d4167b9e811713d0c9e740f4e35cef4727235
2 Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
3 AuthorDate: Sat Jan 15 12:17:26 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 28 05:16:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c70d4167
7
8 dev-python/filebytes: new ebuild
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 dev-python/filebytes/Manifest | 1 +
15 dev-python/filebytes/filebytes-0.10.2.ebuild | 25 +++++++++++++++++++++++++
16 dev-python/filebytes/filebytes-9999.ebuild | 25 +++++++++++++++++++++++++
17 dev-python/filebytes/metadata.xml | 20 ++++++++++++++++++++
18 4 files changed, 71 insertions(+)
19
20 diff --git a/dev-python/filebytes/Manifest b/dev-python/filebytes/Manifest
21 new file mode 100644
22 index 000000000000..d2bf3d9b8638
23 --- /dev/null
24 +++ b/dev-python/filebytes/Manifest
25 @@ -0,0 +1 @@
26 +DIST filebytes-0.10.2.tar.gz 1958114 BLAKE2B 6b7fb865d01cc9ea0f14b32f6e0326da21fa2fa2a36549b99ca88e9bf015162d3b0f82e350be1cca805294fd56ef47e2db4394db5ffb3061773f146eda1ba666 SHA512 12317d6b5063e710b4410e4dcc61b45c0ac1cbc80655212dacb0929a19e100849df39ba84a05cb96699abe7ec16758e0b9656b3d3ce044f3d122b8636106e564
27
28 diff --git a/dev-python/filebytes/filebytes-0.10.2.ebuild b/dev-python/filebytes/filebytes-0.10.2.ebuild
29 new file mode 100644
30 index 000000000000..6dcf19310aed
31 --- /dev/null
32 +++ b/dev-python/filebytes/filebytes-0.10.2.ebuild
33 @@ -0,0 +1,25 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +PYTHON_COMPAT=( python3_{9..10} )
40 +
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Classes/Types to read and edit executable files"
44 +HOMEPAGE="https://github.com/sashs/filebytes"
45 +
46 +if [[ ${PV} == *9999 ]]; then
47 + inherit git-r3
48 + EGIT_REPO_URI="https://github.com/sashs/filebytes"
49 +else
50 + SRC_URI="https://github.com/sashs/filebytes/archive/v${PV}.tar.gz -> ${P}.tar.gz"
51 + KEYWORDS="~amd64 ~x86"
52 +fi
53 +
54 +LICENSE="BSD"
55 +SLOT="0"
56 +
57 +DEPEND="${PYTHON_DEPS}"
58 +RDEPEND="${DEPEND}"
59
60 diff --git a/dev-python/filebytes/filebytes-9999.ebuild b/dev-python/filebytes/filebytes-9999.ebuild
61 new file mode 100644
62 index 000000000000..6dcf19310aed
63 --- /dev/null
64 +++ b/dev-python/filebytes/filebytes-9999.ebuild
65 @@ -0,0 +1,25 @@
66 +# Copyright 1999-2022 Gentoo Authors
67 +# Distributed under the terms of the GNU General Public License v2
68 +
69 +EAPI=8
70 +
71 +PYTHON_COMPAT=( python3_{9..10} )
72 +
73 +inherit distutils-r1
74 +
75 +DESCRIPTION="Classes/Types to read and edit executable files"
76 +HOMEPAGE="https://github.com/sashs/filebytes"
77 +
78 +if [[ ${PV} == *9999 ]]; then
79 + inherit git-r3
80 + EGIT_REPO_URI="https://github.com/sashs/filebytes"
81 +else
82 + SRC_URI="https://github.com/sashs/filebytes/archive/v${PV}.tar.gz -> ${P}.tar.gz"
83 + KEYWORDS="~amd64 ~x86"
84 +fi
85 +
86 +LICENSE="BSD"
87 +SLOT="0"
88 +
89 +DEPEND="${PYTHON_DEPS}"
90 +RDEPEND="${DEPEND}"
91
92 diff --git a/dev-python/filebytes/metadata.xml b/dev-python/filebytes/metadata.xml
93 new file mode 100644
94 index 000000000000..11063ba5138e
95 --- /dev/null
96 +++ b/dev-python/filebytes/metadata.xml
97 @@ -0,0 +1,20 @@
98 +<?xml version="1.0" encoding="UTF-8"?>
99 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
100 +<pkgmetadata>
101 + <maintainer type="person">
102 + <email>mario.haustein@×××××××××××××××.de</email>
103 + <name>Mario Haustein</name>
104 + </maintainer>
105 + <maintainer type="person">
106 + <email>sam@g.o</email>
107 + <name>Sam James</name>
108 + </maintainer>
109 + <longdescription>
110 + Python library to read and edit files in the following formats:
111 + Executable and Linking Format (ELF), Portable Executable (PE), MachO
112 + and OAT (Android Runtime)
113 + </longdescription>
114 + <upstream>
115 + <remote-id type="github">sashs/filebytes</remote-id>
116 + </upstream>
117 +</pkgmetadata>