public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/pythong: pythong-2.1.5-r2.ebuild pythong-2.1.5-r1.ebuild ChangeLog
@ 2015-03-21 15:59 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2015-03-21 15:59 UTC (permalink / raw
  To: gentoo-commits

jlec        15/03/21 15:59:31

  Modified:             pythong-2.1.5-r1.ebuild ChangeLog
  Added:                pythong-2.1.5-r2.ebuild
  Log:
  use dobin instead of exeinto /usr/bin/ && doexe; bump to EAPI=5 and new python eclasses
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

Revision  Changes    Path
1.8                  dev-python/pythong/pythong-2.1.5-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pythong/pythong-2.1.5-r1.ebuild?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pythong/pythong-2.1.5-r1.ebuild?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pythong/pythong-2.1.5-r1.ebuild?r1=1.7&r2=1.8

Index: pythong-2.1.5-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pythong/pythong-2.1.5-r1.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- pythong-2.1.5-r1.ebuild	22 Jan 2013 19:06:03 -0000	1.7
+++ pythong-2.1.5-r1.ebuild	21 Mar 2015 15:59:31 -0000	1.8
@@ -1,8 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pythong/pythong-2.1.5-r1.ebuild,v 1.7 2013/01/22 19:06:03 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pythong/pythong-2.1.5-r1.ebuild,v 1.8 2015/03/21 15:59:31 jlec Exp $
 
 EAPI="3"
+
 PYTHON_USE_WITH="tk"
 SUPPORT_PYTHON_ABIS="1"
 RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
@@ -14,9 +15,10 @@
 MY_PV=${MY_PV//\./_}
 
 DESCRIPTION="Nice and powerful spanish development environment for Python"
-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 )"
 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"
@@ -25,7 +27,8 @@
 
 S="${WORKDIR}/${MY_PN}-${MY_PV}"
 
-RDEPEND=">=dev-lang/tk-8.3.4
+RDEPEND="
+	>=dev-lang/tk-8.3.4:0
 	>=dev-python/pmw-1.2:0"
 DEPEND="${RDEPEND}"
 
@@ -33,10 +36,10 @@
 	python_copy_sources
 
 	preparation() {
-		sed -i \
+		sed \
 			-e "s:^\(fullpath = \).*:\1'$(python_get_sitedir)':" \
 			-e "/^url_docFuncPG/s:'+fullpath+':/usr/share/doc/${PF}:" \
-			pythong.py || die "sed in pythong.py failed"
+			-i pythong.py || die "sed in pythong.py failed"
 	}
 	python_execute_function -s preparation
 }
@@ -47,8 +50,7 @@
 		doins modulepythong.py || die "doins failed"
 		doins -r libpythong || die "doins failed"
 
-		exeinto /usr/bin
-		newexe pythong.py pythong.py-${PYTHON_ABI} || die "doexe failed"
+		newbin pythong.py pythong.py-${PYTHON_ABI} || die "doexe failed"
 		python_convert_shebangs $(python_get_version) "${ED}usr/bin/pythong.py-${PYTHON_ABI}"
 	}
 	python_execute_function -s installation



1.25                 dev-python/pythong/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pythong/ChangeLog?rev=1.25&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pythong/ChangeLog?rev=1.25&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pythong/ChangeLog?r1=1.24&r2=1.25

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pythong/ChangeLog,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- ChangeLog	22 Jan 2013 19:06:03 -0000	1.24
+++ ChangeLog	21 Mar 2015 15:59:31 -0000	1.25
@@ -1,6 +1,13 @@
 # ChangeLog for dev-python/pythong
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pythong/ChangeLog,v 1.24 2013/01/22 19:06:03 jlec Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pythong/ChangeLog,v 1.25 2015/03/21 15:59:31 jlec Exp $
+
+*pythong-2.1.5-r2 (21 Mar 2015)
+
+  21 Mar 2015; Justin Lecher <jlec@gentoo.org> +pythong-2.1.5-r2.ebuild,
+  pythong-2.1.5-r1.ebuild:
+  use dobin instead of exeinto /usr/bin/ && doexe; bump to EAPI=5 and new python
+  eclasses
 
   22 Jan 2013; Justin Lecher <jlec@gentoo.org> pythong-2.1.5-r1.ebuild,
   metadata.xml:
@@ -94,4 +101,3 @@
 
   10 May 2003; Alastair Tse <liquidx@gentoo.org> pythong-2.0.21.2.ebuild:
   initial ebuild. thanks to Federico Moro <zayer@frikis.org>. Bug #20113.
-



1.1                  dev-python/pythong/pythong-2.1.5-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pythong/pythong-2.1.5-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pythong/pythong-2.1.5-r2.ebuild?rev=1.1&content-type=text/plain

Index: pythong-2.1.5-r2.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pythong/pythong-2.1.5-r2.ebuild,v 1.1 2015/03/21 15:59:31 jlec Exp $

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"

RDEPEND="
	>=dev-lang/tk-8.3.4:0=
	>=dev-python/pmw-1.2:0"
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
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-21 15:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-21 15:59 [gentoo-commits] gentoo-x86 commit in dev-python/pythong: pythong-2.1.5-r2.ebuild pythong-2.1.5-r1.ebuild ChangeLog Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox