Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 313491 - media-gfx/exact-image: Verify and potentially improve Python-related code
Summary: media-gfx/exact-image: Verify and potentially improve Python-related code
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 308257
  Show dependency tree
 
Reported: 2010-04-06 17:24 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2014-07-16 13:24 UTC (History)
1 user (show)

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


Attachments

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-04-06 17:24:26 UTC
- If this package can be used as a library and installs Python modules
  (*.so or *.py) into site-packages directories, then consider supporting
  installation for multiple Python versions.
  Please read section "Types of packages" in documentation [1] to decide
  if this package can support installation for multiple Python versions.

- 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.
    Please read section "Specification of dependency on Python" in
    documentation [1].

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

  - 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.)
    Please read section "Shebangs in installed scripts" in documentation [1].

  - 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.
[1] http://www.gentoo.org/proj/en/Python/developersguide.xml
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-06-21 20:50:17 UTC
I've fixed part of this bug with 0.8.1,  but there are still a lot of shebangs unconverted (in the custom Makefile's and configure script for build and install process). Somehow "ExactImage.py" doesn't get installed at all(?) now.
So, leaving this open.
Comment 2 Helmut Jarausch 2010-06-22 16:11:12 UTC
(In reply to comment #1)
> I've fixed part of this bug with 0.8.1,  but there are still a lot of shebangs
> unconverted (in the custom Makefile's and configure script for build and
> install process). Somehow "ExactImage.py" doesn't get installed at all(?) now.
> So, leaving this open.
> 

Hi,

while 0.8.1 installed just fine on one machine, if failed on a very similar
machine with
install: target `/var/tmp/portage/media-gfx/exact-image-0.8.1/image//usr/lib64/python2.6/site-packages/' is not a directory: No such file or directory

Have you any idea on what might be the reason?
Thanks,
Helmut.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-06-23 13:06:38 UTC
(In reply to comment #2)

It's not related to this bug.
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2011-11-15 14:37:07 UTC
  17 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> exact-image-0.8.1.ebuild,
  +files/exact-image-0.8.1-libpng15.patch:
  Fix building with libpng15 wrt #383203 by Diego Elio Pettenò
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2011-11-15 14:55:18 UTC
(In reply to comment #4)
>   17 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> exact-image-0.8.1.ebuild,
>   +files/exact-image-0.8.1-libpng15.patch:
>   Fix building with libpng15 wrt #383203 by Diego Elio Pettenò

no idea why you posted that here, or why this was closed... reopening
Comment 6 Pacho Ramos gentoo-dev 2012-10-06 11:48:14 UTC
+*exact-image-0.8.1-r1 (06 Oct 2012)
+
+  06 Oct 2012; Pacho Ramos <pacho@gentoo.org> +exact-image-0.8.1-r1.ebuild:
+  Include various fixes from Kevin Pyle, bug #339248.
+

All its tools look to run on my python3 setup :/
Comment 7 Pacho Ramos gentoo-dev 2014-07-16 13:24:43 UTC
(In reply to Pacho Ramos from comment #6)
> +*exact-image-0.8.1-r1 (06 Oct 2012)
> +
> +  06 Oct 2012; Pacho Ramos <pacho@gentoo.org> +exact-image-0.8.1-r1.ebuild:
> +  Include various fixes from Kevin Pyle, bug #339248.
> +
> 
> All its tools look to run on my python3 setup :/