1 |
commit: 71c53d05756765203280e2d9237031c698644857 |
2 |
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> |
3 |
AuthorDate: Sat Apr 3 18:37:05 2021 +0000 |
4 |
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> |
5 |
CommitDate: Sat Apr 3 18:37:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=71c53d05 |
7 |
|
8 |
dev-python/recordclass: New Package |
9 |
|
10 |
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> |
11 |
|
12 |
dev-python/recordclass/Manifest | 1 + |
13 |
dev-python/recordclass/metadata.xml | 7 +++++ |
14 |
dev-python/recordclass/recordclass-0.14.3.ebuild | 33 ++++++++++++++++++++++++ |
15 |
dev-python/recordclass/recordclass-9999.ebuild | 30 +++++++++++++++++++++ |
16 |
4 files changed, 71 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/recordclass/Manifest b/dev-python/recordclass/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000..c0760ac0e |
21 |
--- /dev/null |
22 |
+++ b/dev-python/recordclass/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST recordclass-0.14.3.tar.gz 156962 BLAKE2B 31bbe62fd059b9ba594d824d3e719ca4a03d72d3fdb18f8c94634d0d2a5350e3132bc1d3e20900a018e769c3dd377c53b12728dbd8daf23faf82d93663511f69 SHA512 9764b49e4cd24395a545d4845dab1522f409b48f6c0cd718499ad92a0b655d3ceef0361286dab91c7e7f05c5306e9db1f1a130b12f923dcf66c704ecdeeb612a |
25 |
|
26 |
diff --git a/dev-python/recordclass/metadata.xml b/dev-python/recordclass/metadata.xml |
27 |
new file mode 100644 |
28 |
index 000000000..a1bd8ff7c |
29 |
--- /dev/null |
30 |
+++ b/dev-python/recordclass/metadata.xml |
31 |
@@ -0,0 +1,7 @@ |
32 |
+<?xml version="1.0" encoding="UTF-8"?> |
33 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
34 |
+<pkgmetadata> |
35 |
+ <upstream> |
36 |
+ <remote-id type="bitbucket">intellimath/recordclass</remote-id> |
37 |
+ </upstream> |
38 |
+</pkgmetadata> |
39 |
|
40 |
diff --git a/dev-python/recordclass/recordclass-0.14.3.ebuild b/dev-python/recordclass/recordclass-0.14.3.ebuild |
41 |
new file mode 100644 |
42 |
index 000000000..b64a92e75 |
43 |
--- /dev/null |
44 |
+++ b/dev-python/recordclass/recordclass-0.14.3.ebuild |
45 |
@@ -0,0 +1,33 @@ |
46 |
+# Copyright 2021 Gentoo Authors |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI=7 |
50 |
+ |
51 |
+PYTHON_COMPAT=( python3_{6..8} ) |
52 |
+ |
53 |
+inherit distutils-r1 |
54 |
+ |
55 |
+DESCRIPTION="Mutable variants of tupe and collections.namedtuple" |
56 |
+HOMEPAGE="https://pypi.org/project/recordclass/" |
57 |
+if [[ ${PV} == "9999" ]] |
58 |
+then |
59 |
+ inherit git-r3 |
60 |
+ EGIT_REPO_URI="https://bitbucket.org/intellimath/recordclass.git" |
61 |
+else |
62 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
63 |
+ KEYWORDS="~amd64 ~x86" |
64 |
+fi |
65 |
+ |
66 |
+LICENSE="MIT" |
67 |
+SLOT="0" |
68 |
+ |
69 |
+# lib/recordclass/mutabletuple.c:727: PyObject *mutabletuple_copy(PyMutableTupleObject *): Assertion `PyTuple_Check(ob)' failed. |
70 |
+RESTRICT="test" |
71 |
+ |
72 |
+DEPEND="dev-python/cython" |
73 |
+RDEPEND="${DEPEND}" |
74 |
+ |
75 |
+python_test() { |
76 |
+ [[ -n ${EPYTHON} ]] || die "EPYTHON unset, invalid call context" |
77 |
+ ${EPYTHON} ./test_all.py |
78 |
+} |
79 |
|
80 |
diff --git a/dev-python/recordclass/recordclass-9999.ebuild b/dev-python/recordclass/recordclass-9999.ebuild |
81 |
new file mode 100644 |
82 |
index 000000000..efeeaf544 |
83 |
--- /dev/null |
84 |
+++ b/dev-python/recordclass/recordclass-9999.ebuild |
85 |
@@ -0,0 +1,30 @@ |
86 |
+# Copyright 2021 Gentoo Authors |
87 |
+# Distributed under the terms of the GNU General Public License v2 |
88 |
+ |
89 |
+EAPI=7 |
90 |
+ |
91 |
+PYTHON_COMPAT=( python3_{6..8} ) |
92 |
+ |
93 |
+inherit distutils-r1 |
94 |
+ |
95 |
+DESCRIPTION="Mutable variants of tupe and collections.namedtuple" |
96 |
+HOMEPAGE="https://pypi.org/project/recordclass/" |
97 |
+if [[ ${PV} == "9999" ]] |
98 |
+then |
99 |
+ inherit git-r3 |
100 |
+ EGIT_REPO_URI="https://bitbucket.org/intellimath/recordclass.git" |
101 |
+else |
102 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
103 |
+ KEYWORDS="~amd64 ~x86" |
104 |
+fi |
105 |
+ |
106 |
+LICENSE="MIT" |
107 |
+SLOT="0" |
108 |
+ |
109 |
+DEPEND="dev-python/cython" |
110 |
+RDEPEND="${DEPEND}" |
111 |
+ |
112 |
+python_test() { |
113 |
+ [[ -n ${EPYTHON} ]] || die "EPYTHON unset, invalid call context" |
114 |
+ ${EPYTHON} ./test_all.py |
115 |
+} |