Created attachment 385086 [details] google-apputils-0.4.0.ebuild I created an ebuild for dev-python/google-apputils-0.4.0 Can it be added to the tree as part of python herd? I'd need that for protobuf-2.6.0 .
PYTHON_COMPAT=( python{2_6,2_7} ) ugh py2.6 is deprecated and py3 is the hero of the present and future. Why no py3 support???
(In reply to Ian Delaney from comment #1) > PYTHON_COMPAT=( python{2_6,2_7} ) > > ugh py2.6 is deprecated and py3 is the hero of the present and future. Why > no py3 support??? It seems upstream doesn't support it. I don't mind anyone adding it after the initial version of the package is checked in, it's just this package is a dependency of protobuf-2.6.0. running install_scripts File "/usr/lib64/python3.3/site-packages/google/apputils/file_util.py", line 45 def Write(filename, contents, overwrite_existing=True, mode=0666, gid=None): ^ SyntaxError: invalid token File "/usr/lib64/python3.3/site-packages/google/apputils/app.py", line 95 print 'Try --helpfull to get a list of all flags.' ^ SyntaxError: invalid syntax File "/usr/lib64/python3.3/site-packages/google/apputils/basetest.py", line 1045 0600) ^ SyntaxError: invalid token File "/usr/lib64/python3.3/site-packages/google/apputils/run_script_module.py", line 122 print 'Stub script %s (auto-generated). Options:' % sys.argv[0] ^ SyntaxError: invalid syntax File "/usr/lib64/python3.3/site-packages/google/apputils/appcommands.py", line 290 except app.UsageError, error: ^ SyntaxError: invalid syntax
phajdan.jr; right seems py2 only. Packages not yet supporting py3 are now the exception. his is one. ebuild required completing. *google-apputils-0.4.0 (30 Sep 2014) 30 Sep 2014; Ian Delaney <idella4@gentoo.org> +google-apputils-0.4.0.ebuild, +metadata.xml: new package requestd by phajdan.jr in Bug #523180, required as a dep to support protobuf-2.6.0. test phase test phase; (e)seteup.py test is unusable. Promptly d'loads everything all over again virtualenv style. testsuite is a mixrute of .py exes and .sh exes mixed with a data .py file. Has 2 which are expected failures, in a shell script. If anyone is inclined feel free to have them patched to be removed or skipped. I can't see it myself, but ....
hmm, corrected final msg google-apputils-0.4.0 (30 Sep 2014) 30 Sep 2014; Ian Delaney <idella4@gentoo.org> +google-apputils-0.4.0.ebuild, +metadata.xml: new package requested by phajdan.jr in Bug #523180, required as a dep to support protobuf-2.6.0. test phase included