/[gentoo-x86]/eclass/python-utils-r1.eclass
Gentoo

Log of /eclass/python-utils-r1.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Sun Nov 23 16:05:42 2014 UTC (5 days, 10 hours ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.65: +3 -3 lines
Diff to previous 1.65
Adjust _python_impl_supported as well.


Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Sun Nov 23 16:02:56 2014 UTC (5 days, 10 hours ago) by floppym
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64
Remove python3_2.


Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Sun Nov 9 22:27:58 2014 UTC (2 weeks, 5 days ago) by mgorny
Branch: MAIN
Changes since 1.63: +33 -1 lines
Diff to previous 1.63
Move the has_version checks on installed implementations to python_is_installed() function. Accept PyPy when the implementation is installed, even if the virtual is not.


Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Wed Nov 5 23:03:01 2014 UTC (3 weeks, 2 days ago) by mgorny
Branch: MAIN
Changes since 1.62: +12 -8 lines
Diff to previous 1.62
Add support for PyPy3.


Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Sat Oct 18 22:36:17 2014 UTC (5 weeks, 6 days ago) by floppym
Branch: MAIN
Changes since 1.61: +4 -2 lines
Diff to previous 1.61
Improve error messaging when python_export is called without a defined python implementation.


Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Thu Sep 4 14:52:58 2014 UTC (2 months, 3 weeks ago) by mgorny
Branch: MAIN
Changes since 1.60: +6 -3 lines
Diff to previous 1.60
Preserve all whitespace in shebangs, and add regression test for that. Also, prevent filename expansion when word-splitting it. Bug #522080.


Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sun Jul 6 11:45:20 2014 UTC (4 months, 3 weeks ago) by mgorny
Branch: MAIN
Changes since 1.59: +13 -31 lines
Diff to previous 1.59
Disable python2.6 support and clean up the related code.


Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sun Jun 29 14:24:22 2014 UTC (5 months ago) by floppym
Branch: MAIN
Changes since 1.58: +36 -1 lines
Diff to previous 1.58
Attempt to use a UTF-8 locale if one is available to avoid errors when setup.py calls open() with no encoding.


Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Thu Jun 19 15:10:55 2014 UTC (5 months, 1 week ago) by mgorny
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57
python_fix_shebang: properly unset local variables in loop iterations.


Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Thu Jun 19 08:08:10 2014 UTC (5 months, 1 week ago) by mgorny
Branch: MAIN
Changes since 1.56: +100 -52 lines
Diff to previous 1.56
Improve handling of corner cases in python_fix_shebang. Support --force and --quiet options, bug #505354. Add tests.


Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Mon May 26 16:13:35 2014 UTC (6 months ago) by mgorny
Branch: MAIN
Changes since 1.55: +97 -75 lines
Diff to previous 1.55
Move python_fix_shebang into python-utils-r1, therefore making it a part of public API for all eclasses.


Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Fri May 16 07:54:40 2014 UTC (6 months, 2 weeks ago) by mgorny
Branch: MAIN
Changes since 1.54: +5 -2 lines
Diff to previous 1.54
Accept files with already-rewritten shebangs in _python_rewrite_shebang. Necessary for proper python_doscript().


Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Thu May 1 13:34:02 2014 UTC (6 months, 4 weeks ago) by jlec
Branch: MAIN
Changes since 1.53: +2 -1 lines
Diff to previous 1.53
Add missing @DESCRIPTION


Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Tue Apr 8 16:05:30 2014 UTC (7 months, 3 weeks ago) by mgorny
Branch: MAIN
Changes since 1.52: +8 -22 lines
Diff to previous 1.52
Disable pypy2_0 and clean up after it.


Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Thu Mar 13 08:10:46 2014 UTC (8 months, 2 weeks ago) by mgorny
Branch: MAIN
Changes since 1.51: +66 -32 lines
Diff to previous 1.51
Add python_doexe() and python_newexe() to handle implementation-specific executables without shebangs.


Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Wed Mar 12 09:29:39 2014 UTC (8 months, 2 weeks ago) by mgorny
Branch: MAIN
Changes since 1.50: +7 -2 lines
Diff to previous 1.50
Use subslot operator deps on non-slotted PyPy.


Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Wed Mar 12 09:23:39 2014 UTC (8 months, 2 weeks ago) by mgorny
Branch: MAIN
Changes since 1.49: +8 -2 lines
Diff to previous 1.49
Add non-slotted pypy to the eclass.


Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Wed Mar 12 09:06:06 2014 UTC (8 months, 2 weeks ago) by mgorny
Branch: MAIN
Changes since 1.48: +2 -4 lines
Diff to previous 1.48
Revert ignorant pypy2_2 commit.


Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Wed Mar 12 08:18:38 2014 UTC (8 months, 2 weeks ago) by patrick
Branch: MAIN
Changes since 1.47: +5 -3 lines
Diff to previous 1.47
Modify python-utils-r1 for pypy2.2


Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Sat Feb 22 17:01:58 2014 UTC (9 months ago) by floppym
Branch: MAIN
Changes since 1.46: +5 -3 lines
Diff to previous 1.46
Add support for python3.4.


Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Fri Jan 17 14:35:11 2014 UTC (10 months, 1 week ago) by jer
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45
Spelling.


Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Wed Oct 30 19:14:02 2013 UTC (12 months, 4 weeks ago) by mgorny
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44
Switch the eclasses to use dev-lang/python-exec.


Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sun Oct 27 07:27:52 2013 UTC (13 months ago) by mgorny
Branch: MAIN
Changes since 1.43: +1 -39 lines
Diff to previous 1.43
Remove deprecated functions.


Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Wed Oct 9 19:08:18 2013 UTC (13 months, 2 weeks ago) by mgorny
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42
Fix pypy dependency.


Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Wed Oct 9 17:23:33 2013 UTC (13 months, 2 weeks ago) by mgorny
Branch: MAIN
Changes since 1.41: +15 -10 lines
Diff to previous 1.41
Bump dependencies on Python interpreters to require newest stable versions. Bug #463532.


Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Thu Sep 26 11:24:30 2013 UTC (14 months ago) by mgorny
Branch: MAIN
Changes since 1.40: +3 -4 lines
Diff to previous 1.40
Fix EAPI=4 on python-exec:2 since that is what pkgcore will require (the only EAPI=4 consumer right now).


Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Tue Sep 17 19:40:56 2013 UTC (14 months, 1 week ago) by mgorny
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39
Fix missing variable replacement in _python_ln_rel.


Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Tue Sep 17 17:28:04 2013 UTC (14 months, 1 week ago) by mgorny
Branch: MAIN
Changes since 1.38: +19 -19 lines
Diff to previous 1.38
Rename variables in _python_ln_rel to make it less confusing.


Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Tue Sep 17 13:33:55 2013 UTC (14 months, 1 week ago) by mgorny
Branch: MAIN
Changes since 1.37: +49 -5 lines
Diff to previous 1.37
Support python-exec:2.


Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Tue Sep 17 13:25:58 2013 UTC (14 months, 1 week ago) by mgorny
Branch: MAIN
Changes since 1.36: +31 -1 lines
Diff to previous 1.36
Introduce PYTHON_SCRIPTDIR for python-exec:2 script location.


Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Tue Sep 17 13:24:39 2013 UTC (14 months, 1 week ago) by mgorny
Branch: MAIN
Changes since 1.35: +8 -9 lines
Diff to previous 1.35
Clean up Python script install/wrapping functions.


Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Mon Sep 16 17:58:15 2013 UTC (14 months, 1 week ago) by mgorny
Branch: MAIN
Changes since 1.34: +10 -2 lines
Diff to previous 1.34
Deprecate python_get_PYTHON and python_get_EPYTHON.


Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Sun Sep 8 14:56:29 2013 UTC (14 months, 2 weeks ago) by mgorny
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33
Fix PYTHON_SITEDIR for Jython.


Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sun Sep 8 14:54:42 2013 UTC (14 months, 2 weeks ago) by mgorny
Branch: MAIN
Changes since 1.32: +4 -4 lines
Diff to previous 1.32
Do not export PYTHON_INCLUDEDIR on Jython, since it does not install headers.


Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Thu Sep 5 09:59:52 2013 UTC (14 months, 3 weeks ago) by mgorny
Branch: MAIN
Changes since 1.31: +6 -6 lines
Diff to previous 1.31
Disable Python 2.5, 3.1 and PyPy 1.9 in the eclass.


Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Wed Aug 28 22:04:16 2013 UTC (15 months ago) by mgorny
Branch: MAIN
Changes since 1.30: +19 -5 lines
Diff to previous 1.30
Introduce python_is_python3() to replace the common checks.


Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sat Jul 27 11:17:44 2013 UTC (16 months ago) by mgorny
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
Switch eclasses to use virtual/pypy (and therefore support pypy-bin).


Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Thu Jul 11 07:20:13 2013 UTC (16 months, 2 weeks ago) by mgorny
Branch: MAIN
Changes since 1.28: +10 -1 lines
Diff to previous 1.28
Add a safety check for using python_optimize() in pkg_*.


Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Thu Jul 11 06:57:37 2013 UTC (16 months, 2 weeks ago) by mgorny
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27
Fix typo in compileall call.


Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Fri Jun 7 01:11:31 2013 UTC (17 months, 3 weeks ago) by floppym
Branch: MAIN
Changes since 1.26: +26 -6 lines
Diff to previous 1.26
Improve docs for PYTHON and EPYTHON.


Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Fri May 31 17:50:33 2013 UTC (17 months, 4 weeks ago) by mgorny
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25
Remove here-doc write failure handlers due to bug #471926.


Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Fri May 31 17:40:35 2013 UTC (17 months, 4 weeks ago) by mgorny
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24
Use cat rather than echo for heredoc output :).


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Fri May 10 22:03:30 2013 UTC (18 months, 2 weeks ago) by mgorny
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23
Consistently create ${EPYTHON} subdir for Python wrappers. Fixes conflict between Python & vala wrappers, bug #469312.


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Tue Apr 30 05:36:19 2013 UTC (18 months, 4 weeks ago) by mgorny
Branch: MAIN
Changes since 1.22: +4 -3 lines
Diff to previous 1.22
Use bash built-ins rather than external tools.


Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sun Apr 14 00:10:00 2013 UTC (19 months, 2 weeks ago) by floppym
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21
Remove carriage-return from shebang before validating it, bug 465790 by ikelos.


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sun Apr 7 17:02:52 2013 UTC (19 months, 3 weeks ago) by mgorny
Branch: MAIN
Changes since 1.20: +95 -1 lines
Diff to previous 1.20
Create temporary symlinks for executables and pkg-config files, and add them to $PATH and $PKG_CONFIG_PATH respectively. This makes it easier for broken build systems to find Python, and gives us the possibility of dropping python-wrapper.


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Thu Mar 28 12:21:46 2013 UTC (20 months ago) by mgorny
Branch: MAIN
Changes since 1.19: +105 -3 lines
Diff to previous 1.19
Support obtaining CFLAGS and LIBS for the Python implementation (similarly to pkg-config or python-config).


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Thu Mar 7 20:58:51 2013 UTC (20 months, 3 weeks ago) by radhermit
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18
Add jython2_7.


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon Feb 4 13:53:54 2013 UTC (21 months, 3 weeks ago) by mgorny
Branch: MAIN
Changes since 1.17: +44 -1 lines
Diff to previous 1.17
Introduce python_get_library_path() to obtain the path to the Python library. Required by dev-python/shiboken.


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Feb 4 13:52:09 2013 UTC (21 months, 3 weeks ago) by mgorny
Branch: MAIN
Changes since 1.16: +37 -11 lines
Diff to previous 1.16
Introduce python_newscript(), to install scripts with renaming. Requested in bug #454640.


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Tue Jan 29 21:12:33 2013 UTC (21 months, 4 weeks ago) by mgorny
Branch: MAIN
Changes since 1.15: +6 -6 lines
Diff to previous 1.15
Disable pypy1.8 globally.


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sun Jan 27 16:35:33 2013 UTC (22 months ago) by mgorny
Branch: MAIN
Changes since 1.14: +30 -1 lines
Diff to previous 1.14
Introduce python_doheader(), to install headers specific to a Python implementation.


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Jan 21 19:28:16 2013 UTC (22 months, 1 week ago) by mgorny
Branch: MAIN
Changes since 1.13: +32 -1 lines
Diff to previous 1.13
Check PYTHON_COMPAT for validity, and support disabling implementations in the eclass.


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sat Jan 5 10:01:20 2013 UTC (22 months, 3 weeks ago) by mgorny
Branch: MAIN
Changes since 1.12: +19 -3 lines
Diff to previous 1.12
Support converting files with python2 and python3 shebangs.


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Wed Jan 2 21:12:44 2013 UTC (22 months, 3 weeks ago) by mgorny
Branch: MAIN
Changes since 1.11: +3 -4 lines
Diff to previous 1.11
Remove myself from explicit maintainers, it is enough to assign the bugs to Python team.


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sun Dec 30 14:17:29 2012 UTC (22 months, 4 weeks ago) by mgorny
Branch: MAIN
Changes since 1.10: +6 -6 lines
Diff to previous 1.10
Fix installing scripts & modules for Prefix, bug #448786.


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Thu Dec 27 22:56:53 2012 UTC (23 months ago) by mgorny
Branch: MAIN
Changes since 1.9: +44 -1 lines
Diff to previous 1.9
Introduce functions to get the includedir for Python.


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Thu Dec 20 23:35:17 2012 UTC (23 months, 1 week ago) by mgorny
Branch: MAIN
Changes since 1.8: +36 -1 lines
Diff to previous 1.8
Commonize the code for obtaining the Python interpreter dependency string.


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Thu Dec 20 06:05:23 2012 UTC (23 months, 1 week ago) by floppym
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7
Add pypy2_0.


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sat Dec 15 21:30:03 2012 UTC (23 months, 1 week ago) by mgorny
Branch: MAIN
Changes since 1.6: +12 -10 lines
Diff to previous 1.6
Fix the relative linking algo to handle /// in path.


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sat Dec 1 22:10:34 2012 UTC (23 months, 3 weeks ago) by mgorny
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5
Add a bit of debug.


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Fri Nov 30 11:43:14 2012 UTC (23 months, 4 weeks ago) by mgorny
Branch: MAIN
Changes since 1.4: +4 -7 lines
Diff to previous 1.4
Support all EAPIs.


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Fri Nov 30 11:40:15 2012 UTC (23 months, 4 weeks ago) by mgorny
Branch: MAIN
Changes since 1.3: +12 -1 lines
Diff to previous 1.3
Make python-single-r1 stand-alone, and blocking python-r1.


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Mon Nov 26 10:16:43 2012 UTC (2 years ago) by mgorny
Branch: MAIN
Changes since 1.2: +51 -14 lines
Diff to previous 1.2
Add python_optimize() to compile Python modules.


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sat Nov 24 21:07:14 2012 UTC (2 years ago) by mgorny
Branch: MAIN
Changes since 1.1: +12 -3 lines
Diff to previous 1.1
Fix EAPI checks, add double- and colliding include guards.


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sat Nov 24 20:51:14 2012 UTC (2 years ago) by mgorny
Branch: MAIN
Move common Python functions to python-utils-r1.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Sticky Tag:

  ViewVC Help
Powered by ViewVC 1.1.20