commit:     500c6710557107e6eeefe2bac36b52f34dec08b1
Author:     Philip Miess <Philip_Miess <AT> yahoo <DOT> com>
AuthorDate: Sat Aug 12 11:36:19 2017 +0000
Commit:     Philip Miess <Phil_miess <AT> yahoo <DOT> com>
CommitDate: Sat Aug 12 11:36:19 2017 +0000
URL:        
https://gitweb.gentoo.org/repo/user/superposition.git/commit/?id=500c6710

Install in prefix patch, fix shebang

 .../freecode-submit/.freecode-submit-2.9.ebuild.swp | Bin 12288 -> 12288 bytes
 dev-python/freecode-submit/Manifest                 |   2 +-
 .../freecode-submit/freecode-submit-2.9.ebuild      |  10 +++++++++-
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-python/freecode-submit/.freecode-submit-2.9.ebuild.swp 
b/dev-python/freecode-submit/.freecode-submit-2.9.ebuild.swp
index 3cb5620..2fbbc3c 100644
Binary files a/dev-python/freecode-submit/.freecode-submit-2.9.ebuild.swp and 
b/dev-python/freecode-submit/.freecode-submit-2.9.ebuild.swp differ

diff --git a/dev-python/freecode-submit/Manifest 
b/dev-python/freecode-submit/Manifest
index c47eddb..d1e0e34 100644
--- a/dev-python/freecode-submit/Manifest
+++ b/dev-python/freecode-submit/Manifest
@@ -1,3 +1,3 @@
 DIST freecode-submit-2.9.tar.gz 18612 SHA256 
9a07a62fc82105b9ac856946831df3083c951978fd3aee6fc161595148c25d49 SHA512 
932d38bc018a3987df0daecb8cd5fbc23b8d91d349d70e457f38f80d8628e6b14cfdae93f5918e885fe35e0daf7ef55abd43a2023a8640abd0143042fbe4611b
 WHIRLPOOL 
9bda9f369b4e73c19aaf21e5c7dee9014755e1eff2229e475b9f6bbc3ba1cb1dca716e060edd93229d52fa1bbd7ff9e5510e19c6eb84501afce7742a24e9d9f9
-EBUILD freecode-submit-2.9.ebuild 474 SHA256 
c1c2214c109499a020abb9adaaaa4975211097d9027be2c975dd82c733cf8aae SHA512 
05be45c736d463bbcbccf42ceb78532e5666ae7fd8a1c5c5dd5e36afd04feeca9aa6c27f66a81ac17b3b20151019b6c709dba0707356f28ae387fd92630588b3
 WHIRLPOOL 
653e6c48f50a7549b0be960754ca96c572f808828547217f3e592b4721808bf4baa236f6393367565442165d23e73ca094d8015a8ea441a89ea4858ee13e406f
+EBUILD freecode-submit-2.9.ebuild 683 SHA256 
c0de5776c6bf234825f8b58dbf617e8afb23ceb81d9ba0c0d79f4d96e85fbca6 SHA512 
a499dae24252c524a40d76a80dd943e42e84e78b10b24b56eedc4a6693525120c1c7bae5f9d96be33c632701d49d68237dbefbefba0bb7fb7d2b1cece8d605ca
 WHIRLPOOL 
9c6911474952a745bd2606fefd9623c9537f2d0362a9ab9b655088d356f97830102a7f22133ccd0f0a6f409c42a4d76556c7c3f48f107afa5d00a4c942a63bf4
 MISC metadata.xml 715 SHA256 
d1160f48274cade505c09173bc35efa57edf7e66ae673c9b5faca1f7a2c45bd1 SHA512 
eef55fce9ecb88e0f7830d5329f24932541e2a818e89ca53d73e18889acd5d7326acc035789e76ccc4fdc4d230f40431426e22670f062360de0fa5df8d8efd8c
 WHIRLPOOL 
a26fe4341ec80077a116540b2c30bc50abfcaf68e2e357cc26030ebb0993897e924cf9623d7df0246a892eb13d1e2ce09b1b45220b8c6ec794c0b4f077034c2a

diff --git a/dev-python/freecode-submit/freecode-submit-2.9.ebuild 
b/dev-python/freecode-submit/freecode-submit-2.9.ebuild
index 2043b5a..1d25073 100644
--- a/dev-python/freecode-submit/freecode-submit-2.9.ebuild
+++ b/dev-python/freecode-submit/freecode-submit-2.9.ebuild
@@ -5,8 +5,9 @@ EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE="ssl(+)"
+DISTUTILS_SINGLE_IMPL=1
 
-inherit python-single-r1
+inherit distutils-r1
 
 DESCRIPTION="Client for Freshcode and Freecode-like sites."
 HOMEPAGE="http://www.catb.org/~esr/freecode-submit/";
@@ -19,3 +20,10 @@ IUSE=""
 
 DEPEND="${PYTHON_DEPS}"
 RDEPEND="${DEPEND}"
+
+python_prepare_all() {
+        sed -i 's:PREFIX=:PREFIX?=:' Makefile || die 'Prefix fix sed failed.'
+        python_fix_shebang freecode-submit 
+        distutils-r1_python_prepare_all
+}
+

Reply via email to