jlec        15/03/21 20:09:06

  Modified:             http-replicator-3.0-r4.ebuild
                        http-replicator-4.0_alpha2-r4.ebuild ChangeLog
  Log:
  use dobin instead of exeinto /usr/bin/ && doexe; fix new pyhton eclass usage
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.6                  net-proxy/http-replicator/http-replicator-3.0-r4.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/http-replicator/http-replicator-3.0-r4.ebuild?rev=1.6&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/http-replicator/http-replicator-3.0-r4.ebuild?rev=1.6&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/http-replicator/http-replicator-3.0-r4.ebuild?r1=1.5&r2=1.6

Index: http-replicator-3.0-r4.ebuild
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/net-proxy/http-replicator/http-replicator-3.0-r4.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- http-replicator-3.0-r4.ebuild       5 Apr 2014 07:05:35 -0000       1.5
+++ http-replicator-3.0-r4.ebuild       21 Mar 2015 20:09:06 -0000      1.6
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/net-proxy/http-replicator/http-replicator-3.0-r4.ebuild,v
 1.5 2014/04/05 07:05:35 pacho Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/net-proxy/http-replicator/http-replicator-3.0-r4.ebuild,v
 1.6 2015/03/21 20:09:06 jlec Exp $
 
 EAPI=4
 PYTHON_DEPEND="2:2.7:2.7" # not 2.6 bug #33907, not 3.0 bug #411083
@@ -28,8 +28,7 @@
 
 src_install(){
        # Daemon and repcacheman into /usr/bin
-       exeinto /usr/bin
-       doexe http-replicator
+       dobin http-replicator
        newexe "${FILESDIR}/http-replicator-3.0-callrepcacheman-0.1" repcacheman
        newexe "${FILESDIR}/http-replicator-3.0-repcacheman-0.44-r2" 
repcacheman.py
 



1.2                  
net-proxy/http-replicator/http-replicator-4.0_alpha2-r4.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/http-replicator/http-replicator-4.0_alpha2-r4.ebuild?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/http-replicator/http-replicator-4.0_alpha2-r4.ebuild?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/http-replicator/http-replicator-4.0_alpha2-r4.ebuild?r1=1.1&r2=1.2

Index: http-replicator-4.0_alpha2-r4.ebuild
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/net-proxy/http-replicator/http-replicator-4.0_alpha2-r4.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- http-replicator-4.0_alpha2-r4.ebuild        22 Dec 2013 11:07:28 -0000      
1.1
+++ http-replicator-4.0_alpha2-r4.ebuild        21 Mar 2015 20:09:06 -0000      
1.2
@@ -1,10 +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/net-proxy/http-replicator/http-replicator-4.0_alpha2-r4.ebuild,v
 1.1 2013/12/22 11:07:28 pacho Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/net-proxy/http-replicator/http-replicator-4.0_alpha2-r4.ebuild,v
 1.2 2015/03/21 20:09:06 jlec Exp $
 
 EAPI="5"
 
-# Not 2.6, see bug #33907; not 3.0, see bug #411083.
 PYTHON_COMPAT=( python2_7 )
 
 inherit eutils python-r1 systemd
@@ -33,18 +32,13 @@
 }
 
 src_install(){
-       python_export python2_7 EPYTHON PYTHON PYTHON_SITEDIR
+       python_foreach_impl python_doscript http-replicator
 
-       python_scriptinto /usr/bin
-       python_doscript http-replicator
+       newbin "${FILESDIR}"/${PN}-3.0-callrepcacheman-0.1 repcacheman
 
-       exeinto /usr/bin
-       newexe "${FILESDIR}"/${PN}-3.0-callrepcacheman-0.1 repcacheman
+       python_foreach_impl python_domodule *.py
 
-       python_domodule *.py
-
-       cp "${FILESDIR}"/${PN}-3.0-repcacheman-0.44-r2 repcacheman.py || die
-       python_doscript repcacheman.py
+       python_foreach_impl python_newscript 
"${FILESDIR}"/${PN}-3.0-repcacheman-0.44-r2 repcacheman.py
 
        newinitd "${FILESDIR}"/${PN}-4.0_alpha2-r3.init http-replicator
        newconfd "${FILESDIR}"/${PN}-4.0_alpha2-r2.conf http-replicator
@@ -56,7 +50,7 @@
 }
 
 pkg_postinst() {
-       einfo
+       echo
        einfo "Before starting ${PN}, please follow the next few steps:"
        einfo
        einfo "- Modify /etc/conf.d/${PN} if required."
@@ -71,5 +65,5 @@
        einfo "  http://forums.gentoo.org/viewtopic-t-173226.html";
        einfo
        einfo "Starting with 4.x releases, the conf.d parameters have changed."
-       einfo
+       echo
 }



1.47                 net-proxy/http-replicator/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/http-replicator/ChangeLog?rev=1.47&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/http-replicator/ChangeLog?rev=1.47&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/http-replicator/ChangeLog?r1=1.46&r2=1.47

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-proxy/http-replicator/ChangeLog,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- ChangeLog   7 Jan 2015 13:58:21 -0000       1.46
+++ ChangeLog   21 Mar 2015 20:09:06 -0000      1.47
@@ -1,6 +1,10 @@
 # ChangeLog for net-proxy/http-replicator
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/http-replicator/ChangeLog,v 1.46 
2015/01/07 13:58:21 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/http-replicator/ChangeLog,v 1.47 
2015/03/21 20:09:06 jlec Exp $
+
+  21 Mar 2015; Justin Lecher <[email protected]> http-replicator-3.0-r4.ebuild,
+  http-replicator-4.0_alpha2-r4.ebuild:
+  use dobin instead of exeinto /usr/bin/ && doexe; fix new pyhton eclass usage
 
   07 Jan 2015; Pacho Ramos <[email protected]> -http-replicator-3.0-r2.ebuild,
   -http-replicator-3.0-r3.ebuild, -http-replicator-4.0_alpha2-r3.ebuild,




Reply via email to