Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210970 - pyrenamer 0.4.1 (new package)
Summary: pyrenamer 0.4.1 (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.infinicode.org/code/pyrena...
Whiteboard: [sunrise-overlay]
Keywords: EBUILD, InOverlay
: 291969 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-21 13:24 UTC by Luca Marturana
Modified: 2010-08-04 14:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pyrenamer-0.4.1.ebuild (pyrenamer-0.4.1.ebuild,719 bytes, text/plain)
2008-02-21 13:31 UTC, Luca Marturana
Details
pyrenamer-0.6.0.ebuild (pyrenamer-0.6.0.ebuild,727 bytes, text/plain)
2009-03-27 14:36 UTC, Francesco Proietti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Marturana 2008-02-21 13:24:46 UTC
From the Homepage:

With pyRenamer you can change the name of several files at the same time easily.

→ You can use patterns to rename files.
→ You can use search & replace to rename files.
→ You can use common substitutions.
→ You can manually rename selected files.
→ You can rename images using their EXIF tags.
→ You can rename MP3s using their ID3 tags.

It is written using PyGTK for the GNOME Desktop, altought it will work in any PyGTK enabled environment (KDE, XFCE, even Windows), and it's licensed under the GPL.
Comment 1 Luca Marturana 2008-02-21 13:31:21 UTC
Created attachment 144208 [details]
pyrenamer-0.4.1.ebuild

This ebuild works fine on my x86 system. There are only two notes:

1) Software checks at runtime if there is the gconf module (dev-python/gnome-python) and uses it to store configs. So I think that it isn't necessary to add gnome-python as dependency.

2) The ./configure script looks for dev-python/eyeD3 and than enables eyeD3 support. I know that on Gentoo is preferred to patch the software for use "--enable-thing" instead of auto-detecting. But eyeD3 is a small library, so I think that for now it can be added as fixed dependecy and later, if an user ask for this, make the patch and add an use flag.
Comment 2 Francesco Proietti 2009-03-27 14:36:29 UTC
Created attachment 186438 [details]
pyrenamer-0.6.0.ebuild

Ebuild for the current version based on the old one.
I only added the ~amd64 keyword.
Note that you need to comment line 363 in pyrenamer_filefuncs.py to get it to work correctly because I know nothing about ebuild writing, sorry!
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-15 19:08:46 UTC
(this is an automated message based on filtering criteria that matched this bug)
'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached 
to this bug.
This bug is assigned to maintainer-wanted which means that it is not in the 
main tree.
Heuristics show that no Gentoo developer has commented on your ebuild.

Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. 
We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 4 Dror Levin (RETIRED) gentoo-dev 2009-11-08 21:28:48 UTC
*** Bug 291969 has been marked as a duplicate of this bug. ***
Comment 5 Fabiano Francesconi 2010-03-27 10:58:28 UTC
This is now in the sunrise overlay. You can find it at:
http://overlays.gentoo.org/proj/sunrise/browser/reviewed/sys-apps/pyrenamer once it'll be reviewed by a developer
Comment 6 Renato Alves 2010-06-26 22:56:06 UTC
Please add dev-python/gconf-python as a dependency of the ebuild.

It fails with:

/usr/lib64/python2.6/site-packages/pyrenamer/pyrenamer.py:120: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.glade_tree = gtk.glade.XML(pyrenamerglob.gladefile, "main_window")
Traceback (most recent call last):
  File "/usr/bin/pyrenamer", line 89, in <module>
    main()
  File "/usr/bin/pyrenamer", line 84, in main
    py = pyrenamer.pyRenamer(rootdir, startdir)
  File "/usr/lib64/python2.6/site-packages/pyrenamer/pyrenamer.py", line 223, in __init__
    "on_add_recursive_toggled": self.prefs.on_add_recursive_toggled,
AttributeError: pyRenamer instance has no attribute 'prefs'

if gconf-python is not installed.
Comment 7 Fabiano Francesconi 2010-06-27 09:44:12 UTC
Thank you Renato, fixed in sunrise-overlay
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2010-08-04 14:12:30 UTC
On tree

+*pyrenamer-0.6.0 (04 Aug 2010)
+
+  04 Aug 2010; Markos Chandras <hwoarang@gentoo.org>
+  +pyrenamer-0.6.0.ebuild, +metadata.xml:
+  Moved from sunrise overlay. Fixed bug #210970. Thanks to Fabiano
+  Francesconi <fabiano.francesconi@gmail.com> for the sunrise ebuild.
+