6 Commits

Author SHA1 Message Date
Michał Górny
064af661d0
*/*: [QA] Fix trivial cases of MissingTestRestrict
The result was achieved via the following pipeline:

    pkgcheck scan -c RestrictTestCheck -R FormatReporter \
      --format '{category}/{package}/{package}-{version}.ebuild' |
    xargs -n32 grep -L RESTRICT |
    xargs -n32 sed -i -e '/^IUSE=.*test/aRESTRICT="!test? ( test )"'

The resulting metadata was compared before and after the change.
Few Go ebuilds had to be fixed manually due to implicit RESTRICT=strip
added by the eclass.  Two ebuilds have to be fixed because of multiline
IUSE.

Suggested-by: Robin H. Johnson <robbat2@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/13942
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2019-12-11 00:22:38 +01:00
Michał Górny
e956857016
dev-python/ipykernel: Remove py2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2019-12-04 18:11:51 +01:00
Benda Xu
009d2b57b1
dev-python/ipykernel: do not alter the language field.
Previously, "python" has been replaced by "python3" in the
  "language" field of kernelspec.  That confuses client software such
  as emacs-ipython-notebook.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
2019-07-09 19:23:47 +08:00
Virgil Dupras
1f913035f1
dev-python/ipykernel: adjust dependencies on ipython
With ipython6+ dropping py2 and ipython having a circular dependency
with ipykernel and ipyparallel, things get messy and portage's error
messages are unhelpful unless we have a clean break in our dependencies.

With this commit, all <ipykernel-5 depend on <ipython-6 and all
>=ipykernel-5 depend on >=ipython-6. This makes portage's dependency
resolution much happier and results in helpful error messages indicating
what packages need "-python_targets_python2_7".

Bug: https://bugs.gentoo.org/684962
Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
2019-05-03 08:53:40 -04:00
Michał Górny
2db67a589e
*/*: Remove python3_4 PYTHON_COMPAT correctly
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2019-04-17 09:48:22 +02:00
Benda Xu
8490688307
dev-python/ipykernel: handle the multiple python3 case.
Bonus of verion bump.

Credit: Colin MacLean
Closes: https://bugs.gentoo.org/628222
Package-Manager: Portage-2.3.28, Repoman-2.3.9
2018-06-09 05:57:06 +09:00