summaryrefslogtreecommitdiff
path: root/dev-python/pycxx
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-07-04 00:49:46 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-07-04 00:49:46 +0000
commit3fbd3e315b246f5ecce9716c5df4a6f1a3b0bc47 (patch)
treeb677d54bcdacb8696e0ee9912e64f1a9f7cb9af9 /dev-python/pycxx
parentaa50d7cfb65e59074f69e38ca3d0e5fb28c27437 (diff)
downloadbaldeagleos-repo-3fbd3e315b246f5ecce9716c5df4a6f1a3b0bc47.tar.gz
baldeagleos-repo-3fbd3e315b246f5ecce9716c5df4a6f1a3b0bc47.tar.xz
baldeagleos-repo-3fbd3e315b246f5ecce9716c5df4a6f1a3b0bc47.zip
Adding metadata
Diffstat (limited to 'dev-python/pycxx')
-rw-r--r--dev-python/pycxx/pycxx-7.1.5-r1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/pycxx/pycxx-7.1.5-r1.ebuild b/dev-python/pycxx/pycxx-7.1.5-r1.ebuild
new file mode 100644
index 000000000000..d9ded0ddd950
--- /dev/null
+++ b/dev-python/pycxx/pycxx-7.1.5-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+DISTUTILS_USE_SETUPTOOLS=no
+inherit distutils-r1
+
+DESCRIPTION="Set of facilities to extend Python with C++"
+HOMEPAGE="http://cxx.sourceforge.net"
+SRC_URI="mirror://sourceforge/cxx/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
+IUSE="doc examples"
+
+python_prepare_all() {
+ # Without this, pysvn fails.
+ # Src/Python3/cxxextensions.c: No such file or directory
+ sed -e "/^#include/s:Src/::" -i Src/*.{c,cxx} || die "sed failed"
+
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( Doc/. )
+ if use examples ; then
+ docinto examples
+ dodoc -r Demo/Python{2,3}/.
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+ distutils-r1_python_install_all
+}