summaryrefslogtreecommitdiff
path: root/dev-python/pythong
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pythong')
-rw-r--r--dev-python/pythong/Manifest4
-rw-r--r--dev-python/pythong/metadata.xml8
-rw-r--r--dev-python/pythong/pythong-2.1.5-r2.ebuild55
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/pythong/Manifest b/dev-python/pythong/Manifest
new file mode 100644
index 000000000000..38fc3a94030a
--- /dev/null
+++ b/dev-python/pythong/Manifest
@@ -0,0 +1,4 @@
+DIST python.pdf 2547987 BLAKE2B 2f8d6baf3d94fd4072d2c482e934bbe168269d48e5ff7ea35c61c29b826269388e75669fb8f3fff0cbf1d113f84cf0c547ec21bad032ddba6ead06a4b473a3ed SHA512 9d16eb39ff5996be70aa41cb758e73adf1fa72a7e83613626cf6f519def99fd30169a87b1e918902e1aecfb75d925cb7e49d9ad5733dd5274b9a351adaaf201e
+DIST pythonG-2_1_5.tgz 397754 BLAKE2B 88480558274384cf8cac8c9423949b80ac5c022b3e404af4cc732efb8393c27b2f6957fcb630ba7d5455bb15d508117516e02ed4fc1c6c20326abf19768ebbcb SHA512 8a8c3ada425a1d7a0565e495494a8edfcf8b4224cb93ea843669e4d0b2ca9e122d038c728ff8242885e0b320caa6db8ef8f721f99c423b7a8f87a83a4e6f51c6
+EBUILD pythong-2.1.5-r2.ebuild 1308 BLAKE2B 534819e60da2127b06f456149aa0e9f2d5f5dca59f3ff1191b0dbfaf42e87df707203bc30c82d7a744e689cde57293ed4df3f8e65f26041cb315250d27aad2c5 SHA512 341e11e27ad91c32063c71e8189ae767662910220da678836c7b8ab643e43f74053597e9ae23cd40f7dc492afb74c68ced54243d7aef319e1714d391f554dad8
+MISC metadata.xml 246 BLAKE2B 3a28b3bb42a0352827a446ea608867a7782fe682458527ef441a528a22c9f951dc203639934a69ffb520f63aadce3037df28bf8c5304b3a5921b336142f9f246 SHA512 3245fb694492b2f698fb63aac02e66fb8a94fe35eabda45df4790bec043a1ea552e112315334001902f070093bb73e7b741aa3004757404aed97ebdb86cc9fbc
diff --git a/dev-python/pythong/metadata.xml b/dev-python/pythong/metadata.xml
new file mode 100644
index 000000000000..e24dd86faa2a
--- /dev/null
+++ b/dev-python/pythong/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/pythong/pythong-2.1.5-r2.ebuild b/dev-python/pythong/pythong-2.1.5-r2.ebuild
new file mode 100644
index 000000000000..fa40cbcd91b9
--- /dev/null
+++ b/dev-python/pythong/pythong-2.1.5-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="tk"
+
+inherit python-single-r1
+
+MY_PN="pythonG"
+MY_PV=${PV/_/-}
+MY_PV=${MY_PV//\./_}
+
+DESCRIPTION="Nice and powerful spanish development environment for Python"
+HOMEPAGE="http://www3.uji.es/~dllorens/PythonG/principal.html"
+SRC_URI="
+ http://www3.uji.es/~dllorens/downloads/pythong/linux/${MY_PN}-${MY_PV}.tgz
+ doc? ( http://marmota.act.uji.es/MTP/pdf/python.pdf )"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ia64 x86"
+SLOT="0"
+IUSE="doc"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ >=dev-lang/tk-8.3.4:0=
+ virtual/python-pmw[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+
+src_prepare() {
+ sed \
+ -e "s:^\(fullpath = \).*:\1'$(python_get_sitedir)':" \
+ -e "/^url_docFuncPG/s:'+fullpath+':/usr/share/doc/${PF}:" \
+ -i pythong.py || die "sed in pythong.py failed"
+}
+
+src_install() {
+ python_domodule modulepythong.py libpythong
+ python_doscript pythong.py
+
+ dodoc leeme.txt
+ insinto /usr/share/doc/${PF}
+ doins -r {LICENCIA,MANUAL,demos}
+ rm -fr "${ED}/usr/share/doc/${PF}/demos/modulepythong.py" || die
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins "${DISTDIR}"/python.pdf
+ fi
+ python_optimize
+}