summaryrefslogtreecommitdiff
path: root/dev-python/bicyclerepair
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/bicyclerepair
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/bicyclerepair')
-rw-r--r--dev-python/bicyclerepair/Manifest8
-rw-r--r--dev-python/bicyclerepair/bicyclerepair-0.9-r3.ebuild56
-rw-r--r--dev-python/bicyclerepair/files/50bicyclerepair-gentoo.el10
-rw-r--r--dev-python/bicyclerepair/files/bicyclerepair-0.9-idle.patch41
-rw-r--r--dev-python/bicyclerepair/files/bicyclerepair-0.9-invalid-syntax.patch11
-rw-r--r--dev-python/bicyclerepair/metadata.xml11
6 files changed, 137 insertions, 0 deletions
diff --git a/dev-python/bicyclerepair/Manifest b/dev-python/bicyclerepair/Manifest
new file mode 100644
index 000000000000..42a3e4d99340
--- /dev/null
+++ b/dev-python/bicyclerepair/Manifest
@@ -0,0 +1,8 @@
+AUX 50bicyclerepair-gentoo.el 196 SHA256 37e59786c0046262b09d5f2a3bd70d5a1bb52ceef4bae5942be5b34729ca87a0 SHA512 adaada9d49a5ecfbed6a1e478f0cd7cddad774d02f0c9f4e0ba3cfd1fabd56d80496e869f5a2c33f6883937b7c5c7b20e61d09730faee3a5babd6a91063b4709 WHIRLPOOL b0d73cf7eba7a034ec2e833215d40450ba311f8877873451812a4c359dba0bd2c93bbe2272449e5d02cc85402e3700b795437ceb32ba61b0c8310d0f9d40857b
+AUX bicyclerepair-0.9-idle.patch 1525 SHA256 536dd7cde301c2c2049081ab258001fdd3ea75f6427cd0e4f38af278b5bdd0fc SHA512 986021b98639c9cc2838244c7000b9cc4617d6638a9971d1260c0a594483604e7a3d2af95ba8eab96ab61c485a4de4ebd7b976cc75529c0af754825426f856e3 WHIRLPOOL ccefb3d2af478ede2aaf36ae8cee9d391e11c2e26c90b305864a3516c0ab77ddc5ebddcafc37c419b61c09792c17039bf7058a9fbf816eae1864a6e5dca37297
+AUX bicyclerepair-0.9-invalid-syntax.patch 340 SHA256 97f74cf713336da9e092823acfe31bf285535c30d1fbcf462ab6afec5a2a50ca SHA512 5204519af71984c9bc183ade57531955f3449d77f6e234d425f976c35c3a249a6d4dd90ad8e96a3f5d5ddb337612e68c241f0c56933f8ea2f3c4b5bb772df77d WHIRLPOOL 1b807937be1e2a1fdac87805eb4beece15f5553067bcafbe53b73abdc2d18872b09aad5056cf0e22ac14625b9f3b8a5f66498cc4dac9a15257834d35ea9fbc89
+DIST bicyclerepair-0.9.tar.gz 165025 SHA256 69509eebaeb595ad1d14291b47c6236df97abd5893352965055d91b0cfaea116 SHA512 e80495ccd01d72964eaf3dc8cc4430215ffb563710893c52141e8393125dafd085ba485a2228fed0ceb364515efe08db1947201e73f318498788a9e3581765ff WHIRLPOOL e5472d56559ce1a8ece9c07509cf7a27218d3bf73a25be23d9e8031e8e77d51f1cf14c8dc96e92d90280ffccd19633425a48589363d098cdbf3e6b91b48ac71c
+EBUILD bicyclerepair-0.9-r3.ebuild 1127 SHA256 3e0d8b8f08026f40c9cfd381f4e7d798f4167808ac30c2bcf506608a4bbc7356 SHA512 6a5baca6802600f4c0317ff4dc51f812c27cbc93a55a987b28a680947a39b766924feb81ad46a0ea3c850e11c80c2bbd2c8da45562e102b1ef4a23de76738181 WHIRLPOOL 1c636447746ba09a2bc17ef890c6132b4cb7571e76d4b5b7096ee0d1c457febd1a9937da1fca81fdb4118d85392ebb1f7d8e24415ff53d7dcc58080213094818
+MISC ChangeLog 3441 SHA256 0adcfb433d54e8a22495c63f80ed8363e2062070b401b093e9f46ba24116ef04 SHA512 15d577e33787b761a9b064be4bccaa5409d083841592b123a72ebdc2f5429b29e2e05c9b47df3ec19f98cc64c027e1f4b19122ed27c5d18a455ac294c7e14885 WHIRLPOOL 1f87b42ed1756810a3dafc8007b4ee59e0796b14a67e015c99b7d2640b8cf5ad5eee3dcaccb87649bc68d9e730f102928bb1b58f508bf0a6225945181e9a1253
+MISC ChangeLog-2015 4508 SHA256 11b88fae81f49cf96dde8f71177181c84d11086b7a30fcf56d468b92a01614c5 SHA512 a0a81daa2ce0d7a4ad289c2a9ecc4cdfa5b80e817dfdf74190deeb4da6a305fab59d3cf0438bd72f43205bc29b934d8c3f1a47a032a1887861a92d0fa9845a06 WHIRLPOOL 3aa9f6d618fdf8023ddfc1d51395860c80806ee2ae75c6cc9e9a1c0c66d1994446c3c21d4e01489da2a844de539c425fcd43e8a0ee96d6ac390ee226de3749af
+MISC metadata.xml 323 SHA256 cda253026179004c74c3f5bcdf78db606ae2d505ad4956a827627ee57a44d975 SHA512 37257b3ff5caf7b347efa06a5a3f53df261f1b29e1c93f828a9e1847551cf4db09854ec8979c66e6f54e38a2b1de4d3d7e381a892d3065ca8b3b1a5e5708da3b WHIRLPOOL 6def82542e6cde6437bbc42f1fa887046f7a04682b7fe91c5467e4842378346335447adf9df0c40217836a7718cda6cf2a6e8f4a46442d74c1dd84b18676c61b
diff --git a/dev-python/bicyclerepair/bicyclerepair-0.9-r3.ebuild b/dev-python/bicyclerepair/bicyclerepair-0.9-r3.ebuild
new file mode 100644
index 000000000000..32c6a6c8f2ce
--- /dev/null
+++ b/dev-python/bicyclerepair/bicyclerepair-0.9-r3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 elisp-common
+
+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[${PYTHON_USEDEP}]
+ 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"
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ "${PYTHON}" testall.py || die
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/dev-python/bicyclerepair/files/50bicyclerepair-gentoo.el b/dev-python/bicyclerepair/files/50bicyclerepair-gentoo.el
new file mode 100644
index 000000000000..edad427b54e0
--- /dev/null
+++ b/dev-python/bicyclerepair/files/50bicyclerepair-gentoo.el
@@ -0,0 +1,10 @@
+
+;;; bicyclerepair site-lisp configuration
+
+(add-hook
+ 'python-mode-hook
+ (lambda ()
+ (unless (fboundp 'brm-menu)
+ (require 'pymacs)
+ (pymacs-load "bikeemacs" "brm-")
+ (brm-init))))
diff --git a/dev-python/bicyclerepair/files/bicyclerepair-0.9-idle.patch b/dev-python/bicyclerepair/files/bicyclerepair-0.9-idle.patch
new file mode 100644
index 000000000000..ff7e6f8d80bd
--- /dev/null
+++ b/dev-python/bicyclerepair/files/bicyclerepair-0.9-idle.patch
@@ -0,0 +1,41 @@
+=== modified file 'ide-integration/BicycleRepairMan_Idle.py'
+--- ide-integration/BicycleRepairMan_Idle.py 2008-07-21 20:08:33 +0000
++++ ide-integration/BicycleRepairMan_Idle.py 2008-07-21 20:15:02 +0000
+@@ -300,21 +300,21 @@
+ return 1
+
+
+-    def confirm_buffer_is_saved(self, editwin):
+-        if not editwin.get_saved():
+-            name = (editwin.short_title()or
+-            editwin.long_title()or
+-            "Untitled")
+-            reply = tkMessageBox.askokcancel("Bicycle Repair Man",
+-                "The buffer for %s is not saved.\n\n"%name+
+-                "Save it and continue?",
+-                master = self.editwin.text)
+-          &nbs p; self.editwin.text.focus_set()
+-            if reply:
+-                editwin.io.save(None)
+-            else:
+-                return 0
+-        return 1
++ def confirm_buffer_is_saved(self, editwin):
++ if not editwin.get_saved():
++ name = (editwin.short_title()or
++ editwin.long_title()or
++ "Untitled")
++ reply = tkMessageBox.askokcancel("Bicycle Repair Man",
++ "The buffer for %s is not saved.\n\n"%name+
++ "Save it and continue?",
++ master = self.editwin.text)
++ self.editwin.text.focus_set()
++ if reply:
++ editwin.io.save(None)
++ else:
++ return 0
++ return 1
+
+ def errorbox(self, title, message):
+ tkMessageBox.showerror(title, message, master = self.editwin.text)
+
diff --git a/dev-python/bicyclerepair/files/bicyclerepair-0.9-invalid-syntax.patch b/dev-python/bicyclerepair/files/bicyclerepair-0.9-invalid-syntax.patch
new file mode 100644
index 000000000000..c32fdb621217
--- /dev/null
+++ b/dev-python/bicyclerepair/files/bicyclerepair-0.9-invalid-syntax.patch
@@ -0,0 +1,11 @@
+=== modified file 'bike/query/getPackageDependencies.py'
+--- bike/query/getPackageDependencies.py 2008-07-21 19:37:44 +0000
++++ bike/query/getPackageDependencies.py 2008-07-21 19:38:11 +0000
+@@ -2,5 +2,5 @@
+
+ # fileInPackage is the filename of a file in the package hierarchy
+ def getPackageDependencies(fileInPackage):
+-
++ pass
+
+
diff --git a/dev-python/bicyclerepair/metadata.xml b/dev-python/bicyclerepair/metadata.xml
new file mode 100644
index 000000000000..7bf4b4e5aa51
--- /dev/null
+++ b/dev-python/bicyclerepair/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">bicyclerepair</remote-id>
+ </upstream>
+</pkgmetadata>