1 |
commit: 8dd3ba1c703e1682b017c5f59283f194c6bbb626 |
2 |
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> |
3 |
AuthorDate: Sun Jan 16 12:44:54 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 5 03:24:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dd3ba1c |
7 |
|
8 |
dev-python/pefile: 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/pefile/Manifest | 1 + |
15 |
dev-python/pefile/metadata.xml | 21 +++++++++++++++++++++ |
16 |
dev-python/pefile/pefile-2021.9.3.ebuild | 29 +++++++++++++++++++++++++++++ |
17 |
dev-python/pefile/pefile-9999.ebuild | 29 +++++++++++++++++++++++++++++ |
18 |
4 files changed, 80 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/pefile/Manifest b/dev-python/pefile/Manifest |
21 |
new file mode 100644 |
22 |
index 000000000000..6ff3f1165f40 |
23 |
--- /dev/null |
24 |
+++ b/dev-python/pefile/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST pefile-2021.9.3.tar.gz 72179 BLAKE2B a1b5390936e6c307b1d7d30f317ae77b432b17300941bfe71c4c8ed9dfecf95d623ce98eb762378ee1ff7ae938e4105e4dbcb2f6b8fe32c502b725c43b3a1154 SHA512 1960a6301823387c76e61dff73250686a32dabe009ff0410691ab9be4e57fd5f7ceca2b78302c935b74465a1e0b8faac659045c8a2be07b21dcf1baf510b1b33 |
27 |
|
28 |
diff --git a/dev-python/pefile/metadata.xml b/dev-python/pefile/metadata.xml |
29 |
new file mode 100644 |
30 |
index 000000000000..53ac969c885d |
31 |
--- /dev/null |
32 |
+++ b/dev-python/pefile/metadata.xml |
33 |
@@ -0,0 +1,21 @@ |
34 |
+<?xml version="1.0" encoding="UTF-8"?> |
35 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
36 |
+<pkgmetadata> |
37 |
+ <maintainer type="person" proxied="yes"> |
38 |
+ <email>mario.haustein@×××××××××××××××.de</email> |
39 |
+ <name>Mario Haustein</name> |
40 |
+ </maintainer> |
41 |
+ <maintainer type="person"> |
42 |
+ <email>sam@g.o</email> |
43 |
+ <name>Sam James</name> |
44 |
+ </maintainer> |
45 |
+ <longdescription> |
46 |
+ pefile is a multi-platform Python module to parse and work with |
47 |
+ Portable Executable (PE) files. Most of the information contained in |
48 |
+ the PE file headers is accessible, as well as all the sections' details |
49 |
+ and data. |
50 |
+ </longdescription> |
51 |
+ <upstream> |
52 |
+ <remote-id type="github">erocarrera/pefile</remote-id> |
53 |
+ </upstream> |
54 |
+</pkgmetadata> |
55 |
|
56 |
diff --git a/dev-python/pefile/pefile-2021.9.3.ebuild b/dev-python/pefile/pefile-2021.9.3.ebuild |
57 |
new file mode 100644 |
58 |
index 000000000000..84c6fed76927 |
59 |
--- /dev/null |
60 |
+++ b/dev-python/pefile/pefile-2021.9.3.ebuild |
61 |
@@ -0,0 +1,29 @@ |
62 |
+# Copyright 1999-2022 Gentoo Authors |
63 |
+# Distributed under the terms of the GNU General Public License v2 |
64 |
+ |
65 |
+EAPI=8 |
66 |
+ |
67 |
+PYTHON_COMPAT=( python3_{8..10} ) |
68 |
+ |
69 |
+inherit distutils-r1 |
70 |
+ |
71 |
+DESCRIPTION="Module to read and work with Portable Executable (PE) files" |
72 |
+HOMEPAGE="https://github.com/erocarrera/pefile" |
73 |
+ |
74 |
+if [[ ${PV} == "9999" ]] ; then |
75 |
+ EGIT_REPO_URI="https://github.com/erocarrera/pefile.git" |
76 |
+ inherit git-r3 |
77 |
+else |
78 |
+ SRC_URI="https://github.com/erocarrera/pefile/releases/download/v${PV}/${P}.tar.gz" |
79 |
+ KEYWORDS="~amd64 ~x86" |
80 |
+fi |
81 |
+ |
82 |
+LICENSE="MIT" |
83 |
+SLOT="0" |
84 |
+ |
85 |
+RDEPEND="${PYTHON_DEPS} |
86 |
+ dev-python/future[${PYTHON_USEDEP}]" |
87 |
+ |
88 |
+# Unfortunately there is nothing we can test here. Upstream doesn't ship a test |
89 |
+# suite inside the release files. The test fixtures in the source repo is |
90 |
+# encrypted so that only their CI pipeline is able to run the tests. |
91 |
|
92 |
diff --git a/dev-python/pefile/pefile-9999.ebuild b/dev-python/pefile/pefile-9999.ebuild |
93 |
new file mode 100644 |
94 |
index 000000000000..84c6fed76927 |
95 |
--- /dev/null |
96 |
+++ b/dev-python/pefile/pefile-9999.ebuild |
97 |
@@ -0,0 +1,29 @@ |
98 |
+# Copyright 1999-2022 Gentoo Authors |
99 |
+# Distributed under the terms of the GNU General Public License v2 |
100 |
+ |
101 |
+EAPI=8 |
102 |
+ |
103 |
+PYTHON_COMPAT=( python3_{8..10} ) |
104 |
+ |
105 |
+inherit distutils-r1 |
106 |
+ |
107 |
+DESCRIPTION="Module to read and work with Portable Executable (PE) files" |
108 |
+HOMEPAGE="https://github.com/erocarrera/pefile" |
109 |
+ |
110 |
+if [[ ${PV} == "9999" ]] ; then |
111 |
+ EGIT_REPO_URI="https://github.com/erocarrera/pefile.git" |
112 |
+ inherit git-r3 |
113 |
+else |
114 |
+ SRC_URI="https://github.com/erocarrera/pefile/releases/download/v${PV}/${P}.tar.gz" |
115 |
+ KEYWORDS="~amd64 ~x86" |
116 |
+fi |
117 |
+ |
118 |
+LICENSE="MIT" |
119 |
+SLOT="0" |
120 |
+ |
121 |
+RDEPEND="${PYTHON_DEPS} |
122 |
+ dev-python/future[${PYTHON_USEDEP}]" |
123 |
+ |
124 |
+# Unfortunately there is nothing we can test here. Upstream doesn't ship a test |
125 |
+# suite inside the release files. The test fixtures in the source repo is |
126 |
+# encrypted so that only their CI pipeline is able to run the tests. |