Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311533 - app-misc/mved: Verify and potentially improve Python-related code
Summary: app-misc/mved: Verify and potentially improve Python-related code
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Whiteboard: Removed: 2011-02-10
Keywords: InVCS
Depends on:
Blocks: 308257
  Show dependency tree
Reported: 2010-03-26 21:33 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2011-02-10 11:24 UTC (History)
3 users (show)

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

fixes syntax errors and runtime errors when using python-3 (mved-py3.diff,3.88 KB, patch)
2010-07-20 09:09 UTC, marty rosenberg
Details | Diff
changes the ebuild to use python-2 (mved-ebuild.diff,734 bytes, patch)
2010-07-27 05:13 UTC, marty rosenberg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-26 21:33:47 UTC
- If this package can be used as a library and installs Python modules
  (*.so or *.py) into directories specific to given versions of Python,
  then consider supporting installation for multiple Python versions.
  Please read section "Types of packages" in documentation [1].

- Ensure that the ebuilds do not use deprecated functions or variables.

- Please check if Python 3 is supported by this package. You can temporarily
  set Python 3 as main active version of Python to properly test if this
  package supports Python 3.

- If this package does not support Python 3:
  - Specify dependency on Python 2.
    You can use PYTHON_DEPEND helper variable, which should be set before
    inheriting of python eclass.

  - If this package cannot support installation for multiple versions of
    Python, then set active version of Python using

  - Ensure that shebangs in installed scripts specify correct version of
    Python. If shebangs are too generic (e.g. '#!/usr/bin/python'), then you
    can use python_convert_shebangs() to convert shebangs.
    (Wrapper scripts generated by python_generate_wrapper_scripts() do not
    require any changes.)

  - To ensure that changes applied to the ebuilds are sufficient, please
    temporarily set Python 3 as main active version of Python and test if
    this package can be properly installed and if it works at run time.

Please see documentation [1] for more details.
Comment 1 David Abbott gentoo-dev 2010-05-02 17:52:37 UTC
Homepage is dead, last updated 2005, all it is is a python script.
Comment 2 David Abbott gentoo-dev 2010-05-02 18:06:31 UTC
reopened I think I closed this in error. 
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-06-12 20:20:02 UTC
# Jeremy Olexa <> (12 Jun 2010)
# Dead upstream, last update from 2005, no maintainer.
# Removed in 60 days by treecleaners, bug 311533
Comment 4 marty rosenberg 2010-07-19 20:01:46 UTC
I use this program all of the time, and would like for it to remain in portage.  What do I need to do in order to ensure this happens?
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-19 20:09:26 UTC
(In reply to comment #4)

You should create a patch for the ebuild and convince a developer to commit this patch.
Comment 6 marty rosenberg 2010-07-20 09:09:37 UTC
Created attachment 239523 [details, diff]
fixes syntax errors and runtime errors when using python-3

the shebang is #!/usr/bin/env python.  I'm assuming that is fine to use.
I've tested it with both 2 and 3, and both seem to work just fine.  Since I've never ported anything from python-2 to python-3 before, so I may have done things in a non-optimal way.
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-21 16:41:42 UTC
(In reply to comment #6)

I would suggest to firstly modify mved-1.2.ebuild, so that it uses Python 2, and next send patch for Python-3 compatibility to upstream and convince upstream to release new version.
Comment 8 marty rosenberg 2010-07-27 05:13:22 UTC
Created attachment 240273 [details, diff]
changes the ebuild to use python-2
Comment 9 marty rosenberg 2010-07-27 05:17:30 UTC
To ask the upstream maintainer, should I just email the person in the README file?
the project page at seems to not exist (and has not existed since i started using mved in 2006 or so)
If all else fails, I can host the files myself.
Comment 10 marty rosenberg 2010-09-15 02:28:54 UTC
Is anything happening with this? it looks like mved is still masked and marked for deletion (also, it has been more than 60 days since Jun. 12).
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2011-02-10 11:24:41 UTC
Removed from cvs.

Please if you are interested to have this software in main tree open a bug report where it has proper webpage bugtracker and repository. Or you can try to get your ebuild included in sunrise overlay.