1 |
commit: f85d6662bbc7f2fb499defeda2c1806af489ab14 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 1 13:49:03 2020 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 1 13:56:27 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f85d6662 |
7 |
|
8 |
dev-python/pycxx: 7.1.2 + EAPI 7 + py37/py38 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/602150 |
11 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
13 |
|
14 |
dev-python/pycxx/Manifest | 1 + |
15 |
dev-python/pycxx/pycxx-7.1.2.ebuild | 30 ++++++++++++++++++++++++++++++ |
16 |
2 files changed, 31 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/pycxx/Manifest b/dev-python/pycxx/Manifest |
19 |
index f61d0aed189..bce88f507a9 100644 |
20 |
--- a/dev-python/pycxx/Manifest |
21 |
+++ b/dev-python/pycxx/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST pycxx-6.2.6.tar.gz 141547 BLAKE2B e067d2a3f7ce58200c3b97f971692f64545f224929308c6e9a668a15eb775580060e860cf8ba1f894ae61320aa3454622f15fcc6fbdc601251c9b9ce576b611d SHA512 9a6c30acb99c112497c02fb0826dc0197bbf4b813d25eab3f7d6537dfd83db8150c94f617f79810bbcca64496b8d6e67b1a41446523d66031c54c21e0425ea0c |
24 |
+DIST pycxx-7.1.2.tar.gz 150865 BLAKE2B bbf78d88ca13fafee1239c354167b56cef2f1d56d20b0fc81d9a5d7d82096ab5d6a88802f411719cc490179314f87ef89b1e53c2b8a3a784566f9ff9d16d7cc8 SHA512 67f8d8d1ec6ce63c39695cd56c3276767d5cb4b6cc2fcf7daf5aea4bac11114f5a1fa4784ecdb35be708859cf07fc88c8e9f00b7fc808169708fd0eef1056a63 |
25 |
|
26 |
diff --git a/dev-python/pycxx/pycxx-7.1.2.ebuild b/dev-python/pycxx/pycxx-7.1.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..d9581f73d9f |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pycxx/pycxx-7.1.2.ebuild |
31 |
@@ -0,0 +1,30 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI="7" |
36 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
37 |
+ |
38 |
+inherit eutils distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Set of facilities to extend Python with C++" |
41 |
+HOMEPAGE="http://cxx.sourceforge.net" |
42 |
+SRC_URI="mirror://sourceforge/cxx/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" |
47 |
+IUSE="doc examples" |
48 |
+ |
49 |
+python_prepare_all() { |
50 |
+ # Without this, pysvn fails. |
51 |
+ # Src/Python3/cxxextensions.c: No such file or directory |
52 |
+ sed -e "/^#include/s:Src/::" -i Src/*.{c,cxx} || die "sed failed" |
53 |
+ |
54 |
+ distutils-r1_python_prepare_all |
55 |
+} |
56 |
+ |
57 |
+python_install_all() { |
58 |
+ use doc && local HTML_DOCS=( Doc/. ) |
59 |
+ use examples && local EXAMPLES=( Demo/Python{2,3}/. ) |
60 |
+ distutils-r1_python_install_all |
61 |
+} |