public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bicyclerepair/
Date: Sun, 20 Sep 2015 10:15:50 +0000 (UTC)	[thread overview]
Message-ID: <1442743775.04438b1d34bb88f7c899faec4d70d6bdc6f9ae6f.jlec@gentoo> (raw)

commit:     04438b1d34bb88f7c899faec4d70d6bdc6f9ae6f
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 20 10:09:35 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Sep 20 10:09:35 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04438b1d

dev-python/bicyclerepair: Clean old

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 .../bicyclerepair/bicyclerepair-0.9-r2.ebuild      | 63 ----------------------
 .../bicyclerepair/bicyclerepair-0.9-r3.ebuild      | 18 ++++---
 2 files changed, 11 insertions(+), 70 deletions(-)

diff --git a/dev-python/bicyclerepair/bicyclerepair-0.9-r2.ebuild b/dev-python/bicyclerepair/bicyclerepair-0.9-r2.ebuild
deleted file mode 100644
index e2b20f4..0000000
--- a/dev-python/bicyclerepair/bicyclerepair-0.9-r2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-
-inherit distutils elisp-common eutils
-
-DESCRIPTION="Bicycle Repair Man is the Python Refactoring Browser"
-HOMEPAGE="http://bicyclerepair.sourceforge.net/"
-SRC_URI="mirror://sourceforge/bicyclerepair/${P}.tar.gz"
-
-LICENSE="icu GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~ia64 ppc ppc64 x86"
-IUSE="emacs"
-
-DEPEND="emacs? (
-		app-emacs/pymacs
-		app-emacs/python-mode
-	)"
-RDEPEND="${DEPEND}"
-
-SITEFILE="50${PN}-gentoo.el"
-PYTHON_MODNAME="BicycleRepairMan_Idle.py bike bikeemacs.py"
-
-src_prepare() {
-	distutils_src_prepare
-
-	# bikeemacs.py contains non-ASCII characters in comments.
-	sed -e '1s/$/\t-*- coding: latin-1 -*-/' -i ide-integration/bikeemacs.py || die "sed failed"
-
-	epatch "${FILESDIR}/${P}-idle.patch"
-	epatch "${FILESDIR}/${P}-invalid-syntax.patch"
-}
-
-src_test() {
-	testing() {
-		"$(PYTHON)" testall.py
-	}
-	python_execute_function testing
-}
-
-src_install() {
-	distutils_src_install
-
-	if use emacs; then
-		elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed"
-	fi
-}
-
-pkg_postinst() {
-	distutils_pkg_postinst
-	use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-	distutils_pkg_postrm
-	use emacs && elisp-site-regen
-}

diff --git a/dev-python/bicyclerepair/bicyclerepair-0.9-r3.ebuild b/dev-python/bicyclerepair/bicyclerepair-0.9-r3.ebuild
index 1174f34..a0fa68d 100644
--- a/dev-python/bicyclerepair/bicyclerepair-0.9-r3.ebuild
+++ b/dev-python/bicyclerepair/bicyclerepair-0.9-r3.ebuild
@@ -3,6 +3,7 @@
 # $Id$
 
 EAPI=5
+
 PYTHON_COMPAT=( python2_7 )
 
 inherit distutils-r1 elisp-common
@@ -16,18 +17,23 @@ SLOT="0"
 KEYWORDS="amd64 ~ia64 ppc ppc64 x86"
 IUSE="emacs"
 
-DEPEND="emacs? (
+DEPEND="
+	emacs? (
 		app-emacs/pymacs[${PYTHON_USEDEP}]
-		app-emacs/python-mode )"
+		app-emacs/python-mode
+	)"
 RDEPEND="${DEPEND}"
 
 SITEFILE="50${PN}-gentoo.el"
 
+PATCHES=(
+	"${FILESDIR}/${P}-idle.patch"
+	"${FILESDIR}/${P}-invalid-syntax.patch"
+)
+
 python_prepare_all() {
 	# bikeemacs.py contains non-ASCII characters in comments.
 	sed -e '1s/$/\t-*- coding: latin-1 -*-/' -i ide-integration/bikeemacs.py || die "sed failed"
-	epatch "${FILESDIR}/${P}-idle.patch"
-	epatch "${FILESDIR}/${P}-invalid-syntax.patch"
 
 	distutils-r1_python_prepare_all
 }
@@ -39,9 +45,7 @@ python_test() {
 src_install() {
 	distutils-r1_src_install
 
-	if use emacs; then
-		elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed"
-	fi
+	use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}"
 }
 
 pkg_postinst() {


             reply	other threads:[~2015-09-20 10:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-20 10:15 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-09-19 19:22 [gentoo-commits] repo/gentoo:master commit in: dev-python/bicyclerepair/ Patrice Clement
2015-09-19 16:03 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1442743775.04438b1d34bb88f7c899faec4d70d6bdc6f9ae6f.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox