summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-10 23:02:54 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-11 00:22:38 +0100
commit064af661d0c9a31cecdf348632bc5603333a9149 (patch)
tree2202373a7cafcb8a761d32747d4f62263aed64d5 /dev-python
parentdev-python/passlib: keyworded 1.7.1-r2 for hppa, bug #700918 (diff)
downloadgentoo-064af661d0c9a31cecdf348632bc5603333a9149.tar.gz
gentoo-064af661d0c9a31cecdf348632bc5603333a9149.tar.bz2
gentoo-064af661d0c9a31cecdf348632bc5603333a9149.zip
*/*: [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>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/APScheduler/APScheduler-3.3.1.ebuild1
-rw-r--r--dev-python/APScheduler/APScheduler-3.5.3.ebuild1
-rw-r--r--dev-python/ImageHash/ImageHash-3.4.ebuild1
-rw-r--r--dev-python/ImageHash/ImageHash-3.7.ebuild1
-rw-r--r--dev-python/ImageHash/ImageHash-4.0.ebuild1
-rw-r--r--dev-python/Kivy/Kivy-1.10.0.ebuild1
-rw-r--r--dev-python/Kivy/Kivy-1.10.1.ebuild1
-rw-r--r--dev-python/Kivy/Kivy-1.9.1-r1.ebuild1
-rw-r--r--dev-python/Kivy/Kivy-1.9.1.ebuild1
-rw-r--r--dev-python/Numdifftools/Numdifftools-0.9.13.ebuild1
-rw-r--r--dev-python/Numdifftools/Numdifftools-0.9.14.ebuild1
-rw-r--r--dev-python/Numdifftools/Numdifftools-0.9.17.ebuild1
-rw-r--r--dev-python/PyECLib/PyECLib-1.5.0.ebuild3
-rw-r--r--dev-python/PyECLib/PyECLib-1.6.0.ebuild1
-rw-r--r--dev-python/PySDL2/PySDL2-0.9.6.ebuild1
-rw-r--r--dev-python/PyUtilib/PyUtilib-5.6.5.ebuild1
-rw-r--r--dev-python/URLObject/URLObject-2.4.2-r1.ebuild1
-rw-r--r--dev-python/URLObject/URLObject-2.4.3.ebuild1
-rw-r--r--dev-python/aadict/aadict-0.2.3.ebuild1
-rw-r--r--dev-python/abstract_rendering/abstract_rendering-0.5.1.ebuild1
-rw-r--r--dev-python/aioeventlet/aioeventlet-0.5.1-r1.ebuild1
-rw-r--r--dev-python/aiohttp-cors/aiohttp-cors-0.6.0.ebuild1
-rw-r--r--dev-python/aiohttp-cors/aiohttp-cors-0.7.0.ebuild1
-rw-r--r--dev-python/aiohttp-jinja2/aiohttp-jinja2-0.15.0.ebuild1
-rw-r--r--dev-python/alembic/alembic-0.9.3.ebuild1
-rw-r--r--dev-python/alembic/alembic-0.9.5.ebuild1
-rw-r--r--dev-python/alembic/alembic-0.9.7.ebuild1
-rw-r--r--dev-python/alembic/alembic-1.0.8.ebuild1
-rw-r--r--dev-python/algopy/algopy-0.5.3.ebuild1
-rw-r--r--dev-python/amqplib/amqplib-1.0.2-r1.ebuild1
-rw-r--r--dev-python/aniso8601/aniso8601-4.0.1.ebuild1
-rw-r--r--dev-python/ansicolor/ansicolor-9999.ebuild1
-rw-r--r--dev-python/ansimarkup/ansimarkup-1.4.0.ebuild1
-rw-r--r--dev-python/anyjson/anyjson-0.3.3-r1.ebuild1
-rw-r--r--dev-python/apispec/apispec-0.35.0.ebuild1
-rw-r--r--dev-python/argh/argh-0.26.2-r1.ebuild1
-rw-r--r--dev-python/argon2_cffi/argon2_cffi-19.1.0.ebuild1
-rw-r--r--dev-python/arrow/arrow-0.10.0.ebuild1
-rw-r--r--dev-python/arrow/arrow-0.12.1.ebuild1
-rw-r--r--dev-python/arrow/arrow-0.13.1.ebuild1
-rw-r--r--dev-python/asciitable/asciitable-0.8.0-r1.ebuild1
-rw-r--r--dev-python/asdf/asdf-1.2.1.ebuild1
-rw-r--r--dev-python/asset/asset-0.6.11.ebuild1
-rw-r--r--dev-python/assets/assets-0.1.1-r1.ebuild3
-rw-r--r--dev-python/astrodendro/astrodendro-0.2.0.ebuild1
-rw-r--r--dev-python/astroid/astroid-1.6.5.ebuild1
-rw-r--r--dev-python/astroid/astroid-2.2.5.ebuild1
-rw-r--r--dev-python/astroml/astroml-0.3.ebuild1
-rw-r--r--dev-python/astroplan/astroplan-0.2.1.ebuild1
-rw-r--r--dev-python/astroplan/astroplan-0.2.ebuild1
-rw-r--r--dev-python/astropy/astropy-1.2.1.ebuild1
-rw-r--r--dev-python/astropy/astropy-1.3.3.ebuild1
-rw-r--r--dev-python/astropy/astropy-2.0.1.ebuild1
-rw-r--r--dev-python/astroquery/astroquery-0.3.6.ebuild1
-rw-r--r--dev-python/astroscrappy/astroscrappy-1.0.3.ebuild1
-rw-r--r--dev-python/astroscrappy/astroscrappy-1.0.5.ebuild1
-rw-r--r--dev-python/async_timeout/async_timeout-1.2.1.ebuild1
-rw-r--r--dev-python/autobahn/autobahn-17.10.1.ebuild1
-rw-r--r--dev-python/autobahn/autobahn-17.5.1-r2.ebuild1
-rw-r--r--dev-python/autobahn/autobahn-17.9.1.ebuild1
-rw-r--r--dev-python/autobahn/autobahn-17.9.2.ebuild1
-rw-r--r--dev-python/autobahn/autobahn-18.3.1.ebuild1
-rw-r--r--dev-python/automat/automat-0.5.0.ebuild1
-rw-r--r--dev-python/automat/automat-0.6.0.ebuild1
-rw-r--r--dev-python/automat/automat-0.7.0.ebuild1
-rw-r--r--dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3.ebuild3
-rw-r--r--dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.4-r1.ebuild1
-rw-r--r--dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.5.ebuild3
-rw-r--r--dev-python/backports-lzma/backports-lzma-0.0.10.ebuild3
-rw-r--r--dev-python/backports-lzma/backports-lzma-0.0.12.ebuild3
-rw-r--r--dev-python/backports-lzma/backports-lzma-0.0.13.ebuild3
-rw-r--r--dev-python/backports-unittest-mock/backports-unittest-mock-1.3.ebuild1
-rw-r--r--dev-python/backports-unittest-mock/backports-unittest-mock-1.4.ebuild1
-rw-r--r--dev-python/backports-unittest-mock/backports-unittest-mock-1.5.ebuild1
-rw-r--r--dev-python/bcolz/bcolz-1.1.0.ebuild1
-rw-r--r--dev-python/bcolz/bcolz-1.1.2.ebuild1
-rw-r--r--dev-python/bcrypt/bcrypt-3.1.6.ebuild1
-rw-r--r--dev-python/beaker/beaker-1.6.4-r1.ebuild3
-rw-r--r--dev-python/beaker/beaker-1.8.1.ebuild1
-rw-r--r--dev-python/beautifulsoup/beautifulsoup-4.5.1.ebuild1
-rw-r--r--dev-python/beautifulsoup/beautifulsoup-4.6.3.ebuild3
-rw-r--r--dev-python/bibtexparser/bibtexparser-0.6.2.ebuild1
-rw-r--r--dev-python/bibtexparser/bibtexparser-1.1.0.ebuild1
-rw-r--r--dev-python/billiard/billiard-3.3.0.23.ebuild1
-rw-r--r--dev-python/billiard/billiard-3.5.0.0.ebuild1
-rw-r--r--dev-python/billiard/billiard-3.5.0.2.ebuild1
-rw-r--r--dev-python/binaryornot/binaryornot-0.4.3.ebuild1
-rw-r--r--dev-python/biplist/biplist-1.0.1.ebuild1
-rw-r--r--dev-python/biplist/biplist-1.0.2.ebuild1
-rw-r--r--dev-python/blaze/blaze-0.10.2.ebuild1
-rw-r--r--dev-python/blaze/blaze-0.11.3.ebuild1
-rw-r--r--dev-python/bleach/bleach-2.1.3.ebuild1
-rw-r--r--dev-python/bleach/bleach-3.0.2.ebuild1
-rw-r--r--dev-python/blessings/blessings-1.6-r1.ebuild1
-rw-r--r--dev-python/blessings/blessings-1.6.1.ebuild1
-rw-r--r--dev-python/blessings/blessings-1.7.ebuild1
-rw-r--r--dev-python/blockdiag/blockdiag-1.5.3-r1.ebuild1
-rw-r--r--dev-python/blosc/blosc-1.2.8.ebuild1
-rw-r--r--dev-python/blosc/blosc-1.4.4.ebuild1
-rw-r--r--dev-python/blosc/blosc-1.5.0.ebuild1
-rw-r--r--dev-python/blosc/blosc-1.5.1.ebuild1
-rw-r--r--dev-python/bokeh/bokeh-0.11.1.ebuild1
-rw-r--r--dev-python/bokeh/bokeh-0.12.6.ebuild1
-rw-r--r--dev-python/boto3/boto3-1.10.2.ebuild1
-rw-r--r--dev-python/boto3/boto3-1.9.122.ebuild1
-rw-r--r--dev-python/boto3/boto3-1.9.4-r1.ebuild1
-rw-r--r--dev-python/boto3/boto3-9999.ebuild1
-rw-r--r--dev-python/botocore/botocore-1.12.122.ebuild1
-rw-r--r--dev-python/botocore/botocore-1.12.205.ebuild1
-rw-r--r--dev-python/botocore/botocore-1.12.210.ebuild1
-rw-r--r--dev-python/botocore/botocore-1.12.223.ebuild1
-rw-r--r--dev-python/botocore/botocore-1.12.251.ebuild1
-rw-r--r--dev-python/botocore/botocore-1.12.4-r1.ebuild1
-rw-r--r--dev-python/botocore/botocore-1.12.81.ebuild1
-rw-r--r--dev-python/botocore/botocore-1.13.2.ebuild1
-rw-r--r--dev-python/bottle/bottle-0.12.12.ebuild1
-rw-r--r--dev-python/bottle/bottle-0.12.13.ebuild1
-rw-r--r--dev-python/bottle/bottle-0.12.16.ebuild1
-rw-r--r--dev-python/bottleneck/bottleneck-1.2.1.ebuild1
-rw-r--r--dev-python/buzhug/buzhug-1.8-r1.ebuild3
-rw-r--r--dev-python/cached-property/cached-property-1.3.1.ebuild1
-rw-r--r--dev-python/cached-property/cached-property-1.5.1.ebuild1
-rw-r--r--dev-python/cairocffi/cairocffi-0.8.0.ebuild1
-rw-r--r--dev-python/cairocffi/cairocffi-0.9.0.ebuild1
-rw-r--r--dev-python/cairocffi/cairocffi-1.0.2.ebuild1
-rw-r--r--dev-python/catkin_pkg/catkin_pkg-0.4.12.ebuild1
-rw-r--r--dev-python/catkin_pkg/catkin_pkg-0.4.13.ebuild1
-rw-r--r--dev-python/catkin_pkg/catkin_pkg-9999.ebuild1
-rw-r--r--dev-python/ccdproc/ccdproc-1.1.0.ebuild1
-rw-r--r--dev-python/ccdproc/ccdproc-1.2.0.ebuild1
-rw-r--r--dev-python/celery/celery-4.1.0.ebuild1
-rw-r--r--dev-python/cement/cement-2.0.2.ebuild1
-rw-r--r--dev-python/chai/chai-1.1.1.ebuild1
-rw-r--r--dev-python/chameleon/chameleon-2.25.ebuild1
-rw-r--r--dev-python/cheroot/cheroot-6.0.0-r1.ebuild1
-rw-r--r--dev-python/cheroot/cheroot-6.0.0.ebuild1
-rw-r--r--dev-python/cherrypy/cherrypy-13.1.0-r1.ebuild1
-rw-r--r--dev-python/cherrypy/cherrypy-13.1.0.ebuild1
-rw-r--r--dev-python/click-log/click-log-0.1.8.ebuild1
-rw-r--r--dev-python/click-log/click-log-0.2.1.ebuild1
-rw-r--r--dev-python/click-log/click-log-0.3.2.ebuild1
-rw-r--r--dev-python/click-threading/click-threading-0.3.0.ebuild1
-rw-r--r--dev-python/click-threading/click-threading-0.4.4.ebuild1
-rw-r--r--dev-python/click/click-5.1.ebuild1
-rw-r--r--dev-python/click/click-6.6.ebuild1
-rw-r--r--dev-python/click/click-6.7-r1.ebuild1
-rw-r--r--dev-python/click/click-6.7.ebuild1
-rw-r--r--dev-python/click/click-7.0.ebuild1
-rw-r--r--dev-python/cliff/cliff-2.12.0-r2.ebuild1
-rw-r--r--dev-python/cliff/cliff-2.12.0.ebuild1
-rw-r--r--dev-python/clint/clint-0.5.1-r1.ebuild1
-rw-r--r--dev-python/clint/clint-0.5.1.ebuild1
-rw-r--r--dev-python/colander/colander-1.3.1.ebuild1
-rw-r--r--dev-python/colorama/colorama-0.3.9-r1.ebuild1
-rw-r--r--dev-python/colorama/colorama-0.4.0.ebuild1
-rw-r--r--dev-python/colorama/colorama-0.4.1.ebuild1
-rw-r--r--dev-python/coloredlogs/coloredlogs-6.1.ebuild1
-rw-r--r--dev-python/colorlog/colorlog-3.1.4.ebuild1
-rw-r--r--dev-python/colorspacious/colorspacious-1.1.0.ebuild1
-rw-r--r--dev-python/columnize/columnize-0.3.5-r1.ebuild3
-rw-r--r--dev-python/commonmark/commonmark-0.7.5.ebuild1
-rw-r--r--dev-python/commonmark/commonmark-0.8.1.ebuild1
-rw-r--r--dev-python/constantly/constantly-15.1.0-r1.ebuild1
-rw-r--r--dev-python/construct/construct-2.8.21.ebuild1
-rw-r--r--dev-python/cookies/cookies-2.2.1.ebuild1
-rw-r--r--dev-python/croniter/croniter-0.3.17.ebuild1
-rw-r--r--dev-python/croniter/croniter-0.3.29.ebuild1
-rw-r--r--dev-python/croniter/croniter-0.3.30.ebuild1
-rw-r--r--dev-python/crumbs/crumbs-2.1.0.ebuild1
-rw-r--r--dev-python/curtsies/curtsies-0.2.11.ebuild1
-rw-r--r--dev-python/curtsies/curtsies-0.3.0-r1.ebuild1
-rw-r--r--dev-python/curtsies/curtsies-0.3.0.ebuild1
-rw-r--r--dev-python/cython/cython-0.29.4.ebuild1
-rw-r--r--dev-python/cytoolz/cytoolz-0.10.0.ebuild1
-rw-r--r--dev-python/cytoolz/cytoolz-0.8.0.ebuild1
-rw-r--r--dev-python/cytoolz/cytoolz-0.8.2.ebuild1
-rw-r--r--dev-python/dask/dask-0.15.1.ebuild1
-rw-r--r--dev-python/dask/dask-1.2.0.ebuild1
-rw-r--r--dev-python/datashape/datashape-0.5.4.ebuild1
-rw-r--r--dev-python/dbus-python/dbus-python-1.2.4.ebuild1
-rw-r--r--dev-python/dbusmock/dbusmock-0.18.2.ebuild1
-rw-r--r--dev-python/ddt/ddt-1.1.1.ebuild1
-rw-r--r--dev-python/debtcollector/debtcollector-1.21.0.ebuild1
-rw-r--r--dev-python/denonavr/denonavr-0.7.10.ebuild1
-rw-r--r--dev-python/denonavr/denonavr-0.7.9.ebuild1
-rw-r--r--dev-python/deprecated/deprecated-1.2.6.ebuild1
-rw-r--r--dev-python/deprecation/deprecation-2.0.6.ebuild1
-rw-r--r--dev-python/deprecation/deprecation-2.0.7.ebuild1
-rw-r--r--dev-python/dexml/dexml-0.5.1.ebuild1
-rw-r--r--dev-python/diskcache/diskcache-2.8.3.ebuild1
-rw-r--r--dev-python/diskcache/diskcache-3.1.0.ebuild1
-rw-r--r--dev-python/disqus-python/disqus-python-0.4.2.ebuild3
-rw-r--r--dev-python/distributed/distributed-1.18.0-r1.ebuild1
-rw-r--r--dev-python/distributed/distributed-1.18.0.ebuild1
-rw-r--r--dev-python/django-auth-ldap/django-auth-ldap-1.2.2.ebuild3
-rw-r--r--dev-python/django-auth-ldap/django-auth-ldap-1.2.7.ebuild3
-rw-r--r--dev-python/django-endless-pagination/django-endless-pagination-2.0.ebuild3
-rw-r--r--dev-python/django-ldapdb/django-ldapdb-0.3.2.ebuild3
-rw-r--r--dev-python/django-ldapdb/django-ldapdb-0.4.0.ebuild3
-rw-r--r--dev-python/django-oauth-plus/django-oauth-plus-2.2.8.ebuild3
-rw-r--r--dev-python/django-recaptcha/django-recaptcha-1.0.5.ebuild1
-rw-r--r--dev-python/django-xslt/django-xslt-0.4.5-r1.ebuild3
-rw-r--r--dev-python/django/django-1.11.20.ebuild1
-rw-r--r--dev-python/django/django-1.11.21.ebuild1
-rw-r--r--dev-python/django/django-2.1.8.ebuild1
-rw-r--r--dev-python/django/django-2.1.9.ebuild1
-rw-r--r--dev-python/django/django-2.2.1.ebuild1
-rw-r--r--dev-python/django/django-2.2.2.ebuild1
-rw-r--r--dev-python/dnspython/dnspython-1.15.0-r1.ebuild1
-rw-r--r--dev-python/docker-py/docker-py-2.7.0.ebuild1
-rw-r--r--dev-python/docker-py/docker-py-3.6.0.ebuild1
-rw-r--r--dev-python/docker-py/docker-py-3.7.1.ebuild1
-rw-r--r--dev-python/docker-py/docker-py-3.7.3.ebuild1
-rw-r--r--dev-python/dockerpty/dockerpty-0.4.1.ebuild1
-rw-r--r--dev-python/doctest-ignore-unicode/doctest-ignore-unicode-0.1.2.ebuild1
-rw-r--r--dev-python/dogpile-cache/dogpile-cache-0.6.4.ebuild1
-rw-r--r--dev-python/dogpile-cache/dogpile-cache-0.7.1.ebuild1
-rw-r--r--dev-python/dogpile-core/dogpile-core-0.4.1.ebuild1
-rw-r--r--dev-python/doit-py/doit-py-0.4.0.ebuild1
-rw-r--r--dev-python/dominate/dominate-2.3.1.ebuild1
-rw-r--r--dev-python/dominate/dominate-2.3.5.ebuild1
-rw-r--r--dev-python/dominate/dominate-2.4.0.ebuild1
-rw-r--r--dev-python/doublex-expects/doublex-expects-0.7.0_rc2.ebuild1
-rw-r--r--dev-python/doublex/doublex-1.8.1.ebuild1
-rw-r--r--dev-python/dugong/dugong-3.7.1.ebuild1
-rw-r--r--dev-python/dugong/dugong-3.7.2.ebuild1
-rw-r--r--dev-python/dugong/dugong-3.7.3.ebuild1
-rw-r--r--dev-python/dulwich/dulwich-0.18.5.ebuild1
-rw-r--r--dev-python/dulwich/dulwich-0.18.6.ebuild1
-rw-r--r--dev-python/dulwich/dulwich-0.19.4.ebuild1
-rw-r--r--dev-python/dulwich/dulwich-0.19.6.ebuild1
-rw-r--r--dev-python/dynd-python/dynd-python-0.7.2-r1.ebuild1
-rw-r--r--dev-python/ebuildtester/ebuildtester-0.1.12.ebuild1
-rw-r--r--dev-python/ebuildtester/ebuildtester-0.1.13.ebuild1
-rw-r--r--dev-python/ebuildtester/ebuildtester-0.1.14.ebuild1
-rw-r--r--dev-python/ed25519ll/ed25519ll-0.6.ebuild3
-rw-r--r--dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild1
-rw-r--r--dev-python/emcee/emcee-2.1.0.ebuild1
-rw-r--r--dev-python/emcee/emcee-2.2.1.ebuild1
-rw-r--r--dev-python/entrypoints/entrypoints-0.2.3.ebuild1
-rw-r--r--dev-python/enzyme/enzyme-0.4.1-r2.ebuild1
-rw-r--r--dev-python/enzyme/enzyme-9999.ebuild1
-rw-r--r--dev-python/epsilon/epsilon-0.7.0.ebuild3
-rw-r--r--dev-python/epsilon/epsilon-0.7.1.ebuild3
-rw-r--r--dev-python/errorhandler/errorhandler-2.0.1.ebuild1
-rw-r--r--dev-python/et_xmlfile/et_xmlfile-1.0.1.ebuild1
-rw-r--r--dev-python/eventlet/eventlet-0.18.4.ebuild1
-rw-r--r--dev-python/eventlet/eventlet-0.20.0-r1.ebuild1
-rw-r--r--dev-python/eventlet/eventlet-0.20.1-r1.ebuild1
-rw-r--r--dev-python/eventlet/eventlet-0.21.0-r1.ebuild1
-rw-r--r--dev-python/eventlet/eventlet-0.24.1-r1.ebuild1
-rw-r--r--dev-python/eventlet/eventlet-0.24.1.ebuild1
-rw-r--r--dev-python/eventlet/eventlet-0.25.1.ebuild1
-rw-r--r--dev-python/expects/expects-0.8.0.ebuild1
-rw-r--r--dev-python/extras/extras-0.0.3.ebuild1
-rw-r--r--dev-python/extras/extras-1.0.0.ebuild1
-rw-r--r--dev-python/falcon/falcon-0.1.6.ebuild3
-rw-r--r--dev-python/falcon/falcon-0.1.7.ebuild3
-rw-r--r--dev-python/falcon/falcon-0.1.8.ebuild1
-rw-r--r--dev-python/falcon/falcon-0.1.9.ebuild1
-rw-r--r--dev-python/falcon/falcon-1.3.0.ebuild1
-rw-r--r--dev-python/feedgenerator/feedgenerator-1.9.ebuild1
-rw-r--r--dev-python/fixtures/fixtures-1.4.0.ebuild1
-rw-r--r--dev-python/fixtures/fixtures-3.0.0.ebuild1
-rw-r--r--dev-python/flake8-polyfill/flake8-polyfill-1.0.1.ebuild1
-rw-r--r--dev-python/flake8/flake8-2.1.0.ebuild1
-rw-r--r--dev-python/flake8/flake8-2.2.5.ebuild1
-rw-r--r--dev-python/flake8/flake8-2.5.4.ebuild1
-rw-r--r--dev-python/flake8/flake8-3.5.0.ebuild1
-rw-r--r--dev-python/flake8/flake8-3.6.0.ebuild1
-rw-r--r--dev-python/flask-api/flask-api-1.0.ebuild1
-rw-r--r--dev-python/flask-api/flask-api-1.1.ebuild1
-rw-r--r--dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild1
-rw-r--r--dev-python/flask-babel/flask-babel-0.11.2-r1.ebuild1
-rw-r--r--dev-python/flask-babel/flask-babel-0.11.2-r2.ebuild1
-rw-r--r--dev-python/flask-bootstrap/flask-bootstrap-3.3.6.0.ebuild1
-rw-r--r--dev-python/flask-bootstrap/flask-bootstrap-3.3.7.0.ebuild1
-rw-r--r--dev-python/flask-bootstrap/flask-bootstrap-3.3.7.1.ebuild1
-rw-r--r--dev-python/flask-cors/flask-cors-1.8.0.ebuild1
-rw-r--r--dev-python/flask-cors/flask-cors-1.9.0.ebuild1
-rw-r--r--dev-python/flask-cors/flask-cors-2.1.0.ebuild1
-rw-r--r--dev-python/flask-debug/flask-debug-0.4.3.ebuild1
-rw-r--r--dev-python/flask-login/flask-login-0.3.2-r1.ebuild1
-rw-r--r--dev-python/flask-login/flask-login-0.4.1.ebuild1
-rw-r--r--dev-python/flask-mail/flask-mail-0.9.1-r1.ebuild1
-rw-r--r--dev-python/flask-migrate/flask-migrate-2.1.1-r1.ebuild1
-rw-r--r--dev-python/flask-migrate/flask-migrate-2.1.1.ebuild1
-rw-r--r--dev-python/flask-migrate/flask-migrate-2.5.2.ebuild1
-rw-r--r--dev-python/flask-nav/flask-nav-0.6-r1.ebuild1
-rw-r--r--dev-python/flask-paginate/flask-paginate-0.5.3-r1.ebuild1
-rw-r--r--dev-python/flask-paranoid/flask-paranoid-0.2.0-r1.ebuild1
-rw-r--r--dev-python/flask-principal/flask-principal-0.4.0-r1.ebuild1
-rw-r--r--dev-python/flask-restful/flask-restful-0.3.5-r1.ebuild1
-rw-r--r--dev-python/flask-restful/flask-restful-0.3.6.ebuild1
-rw-r--r--dev-python/flask-restful/flask-restful-0.3.7.ebuild1
-rw-r--r--dev-python/flask-script/flask-script-2.0.5-r1.ebuild1
-rw-r--r--dev-python/flask-script/flask-script-2.0.6.ebuild1
-rw-r--r--dev-python/flask-sqlalchemy/flask-sqlalchemy-2.3.2.ebuild1
-rw-r--r--dev-python/flask-sqlalchemy/flask-sqlalchemy-2.4.1.ebuild1
-rw-r--r--dev-python/flask-themes/flask-themes-0.1.3_p20180112.ebuild1
-rw-r--r--dev-python/flask-uploads/flask-uploads-0.2.0-r1.ebuild1
-rw-r--r--dev-python/flask-wtf/flask-wtf-0.14.2-r1.ebuild1
-rw-r--r--dev-python/flexmock/flexmock-0.10.2.ebuild1
-rw-r--r--dev-python/flexmock/flexmock-0.10.3.ebuild1
-rw-r--r--dev-python/flexmock/flexmock-0.10.4.ebuild1
-rw-r--r--dev-python/fonttools/fonttools-3.24.2.ebuild1
-rw-r--r--dev-python/fonttools/fonttools-3.44.0.ebuild1
-rw-r--r--dev-python/fonttools/fonttools-4.0.1.ebuild1
-rw-r--r--dev-python/foolscap/foolscap-0.11.0.ebuild3
-rw-r--r--dev-python/foolscap/foolscap-0.7.0.ebuild3
-rw-r--r--dev-python/fqdn/fqdn-1.1.1.ebuild1
-rw-r--r--dev-python/freezegun/freezegun-0.3.10.ebuild1
-rw-r--r--dev-python/freezegun/freezegun-0.3.11.ebuild1
-rw-r--r--dev-python/frozen-flask/frozen-flask-0.11-r1.ebuild3
-rw-r--r--dev-python/frozen-flask/frozen-flask-0.15.ebuild3
-rw-r--r--dev-python/fudge/fudge-0.9.6-r1.ebuild3
-rw-r--r--dev-python/fudge/fudge-1.1.0.ebuild1
-rw-r--r--dev-python/funcparserlib/funcparserlib-0.3.6.ebuild1
-rw-r--r--dev-python/funcsigs/funcsigs-1.0.2-r1.ebuild1
-rw-r--r--dev-python/gammapy/gammapy-0.6.ebuild1
-rw-r--r--dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.1-r1.ebuild1
-rw-r--r--dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.1.ebuild1
-rw-r--r--dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.4.ebuild1
-rw-r--r--dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.5.ebuild1
-rw-r--r--dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild1
-rw-r--r--dev-python/geopy/geopy-1.11.0.ebuild1
-rw-r--r--dev-python/gevent-socketio/gevent-socketio-0.3.6.ebuild3
-rw-r--r--dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild1
-rw-r--r--dev-python/geventhttpclient/geventhttpclient-1.3.1.ebuild1
-rw-r--r--dev-python/ginga/ginga-2.6.5.ebuild3
-rw-r--r--dev-python/gitdb2/gitdb2-2.0.3.ebuild1
-rw-r--r--dev-python/gitlabform/gitlabform-1.0.7.ebuild1
-rw-r--r--dev-python/gitlabform/gitlabform-1.3.0.ebuild1
-rw-r--r--dev-python/gitlabform/gitlabform-1.5.0.ebuild1
-rw-r--r--dev-python/globre/globre-0.1.4.ebuild1
-rw-r--r--dev-python/globre/globre-0.1.5.ebuild1
-rw-r--r--dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.2.ebuild1
-rw-r--r--dev-python/google-api-python-client/google-api-python-client-1.5.3.ebuild1
-rw-r--r--dev-python/google-api-python-client/google-api-python-client-1.6.2.ebuild1
-rw-r--r--dev-python/google-api-python-client/google-api-python-client-1.6.5.ebuild1
-rw-r--r--dev-python/google-api-python-client/google-api-python-client-1.7.0.ebuild1
-rw-r--r--dev-python/google-api-python-client/google-api-python-client-1.7.9.ebuild1
-rw-r--r--dev-python/google-apputils/google-apputils-0.4.2-r1.ebuild3
-rw-r--r--dev-python/google-apputils/google-apputils-0.4.2-r2.ebuild3
-rw-r--r--dev-python/google-auth-httplib2/google-auth-httplib2-0.0.2.ebuild1
-rw-r--r--dev-python/google-auth-httplib2/google-auth-httplib2-0.0.3.ebuild1
-rw-r--r--dev-python/google-auth/google-auth-1.0.1.ebuild1
-rw-r--r--dev-python/google-auth/google-auth-1.1.0.ebuild1
-rw-r--r--dev-python/google-auth/google-auth-1.4.1.ebuild1
-rw-r--r--dev-python/google-auth/google-auth-1.6.3.ebuild1
-rw-r--r--dev-python/google-reauth-python/google-reauth-python-0.1.0.ebuild1
-rw-r--r--dev-python/gql/gql-0.1.0.ebuild3
-rw-r--r--dev-python/graphviz/graphviz-0.10.1.ebuild1
-rw-r--r--dev-python/graphviz/graphviz-0.13.ebuild1
-rw-r--r--dev-python/graphviz/graphviz-0.7.1.ebuild3
-rw-r--r--dev-python/greenstalk/greenstalk-1.0.1.ebuild1
-rw-r--r--dev-python/guessit/guessit-3.0.0.ebuild1
-rw-r--r--dev-python/guessit/guessit-9999.ebuild1
-rw-r--r--dev-python/gwcs/gwcs-0.7.ebuild1
-rw-r--r--dev-python/h11/h11-0.7.0.ebuild1
-rw-r--r--dev-python/h11/h11-0.8.1.ebuild1
-rw-r--r--dev-python/h5py/h5py-2.7.0.ebuild1
-rw-r--r--dev-python/h5py/h5py-2.7.1.ebuild1
-rw-r--r--dev-python/h5py/h5py-2.9.0.ebuild1
-rw-r--r--dev-python/hacking/hacking-0.10.3.ebuild1
-rw-r--r--dev-python/hacking/hacking-0.9.2.ebuild1
-rw-r--r--dev-python/hacking/hacking-0.9.6.ebuild1
-rw-r--r--dev-python/hacking/hacking-1.1.0.ebuild1
-rw-r--r--dev-python/hcs-utils/hcs-utils-1.5.ebuild3
-rw-r--r--dev-python/hcs-utils/hcs-utils-2.0.ebuild3
-rw-r--r--dev-python/healpy/healpy-1.10.3.ebuild1
-rw-r--r--dev-python/healpy/healpy-1.11.0.ebuild1
-rw-r--r--dev-python/hgdistver/hgdistver-0.25.ebuild1
-rw-r--r--dev-python/hglib/hglib-1.5.ebuild3
-rw-r--r--dev-python/hglib/hglib-2.1.ebuild1
-rw-r--r--dev-python/hiro/hiro-0.2.ebuild1
-rw-r--r--dev-python/hiro/hiro-0.3.ebuild1
-rw-r--r--dev-python/hiro/hiro-0.5.ebuild1
-rw-r--r--dev-python/hp3parclient/hp3parclient-2.0.0.ebuild3
-rw-r--r--dev-python/hp3parclient/hp3parclient-3.0.0.ebuild3
-rw-r--r--dev-python/html5lib/html5lib-0.9999999.ebuild1
-rw-r--r--dev-python/html5lib/html5lib-0.999999999.ebuild1
-rw-r--r--dev-python/httpauth/httpauth-0.3.ebuild1
-rw-r--r--dev-python/httpretty/httpretty-0.8.14.ebuild1
-rw-r--r--dev-python/humanfriendly/humanfriendly-4.17.ebuild1
-rw-r--r--dev-python/humanize/humanize-0.5.1.ebuild1
-rw-r--r--dev-python/icalendar/icalendar-3.11.7-r1.ebuild1
-rw-r--r--dev-python/icalendar/icalendar-3.11.7.ebuild1
-rw-r--r--dev-python/icalendar/icalendar-3.9.2.ebuild1
-rw-r--r--dev-python/icalendar/icalendar-4.0.3.ebuild1
-rw-r--r--dev-python/imapclient/imapclient-0.13.ebuild1
-rw-r--r--dev-python/imapclient/imapclient-2.1.0.ebuild1
-rw-r--r--dev-python/imexam/imexam-0.7.1.ebuild3
-rw-r--r--dev-python/iminuit/iminuit-1.2.ebuild1
-rw-r--r--dev-python/iminuit/iminuit-1.3.3.ebuild1
-rw-r--r--dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild1
-rw-r--r--dev-python/inflect/inflect-0.2.5.ebuild1
-rw-r--r--dev-python/inflect/inflect-2.1.0.ebuild1
-rw-r--r--dev-python/inflection/inflection-0.3.1.ebuild1
-rw-r--r--dev-python/influxdb/influxdb-2.12.0.ebuild1
-rw-r--r--dev-python/inotifyx/inotifyx-0.2.2.ebuild3
-rw-r--r--dev-python/intervaltree/intervaltree-2.1.0.ebuild1
-rw-r--r--dev-python/iocapture/iocapture-0.1.2-r1.ebuild1
-rw-r--r--dev-python/iocapture/iocapture-0.1.2-r2.ebuild1
-rw-r--r--dev-python/ipykernel/ipykernel-4.6.1-r2.ebuild1
-rw-r--r--dev-python/ipykernel/ipykernel-4.8.2.ebuild1
-rw-r--r--dev-python/ipykernel/ipykernel-5.1.0.ebuild1
-rw-r--r--dev-python/ipyparallel/ipyparallel-6.0.2-r1.ebuild1
-rw-r--r--dev-python/ipyparallel/ipyparallel-6.2.3.ebuild1
-rw-r--r--dev-python/ipython/ipython-5.4.1-r2.ebuild1
-rw-r--r--dev-python/ipython_genutils/ipython_genutils-0.2.0.ebuild1
-rw-r--r--dev-python/ipywidgets/ipywidgets-7.0.0.ebuild1
-rw-r--r--dev-python/ipywidgets/ipywidgets-7.4.2-r1.ebuild1
-rw-r--r--dev-python/ipywidgets/ipywidgets-7.4.2.ebuild1
-rw-r--r--dev-python/irc/irc-16.3.ebuild1
-rw-r--r--dev-python/irc/irc-17.0.ebuild1
-rw-r--r--dev-python/irc/irc-17.1.ebuild1
-rw-r--r--dev-python/isodate/isodate-0.6.0.ebuild1
-rw-r--r--dev-python/jaraco-classes/jaraco-classes-1.4.ebuild1
-rw-r--r--dev-python/jaraco-classes/jaraco-classes-1.5-r1.ebuild1
-rw-r--r--dev-python/jaraco-classes/jaraco-classes-2.0.ebuild1
-rw-r--r--dev-python/jaraco-collections/jaraco-collections-1.5.3-r1.ebuild1
-rw-r--r--dev-python/jaraco-collections/jaraco-collections-1.6.0-r1.ebuild1
-rw-r--r--dev-python/jaraco-collections/jaraco-collections-2.0.ebuild1
-rw-r--r--dev-python/jaraco-collections/jaraco-collections-2.1.ebuild1
-rw-r--r--dev-python/jaraco-functools/jaraco-functools-1.19-r1.ebuild1
-rw-r--r--dev-python/jaraco-functools/jaraco-functools-1.20-r1.ebuild1
-rw-r--r--dev-python/jaraco-functools/jaraco-functools-2.0.ebuild1
-rw-r--r--dev-python/jaraco-itertools/jaraco-itertools-2.3-r1.ebuild1
-rw-r--r--dev-python/jaraco-itertools/jaraco-itertools-3.0.0-r1.ebuild1
-rw-r--r--dev-python/jaraco-itertools/jaraco-itertools-4.4.2.ebuild1
-rw-r--r--dev-python/jaraco-logging/jaraco-logging-1.5.2-r1.ebuild1
-rw-r--r--dev-python/jaraco-logging/jaraco-logging-1.5.ebuild1
-rw-r--r--dev-python/jaraco-logging/jaraco-logging-2.0.ebuild1
-rw-r--r--dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild1
-rw-r--r--dev-python/jaraco-packaging/jaraco-packaging-5.1-r1.ebuild1
-rw-r--r--dev-python/jaraco-packaging/jaraco-packaging-6.1.ebuild1
-rw-r--r--dev-python/jaraco-packaging/jaraco-packaging-6.2.ebuild1
-rw-r--r--dev-python/jaraco-stream/jaraco-stream-1.1.1.ebuild1
-rw-r--r--dev-python/jaraco-stream/jaraco-stream-1.2-r1.ebuild1
-rw-r--r--dev-python/jaraco-stream/jaraco-stream-2.0-r1.ebuild1
-rw-r--r--dev-python/jaraco-text/jaraco-text-1.10.1-r1.ebuild1
-rw-r--r--dev-python/jaraco-text/jaraco-text-3.1.ebuild1
-rw-r--r--dev-python/jedi/jedi-0.10.2.ebuild1
-rw-r--r--dev-python/jedi/jedi-0.12.1.ebuild1
-rw-r--r--dev-python/jeepney/jeepney-0.3.1.ebuild1
-rw-r--r--dev-python/jellyfish/jellyfish-0.7.2.ebuild1
-rw-r--r--dev-python/jinja2-time/jinja2-time-0.2.0.ebuild1
-rw-r--r--dev-python/jmespath/jmespath-0.9.3-r1.ebuild1
-rw-r--r--dev-python/joblib/joblib-0.10.0.ebuild1
-rw-r--r--dev-python/joblib/joblib-0.11.ebuild1
-rw-r--r--dev-python/joblib/joblib-0.12.2.ebuild1
-rw-r--r--dev-python/jplephem/jplephem-2.6.ebuild1
-rw-r--r--dev-python/json-rpc/json-rpc-1.11.0.ebuild1
-rw-r--r--dev-python/json-tools/json-tools-0.4.0.ebuild1
-rw-r--r--dev-python/json-tools/json-tools-0.4.1.ebuild1
-rw-r--r--dev-python/jsonpickle/jsonpickle-0.9.3.ebuild1
-rw-r--r--dev-python/jsonpickle/jsonpickle-1.2.ebuild1
-rw-r--r--dev-python/jsonref/jsonref-0.1.ebuild1
-rw-r--r--dev-python/jsonschema/jsonschema-2.3.0.ebuild1
-rw-r--r--dev-python/jsonschema/jsonschema-2.4.0.ebuild1
-rw-r--r--dev-python/jsonschema/jsonschema-2.5.1-r2.ebuild1
-rw-r--r--dev-python/jsonschema/jsonschema-2.6.0.ebuild1
-rw-r--r--dev-python/jsonschema/jsonschema-3.0.1.ebuild1
-rw-r--r--dev-python/junit-xml/junit-xml-1.8.ebuild1
-rw-r--r--dev-python/jupyter_client/jupyter_client-5.1.0-r1.ebuild1
-rw-r--r--dev-python/jupyter_client/jupyter_client-5.2.3-r1.ebuild1
-rw-r--r--dev-python/jupyter_client/jupyter_client-5.2.3.ebuild1
-rw-r--r--dev-python/jupyter_client/jupyter_client-5.2.4.ebuild1
-rw-r--r--dev-python/jupyter_console/jupyter_console-4.0.3.ebuild1
-rw-r--r--dev-python/jupyter_console/jupyter_console-4.1.1.ebuild1
-rw-r--r--dev-python/jupyter_console/jupyter_console-5.0.0.ebuild1
-rw-r--r--dev-python/jupyter_console/jupyter_console-5.1.0.ebuild1
-rw-r--r--dev-python/jupyter_console/jupyter_console-6.0.0.ebuild1
-rw-r--r--dev-python/jwcrypto/jwcrypto-0.4.2.ebuild1
-rw-r--r--dev-python/kafka-python/kafka-python-1.3.3.ebuild1
-rw-r--r--dev-python/kaptan/kaptan-0.5.12.ebuild1
-rw-r--r--dev-python/keepassx/keepassx-0.1.0-r1.ebuild1
-rw-r--r--dev-python/keyring/keyring-13.2.1-r1.ebuild3
-rw-r--r--dev-python/keyring/keyring-13.2.1.ebuild1
-rw-r--r--dev-python/keyring/keyring-15.0.0.ebuild3
-rw-r--r--dev-python/keyring/keyring-18.0.1.ebuild1
-rw-r--r--dev-python/keystonemiddleware/keystonemiddleware-4.17.0.ebuild1
-rw-r--r--dev-python/keystonemiddleware/keystonemiddleware-4.21.0.ebuild1
-rw-r--r--dev-python/keystonemiddleware/keystonemiddleware-6.0.0.ebuild1
-rw-r--r--dev-python/kid/kid-0.9.6-r1.ebuild3
-rw-r--r--dev-python/kombu/kombu-4.1.0-r1.ebuild1
-rw-r--r--dev-python/kombu/kombu-4.2.1.ebuild1
-rw-r--r--dev-python/kombu/kombu-4.4.0.ebuild1
-rw-r--r--dev-python/kombu/kombu-4.6.3.ebuild1
-rw-r--r--dev-python/lesscpy/lesscpy-0.9j.ebuild3
-rw-r--r--dev-python/libcloud/libcloud-0.15.1.ebuild1
-rw-r--r--dev-python/libcloud/libcloud-1.2.1.ebuild1
-rw-r--r--dev-python/libpillowfight/libpillowfight-0.2.4.ebuild1
-rw-r--r--dev-python/libpillowfight/libpillowfight-0.3.0.ebuild1
-rw-r--r--dev-python/libvirt-python/libvirt-python-5.2.0.ebuild1
-rw-r--r--dev-python/libvirt-python/libvirt-python-5.5.0.ebuild1
-rw-r--r--dev-python/libvirt-python/libvirt-python-5.6.0.ebuild1
-rw-r--r--dev-python/libvirt-python/libvirt-python-5.8.0.ebuild1
-rw-r--r--dev-python/libvirt-python/libvirt-python-9999.ebuild1
-rw-r--r--dev-python/line_profiler/line_profiler-2.0.ebuild1
-rw-r--r--dev-python/line_profiler/line_profiler-2.1.2.ebuild1
-rw-r--r--dev-python/line_profiler/line_profiler-9999.ebuild1
-rw-r--r--dev-python/linecache2/linecache2-1.0.0.ebuild1
-rw-r--r--dev-python/livereload/livereload-2.4.1.ebuild1
-rw-r--r--dev-python/livereload/livereload-2.5.2.ebuild1
-rw-r--r--dev-python/llfuse/llfuse-1.3.2.ebuild1
-rw-r--r--dev-python/llfuse/llfuse-1.3.4.ebuild1
-rw-r--r--dev-python/llfuse/llfuse-1.3.5.ebuild1
-rw-r--r--dev-python/lockfile/lockfile-0.11.0-r1.ebuild1
-rw-r--r--dev-python/lockfile/lockfile-0.12.2-r1.ebuild1
-rw-r--r--dev-python/lockfile/lockfile-0.12.2-r2.ebuild1
-rw-r--r--dev-python/locustio/locustio-0.7.3-r1.ebuild3
-rw-r--r--dev-python/logbook/logbook-0.9.1.ebuild1
-rw-r--r--dev-python/logbook/logbook-1.1.0.ebuild1
-rw-r--r--dev-python/logbook/logbook-1.4.0.ebuild1
-rw-r--r--dev-python/loguru/loguru-0.3.2.ebuild1
-rw-r--r--dev-python/louie/louie-1.1-r1.ebuild3
-rw-r--r--dev-python/lz4/lz4-0.10.1.ebuild1
-rw-r--r--dev-python/lz4/lz4-0.8.2.ebuild1
-rw-r--r--dev-python/m2r/m2r-0.1.12.ebuild1
-rw-r--r--dev-python/m2r/m2r-0.1.14.ebuild1
-rw-r--r--dev-python/m2r/m2r-0.1.5.ebuild1
-rw-r--r--dev-python/m2r/m2r-0.1.6.ebuild1
-rw-r--r--dev-python/mako/mako-1.0.3.ebuild1
-rw-r--r--dev-python/mako/mako-1.0.6.ebuild1
-rw-r--r--dev-python/mako/mako-1.0.7.ebuild1
-rw-r--r--dev-python/mamba/mamba-0.8.6.ebuild1
-rw-r--r--dev-python/mando/mando-0.3.2.ebuild1
-rw-r--r--dev-python/mantissa/mantissa-0.8.4.ebuild3
-rw-r--r--dev-python/markdown/markdown-2.6.11.ebuild1
-rw-r--r--dev-python/markdown/markdown-2.6.5.ebuild1
-rw-r--r--dev-python/markdown/markdown-2.6.8.ebuild1
-rw-r--r--dev-python/markdown/markdown-2.6.9.ebuild1
-rw-r--r--dev-python/markdown/markdown-3.0.1.ebuild1
-rw-r--r--dev-python/markups/markups-3.0.0.ebuild1
-rw-r--r--dev-python/matplotlib/matplotlib-2.2.2-r1.ebuild1
-rw-r--r--dev-python/matplotlib/matplotlib-2.2.4.ebuild1
-rw-r--r--dev-python/mccabe/mccabe-0.6.1.ebuild1
-rw-r--r--dev-python/memory_profiler/memory_profiler-0.47.ebuild1
-rw-r--r--dev-python/metakernel/metakernel-0.20.4.ebuild1
-rw-r--r--dev-python/meteor-ejson/meteor-ejson-1.1.0.ebuild1
-rw-r--r--dev-python/milk/milk-0.5.1.ebuild3
-rw-r--r--dev-python/milk/milk-0.5.3.ebuild3
-rw-r--r--dev-python/milk/milk-0.6.1.ebuild3
-rw-r--r--dev-python/minidb/minidb-2.0.2-r1.ebuild1
-rw-r--r--dev-python/minidb/minidb-2.0.2.ebuild1
-rw-r--r--dev-python/mistune/mistune-0.8.3.ebuild1
-rw-r--r--dev-python/mkdocs/mkdocs-0.15.3.ebuild1
-rw-r--r--dev-python/mkdocs/mkdocs-1.0.1.ebuild1
-rw-r--r--dev-python/montage-wrapper/montage-wrapper-0.9.8.ebuild1
-rw-r--r--dev-python/montage-wrapper/montage-wrapper-0.9.9.ebuild1
-rw-r--r--dev-python/moto/moto-1.0.1-r1.ebuild1
-rw-r--r--dev-python/moviepy/moviepy-0.2.2.ebuild1
-rw-r--r--dev-python/mox/mox-0.5.3-r1.ebuild3
-rw-r--r--dev-python/mox3/mox3-0.24.0.ebuild1
-rw-r--r--dev-python/mpi4py/mpi4py-3.0.2.ebuild1
-rw-r--r--dev-python/mpmath/mpmath-1.0.0.ebuild1
-rw-r--r--dev-python/mpmath/mpmath-1.1.0.ebuild1
-rw-r--r--dev-python/msgpack/msgpack-0.4.8.ebuild1
-rw-r--r--dev-python/msgpack/msgpack-0.5.1.ebuild1
-rw-r--r--dev-python/msgpack/msgpack-0.5.6.ebuild1
-rw-r--r--dev-python/msgpack/msgpack-0.6.1.ebuild1
-rw-r--r--dev-python/multidict/multidict-4.1.0.ebuild1
-rw-r--r--dev-python/multidict/multidict-4.3.1.ebuild1
-rw-r--r--dev-python/multidict/multidict-4.5.2.ebuild1
-rw-r--r--dev-python/mygpoclient/mygpoclient-1.8.ebuild1
-rw-r--r--dev-python/mypy_extensions/mypy_extensions-0.4.1.ebuild1
-rw-r--r--dev-python/naima/naima-0.8-r1.ebuild1
-rw-r--r--dev-python/nbdime/nbdime-0.1.2.ebuild1
-rw-r--r--dev-python/nbdime/nbdime-0.2.0.ebuild1
-rw-r--r--dev-python/nbformat/nbformat-4.4.0-r1.ebuild1
-rw-r--r--dev-python/nbformat/nbformat-4.4.0.ebuild1
-rw-r--r--dev-python/nbval/nbval-0.7.ebuild1
-rw-r--r--dev-python/nbval/nbval-0.9.1.ebuild1
-rw-r--r--dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild1
-rw-r--r--dev-python/netaddr/netaddr-0.7.19.ebuild1
-rw-r--r--dev-python/networkx/networkx-1.11-r1.ebuild1
-rw-r--r--dev-python/networkx/networkx-1.11.ebuild1
-rw-r--r--dev-python/networkx/networkx-2.1.ebuild3
-rw-r--r--dev-python/networkx/networkx-2.2.ebuild1
-rw-r--r--dev-python/networkx/networkx-2.4.ebuild1
-rw-r--r--dev-python/nevow/nevow-0.14.3.ebuild1
-rw-r--r--dev-python/node-semver/node-semver-0.2.0.ebuild1
-rw-r--r--dev-python/node-semver/node-semver-0.6.1.ebuild1
-rw-r--r--dev-python/node-semver/node-semver-0.7.0.ebuild1
-rw-r--r--dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r2.ebuild1
-rw-r--r--dev-python/notebook/notebook-5.0.0.ebuild1
-rw-r--r--dev-python/notebook/notebook-5.2.1.ebuild1
-rw-r--r--dev-python/notebook/notebook-5.7.0.ebuild1
-rw-r--r--dev-python/notebook/notebook-5.7.8.ebuild1
-rw-r--r--dev-python/numba/numba-0.27.0.ebuild1
-rw-r--r--dev-python/numba/numba-0.35.0.ebuild1
-rw-r--r--dev-python/numba/numba-0.37.0.ebuild1
-rw-r--r--dev-python/numba/numba-0.39.0.ebuild1
-rw-r--r--dev-python/numpy/numpy-1.14.5.ebuild1
-rw-r--r--dev-python/numpy/numpy-1.15.4.ebuild1
-rw-r--r--dev-python/numpy/numpy-1.16.1.ebuild1
-rw-r--r--dev-python/numpydoc/numpydoc-0.6.0.ebuild1
-rw-r--r--dev-python/numpydoc/numpydoc-0.8.0.ebuild1
-rw-r--r--dev-python/numpydoc/numpydoc-0.9.1.ebuild1
-rw-r--r--dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild1
-rw-r--r--dev-python/oauth2client/oauth2client-4.1.2.ebuild1
-rw-r--r--dev-python/oauth2client/oauth2client-4.1.3.ebuild1
-rw-r--r--dev-python/oauthlib/oauthlib-1.0.3.ebuild1
-rw-r--r--dev-python/oauthlib/oauthlib-2.0.2.ebuild1
-rw-r--r--dev-python/oauthlib/oauthlib-2.0.3.ebuild1
-rw-r--r--dev-python/oauthlib/oauthlib-2.0.6.ebuild1
-rw-r--r--dev-python/oauthlib/oauthlib-3.0.1.ebuild1
-rw-r--r--dev-python/objgraph/objgraph-3.4.0.ebuild1
-rw-r--r--dev-python/oct2py/oct2py-3.6.0.ebuild1
-rw-r--r--dev-python/oct2py/oct2py-4.0.6.ebuild1
-rw-r--r--dev-python/odfpy/odfpy-1.3.6.ebuild1
-rw-r--r--dev-python/os-testr/os-testr-1.0.0.ebuild1
-rw-r--r--dev-python/oslo-concurrency/oslo-concurrency-3.27.0.ebuild1
-rw-r--r--dev-python/oslo-concurrency/oslo-concurrency-3.29.1.ebuild1
-rw-r--r--dev-python/oslo-config/oslo-config-6.4.1.ebuild1
-rw-r--r--dev-python/oslo-config/oslo-config-6.8.1.ebuild1
-rw-r--r--dev-python/oslo-context/oslo-context-2.21.0.ebuild1
-rw-r--r--dev-python/oslo-context/oslo-context-2.22.1.ebuild1
-rw-r--r--dev-python/oslo-i18n/oslo-i18n-3.19.0.ebuild1
-rw-r--r--dev-python/oslo-i18n/oslo-i18n-3.23.1.ebuild1
-rw-r--r--dev-python/oslo-log/oslo-log-3.39.2.ebuild1
-rw-r--r--dev-python/oslo-log/oslo-log-3.42.3.ebuild1
-rw-r--r--dev-python/oslo-log/oslo-log-3.44.1.ebuild1
-rw-r--r--dev-python/oslo-middleware/oslo-middleware-3.34.0.ebuild1
-rw-r--r--dev-python/oslo-middleware/oslo-middleware-3.37.1.ebuild1
-rw-r--r--dev-python/oslo-privsep/oslo-privsep-1.29.2.ebuild1
-rw-r--r--dev-python/oslo-privsep/oslo-privsep-1.32.1.ebuild1
-rw-r--r--dev-python/oslo-rootwrap/oslo-rootwrap-5.13.0.ebuild1
-rw-r--r--dev-python/oslo-rootwrap/oslo-rootwrap-5.15.2.ebuild1
-rw-r--r--dev-python/oslo-service/oslo-service-1.31.8.ebuild1
-rw-r--r--dev-python/oslo-service/oslo-service-1.38.0.ebuild1
-rw-r--r--dev-python/passwordmeter/passwordmeter-0.1.8.ebuild1
-rw-r--r--dev-python/pastedeploy/pastedeploy-1.5.2-r1.ebuild1
-rw-r--r--dev-python/pastedeploy/pastedeploy-1.5.2-r2.ebuild1
-rw-r--r--dev-python/pastedeploy/pastedeploy-2.0.1.ebuild1
-rw-r--r--dev-python/path-py/path-py-10.3.1.ebuild1
-rw-r--r--dev-python/path-py/path-py-11.0.1.ebuild1
-rw-r--r--dev-python/path-py/path-py-8.1.2.ebuild1
-rw-r--r--dev-python/patsy/patsy-0.4.1.ebuild1
-rw-r--r--dev-python/patsy/patsy-0.5.1.ebuild1
-rw-r--r--dev-python/paver/paver-1.2.4.ebuild1
-rw-r--r--dev-python/paver/paver-1.3.4.ebuild1
-rw-r--r--dev-python/pbr/pbr-0.8.2-r1.ebuild1
-rw-r--r--dev-python/pbr/pbr-1.10.0-r1.ebuild1
-rw-r--r--dev-python/pbr/pbr-3.1.1.ebuild1
-rw-r--r--dev-python/pbr/pbr-4.1.1.ebuild1
-rw-r--r--dev-python/pbr/pbr-4.2.0-r1.ebuild1
-rw-r--r--dev-python/pbr/pbr-4.2.0-r2.ebuild1
-rw-r--r--dev-python/pbr/pbr-5.1.1.ebuild1
-rw-r--r--dev-python/peak-rules/peak-rules-0.5.ebuild3
-rw-r--r--dev-python/pep257/pep257-2.1.1.ebuild1
-rw-r--r--dev-python/photutils/photutils-0.3.1.ebuild1
-rw-r--r--dev-python/photutils/photutils-0.3.2.ebuild1
-rw-r--r--dev-python/pilkit/pilkit-2.0.ebuild1
-rw-r--r--dev-python/pkgconfig/pkgconfig-1.2.2.ebuild1
-rw-r--r--dev-python/pluginbase/pluginbase-0.5.ebuild1
-rw-r--r--dev-python/plyvel/plyvel-1.0.5.ebuild1
-rw-r--r--dev-python/plyvel/plyvel-1.1.0.ebuild1
-rw-r--r--dev-python/pockets/pockets-0.3.ebuild1
-rw-r--r--dev-python/portend/portend-2.2-r1.ebuild1
-rw-r--r--dev-python/portend/portend-2.2.ebuild1
-rw-r--r--dev-python/poyo/poyo-0.4.1.ebuild1
-rw-r--r--dev-python/pretty-yaml/pretty-yaml-15.6.3.ebuild1
-rw-r--r--dev-python/pretty-yaml/pretty-yaml-15.8.2.ebuild1
-rw-r--r--dev-python/prettytable/prettytable-0.7.1-r1.ebuild1
-rw-r--r--dev-python/prettytable/prettytable-0.7.2-r1.ebuild1
-rw-r--r--dev-python/prettytable/prettytable-0.7.2.ebuild1
-rw-r--r--dev-python/process-tests/process-tests-1.2.0.ebuild1
-rw-r--r--dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.4.1.ebuild1
-rw-r--r--dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.5.1.ebuild1
-rw-r--r--dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.7.2.ebuild1
-rw-r--r--dev-python/prompt_toolkit/prompt_toolkit-1.0.15.ebuild1
-rw-r--r--dev-python/prompt_toolkit/prompt_toolkit-2.0.6.ebuild1
-rw-r--r--dev-python/prompt_toolkit/prompt_toolkit-2.0.7.ebuild1
-rw-r--r--dev-python/prov/prov-1.5.1.ebuild1
-rw-r--r--dev-python/prov/prov-1.5.3.ebuild1
-rw-r--r--dev-python/pushbullet-py/pushbullet-py-0.10.0.ebuild1
-rw-r--r--dev-python/pushbullet-py/pushbullet-py-0.11.0.ebuild1
-rw-r--r--dev-python/pxml/pxml-0.2.12.ebuild1
-rw-r--r--dev-python/py-amqp/py-amqp-2.3.2.ebuild1
-rw-r--r--dev-python/py-amqp/py-amqp-2.4.2.ebuild1
-rw-r--r--dev-python/py-notify/py-notify-0.3.1-r1.ebuild3
-rw-r--r--dev-python/pyamg/pyamg-2.2.1.ebuild1
-rw-r--r--dev-python/pyamg/pyamg-3.0.2.ebuild1
-rw-r--r--dev-python/pyamg/pyamg-3.2.1-r1.ebuild1
-rw-r--r--dev-python/pyamg/pyamg-3.2.1.ebuild1
-rw-r--r--dev-python/pyavm/pyavm-0.9.4.ebuild1
-rw-r--r--dev-python/pycairo/pycairo-1.16.3-r1.ebuild1
-rw-r--r--dev-python/pycairo/pycairo-1.17.0-r1.ebuild1
-rw-r--r--dev-python/pycairo/pycairo-1.18.1.ebuild1
-rw-r--r--dev-python/pychef/pychef-0.2.3.ebuild3
-rw-r--r--dev-python/pycobertura/pycobertura-0.10.0.ebuild1
-rw-r--r--dev-python/pycountry/pycountry-16.11.8.ebuild1
-rw-r--r--dev-python/pycountry/pycountry-17.9.23.ebuild1
-rw-r--r--dev-python/pycrypto/pycrypto-2.6.1-r2.ebuild1
-rw-r--r--dev-python/pycurl/pycurl-7.43.0.2.ebuild1
-rw-r--r--dev-python/pycurl/pycurl-7.43.0.3.ebuild1
-rw-r--r--dev-python/pycurl/pycurl-7.43.0.ebuild1
-rw-r--r--dev-python/pydl/pydl-0.5.3.ebuild1
-rw-r--r--dev-python/pydl/pydl-0.5.4.ebuild1
-rw-r--r--dev-python/pydot-ng/pydot-ng-1.0.0.ebuild1
-rw-r--r--dev-python/pydot/pydot-1.2.3.ebuild1
-rw-r--r--dev-python/pydot/pydot-1.4.1.ebuild1
-rw-r--r--dev-python/pyee/pyee-1.0.2.ebuild1
-rw-r--r--dev-python/pyenchant/pyenchant-1.6.6.ebuild1
-rw-r--r--dev-python/pyenchant/pyenchant-1.6.8.ebuild1
-rw-r--r--dev-python/pyenchant/pyenchant-2.0.0.ebuild1
-rw-r--r--dev-python/pyfakefs/pyfakefs-3.5.8.ebuild1
-rw-r--r--dev-python/pyfits/pyfits-3.3-r1.ebuild1
-rw-r--r--dev-python/pyfits/pyfits-3.4-r1.ebuild1
-rw-r--r--dev-python/pyformance/pyformance-0.3.4.ebuild1
-rw-r--r--dev-python/pyformance/pyformance-0.4.ebuild1
-rw-r--r--dev-python/pyftpdlib/pyftpdlib-1.5.1.ebuild1
-rw-r--r--dev-python/pyftpdlib/pyftpdlib-1.5.3.ebuild1
-rw-r--r--dev-python/pyftpdlib/pyftpdlib-1.5.4.ebuild1
-rw-r--r--dev-python/pygal/pygal-2.4.0.ebuild1
-rw-r--r--dev-python/pygcrypt/pygcrypt-1.0.0.ebuild3
-rw-r--r--dev-python/pyghmi/pyghmi-1.0.22.ebuild1
-rw-r--r--dev-python/pygobject/pygobject-2.28.6-r55.ebuild1
-rw-r--r--dev-python/pygobject/pygobject-3.28.3.ebuild1
-rw-r--r--dev-python/pygpu/pygpu-0.6.0.ebuild1
-rw-r--r--dev-python/pygpu/pygpu-0.6.7.ebuild1
-rw-r--r--dev-python/pygraphviz/pygraphviz-1.3.1.ebuild1
-rw-r--r--dev-python/pygraphviz/pygraphviz-1.5.ebuild1
-rw-r--r--dev-python/pygtk/pygtk-2.24.0-r4.ebuild1
-rw-r--r--dev-python/pyhcl/pyhcl-0.2.3.ebuild1
-rw-r--r--dev-python/pyhcl/pyhcl-0.3.6.ebuild1
-rw-r--r--dev-python/pyjwt/pyjwt-1.5.3.ebuild1
-rw-r--r--dev-python/pyjwt/pyjwt-1.7.1.ebuild1
-rw-r--r--dev-python/pykka/pykka-1.2.1.ebuild1
-rw-r--r--dev-python/pykwalify/pykwalify-1.5.2.ebuild1
-rw-r--r--dev-python/pykwalify/pykwalify-9999.ebuild1
-rw-r--r--dev-python/pylibmc/pylibmc-1.5.1-r1.ebuild1
-rw-r--r--dev-python/pylint/pylint-1.8.4.ebuild1
-rw-r--r--dev-python/pylint/pylint-2.3.1.ebuild1
-rw-r--r--dev-python/pymediainfo/pymediainfo-4.0.ebuild1
-rw-r--r--dev-python/pymediainfo/pymediainfo-4.1.ebuild1
-rw-r--r--dev-python/pympler/pympler-0.5.ebuild1
-rw-r--r--dev-python/pympler/pympler-0.6.ebuild1
-rw-r--r--dev-python/pynacl/pynacl-1.2.1.ebuild1
-rw-r--r--dev-python/pynacl/pynacl-1.3.0.ebuild1
-rw-r--r--dev-python/pynag/pynag-0.9.1.ebuild3
-rw-r--r--dev-python/pyoembed/pyoembed-0.1.1.ebuild3
-rw-r--r--dev-python/pyoembed/pyoembed-9999.ebuild3
-rw-r--r--dev-python/pyparted/pyparted-3.10.7.ebuild1
-rw-r--r--dev-python/pyparted/pyparted-3.11.2.ebuild1
-rw-r--r--dev-python/pyquery/pyquery-1.2.13-r1.ebuild3
-rw-r--r--dev-python/pyquery/pyquery-1.2.13.ebuild1
-rw-r--r--dev-python/pyquery/pyquery-1.4.0.ebuild1
-rw-r--r--dev-python/pyrax/pyrax-1.9.7.ebuild3
-rw-r--r--dev-python/pyregion/pyregion-1.2.ebuild1
-rw-r--r--dev-python/pyrfc3339/pyrfc3339-1.0.ebuild1
-rw-r--r--dev-python/pyrfc3339/pyrfc3339-1.1.ebuild1
-rw-r--r--dev-python/pyro/pyro-4.41.ebuild1
-rw-r--r--dev-python/pyro/pyro-4.56.ebuild1
-rw-r--r--dev-python/pyrqlite/pyrqlite-2.0.ebuild1
-rw-r--r--dev-python/pyrqlite/pyrqlite-9999.ebuild1
-rw-r--r--dev-python/pyscaffold/pyscaffold-2.4.4.ebuild1
-rw-r--r--dev-python/pyshark/pyshark-0.3.7.2-r1.ebuild1
-rw-r--r--dev-python/pyshark/pyshark-0.4.2.3.ebuild1
-rw-r--r--dev-python/pyspf/pyspf-2.0.12.ebuild1
-rw-r--r--dev-python/pysrt/pysrt-1.1.1-r1.ebuild1
-rw-r--r--dev-python/pysrt/pysrt-1.1.1.ebuild1
-rw-r--r--dev-python/pysrt/pysrt-9999.ebuild1
-rw-r--r--dev-python/pystache/pystache-0.5.4.ebuild1
-rw-r--r--dev-python/pytables/pytables-3.4.4.ebuild1
-rw-r--r--dev-python/pyte/pyte-0.5.2-r2.ebuild1
-rw-r--r--dev-python/pyte/pyte-0.8.0-r1.ebuild1
-rw-r--r--dev-python/pytest-catchlog/pytest-catchlog-1.2.2.ebuild1
-rw-r--r--dev-python/pytest-cov/pytest-cov-2.3.1.ebuild1
-rw-r--r--dev-python/pytest-cov/pytest-cov-2.6.1.ebuild1
-rw-r--r--dev-python/pytest-datafiles/pytest-datafiles-2.0.ebuild1
-rw-r--r--dev-python/pytest-flakes/pytest-flakes-4.0.0.ebuild1
-rw-r--r--dev-python/pytest-localserver/pytest-localserver-0.3.7.ebuild1
-rw-r--r--dev-python/pytest-pylint/pytest-pylint-0.14.1.ebuild1
-rw-r--r--dev-python/pytest-pylint/pytest-pylint-0.7.1.ebuild1
-rw-r--r--dev-python/pytest-runner/pytest-runner-2.11.1.ebuild1
-rw-r--r--dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild1
-rw-r--r--dev-python/pytest-testmon/pytest-testmon-0.9.15.ebuild1
-rw-r--r--dev-python/python-afl/python-afl-0.6.1.ebuild1
-rw-r--r--dev-python/python-afl/python-afl-0.7.1.ebuild1
-rw-r--r--dev-python/python-bugzilla/python-bugzilla-2.1.0.ebuild1
-rw-r--r--dev-python/python-daemon/python-daemon-1.6-r1.ebuild3
-rw-r--r--dev-python/python-daemon/python-daemon-2.1.1.ebuild1
-rw-r--r--dev-python/python-dateutil/python-dateutil-2.7.1.ebuild1
-rw-r--r--dev-python/python-dateutil/python-dateutil-2.7.2-r1.ebuild1
-rw-r--r--dev-python/python-dateutil/python-dateutil-2.7.2.ebuild1
-rw-r--r--dev-python/python-dateutil/python-dateutil-2.7.3.ebuild1
-rw-r--r--dev-python/python-dateutil/python-dateutil-2.7.4.ebuild1
-rw-r--r--dev-python/python-dateutil/python-dateutil-2.7.5.ebuild1
-rw-r--r--dev-python/python-dateutil/python-dateutil-2.8.0.ebuild1
-rw-r--r--dev-python/python-digest/python-digest-1.7-r1.ebuild3
-rw-r--r--dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild1
-rw-r--r--dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild1
-rw-r--r--dev-python/python-etcd/python-etcd-0.4.5-r1.ebuild1
-rw-r--r--dev-python/python-fastimport/python-fastimport-0.9.2-r1.ebuild3
-rw-r--r--dev-python/python-fastimport/python-fastimport-0.9.6.ebuild1
-rw-r--r--dev-python/python-fastimport/python-fastimport-0.9.8.ebuild1
-rw-r--r--dev-python/python-gammu/python-gammu-2.11.ebuild1
-rw-r--r--dev-python/python-glanceclient/python-glanceclient-2.13.1.ebuild1
-rw-r--r--dev-python/python-glanceclient/python-glanceclient-2.16.0.ebuild1
-rw-r--r--dev-python/python-heatclient/python-heatclient-1.16.2.ebuild1
-rw-r--r--dev-python/python-heatclient/python-heatclient-1.17.0.ebuild1
-rw-r--r--dev-python/python-ironicclient/python-ironicclient-1.17.0.ebuild1
-rw-r--r--dev-python/python-ironicclient/python-ironicclient-2.2.1.ebuild1
-rw-r--r--dev-python/python-ironicclient/python-ironicclient-2.7.1.ebuild1
-rw-r--r--dev-python/python-ironicclient/python-ironicclient-2.7.2.ebuild1
-rw-r--r--dev-python/python-ldap/python-ldap-3.1.0-r1.ebuild1
-rw-r--r--dev-python/python-ldap/python-ldap-9999.ebuild1
-rw-r--r--dev-python/python-lzo/python-lzo-1.11.ebuild1
-rw-r--r--dev-python/python-lzo/python-lzo-1.12-r1.ebuild1
-rw-r--r--dev-python/python-lzo/python-lzo-1.12.ebuild1
-rw-r--r--dev-python/python-magic/python-magic-0.4.15-r1.ebuild1
-rw-r--r--dev-python/python-mpd/python-mpd-0.5.5.ebuild1
-rw-r--r--dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild1
-rw-r--r--dev-python/python-neutronclient/python-neutronclient-6.12.0.ebuild1
-rw-r--r--dev-python/python-neutronclient/python-neutronclient-6.9.0.ebuild1
-rw-r--r--dev-python/python-redmine/python-redmine-2.0.2.ebuild1
-rw-r--r--dev-python/python-saharaclient/python-saharaclient-2.2.1.ebuild1
-rw-r--r--dev-python/python-sqlparse/python-sqlparse-0.2.3.ebuild1
-rw-r--r--dev-python/python-sqlparse/python-sqlparse-0.2.4.ebuild1
-rw-r--r--dev-python/python-sqlparse/python-sqlparse-0.3.0.ebuild1
-rw-r--r--dev-python/python-swiftclient/python-swiftclient-3.7.0.ebuild1
-rw-r--r--dev-python/python-systemd/python-systemd-233.ebuild1
-rw-r--r--dev-python/python-troveclient/python-troveclient-1.3.0.ebuild1
-rw-r--r--dev-python/python-troveclient/python-troveclient-2.17.0.ebuild1
-rw-r--r--dev-python/python-troveclient/python-troveclient-2.5.0.ebuild1
-rw-r--r--dev-python/python-twitter/python-twitter-3.4.2.ebuild1
-rw-r--r--dev-python/python-urljr/python-urljr-1.0.1-r1.ebuild3
-rw-r--r--dev-python/pytidylib/pytidylib-0.2.4.ebuild1
-rw-r--r--dev-python/pytidylib/pytidylib-0.3.2.ebuild1
-rw-r--r--dev-python/pytoml/pytoml-0.1.14.ebuild1
-rw-r--r--dev-python/pytoml/pytoml-0.1.18.ebuild1
-rw-r--r--dev-python/pytoml/pytoml-0.1.20.ebuild3
-rw-r--r--dev-python/pytools/pytools-2016.2.6-r1.ebuild1
-rw-r--r--dev-python/pytools/pytools-2017.4-r1.ebuild1
-rw-r--r--dev-python/pytools/pytools-9999.ebuild1
-rw-r--r--dev-python/pyu2f/pyu2f-0.1.4.ebuild1
-rw-r--r--dev-python/pyudev/pyudev-0.20.0-r1.ebuild1
-rw-r--r--dev-python/pyudev/pyudev-0.21.0.ebuild1
-rw-r--r--dev-python/pywavelets/pywavelets-0.5.2-r1.ebuild1
-rw-r--r--dev-python/pywavelets/pywavelets-0.5.2.ebuild1
-rw-r--r--dev-python/pyxdg/pyxdg-0.25-r1.ebuild1
-rw-r--r--dev-python/pyxdg/pyxdg-0.26-r1.ebuild1
-rw-r--r--dev-python/pyxdg/pyxdg-0.26.ebuild1
-rw-r--r--dev-python/pyzbar/pyzbar-0.1.5.ebuild3
-rw-r--r--dev-python/pyzbar/pyzbar-0.1.7.ebuild3
-rw-r--r--dev-python/pyzmq/pyzmq-16.0.2.ebuild1
-rw-r--r--dev-python/pyzmq/pyzmq-17.1.0.ebuild1
-rw-r--r--dev-python/pyzor/pyzor-1.0.0-r1.ebuild1
-rw-r--r--dev-python/qserve/qserve-0.2.8-r1.ebuild3
-rw-r--r--dev-python/qtconsole/qtconsole-4.3.1.ebuild1
-rw-r--r--dev-python/radon/radon-1.4.2.ebuild1
-rw-r--r--dev-python/raet/raet-0.6.8.ebuild1
-rw-r--r--dev-python/ramlfications/ramlfications-0.1.9_p20160718.ebuild1
-rw-r--r--dev-python/ratelimit/ratelimit-1.4.1.ebuild1
-rw-r--r--dev-python/raven/raven-5.33.0.ebuild1
-rw-r--r--dev-python/rdflib/rdflib-4.2.1.ebuild1
-rw-r--r--dev-python/rdflib/rdflib-4.2.2.ebuild1
-rw-r--r--dev-python/readme_renderer/readme_renderer-17.2.ebuild1
-rw-r--r--dev-python/rebulk/rebulk-0.9.0.ebuild1
-rw-r--r--dev-python/rebulk/rebulk-9999.ebuild1
-rw-r--r--dev-python/redis-py/redis-py-2.10.5.ebuild1
-rw-r--r--dev-python/redis-py/redis-py-2.10.6.ebuild1
-rw-r--r--dev-python/redis-py/redis-py-2.9.1.ebuild1
-rw-r--r--dev-python/redis-py/redis-py-3.2.1.ebuild1
-rw-r--r--dev-python/regendoc/regendoc-0.6.1.ebuild1
-rw-r--r--dev-python/regions/regions-0.2.ebuild1
-rw-r--r--dev-python/reproject/reproject-0.3.1.ebuild1
-rw-r--r--dev-python/requests-kerberos/requests-kerberos-0.12.0.ebuild1
-rw-r--r--dev-python/requests-mock/requests-mock-1.2.0.ebuild1
-rw-r--r--dev-python/requests-mock/requests-mock-1.5.0.ebuild1
-rw-r--r--dev-python/requests-mock/requests-mock-1.5.2.ebuild1
-rw-r--r--dev-python/requests-oauthlib/requests-oauthlib-0.7.0.ebuild1
-rw-r--r--dev-python/responses/responses-0.6.0.ebuild1
-rw-r--r--dev-python/responses/responses-0.9.0.ebuild1
-rw-r--r--dev-python/restkit/restkit-4.2.2.ebuild1
-rw-r--r--dev-python/rfc3986/rfc3986-0.3.1.ebuild1
-rw-r--r--dev-python/rfc3986/rfc3986-0.4.1.ebuild1
-rw-r--r--dev-python/rfc3986/rfc3986-1.1.0.ebuild1
-rw-r--r--dev-python/rfc3986/rfc3986-1.2.0.ebuild1
-rw-r--r--dev-python/rfc3986/rfc3986-1.3.2.ebuild1
-rw-r--r--dev-python/rnc2rng/rnc2rng-2.4.1.ebuild1
-rw-r--r--dev-python/rnc2rng/rnc2rng-2.4.ebuild1
-rw-r--r--dev-python/rnc2rng/rnc2rng-2.5.ebuild1
-rw-r--r--dev-python/roman/roman-2.0.0.ebuild1
-rw-r--r--dev-python/roman/roman-3.0.ebuild1
-rw-r--r--dev-python/root_numpy/root_numpy-4.4.0.ebuild3
-rw-r--r--dev-python/root_numpy/root_numpy-4.7.3.ebuild3
-rw-r--r--dev-python/rosdistro/rosdistro-0.7.2.ebuild1
-rw-r--r--dev-python/rosdistro/rosdistro-0.7.4.ebuild1
-rw-r--r--dev-python/rosdistro/rosdistro-9999.ebuild1
-rw-r--r--dev-python/rospkg/rospkg-1.1.10.ebuild1
-rw-r--r--dev-python/rospkg/rospkg-1.1.9.ebuild1
-rw-r--r--dev-python/rospkg/rospkg-9999.ebuild1
-rw-r--r--dev-python/rply/rply-0.7.4.ebuild1
-rw-r--r--dev-python/rply/rply-0.7.5.ebuild1
-rw-r--r--dev-python/rpy/rpy-2.6.2.ebuild1
-rw-r--r--dev-python/rsa/rsa-3.2.3-r1.ebuild1
-rw-r--r--dev-python/rsa/rsa-3.4.2.ebuild1
-rw-r--r--dev-python/rst-linker/rst-linker-1.11.ebuild1
-rw-r--r--dev-python/rst-linker/rst-linker-1.9-r1.ebuild1
-rw-r--r--dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.3.ebuild1
-rw-r--r--dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.4.ebuild1
-rw-r--r--dev-python/ruamel-yaml/ruamel-yaml-0.15.35.ebuild1
-rw-r--r--dev-python/ruamel-yaml/ruamel-yaml-0.15.96.ebuild1
-rw-r--r--dev-python/ruamel-yaml/ruamel-yaml-0.15.97.ebuild1
-rw-r--r--dev-python/s3fs/s3fs-0.1.2.ebuild1
-rw-r--r--dev-python/s3fs/s3fs-0.1.5.ebuild1
-rw-r--r--dev-python/s3transfer/s3transfer-0.1.13-r1.ebuild1
-rw-r--r--dev-python/s3transfer/s3transfer-0.2.0.ebuild1
-rw-r--r--dev-python/s3transfer/s3transfer-0.2.1.ebuild1
-rw-r--r--dev-python/sabyenc/sabyenc-3.3.5.ebuild3
-rw-r--r--dev-python/scandir/scandir-1.10.0-r1.ebuild1
-rw-r--r--dev-python/scandir/scandir-1.10.0.ebuild1
-rw-r--r--dev-python/scapy-python3/scapy-python3-0.18-r1.ebuild1
-rw-r--r--dev-python/scapy-python3/scapy-python3-0.21.ebuild1
-rw-r--r--dev-python/scapy-python3/scapy-python3-0.23.ebuild1
-rw-r--r--dev-python/schedule/schedule-0.4.2.ebuild1
-rw-r--r--dev-python/schedule/schedule-0.5.0.ebuild1
-rw-r--r--dev-python/scrypt/scrypt-0.8.13.ebuild1
-rw-r--r--dev-python/seaborn/seaborn-0.7.1.ebuild1
-rw-r--r--dev-python/seaborn/seaborn-0.8.1.ebuild1
-rw-r--r--dev-python/seaborn/seaborn-0.9.0.ebuild1
-rw-r--r--dev-python/secretstorage/secretstorage-3.1.0.ebuild1
-rw-r--r--dev-python/secretstorage/secretstorage-3.1.1.ebuild1
-rw-r--r--dev-python/semantic_version/semantic_version-2.6.0-r1.ebuild1
-rw-r--r--dev-python/semantic_version/semantic_version-2.6.0-r2.ebuild1
-rw-r--r--dev-python/semver/semver-2.8.1.ebuild1
-rw-r--r--dev-python/serverfiles/serverfiles-0.2.1.ebuild1
-rw-r--r--dev-python/setproctitle/setproctitle-1.1.10-r1.ebuild1
-rw-r--r--dev-python/setproctitle/setproctitle-1.1.10.ebuild1
-rw-r--r--dev-python/setproctitle/setproctitle-1.1.8.ebuild1
-rw-r--r--dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild1
-rw-r--r--dev-python/simplebayes/simplebayes-1.5.7.ebuild1
-rw-r--r--dev-python/simples3/simples3-1.0.ebuild3
-rw-r--r--dev-python/simpy/simpy-3.0.8.ebuild1
-rw-r--r--dev-python/slimit/slimit-0.8.1-r1.ebuild1
-rw-r--r--dev-python/slixmpp/slixmpp-1.4.0.ebuild3
-rw-r--r--dev-python/slixmpp/slixmpp-1.4.2.ebuild1
-rw-r--r--dev-python/slixmpp/slixmpp-9999.ebuild1
-rw-r--r--dev-python/smmap/smmap-0.9.0.ebuild1
-rw-r--r--dev-python/smmap2/smmap2-2.0.3.ebuild1
-rw-r--r--dev-python/socketio-client/socketio-client-0.6.6.ebuild1
-rw-r--r--dev-python/socketpool/socketpool-0.5.3-r1.ebuild1
-rw-r--r--dev-python/socketpool/socketpool-0.5.3.ebuild1
-rw-r--r--dev-python/sortedcollections/sortedcollections-0.5.3.ebuild1
-rw-r--r--dev-python/sortedcontainers/sortedcontainers-1.5.7.ebuild1
-rw-r--r--dev-python/spark-parser/spark-parser-1.5.1-r1.ebuild1
-rw-r--r--dev-python/spark-parser/spark-parser-1.6.0.ebuild1
-rw-r--r--dev-python/spark-parser/spark-parser-1.6.1.ebuild1
-rw-r--r--dev-python/spark-parser/spark-parser-1.8.5.ebuild1
-rw-r--r--dev-python/speaklater/speaklater-1.3-r1.ebuild1
-rw-r--r--dev-python/spectral-cube/spectral-cube-0.4.0.ebuild1
-rw-r--r--dev-python/specutils/specutils-0.2.2.ebuild1
-rw-r--r--dev-python/specutils/specutils-0.2.ebuild1
-rw-r--r--dev-python/sphinx-jinja/sphinx-jinja-0.2.1.ebuild1
-rw-r--r--dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild1
-rw-r--r--dev-python/sphinx-testing/sphinx-testing-0.7.2.ebuild1
-rw-r--r--dev-python/sphinx_celery/sphinx_celery-1.3.1.ebuild1
-rw-r--r--dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r1.ebuild1
-rw-r--r--dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild1
-rw-r--r--dev-python/sphinxcontrib-napoleon/sphinxcontrib-napoleon-0.5.2.ebuild1
-rw-r--r--dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.11.ebuild1
-rw-r--r--dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.8.ebuild1
-rw-r--r--dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-2.1.2.ebuild1
-rw-r--r--dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild1
-rw-r--r--dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild1
-rw-r--r--dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild1
-rw-r--r--dev-python/sqlalchemy/sqlalchemy-0.7.10.ebuild3
-rw-r--r--dev-python/sqlalchemy/sqlalchemy-1.2.18.ebuild1
-rw-r--r--dev-python/sqlalchemy/sqlalchemy-1.3.3.ebuild1
-rw-r--r--dev-python/sqlalchemy/sqlalchemy-1.3.4.ebuild1
-rw-r--r--dev-python/sqlite3dbm/sqlite3dbm-0.1.4-r1.ebuild3
-rw-r--r--dev-python/statsd/statsd-3.2.1.ebuild1
-rw-r--r--dev-python/statsd/statsd-3.3.0.ebuild1
-rw-r--r--dev-python/statsmodels/statsmodels-0.6.1.ebuild1
-rw-r--r--dev-python/statsmodels/statsmodels-0.8.0.ebuild1
-rw-r--r--dev-python/statsmodels/statsmodels-0.9.0.ebuild1
-rw-r--r--dev-python/statsmodels/statsmodels-9999.ebuild1
-rw-r--r--dev-python/stevedore/stevedore-1.25.1.ebuild1
-rw-r--r--dev-python/stevedore/stevedore-1.28.0.ebuild1
-rw-r--r--dev-python/stevedore/stevedore-1.30.1.ebuild1
-rw-r--r--dev-python/storm/storm-0.20-r1.ebuild3
-rw-r--r--dev-python/stripe/stripe-2.10.1.ebuild1
-rw-r--r--dev-python/stripe/stripe-2.3.0.ebuild1
-rw-r--r--dev-python/stripe/stripe-2.34.0.ebuild1
-rw-r--r--dev-python/subprocess32/subprocess32-3.2.7.ebuild3
-rw-r--r--dev-python/subprocess32/subprocess32-3.5.4.ebuild1
-rw-r--r--dev-python/subunit/subunit-1.2.0-r1.ebuild1
-rw-r--r--dev-python/subvertpy/subvertpy-0.10.1.ebuild1
-rw-r--r--dev-python/subvertpy/subvertpy-0.9.1.ebuild3
-rw-r--r--dev-python/suds/suds-0.6-r1.ebuild1
-rw-r--r--dev-python/sunpy/sunpy-0.8.0.ebuild1
-rw-r--r--dev-python/superlance/superlance-0.14.ebuild3
-rw-r--r--dev-python/superlance/superlance-1.0.0.ebuild3
-rw-r--r--dev-python/sure/sure-1.2.24.ebuild1
-rw-r--r--dev-python/sure/sure-1.2.5-r1.ebuild1
-rw-r--r--dev-python/svgwrite/svgwrite-1.2.1.ebuild3
-rw-r--r--dev-python/symengine/symengine-0.3.0.ebuild1
-rw-r--r--dev-python/sympy/sympy-1.0-r1.ebuild1
-rw-r--r--dev-python/tempita/tempita-0.5.3-r2.ebuild1
-rw-r--r--dev-python/tempora/tempora-1.12.ebuild1
-rw-r--r--dev-python/tempora/tempora-1.14.1.ebuild1
-rw-r--r--dev-python/tempora/tempora-1.14.ebuild1
-rw-r--r--dev-python/tempora/tempora-1.7.ebuild1
-rw-r--r--dev-python/terminado/terminado-0.5.ebuild1
-rw-r--r--dev-python/terminado/terminado-0.6.ebuild1
-rw-r--r--dev-python/terminado/terminado-0.8.1.ebuild1
-rw-r--r--dev-python/testfixtures/testfixtures-4.9.1.ebuild1
-rw-r--r--dev-python/testfixtures/testfixtures-6.8.2.ebuild1
-rw-r--r--dev-python/testify/testify-0.11.0.ebuild1
-rw-r--r--dev-python/testpath/testpath-0.3.1.ebuild1
-rw-r--r--dev-python/testrepository/testrepository-0.0.18-r1.ebuild1
-rw-r--r--dev-python/testrepository/testrepository-0.0.20.ebuild1
-rw-r--r--dev-python/testresources/testresources-0.2.7-r2.ebuild1
-rw-r--r--dev-python/testresources/testresources-1.0.0.ebuild1
-rw-r--r--dev-python/testresources/testresources-2.0.1.ebuild1
-rw-r--r--dev-python/testscenarios/testscenarios-0.5.0.ebuild1
-rw-r--r--dev-python/testtools/testtools-2.3.0.ebuild1
-rw-r--r--dev-python/tgmochikit/tgmochikit-1.4.2-r1.ebuild3
-rw-r--r--dev-python/theano/theano-0.7.0.ebuild3
-rw-r--r--dev-python/theano/theano-0.8.2.ebuild1
-rw-r--r--dev-python/theano/theano-0.9.0.ebuild1
-rw-r--r--dev-python/timelib/timelib-0.2.4-r1.ebuild3
-rw-r--r--dev-python/tinycss2/tinycss2-1.0.2.ebuild1
-rw-r--r--dev-python/toro/toro-1.0.1.ebuild1
-rw-r--r--dev-python/tqdm/tqdm-4.33.0.ebuild1
-rw-r--r--dev-python/traitlets/traitlets-4.3.2.ebuild1
-rw-r--r--dev-python/treq/treq-0.2.1.ebuild3
-rw-r--r--dev-python/treq/treq-16.12.0.ebuild1
-rw-r--r--dev-python/treq/treq-17.3.1.ebuild1
-rw-r--r--dev-python/treq/treq-17.8.0.ebuild1
-rw-r--r--dev-python/turbocheetah/turbocheetah-1.0-r1.ebuild3
-rw-r--r--dev-python/turbokid/turbokid-1.0.5-r1.ebuild3
-rw-r--r--dev-python/twine/twine-1.11.0.ebuild1
-rw-r--r--dev-python/twisted-core/twisted-core-15.2.1.ebuild3
-rw-r--r--dev-python/txaio/txaio-2.7.1.ebuild1
-rw-r--r--dev-python/txaio/txaio-2.9.0.ebuild1
-rw-r--r--dev-python/txgithub/txgithub-15.0.0-r1.ebuild1
-rw-r--r--dev-python/txtorcon/txtorcon-0.19.3-r1.ebuild1
-rw-r--r--dev-python/ufoLib/ufoLib-3.0.0.ebuild1
-rw-r--r--dev-python/ujson/ujson-1.33.ebuild1
-rw-r--r--dev-python/uncertainties/uncertainties-3.0.1.ebuild1
-rw-r--r--dev-python/uncompyle6/uncompyle6-2.10.1.ebuild1
-rw-r--r--dev-python/uranium/uranium-3.6.0-r1.ebuild1
-rw-r--r--dev-python/uranium/uranium-4.2.0.ebuild1
-rw-r--r--dev-python/uranium/uranium-4.3.0.ebuild1
-rw-r--r--dev-python/urdf_parser_py/urdf_parser_py-0.4.0.ebuild3
-rw-r--r--dev-python/uvloop/uvloop-0.8.1.ebuild3
-rw-r--r--dev-python/vatnumber/vatnumber-1.1-r1.ebuild3
-rw-r--r--dev-python/vcrpy/vcrpy-1.10.3.ebuild1
-rw-r--r--dev-python/vcrpy/vcrpy-1.11.1.ebuild1
-rw-r--r--dev-python/vcrpy/vcrpy-1.12.0.ebuild1
-rw-r--r--dev-python/vcstools/vcstools-0.1.40.ebuild1
-rw-r--r--dev-python/vcstools/vcstools-0.1.42.ebuild1
-rw-r--r--dev-python/vcstools/vcstools-9999.ebuild1
-rw-r--r--dev-python/vdirsyncer/vdirsyncer-0.16.3.ebuild1
-rw-r--r--dev-python/vdirsyncer/vdirsyncer-0.16.4.ebuild1
-rw-r--r--dev-python/vdirsyncer/vdirsyncer-0.16.6.ebuild1
-rw-r--r--dev-python/vdirsyncer/vdirsyncer-0.16.7.ebuild1
-rw-r--r--dev-python/venusian/venusian-1.0.ebuild1
-rw-r--r--dev-python/venusian/venusian-1.0_p20161030.ebuild1
-rw-r--r--dev-python/vertex/vertex-0.3.1-r1.ebuild3
-rw-r--r--dev-python/vine/vine-1.1.3.ebuild1
-rw-r--r--dev-python/vine/vine-1.3.0.ebuild1
-rw-r--r--dev-python/virtualenv/virtualenv-15.1.0.ebuild1
-rw-r--r--dev-python/virtualenv/virtualenv-16.0.0.ebuild1
-rw-r--r--dev-python/visitor/visitor-0.1.3.ebuild1
-rw-r--r--dev-python/waitress/waitress-1.0.1.ebuild1
-rw-r--r--dev-python/waitress/waitress-1.0.2-r1.ebuild1
-rw-r--r--dev-python/waitress/waitress-1.0.2.ebuild1
-rw-r--r--dev-python/warlock/warlock-1.1.0.ebuild1
-rw-r--r--dev-python/warlock/warlock-1.2.0.ebuild1
-rw-r--r--dev-python/warlock/warlock-1.3.0.ebuild1
-rw-r--r--dev-python/watchdog/watchdog-0.8.3-r1.ebuild1
-rw-r--r--dev-python/watchdog/watchdog-0.8.3-r2.ebuild1
-rw-r--r--dev-python/watchdog/watchdog-0.9.0.ebuild1
-rw-r--r--dev-python/wcsaxes/wcsaxes-0.8.ebuild1
-rw-r--r--dev-python/wcsaxes/wcsaxes-0.9-r1.ebuild1
-rw-r--r--dev-python/wcsaxes/wcsaxes-0.9.ebuild1
-rw-r--r--dev-python/weasyprint/weasyprint-43.ebuild1
-rw-r--r--dev-python/webassets/webassets-0.12.1.ebuild1
-rw-r--r--dev-python/webassets/webassets-0.12.ebuild1
-rw-r--r--dev-python/webcolors/webcolors-1.5.ebuild1
-rw-r--r--dev-python/webcolors/webcolors-1.8.1.ebuild1
-rw-r--r--dev-python/weberror/weberror-0.13.1.ebuild3
-rw-r--r--dev-python/webhelpers/webhelpers-1.3-r1.ebuild3
-rw-r--r--dev-python/websocket-client/websocket-client-0.48.0.ebuild1
-rw-r--r--dev-python/webtest/webtest-2.0.21.ebuild1
-rw-r--r--dev-python/webtest/webtest-2.0.29-r1.ebuild3
-rw-r--r--dev-python/webtest/webtest-2.0.29.ebuild1
-rw-r--r--dev-python/wehjit/wehjit-0.2.2-r1.ebuild1
-rw-r--r--dev-python/whichcraft/whichcraft-0.4.1.ebuild1
-rw-r--r--dev-python/whisper/whisper-1.1.3.ebuild1
-rw-r--r--dev-python/whisper/whisper-1.1.5.ebuild1
-rw-r--r--dev-python/whoosh/whoosh-2.6.0.ebuild1
-rw-r--r--dev-python/whoosh/whoosh-2.7.4.ebuild1
-rw-r--r--dev-python/wrapt/wrapt-1.10.10.ebuild1
-rw-r--r--dev-python/wrapt/wrapt-1.10.11.ebuild1
-rw-r--r--dev-python/wrapt/wrapt-1.11.2.ebuild1
-rw-r--r--dev-python/ws4py/ws4py-0.3.4-r1.ebuild1
-rw-r--r--dev-python/ws4py/ws4py-0.3.4.ebuild1
-rw-r--r--dev-python/ws4py/ws4py-0.5.1.ebuild1
-rw-r--r--dev-python/ws4py/ws4py-9999.ebuild1
-rw-r--r--dev-python/wsaccel/wsaccel-0.6.2_p20170108.ebuild1
-rw-r--r--dev-python/wsgiintercept/wsgiintercept-1.3.1.ebuild1
-rw-r--r--dev-python/wsproto/wsproto-0.11.0.ebuild3
-rw-r--r--dev-python/wsproto/wsproto-0.12.0.ebuild3
-rw-r--r--dev-python/wstools/wstools-0.4.5-r1.ebuild1
-rw-r--r--dev-python/wtf-peewee/wtf-peewee-0.2.6.ebuild1
-rw-r--r--dev-python/wtf-peewee/wtf-peewee-3.0.0.ebuild1
-rw-r--r--dev-python/wtforms/wtforms-2.1.ebuild1
-rw-r--r--dev-python/wtforms/wtforms-2.2.1.ebuild1
-rw-r--r--dev-python/www-authenticate/www-authenticate-0.9.2.ebuild1
-rw-r--r--dev-python/wxpython/wxpython-4.0.6.ebuild1
-rw-r--r--dev-python/xarray/xarray-0.10.8.ebuild1
-rw-r--r--dev-python/xarray/xarray-0.12.1.ebuild1
-rw-r--r--dev-python/xcffib/xcffib-0.5.1.ebuild1
-rw-r--r--dev-python/xcffib/xcffib-0.6.0.ebuild1
-rw-r--r--dev-python/xcffib/xcffib-0.7.0.ebuild1
-rw-r--r--dev-python/xcffib/xcffib-0.8.1.ebuild1
-rw-r--r--dev-python/xdis/xdis-3.3.1.ebuild1
-rw-r--r--dev-python/xdis/xdis-3.6.0.ebuild1
-rw-r--r--dev-python/xlsxwriter/xlsxwriter-0.9.8.ebuild1
-rw-r--r--dev-python/xlutils/xlutils-1.7.1.ebuild3
-rw-r--r--dev-python/xlutils/xlutils-2.0.0-r1.ebuild1
-rw-r--r--dev-python/xlwt/xlwt-1.2.0.ebuild1
-rw-r--r--dev-python/xlwt/xlwt-1.3.0.ebuild1
-rw-r--r--dev-python/xmltodict/xmltodict-0.11.0.ebuild1
-rw-r--r--dev-python/xmltodict/xmltodict-0.12.0.ebuild1
-rw-r--r--dev-python/xstatic-bootstrap-scss/xstatic-bootstrap-scss-3.3.7.1.ebuild1
-rw-r--r--dev-python/xstatic-datatables/xstatic-datatables-1.10.15.1.ebuild1
-rw-r--r--dev-python/xstatic-jquery/xstatic-jquery-1.10.2.1.ebuild1
-rw-r--r--dev-python/xstatic-patternfly-bootstrap-treeview/xstatic-patternfly-bootstrap-treeview-2.1.3.2.ebuild1
-rw-r--r--dev-python/xstatic-patternfly/xstatic-patternfly-3.21.0.1.ebuild1
-rw-r--r--dev-python/xstatic/xstatic-1.0.1.ebuild1
-rw-r--r--dev-python/xvfbwrapper/xvfbwrapper-0.2.8.ebuild1
-rw-r--r--dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild1
-rw-r--r--dev-python/yapf/yapf-0.24.0.ebuild1
-rw-r--r--dev-python/yapf/yapf-0.28.0.ebuild1
-rw-r--r--dev-python/yappi/yappi-0.98.ebuild1
-rw-r--r--dev-python/yappi/yappi-1.0.ebuild1
-rw-r--r--dev-python/yarl/yarl-1.1.1.ebuild1
-rw-r--r--dev-python/yarl/yarl-1.3.0.ebuild1
-rw-r--r--dev-python/zake/zake-0.2.1.ebuild1
-rw-r--r--dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild1
-rw-r--r--dev-python/zc-lockfile/zc-lockfile-1.4.ebuild1
-rw-r--r--dev-python/zict/zict-0.1.2.ebuild1
-rw-r--r--dev-python/zict/zict-0.1.3.ebuild1
-rw-r--r--dev-python/zict/zict-0.1.4.ebuild1
-rw-r--r--dev-python/zipp/zipp-0.5.2.ebuild1
-rw-r--r--dev-python/zipp/zipp-0.6.0.ebuild1
-rw-r--r--dev-python/zope-deprecation/zope-deprecation-4.2.0.ebuild1
1156 files changed, 1257 insertions, 101 deletions
diff --git a/dev-python/APScheduler/APScheduler-3.3.1.ebuild b/dev-python/APScheduler/APScheduler-3.3.1.ebuild
index c7966ad91661..a719fad78006 100644
--- a/dev-python/APScheduler/APScheduler-3.3.1.ebuild
+++ b/dev-python/APScheduler/APScheduler-3.3.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/APScheduler/APScheduler-3.5.3.ebuild b/dev-python/APScheduler/APScheduler-3.5.3.ebuild
index c9760f6c5261..58245aabdaa0 100644
--- a/dev-python/APScheduler/APScheduler-3.5.3.ebuild
+++ b/dev-python/APScheduler/APScheduler-3.5.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/ImageHash/ImageHash-3.4.ebuild b/dev-python/ImageHash/ImageHash-3.4.ebuild
index 25ce89b22d14..21f076e287b6 100644
--- a/dev-python/ImageHash/ImageHash-3.4.ebuild
+++ b/dev-python/ImageHash/ImageHash-3.4.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64"
LICENSE="BSD-2"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/ImageHash/ImageHash-3.7.ebuild b/dev-python/ImageHash/ImageHash-3.7.ebuild
index 25ce89b22d14..21f076e287b6 100644
--- a/dev-python/ImageHash/ImageHash-3.7.ebuild
+++ b/dev-python/ImageHash/ImageHash-3.7.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64"
LICENSE="BSD-2"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/ImageHash/ImageHash-4.0.ebuild b/dev-python/ImageHash/ImageHash-4.0.ebuild
index 69df41ec8b1a..74b45121430b 100644
--- a/dev-python/ImageHash/ImageHash-4.0.ebuild
+++ b/dev-python/ImageHash/ImageHash-4.0.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64"
LICENSE="BSD-2"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/Kivy/Kivy-1.10.0.ebuild b/dev-python/Kivy/Kivy-1.10.0.ebuild
index a17faa865687..ccdd94cab72c 100644
--- a/dev-python/Kivy/Kivy-1.10.0.ebuild
+++ b/dev-python/Kivy/Kivy-1.10.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cairo camera doc examples garden gstreamer +sdl spell test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pillow[${PYTHON_USEDEP}]
diff --git a/dev-python/Kivy/Kivy-1.10.1.ebuild b/dev-python/Kivy/Kivy-1.10.1.ebuild
index 49fe7e01387d..95dabb5f0e85 100644
--- a/dev-python/Kivy/Kivy-1.10.1.ebuild
+++ b/dev-python/Kivy/Kivy-1.10.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="cairo camera doc examples garden gstreamer +sdl spell test"
+RESTRICT="!test? ( test )"
RDEPEND="
media-libs/mesa[gles2]
diff --git a/dev-python/Kivy/Kivy-1.9.1-r1.ebuild b/dev-python/Kivy/Kivy-1.9.1-r1.ebuild
index d17b7e2d0093..de15acb2050e 100644
--- a/dev-python/Kivy/Kivy-1.9.1-r1.ebuild
+++ b/dev-python/Kivy/Kivy-1.9.1-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cairo camera doc examples garden gstreamer +sdl spell test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pillow[${PYTHON_USEDEP}]
diff --git a/dev-python/Kivy/Kivy-1.9.1.ebuild b/dev-python/Kivy/Kivy-1.9.1.ebuild
index 590c6859261d..76675221370e 100644
--- a/dev-python/Kivy/Kivy-1.9.1.ebuild
+++ b/dev-python/Kivy/Kivy-1.9.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="cairo camera doc examples garden gstreamer +sdl spell test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pillow[${PYTHON_USEDEP}]
diff --git a/dev-python/Numdifftools/Numdifftools-0.9.13.ebuild b/dev-python/Numdifftools/Numdifftools-0.9.13.ebuild
index 902a6a2ab96d..c0e0928d8d23 100644
--- a/dev-python/Numdifftools/Numdifftools-0.9.13.ebuild
+++ b/dev-python/Numdifftools/Numdifftools-0.9.13.ebuild
@@ -18,6 +18,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/algopy-0.4[${PYTHON_USEDEP}]
diff --git a/dev-python/Numdifftools/Numdifftools-0.9.14.ebuild b/dev-python/Numdifftools/Numdifftools-0.9.14.ebuild
index 8d8d1a0f9817..64d248242ceb 100644
--- a/dev-python/Numdifftools/Numdifftools-0.9.14.ebuild
+++ b/dev-python/Numdifftools/Numdifftools-0.9.14.ebuild
@@ -18,6 +18,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/algopy-0.4[${PYTHON_USEDEP}]
diff --git a/dev-python/Numdifftools/Numdifftools-0.9.17.ebuild b/dev-python/Numdifftools/Numdifftools-0.9.17.ebuild
index 3c41474b9cf2..75463eadb5dd 100644
--- a/dev-python/Numdifftools/Numdifftools-0.9.17.ebuild
+++ b/dev-python/Numdifftools/Numdifftools-0.9.17.ebuild
@@ -18,6 +18,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/algopy-0.4[${PYTHON_USEDEP}]
diff --git a/dev-python/PyECLib/PyECLib-1.5.0.ebuild b/dev-python/PyECLib/PyECLib-1.5.0.ebuild
index 6df4178712b4..139dcba355e3 100644
--- a/dev-python/PyECLib/PyECLib-1.5.0.ebuild
+++ b/dev-python/PyECLib/PyECLib-1.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-libs/jerasure"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/PyECLib/PyECLib-1.6.0.ebuild b/dev-python/PyECLib/PyECLib-1.6.0.ebuild
index 60a5e0b57290..e3086b2e92a6 100644
--- a/dev-python/PyECLib/PyECLib-1.6.0.ebuild
+++ b/dev-python/PyECLib/PyECLib-1.6.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-libs/jerasure"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/PySDL2/PySDL2-0.9.6.ebuild b/dev-python/PySDL2/PySDL2-0.9.6.ebuild
index bb3d9db8c418..7e3b2317f27e 100644
--- a/dev-python/PySDL2/PySDL2-0.9.6.ebuild
+++ b/dev-python/PySDL2/PySDL2-0.9.6.ebuild
@@ -14,6 +14,7 @@ LICENSE="|| ( public-domain CC0-1.0 ZLIB )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
# Optional deps:
# - dev-python/numpy,
diff --git a/dev-python/PyUtilib/PyUtilib-5.6.5.ebuild b/dev-python/PyUtilib/PyUtilib-5.6.5.ebuild
index 0f3cc65d1085..22a9c5f3ade5 100644
--- a/dev-python/PyUtilib/PyUtilib-5.6.5.ebuild
+++ b/dev-python/PyUtilib/PyUtilib-5.6.5.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
BDEPEND="${RDEPEND}
diff --git a/dev-python/URLObject/URLObject-2.4.2-r1.ebuild b/dev-python/URLObject/URLObject-2.4.2-r1.ebuild
index b628b00bb781..eb159b69ab9e 100644
--- a/dev-python/URLObject/URLObject-2.4.2-r1.ebuild
+++ b/dev-python/URLObject/URLObject-2.4.2-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/URLObject/URLObject-2.4.3.ebuild b/dev-python/URLObject/URLObject-2.4.3.ebuild
index 52b54f19514b..5713e72331c1 100644
--- a/dev-python/URLObject/URLObject-2.4.3.ebuild
+++ b/dev-python/URLObject/URLObject-2.4.3.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]"
diff --git a/dev-python/aadict/aadict-0.2.3.ebuild b/dev-python/aadict/aadict-0.2.3.ebuild
index b4815bac1bf6..2b91b9ffcd1f 100644
--- a/dev-python/aadict/aadict-0.2.3.ebuild
+++ b/dev-python/aadict/aadict-0.2.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.6.0[${PYTHON_USEDEP}]
diff --git a/dev-python/abstract_rendering/abstract_rendering-0.5.1.ebuild b/dev-python/abstract_rendering/abstract_rendering-0.5.1.ebuild
index fa2f89928225..e33a71a62828 100644
--- a/dev-python/abstract_rendering/abstract_rendering-0.5.1.ebuild
+++ b/dev-python/abstract_rendering/abstract_rendering-0.5.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="uni_indiana"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/aioeventlet/aioeventlet-0.5.1-r1.ebuild b/dev-python/aioeventlet/aioeventlet-0.5.1-r1.ebuild
index a5c1dfd677e2..a3e6993d9f47 100644
--- a/dev-python/aioeventlet/aioeventlet-0.5.1-r1.ebuild
+++ b/dev-python/aioeventlet/aioeventlet-0.5.1-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/eventlet[${PYTHON_USEDEP}]
diff --git a/dev-python/aiohttp-cors/aiohttp-cors-0.6.0.ebuild b/dev-python/aiohttp-cors/aiohttp-cors-0.6.0.ebuild
index e5b671ad5b8e..6a2b315affe4 100644
--- a/dev-python/aiohttp-cors/aiohttp-cors-0.6.0.ebuild
+++ b/dev-python/aiohttp-cors/aiohttp-cors-0.6.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/aiohttp-1.1.1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0.ebuild b/dev-python/aiohttp-cors/aiohttp-cors-0.7.0.ebuild
index 6bd3345141ef..eb2e764e7273 100644
--- a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0.ebuild
+++ b/dev-python/aiohttp-cors/aiohttp-cors-0.7.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/aiohttp-1.1.1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/aiohttp-jinja2/aiohttp-jinja2-0.15.0.ebuild b/dev-python/aiohttp-jinja2/aiohttp-jinja2-0.15.0.ebuild
index 49e8a08065ae..8d1d06eca111 100644
--- a/dev-python/aiohttp-jinja2/aiohttp-jinja2-0.15.0.ebuild
+++ b/dev-python/aiohttp-jinja2/aiohttp-jinja2-0.15.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/aiohttp-2.3.9[${PYTHON_USEDEP}]
diff --git a/dev-python/alembic/alembic-0.9.3.ebuild b/dev-python/alembic/alembic-0.9.3.ebuild
index 4a1b2e5424a0..4a7100974ff0 100644
--- a/dev-python/alembic/alembic-0.9.3.ebuild
+++ b/dev-python/alembic/alembic-0.9.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test doc"
+RESTRICT="!test? ( test )"
# requires.txt cites 'SQLAlchemy>=0.7.3' which is really both old and silly
# because it shatters the testsuite. If 'someone' cares to adhere to correct form
diff --git a/dev-python/alembic/alembic-0.9.5.ebuild b/dev-python/alembic/alembic-0.9.5.ebuild
index 9824a848b256..c2c8eb428d17 100644
--- a/dev-python/alembic/alembic-0.9.5.ebuild
+++ b/dev-python/alembic/alembic-0.9.5.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test doc"
+RESTRICT="!test? ( test )"
# requires.txt cites 'SQLAlchemy>=0.7.3' which is really both old and silly
# because it shatters the testsuite. If 'someone' cares to adhere to correct form
diff --git a/dev-python/alembic/alembic-0.9.7.ebuild b/dev-python/alembic/alembic-0.9.7.ebuild
index 4a1b2e5424a0..4a7100974ff0 100644
--- a/dev-python/alembic/alembic-0.9.7.ebuild
+++ b/dev-python/alembic/alembic-0.9.7.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test doc"
+RESTRICT="!test? ( test )"
# requires.txt cites 'SQLAlchemy>=0.7.3' which is really both old and silly
# because it shatters the testsuite. If 'someone' cares to adhere to correct form
diff --git a/dev-python/alembic/alembic-1.0.8.ebuild b/dev-python/alembic/alembic-1.0.8.ebuild
index 53daf82daeb8..ae07cdf79c27 100644
--- a/dev-python/alembic/alembic-1.0.8.ebuild
+++ b/dev-python/alembic/alembic-1.0.8.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test doc"
+RESTRICT="!test? ( test )"
# requires.txt cites 'SQLAlchemy>=0.7.3' which is really both old and silly
# because it shatters the testsuite. If 'someone' cares to adhere to correct form
diff --git a/dev-python/algopy/algopy-0.5.3.ebuild b/dev-python/algopy/algopy-0.5.3.ebuild
index 46e45559d911..b720b3a8e675 100644
--- a/dev-python/algopy/algopy-0.5.3.ebuild
+++ b/dev-python/algopy/algopy-0.5.3.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/amqplib/amqplib-1.0.2-r1.ebuild b/dev-python/amqplib/amqplib-1.0.2-r1.ebuild
index 1a324c5f5cf8..bbd4303436da 100644
--- a/dev-python/amqplib/amqplib-1.0.2-r1.ebuild
+++ b/dev-python/amqplib/amqplib-1.0.2-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="examples extras test"
+RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/${PN}-0.6.1_disable_socket_tests.patch"
diff --git a/dev-python/aniso8601/aniso8601-4.0.1.ebuild b/dev-python/aniso8601/aniso8601-4.0.1.ebuild
index 809a4d12bd2c..6a3cc8fa7454 100644
--- a/dev-python/aniso8601/aniso8601-4.0.1.ebuild
+++ b/dev-python/aniso8601/aniso8601-4.0.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/python-dateutil-2.7.3[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/ansicolor/ansicolor-9999.ebuild b/dev-python/ansicolor/ansicolor-9999.ebuild
index c501630241cd..0a193bca2140 100644
--- a/dev-python/ansicolor/ansicolor-9999.ebuild
+++ b/dev-python/ansicolor/ansicolor-9999.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/ansimarkup/ansimarkup-1.4.0.ebuild b/dev-python/ansimarkup/ansimarkup-1.4.0.ebuild
index 4d836ae349e8..05bb5d0b182d 100644
--- a/dev-python/ansimarkup/ansimarkup-1.4.0.ebuild
+++ b/dev-python/ansimarkup/ansimarkup-1.4.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/colorama[${PYTHON_USEDEP}]
diff --git a/dev-python/anyjson/anyjson-0.3.3-r1.ebuild b/dev-python/anyjson/anyjson-0.3.3-r1.ebuild
index da0a155d4100..b7adfb222500 100644
--- a/dev-python/anyjson/anyjson-0.3.3-r1.ebuild
+++ b/dev-python/anyjson/anyjson-0.3.3-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
# please keep all supported implementations in 'test?'
# to make sure the package is used in the widest way
diff --git a/dev-python/apispec/apispec-0.35.0.ebuild b/dev-python/apispec/apispec-0.35.0.ebuild
index 2929b5098ab9..d8b88f00cb2f 100644
--- a/dev-python/apispec/apispec-0.35.0.ebuild
+++ b/dev-python/apispec/apispec-0.35.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
diff --git a/dev-python/argh/argh-0.26.2-r1.ebuild b/dev-python/argh/argh-0.26.2-r1.ebuild
index 9cd9c62e6c53..e9a2af54e2a8 100644
--- a/dev-python/argh/argh-0.26.2-r1.ebuild
+++ b/dev-python/argh/argh-0.26.2-r1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
LICENSE="LGPL-3"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/argon2_cffi/argon2_cffi-19.1.0.ebuild b/dev-python/argon2_cffi/argon2_cffi-19.1.0.ebuild
index 31e7d19fe50e..88f98ec94292 100644
--- a/dev-python/argon2_cffi/argon2_cffi-19.1.0.ebuild
+++ b/dev-python/argon2_cffi/argon2_cffi-19.1.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="
~app-crypt/argon2-20171227:=
diff --git a/dev-python/arrow/arrow-0.10.0.ebuild b/dev-python/arrow/arrow-0.10.0.ebuild
index ea37f16c534b..afc9b1ee120c 100644
--- a/dev-python/arrow/arrow-0.10.0.ebuild
+++ b/dev-python/arrow/arrow-0.10.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]"
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}]
diff --git a/dev-python/arrow/arrow-0.12.1.ebuild b/dev-python/arrow/arrow-0.12.1.ebuild
index c09646ece3ed..c328b67b62ca 100644
--- a/dev-python/arrow/arrow-0.12.1.ebuild
+++ b/dev-python/arrow/arrow-0.12.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/python-dateutil[${PYTHON_USEDEP}]"
diff --git a/dev-python/arrow/arrow-0.13.1.ebuild b/dev-python/arrow/arrow-0.13.1.ebuild
index 08d9c7d2fffd..5f98bc6ca5c5 100644
--- a/dev-python/arrow/arrow-0.13.1.ebuild
+++ b/dev-python/arrow/arrow-0.13.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/python-dateutil[${PYTHON_USEDEP}]
diff --git a/dev-python/asciitable/asciitable-0.8.0-r1.ebuild b/dev-python/asciitable/asciitable-0.8.0-r1.ebuild
index c8cadaf0e570..2ba9ad80ed5e 100644
--- a/dev-python/asciitable/asciitable-0.8.0-r1.ebuild
+++ b/dev-python/asciitable/asciitable-0.8.0-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/asdf/asdf-1.2.1.ebuild b/dev-python/asdf/asdf-1.2.1.ebuild
index 00ac36d03f10..5a7e8cbaa666 100644
--- a/dev-python/asdf/asdf-1.2.1.ebuild
+++ b/dev-python/asdf/asdf-1.2.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/asset/asset-0.6.11.ebuild b/dev-python/asset/asset-0.6.11.ebuild
index 59f7926a057e..f47c107b6558 100644
--- a/dev-python/asset/asset-0.6.11.ebuild
+++ b/dev-python/asset/asset-0.6.11.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="GPL-3+"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/aadict-0.2.2[${PYTHON_USEDEP}]
diff --git a/dev-python/assets/assets-0.1.1-r1.ebuild b/dev-python/assets/assets-0.1.1-r1.ebuild
index 90fb8ed2e423..0ec2685a1167 100644
--- a/dev-python/assets/assets-0.1.1-r1.ebuild
+++ b/dev-python/assets/assets-0.1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/astrodendro/astrodendro-0.2.0.ebuild b/dev-python/astrodendro/astrodendro-0.2.0.ebuild
index bbce2e9315da..2cc0f59afb54 100644
--- a/dev-python/astrodendro/astrodendro-0.2.0.ebuild
+++ b/dev-python/astrodendro/astrodendro-0.2.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/astroid/astroid-1.6.5.ebuild b/dev-python/astroid/astroid-1.6.5.ebuild
index 7cc365a06f1a..f64200d9c1b1 100644
--- a/dev-python/astroid/astroid-1.6.5.ebuild
+++ b/dev-python/astroid/astroid-1.6.5.ebuild
@@ -15,6 +15,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
# Version specified in __pkginfo__.py.
RDEPEND="
diff --git a/dev-python/astroid/astroid-2.2.5.ebuild b/dev-python/astroid/astroid-2.2.5.ebuild
index cf781965fba6..6f60036aed4d 100644
--- a/dev-python/astroid/astroid-2.2.5.ebuild
+++ b/dev-python/astroid/astroid-2.2.5.ebuild
@@ -15,6 +15,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
# Version specified in __pkginfo__.py.
RDEPEND="
diff --git a/dev-python/astroml/astroml-0.3.ebuild b/dev-python/astroml/astroml-0.3.ebuild
index c1bf10123282..b3d5e5e75a19 100644
--- a/dev-python/astroml/astroml-0.3.ebuild
+++ b/dev-python/astroml/astroml-0.3.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/astroplan/astroplan-0.2.1.ebuild b/dev-python/astroplan/astroplan-0.2.1.ebuild
index 9f6fedb8c364..e1435494bb95 100644
--- a/dev-python/astroplan/astroplan-0.2.1.ebuild
+++ b/dev-python/astroplan/astroplan-0.2.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/astroplan/astroplan-0.2.ebuild b/dev-python/astroplan/astroplan-0.2.ebuild
index f8546333bb2e..831a8badcc65 100644
--- a/dev-python/astroplan/astroplan-0.2.ebuild
+++ b/dev-python/astroplan/astroplan-0.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/astropy/astropy-1.2.1.ebuild b/dev-python/astropy/astropy-1.2.1.ebuild
index 56d21cbe5073..e7786c0fe173 100644
--- a/dev-python/astropy/astropy-1.2.1.ebuild
+++ b/dev-python/astropy/astropy-1.2.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/expat:0=
diff --git a/dev-python/astropy/astropy-1.3.3.ebuild b/dev-python/astropy/astropy-1.3.3.ebuild
index 54c11c3ee2e4..924aeef85f40 100644
--- a/dev-python/astropy/astropy-1.3.3.ebuild
+++ b/dev-python/astropy/astropy-1.3.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# ply-3.10 incompatible, keep bundled (bug #622802)
#rdep: dev-python/ply[${PYTHON_USEDEP}]
diff --git a/dev-python/astropy/astropy-2.0.1.ebuild b/dev-python/astropy/astropy-2.0.1.ebuild
index 4e159c816588..4cc6a45fc865 100644
--- a/dev-python/astropy/astropy-2.0.1.ebuild
+++ b/dev-python/astropy/astropy-2.0.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/expat:0=
diff --git a/dev-python/astroquery/astroquery-0.3.6.ebuild b/dev-python/astroquery/astroquery-0.3.6.ebuild
index 5ca1b4fbb531..042945510c6c 100644
--- a/dev-python/astroquery/astroquery-0.3.6.ebuild
+++ b/dev-python/astroquery/astroquery-0.3.6.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DOCS=( README.rst )
diff --git a/dev-python/astroscrappy/astroscrappy-1.0.3.ebuild b/dev-python/astroscrappy/astroscrappy-1.0.3.ebuild
index 016c448fdf7a..65c8cd32f821 100644
--- a/dev-python/astroscrappy/astroscrappy-1.0.3.ebuild
+++ b/dev-python/astroscrappy/astroscrappy-1.0.3.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="doc openmp test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/astroscrappy/astroscrappy-1.0.5.ebuild b/dev-python/astroscrappy/astroscrappy-1.0.5.ebuild
index fd41e9f7c3cc..3ffbc1766ae9 100644
--- a/dev-python/astroscrappy/astroscrappy-1.0.5.ebuild
+++ b/dev-python/astroscrappy/astroscrappy-1.0.5.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="doc openmp test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/async_timeout/async_timeout-1.2.1.ebuild b/dev-python/async_timeout/async_timeout-1.2.1.ebuild
index 22db4f22c785..e2d2d43e3af4 100644
--- a/dev-python/async_timeout/async_timeout-1.2.1.ebuild
+++ b/dev-python/async_timeout/async_timeout-1.2.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
S=${WORKDIR}/${MY_P}
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/autobahn/autobahn-17.10.1.ebuild b/dev-python/autobahn/autobahn-17.10.1.ebuild
index 5447e927ebdb..c4ec6e740ef7 100644
--- a/dev-python/autobahn/autobahn-17.10.1.ebuild
+++ b/dev-python/autobahn/autobahn-17.10.1.ebuild
@@ -19,6 +19,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="crypt test"
+RESTRICT="!test? ( test )"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/trollius-2.0[${PYTHON_USEDEP}]' 'python2_7')
diff --git a/dev-python/autobahn/autobahn-17.5.1-r2.ebuild b/dev-python/autobahn/autobahn-17.5.1-r2.ebuild
index 6fa2e6e0f64d..b6b988d506e2 100644
--- a/dev-python/autobahn/autobahn-17.5.1-r2.ebuild
+++ b/dev-python/autobahn/autobahn-17.5.1-r2.ebuild
@@ -19,6 +19,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="amd64 x86"
IUSE="crypt test"
+RESTRICT="!test? ( test )"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/trollius-2.0[${PYTHON_USEDEP}]' 'python2_7')
diff --git a/dev-python/autobahn/autobahn-17.9.1.ebuild b/dev-python/autobahn/autobahn-17.9.1.ebuild
index 5447e927ebdb..c4ec6e740ef7 100644
--- a/dev-python/autobahn/autobahn-17.9.1.ebuild
+++ b/dev-python/autobahn/autobahn-17.9.1.ebuild
@@ -19,6 +19,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="crypt test"
+RESTRICT="!test? ( test )"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/trollius-2.0[${PYTHON_USEDEP}]' 'python2_7')
diff --git a/dev-python/autobahn/autobahn-17.9.2.ebuild b/dev-python/autobahn/autobahn-17.9.2.ebuild
index 5447e927ebdb..c4ec6e740ef7 100644
--- a/dev-python/autobahn/autobahn-17.9.2.ebuild
+++ b/dev-python/autobahn/autobahn-17.9.2.ebuild
@@ -19,6 +19,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="crypt test"
+RESTRICT="!test? ( test )"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/trollius-2.0[${PYTHON_USEDEP}]' 'python2_7')
diff --git a/dev-python/autobahn/autobahn-18.3.1.ebuild b/dev-python/autobahn/autobahn-18.3.1.ebuild
index 97f79aca94e5..87aa279ca102 100644
--- a/dev-python/autobahn/autobahn-18.3.1.ebuild
+++ b/dev-python/autobahn/autobahn-18.3.1.ebuild
@@ -19,6 +19,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="crypt test"
+RESTRICT="!test? ( test )"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/trollius-2.0[${PYTHON_USEDEP}]' 'python2_7')
diff --git a/dev-python/automat/automat-0.5.0.ebuild b/dev-python/automat/automat-0.5.0.ebuild
index 9e182474ba9d..5729d9769dd7 100644
--- a/dev-python/automat/automat-0.5.0.ebuild
+++ b/dev-python/automat/automat-0.5.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]
diff --git a/dev-python/automat/automat-0.6.0.ebuild b/dev-python/automat/automat-0.6.0.ebuild
index 23a4da47ad1f..c1d2b9abb655 100644
--- a/dev-python/automat/automat-0.6.0.ebuild
+++ b/dev-python/automat/automat-0.6.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]
diff --git a/dev-python/automat/automat-0.7.0.ebuild b/dev-python/automat/automat-0.7.0.ebuild
index 686a9fe6dff0..3abfc8453262 100644
--- a/dev-python/automat/automat-0.7.0.ebuild
+++ b/dev-python/automat/automat-0.7.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]
diff --git a/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3.ebuild b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3.ebuild
index 48a404f844c5..00a968c3e41d 100644
--- a/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3.ebuild
+++ b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 sparc x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.4-r1.ebuild b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.4-r1.ebuild
index 148ec19a7f5f..fb95cded49c4 100644
--- a/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.4-r1.ebuild
+++ b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.4-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/backports[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.5.ebuild b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.5.ebuild
index 2210f323e28a..7b31226d848c 100644
--- a/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.5.ebuild
+++ b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/backports[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/backports-lzma/backports-lzma-0.0.10.ebuild b/dev-python/backports-lzma/backports-lzma-0.0.10.ebuild
index 1891ae3fab4c..7bbad18291a0 100644
--- a/dev-python/backports-lzma/backports-lzma-0.0.10.ebuild
+++ b/dev-python/backports-lzma/backports-lzma-0.0.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="app-arch/xz-utils:0=
dev-python/backports[${PYTHON_USEDEP}]"
diff --git a/dev-python/backports-lzma/backports-lzma-0.0.12.ebuild b/dev-python/backports-lzma/backports-lzma-0.0.12.ebuild
index 02d68600273d..50b36cc06d7c 100644
--- a/dev-python/backports-lzma/backports-lzma-0.0.12.ebuild
+++ b/dev-python/backports-lzma/backports-lzma-0.0.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="app-arch/xz-utils:0=
dev-python/backports[${PYTHON_USEDEP}]"
diff --git a/dev-python/backports-lzma/backports-lzma-0.0.13.ebuild b/dev-python/backports-lzma/backports-lzma-0.0.13.ebuild
index cef30ece13c6..5c1dc097d1b7 100644
--- a/dev-python/backports-lzma/backports-lzma-0.0.13.ebuild
+++ b/dev-python/backports-lzma/backports-lzma-0.0.13.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="app-arch/xz-utils:0=
dev-python/backports[${PYTHON_USEDEP}]"
diff --git a/dev-python/backports-unittest-mock/backports-unittest-mock-1.3.ebuild b/dev-python/backports-unittest-mock/backports-unittest-mock-1.3.ebuild
index ef4ec1275dbf..d59f641f84e6 100644
--- a/dev-python/backports-unittest-mock/backports-unittest-mock-1.3.ebuild
+++ b/dev-python/backports-unittest-mock/backports-unittest-mock-1.3.ebuild
@@ -19,6 +19,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/backports[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
diff --git a/dev-python/backports-unittest-mock/backports-unittest-mock-1.4.ebuild b/dev-python/backports-unittest-mock/backports-unittest-mock-1.4.ebuild
index 6c057b3df881..caf9b410c4bd 100644
--- a/dev-python/backports-unittest-mock/backports-unittest-mock-1.4.ebuild
+++ b/dev-python/backports-unittest-mock/backports-unittest-mock-1.4.ebuild
@@ -19,6 +19,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/backports[${PYTHON_USEDEP}]
diff --git a/dev-python/backports-unittest-mock/backports-unittest-mock-1.5.ebuild b/dev-python/backports-unittest-mock/backports-unittest-mock-1.5.ebuild
index 3ad9f2bb4e32..584abb732695 100644
--- a/dev-python/backports-unittest-mock/backports-unittest-mock-1.5.ebuild
+++ b/dev-python/backports-unittest-mock/backports-unittest-mock-1.5.ebuild
@@ -19,6 +19,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/backports[${PYTHON_USEDEP}]
diff --git a/dev-python/bcolz/bcolz-1.1.0.ebuild b/dev-python/bcolz/bcolz-1.1.0.ebuild
index 5123723312f3..daaa4ca15106 100644
--- a/dev-python/bcolz/bcolz-1.1.0.ebuild
+++ b/dev-python/bcolz/bcolz-1.1.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# numexpr is optional but set hard rdepend
RDEPEND="
diff --git a/dev-python/bcolz/bcolz-1.1.2.ebuild b/dev-python/bcolz/bcolz-1.1.2.ebuild
index 6a31a527f0c0..5a28998925ab 100644
--- a/dev-python/bcolz/bcolz-1.1.2.ebuild
+++ b/dev-python/bcolz/bcolz-1.1.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/c-blosc:=
diff --git a/dev-python/bcrypt/bcrypt-3.1.6.ebuild b/dev-python/bcrypt/bcrypt-3.1.6.ebuild
index 4f6e5f0f2120..98355a38ab3c 100644
--- a/dev-python/bcrypt/bcrypt-3.1.6.ebuild
+++ b/dev-python/bcrypt/bcrypt-3.1.6.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="
$(python_gen_cond_dep '>=dev-python/cffi-1.1:=[${PYTHON_USEDEP}]' 'python*')
diff --git a/dev-python/beaker/beaker-1.6.4-r1.ebuild b/dev-python/beaker/beaker-1.6.4-r1.ebuild
index 036565cc9980..2fbcff2d7d24 100644
--- a/dev-python/beaker/beaker-1.6.4-r1.ebuild
+++ b/dev-python/beaker/beaker-1.6.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -22,6 +22,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm ~hppa ia64 ~ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
# webtest-based tests are skipped when webtest is not installed
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/beaker/beaker-1.8.1.ebuild b/dev-python/beaker/beaker-1.8.1.ebuild
index 3b622f951ab0..0af3014e876c 100644
--- a/dev-python/beaker/beaker-1.8.1.ebuild
+++ b/dev-python/beaker/beaker-1.8.1.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm ~hppa ia64 ~ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="virtual/python-funcsigs[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/beautifulsoup/beautifulsoup-4.5.1.ebuild b/dev-python/beautifulsoup/beautifulsoup-4.5.1.ebuild
index eb1a00911223..87b2796d27f7 100644
--- a/dev-python/beautifulsoup/beautifulsoup-4.5.1.ebuild
+++ b/dev-python/beautifulsoup/beautifulsoup-4.5.1.ebuild
@@ -20,6 +20,7 @@ SLOT="4"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# html5lib is optional however hard coding since its use is actively discouraged in the devmanual
RDEPEND="
diff --git a/dev-python/beautifulsoup/beautifulsoup-4.6.3.ebuild b/dev-python/beautifulsoup/beautifulsoup-4.6.3.ebuild
index 9819d650d909..9566d646c163 100644
--- a/dev-python/beautifulsoup/beautifulsoup-4.6.3.ebuild
+++ b/dev-python/beautifulsoup/beautifulsoup-4.6.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,6 +19,7 @@ SLOT="4"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# html5lib is optional however hard coding since its use is actively discouraged in the devmanual
RDEPEND="
diff --git a/dev-python/bibtexparser/bibtexparser-0.6.2.ebuild b/dev-python/bibtexparser/bibtexparser-0.6.2.ebuild
index 040473cf0601..1eee6e86ca3a 100644
--- a/dev-python/bibtexparser/bibtexparser-0.6.2.ebuild
+++ b/dev-python/bibtexparser/bibtexparser-0.6.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="|| ( BSD LGPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyparsing[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/bibtexparser/bibtexparser-1.1.0.ebuild b/dev-python/bibtexparser/bibtexparser-1.1.0.ebuild
index 9d0a491d8df9..930e71bd6df1 100644
--- a/dev-python/bibtexparser/bibtexparser-1.1.0.ebuild
+++ b/dev-python/bibtexparser/bibtexparser-1.1.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="|| ( BSD LGPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyparsing[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/billiard/billiard-3.3.0.23.ebuild b/dev-python/billiard/billiard-3.3.0.23.ebuild
index 13f5a9440413..c7c794106fd2 100644
--- a/dev-python/billiard/billiard-3.3.0.23.ebuild
+++ b/dev-python/billiard/billiard-3.3.0.23.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/billiard/billiard-3.5.0.0.ebuild b/dev-python/billiard/billiard-3.5.0.0.ebuild
index 0c72a93ecc1b..7da717f5be5f 100644
--- a/dev-python/billiard/billiard-3.5.0.0.ebuild
+++ b/dev-python/billiard/billiard-3.5.0.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/billiard/billiard-3.5.0.2.ebuild b/dev-python/billiard/billiard-3.5.0.2.ebuild
index 4183910ba1ac..42146a67c21c 100644
--- a/dev-python/billiard/billiard-3.5.0.2.ebuild
+++ b/dev-python/billiard/billiard-3.5.0.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/binaryornot/binaryornot-0.4.3.ebuild b/dev-python/binaryornot/binaryornot-0.4.3.ebuild
index 999b747d311a..4357895d22a9 100644
--- a/dev-python/binaryornot/binaryornot-0.4.3.ebuild
+++ b/dev-python/binaryornot/binaryornot-0.4.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]"
DEPEND="test? ( ${RDEPEND}
diff --git a/dev-python/biplist/biplist-1.0.1.ebuild b/dev-python/biplist/biplist-1.0.1.ebuild
index 5f9e29da5b6a..bcab105a5bcb 100644
--- a/dev-python/biplist/biplist-1.0.1.ebuild
+++ b/dev-python/biplist/biplist-1.0.1.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://pypi.org/project/biplist/ https://github.com/wooster/biplist"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
LICENSE="BSD"
SLOT="0"
diff --git a/dev-python/biplist/biplist-1.0.2.ebuild b/dev-python/biplist/biplist-1.0.2.ebuild
index 2d6ffee2ba38..8e1836cad2f3 100644
--- a/dev-python/biplist/biplist-1.0.2.ebuild
+++ b/dev-python/biplist/biplist-1.0.2.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://pypi.org/project/biplist/ https://github.com/wooster/biplist"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
LICENSE="BSD"
SLOT="0"
diff --git a/dev-python/blaze/blaze-0.10.2.ebuild b/dev-python/blaze/blaze-0.10.2.ebuild
index e91899ce33b6..31109ca7fb71 100644
--- a/dev-python/blaze/blaze-0.10.2.ebuild
+++ b/dev-python/blaze/blaze-0.10.2.ebuild
@@ -18,6 +18,7 @@ KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
# Currently doc build fails, reason now, attempt to import mystery modules in datashape
# Leaving doc build content in case this is fixed
IUSE="examples test"
+RESTRICT="!test? ( test )"
# pyspark appears an optional dep not in portage. pyskit appears to be dropped
# some packages including pyparsing appear required despite their absence from requirements.txt
diff --git a/dev-python/blaze/blaze-0.11.3.ebuild b/dev-python/blaze/blaze-0.11.3.ebuild
index b63501d2bf94..482f87e156c2 100644
--- a/dev-python/blaze/blaze-0.11.3.ebuild
+++ b/dev-python/blaze/blaze-0.11.3.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/bcolz[${PYTHON_USEDEP}]
diff --git a/dev-python/bleach/bleach-2.1.3.ebuild b/dev-python/bleach/bleach-2.1.3.ebuild
index 69c0fe6c4138..4179e03e5468 100644
--- a/dev-python/bleach/bleach-2.1.3.ebuild
+++ b/dev-python/bleach/bleach-2.1.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/html5lib-0.99999999[${PYTHON_USEDEP}]
diff --git a/dev-python/bleach/bleach-3.0.2.ebuild b/dev-python/bleach/bleach-3.0.2.ebuild
index a194577fecb4..7be0f325a316 100644
--- a/dev-python/bleach/bleach-3.0.2.ebuild
+++ b/dev-python/bleach/bleach-3.0.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/blessings/blessings-1.6-r1.ebuild b/dev-python/blessings/blessings-1.6-r1.ebuild
index fb74839375da..bb2cf62a56dc 100644
--- a/dev-python/blessings/blessings-1.6-r1.ebuild
+++ b/dev-python/blessings/blessings-1.6-r1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/blessings/blessings-1.6.1.ebuild b/dev-python/blessings/blessings-1.6.1.ebuild
index 037103343ff6..2dce525e5a06 100644
--- a/dev-python/blessings/blessings-1.6.1.ebuild
+++ b/dev-python/blessings/blessings-1.6.1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/blessings/blessings-1.7.ebuild b/dev-python/blessings/blessings-1.7.ebuild
index 5817493b541b..fbf53e5d1e90 100644
--- a/dev-python/blessings/blessings-1.7.ebuild
+++ b/dev-python/blessings/blessings-1.7.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
BDEPEND="
diff --git a/dev-python/blockdiag/blockdiag-1.5.3-r1.ebuild b/dev-python/blockdiag/blockdiag-1.5.3-r1.ebuild
index 7e098fb9e460..08c5adfbe046 100644
--- a/dev-python/blockdiag/blockdiag-1.5.3-r1.ebuild
+++ b/dev-python/blockdiag/blockdiag-1.5.3-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/funcparserlib-0.3.6[${PYTHON_USEDEP}]
diff --git a/dev-python/blosc/blosc-1.2.8.ebuild b/dev-python/blosc/blosc-1.2.8.ebuild
index 0773e7544258..707d0f3e7382 100644
--- a/dev-python/blosc/blosc-1.2.8.ebuild
+++ b/dev-python/blosc/blosc-1.2.8.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-libs/c-blosc-1.3.5"
DEPEND="${RDEPEND}
diff --git a/dev-python/blosc/blosc-1.4.4.ebuild b/dev-python/blosc/blosc-1.4.4.ebuild
index 4d2c9e7feec2..2fa9aa3ba29d 100644
--- a/dev-python/blosc/blosc-1.4.4.ebuild
+++ b/dev-python/blosc/blosc-1.4.4.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/c-blosc:="
DEPEND="${RDEPEND}
diff --git a/dev-python/blosc/blosc-1.5.0.ebuild b/dev-python/blosc/blosc-1.5.0.ebuild
index 9555f2635a63..5ad73fe18ea6 100644
--- a/dev-python/blosc/blosc-1.5.0.ebuild
+++ b/dev-python/blosc/blosc-1.5.0.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/c-blosc:="
DEPEND="${RDEPEND}
diff --git a/dev-python/blosc/blosc-1.5.1.ebuild b/dev-python/blosc/blosc-1.5.1.ebuild
index 5b16d3962528..e67958e3439b 100644
--- a/dev-python/blosc/blosc-1.5.1.ebuild
+++ b/dev-python/blosc/blosc-1.5.1.ebuild
@@ -14,6 +14,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/c-blosc:="
DEPEND="${RDEPEND}
diff --git a/dev-python/bokeh/bokeh-0.11.1.ebuild b/dev-python/bokeh/bokeh-0.11.1.ebuild
index e4100d3e1d2d..50ae30cc56c6 100644
--- a/dev-python/bokeh/bokeh-0.11.1.ebuild
+++ b/dev-python/bokeh/bokeh-0.11.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
# A doc build requires napoleon sphinx extension which will be included in sphinx release 1.3
# Therefore refraining from adding the doc build for now
diff --git a/dev-python/bokeh/bokeh-0.12.6.ebuild b/dev-python/bokeh/bokeh-0.12.6.ebuild
index 72a12e367f3a..d29d9e8ff984 100644
--- a/dev-python/bokeh/bokeh-0.12.6.ebuild
+++ b/dev-python/bokeh/bokeh-0.12.6.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/jinja[${PYTHON_USEDEP}]
diff --git a/dev-python/boto3/boto3-1.10.2.ebuild b/dev-python/boto3/boto3-1.10.2.ebuild
index bb665fd73e2b..9a5496ae2357 100644
--- a/dev-python/boto3/boto3-1.10.2.ebuild
+++ b/dev-python/boto3/boto3-1.10.2.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/boto/boto3"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/boto3"
diff --git a/dev-python/boto3/boto3-1.9.122.ebuild b/dev-python/boto3/boto3-1.9.122.ebuild
index 6b55746bd8cb..383c97855e8a 100644
--- a/dev-python/boto3/boto3-1.9.122.ebuild
+++ b/dev-python/boto3/boto3-1.9.122.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/boto/boto3"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/boto3"
diff --git a/dev-python/boto3/boto3-1.9.4-r1.ebuild b/dev-python/boto3/boto3-1.9.4-r1.ebuild
index 6b55746bd8cb..383c97855e8a 100644
--- a/dev-python/boto3/boto3-1.9.4-r1.ebuild
+++ b/dev-python/boto3/boto3-1.9.4-r1.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/boto/boto3"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/boto3"
diff --git a/dev-python/boto3/boto3-9999.ebuild b/dev-python/boto3/boto3-9999.ebuild
index bb665fd73e2b..9a5496ae2357 100644
--- a/dev-python/boto3/boto3-9999.ebuild
+++ b/dev-python/boto3/boto3-9999.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/boto/boto3"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/boto3"
diff --git a/dev-python/botocore/botocore-1.12.122.ebuild b/dev-python/botocore/botocore-1.12.122.ebuild
index dc9922d54ce5..31d713100a09 100644
--- a/dev-python/botocore/botocore-1.12.122.ebuild
+++ b/dev-python/botocore/botocore-1.12.122.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/boto/botocore"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/botocore"
diff --git a/dev-python/botocore/botocore-1.12.205.ebuild b/dev-python/botocore/botocore-1.12.205.ebuild
index f81c7d0b849a..1b2106971f31 100644
--- a/dev-python/botocore/botocore-1.12.205.ebuild
+++ b/dev-python/botocore/botocore-1.12.205.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/boto/botocore"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/botocore"
diff --git a/dev-python/botocore/botocore-1.12.210.ebuild b/dev-python/botocore/botocore-1.12.210.ebuild
index f81c7d0b849a..1b2106971f31 100644
--- a/dev-python/botocore/botocore-1.12.210.ebuild
+++ b/dev-python/botocore/botocore-1.12.210.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/boto/botocore"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/botocore"
diff --git a/dev-python/botocore/botocore-1.12.223.ebuild b/dev-python/botocore/botocore-1.12.223.ebuild
index f81c7d0b849a..1b2106971f31 100644
--- a/dev-python/botocore/botocore-1.12.223.ebuild
+++ b/dev-python/botocore/botocore-1.12.223.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/boto/botocore"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/botocore"
diff --git a/dev-python/botocore/botocore-1.12.251.ebuild b/dev-python/botocore/botocore-1.12.251.ebuild
index a5470f903162..11c21a3177d2 100644
--- a/dev-python/botocore/botocore-1.12.251.ebuild
+++ b/dev-python/botocore/botocore-1.12.251.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/boto/botocore"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/botocore"
diff --git a/dev-python/botocore/botocore-1.12.4-r1.ebuild b/dev-python/botocore/botocore-1.12.4-r1.ebuild
index dc9922d54ce5..31d713100a09 100644
--- a/dev-python/botocore/botocore-1.12.4-r1.ebuild
+++ b/dev-python/botocore/botocore-1.12.4-r1.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/boto/botocore"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/botocore"
diff --git a/dev-python/botocore/botocore-1.12.81.ebuild b/dev-python/botocore/botocore-1.12.81.ebuild
index f81c7d0b849a..1b2106971f31 100644
--- a/dev-python/botocore/botocore-1.12.81.ebuild
+++ b/dev-python/botocore/botocore-1.12.81.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/boto/botocore"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/botocore"
diff --git a/dev-python/botocore/botocore-1.13.2.ebuild b/dev-python/botocore/botocore-1.13.2.ebuild
index f81c7d0b849a..1b2106971f31 100644
--- a/dev-python/botocore/botocore-1.13.2.ebuild
+++ b/dev-python/botocore/botocore-1.13.2.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/boto/botocore"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/botocore"
diff --git a/dev-python/bottle/bottle-0.12.12.ebuild b/dev-python/bottle/bottle-0.12.12.ebuild
index 6ce8ca399a9d..d6c4500fb38a 100644
--- a/dev-python/bottle/bottle-0.12.12.ebuild
+++ b/dev-python/bottle/bottle-0.12.12.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/mako[$(python_gen_usedep 'python*')] )"
diff --git a/dev-python/bottle/bottle-0.12.13.ebuild b/dev-python/bottle/bottle-0.12.13.ebuild
index 98e25b85f48f..b5e4b879eda4 100644
--- a/dev-python/bottle/bottle-0.12.13.ebuild
+++ b/dev-python/bottle/bottle-0.12.13.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/mako[$(python_gen_usedep 'python*')] )"
diff --git a/dev-python/bottle/bottle-0.12.16.ebuild b/dev-python/bottle/bottle-0.12.16.ebuild
index 98e25b85f48f..b5e4b879eda4 100644
--- a/dev-python/bottle/bottle-0.12.16.ebuild
+++ b/dev-python/bottle/bottle-0.12.16.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/mako[$(python_gen_usedep 'python*')] )"
diff --git a/dev-python/bottleneck/bottleneck-1.2.1.ebuild b/dev-python/bottleneck/bottleneck-1.2.1.ebuild
index 72753b53fed2..8a7686c7dde0 100644
--- a/dev-python/bottleneck/bottleneck-1.2.1.ebuild
+++ b/dev-python/bottleneck/bottleneck-1.2.1.ebuild
@@ -14,6 +14,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/numpy-1.9.1[${PYTHON_USEDEP}]
diff --git a/dev-python/buzhug/buzhug-1.8-r1.ebuild b/dev-python/buzhug/buzhug-1.8-r1.ebuild
index 010e251a8d8b..c7716586d777 100644
--- a/dev-python/buzhug/buzhug-1.8-r1.ebuild
+++ b/dev-python/buzhug/buzhug-1.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="app-arch/unzip
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
diff --git a/dev-python/cached-property/cached-property-1.3.1.ebuild b/dev-python/cached-property/cached-property-1.3.1.ebuild
index 17363aee302c..2cf489ec2431 100644
--- a/dev-python/cached-property/cached-property-1.3.1.ebuild
+++ b/dev-python/cached-property/cached-property-1.3.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? (
dev-python/pytest
diff --git a/dev-python/cached-property/cached-property-1.5.1.ebuild b/dev-python/cached-property/cached-property-1.5.1.ebuild
index 898b4498e5b0..c23efbc22d1b 100644
--- a/dev-python/cached-property/cached-property-1.5.1.ebuild
+++ b/dev-python/cached-property/cached-property-1.5.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? (
dev-python/pytest
diff --git a/dev-python/cairocffi/cairocffi-0.8.0.ebuild b/dev-python/cairocffi/cairocffi-0.8.0.ebuild
index 08fd90730d0a..38c79c21f60a 100644
--- a/dev-python/cairocffi/cairocffi-0.8.0.ebuild
+++ b/dev-python/cairocffi/cairocffi-0.8.0.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]' 'python*')
diff --git a/dev-python/cairocffi/cairocffi-0.9.0.ebuild b/dev-python/cairocffi/cairocffi-0.9.0.ebuild
index 8661963ee3bc..7a0c74ef30a1 100644
--- a/dev-python/cairocffi/cairocffi-0.9.0.ebuild
+++ b/dev-python/cairocffi/cairocffi-0.9.0.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]' 'python*')
diff --git a/dev-python/cairocffi/cairocffi-1.0.2.ebuild b/dev-python/cairocffi/cairocffi-1.0.2.ebuild
index 84e56f6dcb7f..8a0a7d6368b7 100644
--- a/dev-python/cairocffi/cairocffi-1.0.2.ebuild
+++ b/dev-python/cairocffi/cairocffi-1.0.2.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]' 'python*')
diff --git a/dev-python/catkin_pkg/catkin_pkg-0.4.12.ebuild b/dev-python/catkin_pkg/catkin_pkg-0.4.12.ebuild
index d24c376aa411..ceddd52d1f42 100644
--- a/dev-python/catkin_pkg/catkin_pkg-0.4.12.ebuild
+++ b/dev-python/catkin_pkg/catkin_pkg-0.4.12.ebuild
@@ -25,6 +25,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/catkin_pkg/catkin_pkg-0.4.13.ebuild b/dev-python/catkin_pkg/catkin_pkg-0.4.13.ebuild
index d24c376aa411..ceddd52d1f42 100644
--- a/dev-python/catkin_pkg/catkin_pkg-0.4.13.ebuild
+++ b/dev-python/catkin_pkg/catkin_pkg-0.4.13.ebuild
@@ -25,6 +25,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/catkin_pkg/catkin_pkg-9999.ebuild b/dev-python/catkin_pkg/catkin_pkg-9999.ebuild
index d24c376aa411..ceddd52d1f42 100644
--- a/dev-python/catkin_pkg/catkin_pkg-9999.ebuild
+++ b/dev-python/catkin_pkg/catkin_pkg-9999.ebuild
@@ -25,6 +25,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/ccdproc/ccdproc-1.1.0.ebuild b/dev-python/ccdproc/ccdproc-1.1.0.ebuild
index 9cdee58fe0fa..7d8d58105a24 100644
--- a/dev-python/ccdproc/ccdproc-1.1.0.ebuild
+++ b/dev-python/ccdproc/ccdproc-1.1.0.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DOCS=( README.rst )
diff --git a/dev-python/ccdproc/ccdproc-1.2.0.ebuild b/dev-python/ccdproc/ccdproc-1.2.0.ebuild
index 13c890ebcfb6..b859d5a5fa0e 100644
--- a/dev-python/ccdproc/ccdproc-1.2.0.ebuild
+++ b/dev-python/ccdproc/ccdproc-1.2.0.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DOCS=( README.rst )
diff --git a/dev-python/celery/celery-4.1.0.ebuild b/dev-python/celery/celery-4.1.0.ebuild
index 23aeae4b7304..abae2734b997 100644
--- a/dev-python/celery/celery-4.1.0.ebuild
+++ b/dev-python/celery/celery-4.1.0.ebuild
@@ -17,6 +17,7 @@ KEYWORDS="amd64 x86"
# There are a number of other optional 'extras' which overlap with those of kombu, however
# there has been no apparent expression of interest or demand by users for them. See requires.txt
IUSE="doc examples redis sqs test yaml"
+RESTRICT="!test? ( test )"
# kombu < 4.2: #666228 (can be loosened in next bump)
RDEPEND="
diff --git a/dev-python/cement/cement-2.0.2.ebuild b/dev-python/cement/cement-2.0.2.ebuild
index d4a495d01907..0319dd71c371 100644
--- a/dev-python/cement/cement-2.0.2.ebuild
+++ b/dev-python/cement/cement-2.0.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test doc"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/chai/chai-1.1.1.ebuild b/dev-python/chai/chai-1.1.1.ebuild
index 9f9224168f81..93673da698d6 100644
--- a/dev-python/chai/chai-1.1.1.ebuild
+++ b/dev-python/chai/chai-1.1.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
diff --git a/dev-python/chameleon/chameleon-2.25.ebuild b/dev-python/chameleon/chameleon-2.25.ebuild
index 11e8736d7a3b..81722c16ab42 100644
--- a/dev-python/chameleon/chameleon-2.25.ebuild
+++ b/dev-python/chameleon/chameleon-2.25.ebuild
@@ -18,6 +18,7 @@ LICENSE="repoze"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
diff --git a/dev-python/cheroot/cheroot-6.0.0-r1.ebuild b/dev-python/cheroot/cheroot-6.0.0-r1.ebuild
index 1433e9d15da9..df19109dc7dc 100644
--- a/dev-python/cheroot/cheroot-6.0.0-r1.ebuild
+++ b/dev-python/cheroot/cheroot-6.0.0-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/six-1.11.0[${PYTHON_USEDEP}]
>=dev-python/more-itertools-2.6[${PYTHON_USEDEP}]"
diff --git a/dev-python/cheroot/cheroot-6.0.0.ebuild b/dev-python/cheroot/cheroot-6.0.0.ebuild
index ce7dc4100fc3..5ce25b8c2b27 100644
--- a/dev-python/cheroot/cheroot-6.0.0.ebuild
+++ b/dev-python/cheroot/cheroot-6.0.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/six-1.11.0[${PYTHON_USEDEP}]
>=dev-python/more-itertools-2.6[${PYTHON_USEDEP}]"
diff --git a/dev-python/cherrypy/cherrypy-13.1.0-r1.ebuild b/dev-python/cherrypy/cherrypy-13.1.0-r1.ebuild
index 2003129c24b9..af6fa84bae5b 100644
--- a/dev-python/cherrypy/cherrypy-13.1.0-r1.ebuild
+++ b/dev-python/cherrypy/cherrypy-13.1.0-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/cheroot-5.9.1[${PYTHON_USEDEP}]
>=dev-python/portend-2.1.1[${PYTHON_USEDEP}]
diff --git a/dev-python/cherrypy/cherrypy-13.1.0.ebuild b/dev-python/cherrypy/cherrypy-13.1.0.ebuild
index ae229a90eca4..95d71619592c 100644
--- a/dev-python/cherrypy/cherrypy-13.1.0.ebuild
+++ b/dev-python/cherrypy/cherrypy-13.1.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/cheroot-5.9.1[${PYTHON_USEDEP}]
>=dev-python/portend-2.1.1[${PYTHON_USEDEP}]
diff --git a/dev-python/click-log/click-log-0.1.8.ebuild b/dev-python/click-log/click-log-0.1.8.ebuild
index ceb7bb78774e..892e37863876 100644
--- a/dev-python/click-log/click-log-0.1.8.ebuild
+++ b/dev-python/click-log/click-log-0.1.8.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/click[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/click-log/click-log-0.2.1.ebuild b/dev-python/click-log/click-log-0.2.1.ebuild
index ceb7bb78774e..892e37863876 100644
--- a/dev-python/click-log/click-log-0.2.1.ebuild
+++ b/dev-python/click-log/click-log-0.2.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/click[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/click-log/click-log-0.3.2.ebuild b/dev-python/click-log/click-log-0.3.2.ebuild
index c0d96d9e60b5..9568fa319e09 100644
--- a/dev-python/click-log/click-log-0.3.2.ebuild
+++ b/dev-python/click-log/click-log-0.3.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/click[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/click-threading/click-threading-0.3.0.ebuild b/dev-python/click-threading/click-threading-0.3.0.ebuild
index f651fd809f05..0df9ebc7f528 100644
--- a/dev-python/click-threading/click-threading-0.3.0.ebuild
+++ b/dev-python/click-threading/click-threading-0.3.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/click-5.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/click-threading/click-threading-0.4.4.ebuild b/dev-python/click-threading/click-threading-0.4.4.ebuild
index f651fd809f05..0df9ebc7f528 100644
--- a/dev-python/click-threading/click-threading-0.4.4.ebuild
+++ b/dev-python/click-threading/click-threading-0.4.4.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/click-5.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/click/click-5.1.ebuild b/dev-python/click/click-5.1.ebuild
index ee0c82de5415..eefcd37cbb64 100644
--- a/dev-python/click/click-5.1.ebuild
+++ b/dev-python/click/click-5.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
diff --git a/dev-python/click/click-6.6.ebuild b/dev-python/click/click-6.6.ebuild
index 6fa6e8441ccf..6c6693dfb00c 100644
--- a/dev-python/click/click-6.6.ebuild
+++ b/dev-python/click/click-6.6.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
diff --git a/dev-python/click/click-6.7-r1.ebuild b/dev-python/click/click-6.7-r1.ebuild
index 7d4675f87037..a168f4494fb7 100644
--- a/dev-python/click/click-6.7-r1.ebuild
+++ b/dev-python/click/click-6.7-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
diff --git a/dev-python/click/click-6.7.ebuild b/dev-python/click/click-6.7.ebuild
index de4e11bbb623..fbc0eab8dab7 100644
--- a/dev-python/click/click-6.7.ebuild
+++ b/dev-python/click/click-6.7.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
diff --git a/dev-python/click/click-7.0.ebuild b/dev-python/click/click-7.0.ebuild
index 97eaaef0c4e7..ad0d3470267f 100644
--- a/dev-python/click/click-7.0.ebuild
+++ b/dev-python/click/click-7.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/cliff/cliff-2.12.0-r2.ebuild b/dev-python/cliff/cliff-2.12.0-r2.ebuild
index ac9f1fbe5384..03e3a799d117 100644
--- a/dev-python/cliff/cliff-2.12.0-r2.ebuild
+++ b/dev-python/cliff/cliff-2.12.0-r2.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~hppa ~mips ~s390 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0"
diff --git a/dev-python/cliff/cliff-2.12.0.ebuild b/dev-python/cliff/cliff-2.12.0.ebuild
index 5471b0269370..504ef282ad3a 100644
--- a/dev-python/cliff/cliff-2.12.0.ebuild
+++ b/dev-python/cliff/cliff-2.12.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 hppa ~mips s390 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0"
diff --git a/dev-python/clint/clint-0.5.1-r1.ebuild b/dev-python/clint/clint-0.5.1-r1.ebuild
index e32ea028bfd4..6abb5289fdca 100644
--- a/dev-python/clint/clint-0.5.1-r1.ebuild
+++ b/dev-python/clint/clint-0.5.1-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/clint/clint-0.5.1.ebuild b/dev-python/clint/clint-0.5.1.ebuild
index dcb9650b052e..80b7b89c814d 100644
--- a/dev-python/clint/clint-0.5.1.ebuild
+++ b/dev-python/clint/clint-0.5.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/colander/colander-1.3.1.ebuild b/dev-python/colander/colander-1.3.1.ebuild
index 21f923132d7f..a5eab09ea671 100644
--- a/dev-python/colander/colander-1.3.1.ebuild
+++ b/dev-python/colander/colander-1.3.1.ebuild
@@ -19,6 +19,7 @@ LICENSE="repoze MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# Depend on an ebuild of translationstring with Python 3 support.
RDEPEND=">=dev-python/translationstring-1.1[${PYTHON_USEDEP}]"
diff --git a/dev-python/colorama/colorama-0.3.9-r1.ebuild b/dev-python/colorama/colorama-0.3.9-r1.ebuild
index ca384c4c293d..3139799d1c24 100644
--- a/dev-python/colorama/colorama-0.3.9-r1.ebuild
+++ b/dev-python/colorama/colorama-0.3.9-r1.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/colorama/colorama-0.4.0.ebuild b/dev-python/colorama/colorama-0.4.0.ebuild
index ca384c4c293d..3139799d1c24 100644
--- a/dev-python/colorama/colorama-0.4.0.ebuild
+++ b/dev-python/colorama/colorama-0.4.0.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/colorama/colorama-0.4.1.ebuild b/dev-python/colorama/colorama-0.4.1.ebuild
index 31aa4f453d18..ea129d62f2de 100644
--- a/dev-python/colorama/colorama-0.4.1.ebuild
+++ b/dev-python/colorama/colorama-0.4.1.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/coloredlogs/coloredlogs-6.1.ebuild b/dev-python/coloredlogs/coloredlogs-6.1.ebuild
index d3ce6b7ea405..f6494abbccd7 100644
--- a/dev-python/coloredlogs/coloredlogs-6.1.ebuild
+++ b/dev-python/coloredlogs/coloredlogs-6.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/humanfriendly-2.1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/colorlog/colorlog-3.1.4.ebuild b/dev-python/colorlog/colorlog-3.1.4.ebuild
index 493a5812ca58..bfce984695a8 100644
--- a/dev-python/colorlog/colorlog-3.1.4.ebuild
+++ b/dev-python/colorlog/colorlog-3.1.4.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/colorspacious/colorspacious-1.1.0.ebuild b/dev-python/colorspacious/colorspacious-1.1.0.ebuild
index 979ecfd26b23..6e78bdf749a9 100644
--- a/dev-python/colorspacious/colorspacious-1.1.0.ebuild
+++ b/dev-python/colorspacious/colorspacious-1.1.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]"
diff --git a/dev-python/columnize/columnize-0.3.5-r1.ebuild b/dev-python/columnize/columnize-0.3.5-r1.ebuild
index 43a96abc203f..394c713d65a0 100644
--- a/dev-python/columnize/columnize-0.3.5-r1.ebuild
+++ b/dev-python/columnize/columnize-0.3.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ LICENSE="PSF-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
diff --git a/dev-python/commonmark/commonmark-0.7.5.ebuild b/dev-python/commonmark/commonmark-0.7.5.ebuild
index 2a15fde4c1ab..13c6460eede4 100644
--- a/dev-python/commonmark/commonmark-0.7.5.ebuild
+++ b/dev-python/commonmark/commonmark-0.7.5.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/future[${PYTHON_USEDEP}]
diff --git a/dev-python/commonmark/commonmark-0.8.1.ebuild b/dev-python/commonmark/commonmark-0.8.1.ebuild
index 006bcc1fabab..3fffe165a5f4 100644
--- a/dev-python/commonmark/commonmark-0.8.1.ebuild
+++ b/dev-python/commonmark/commonmark-0.8.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/future[${PYTHON_USEDEP}]
diff --git a/dev-python/constantly/constantly-15.1.0-r1.ebuild b/dev-python/constantly/constantly-15.1.0-r1.ebuild
index 4611ad25bf58..2cc0e6074f89 100644
--- a/dev-python/constantly/constantly-15.1.0-r1.ebuild
+++ b/dev-python/constantly/constantly-15.1.0-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/construct/construct-2.8.21.ebuild b/dev-python/construct/construct-2.8.21.ebuild
index 7f0fd3dc7751..7004e7042c5a 100644
--- a/dev-python/construct/construct-2.8.21.ebuild
+++ b/dev-python/construct/construct-2.8.21.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? (
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/cookies/cookies-2.2.1.ebuild b/dev-python/cookies/cookies-2.2.1.ebuild
index 5c5d5337d9b0..6762c79f54a6 100644
--- a/dev-python/cookies/cookies-2.2.1.ebuild
+++ b/dev-python/cookies/cookies-2.2.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )
dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/croniter/croniter-0.3.17.ebuild b/dev-python/croniter/croniter-0.3.17.ebuild
index 38a1b382c2d7..5b56e2c93fe0 100644
--- a/dev-python/croniter/croniter-0.3.17.ebuild
+++ b/dev-python/croniter/croniter-0.3.17.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
diff --git a/dev-python/croniter/croniter-0.3.29.ebuild b/dev-python/croniter/croniter-0.3.29.ebuild
index 456ec41e07f3..a990ddebe1b3 100644
--- a/dev-python/croniter/croniter-0.3.29.ebuild
+++ b/dev-python/croniter/croniter-0.3.29.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
diff --git a/dev-python/croniter/croniter-0.3.30.ebuild b/dev-python/croniter/croniter-0.3.30.ebuild
index 7bc1326df135..40acac6a4716 100644
--- a/dev-python/croniter/croniter-0.3.30.ebuild
+++ b/dev-python/croniter/croniter-0.3.30.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
diff --git a/dev-python/crumbs/crumbs-2.1.0.ebuild b/dev-python/crumbs/crumbs-2.1.0.ebuild
index 9e7714a7357f..82a29fd76d3f 100644
--- a/dev-python/crumbs/crumbs-2.1.0.ebuild
+++ b/dev-python/crumbs/crumbs-2.1.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-python/pyinotify[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/curtsies/curtsies-0.2.11.ebuild b/dev-python/curtsies/curtsies-0.2.11.ebuild
index b7cff7e4659a..68c3b1d69330 100644
--- a/dev-python/curtsies/curtsies-0.2.11.ebuild
+++ b/dev-python/curtsies/curtsies-0.2.11.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/blessings-1.5[${PYTHON_USEDEP}]
diff --git a/dev-python/curtsies/curtsies-0.3.0-r1.ebuild b/dev-python/curtsies/curtsies-0.3.0-r1.ebuild
index d3cffb724a5b..b6091a983f44 100644
--- a/dev-python/curtsies/curtsies-0.3.0-r1.ebuild
+++ b/dev-python/curtsies/curtsies-0.3.0-r1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/blessings-1.5[${PYTHON_USEDEP}]
diff --git a/dev-python/curtsies/curtsies-0.3.0.ebuild b/dev-python/curtsies/curtsies-0.3.0.ebuild
index 1901340c32a0..33613df3df51 100644
--- a/dev-python/curtsies/curtsies-0.3.0.ebuild
+++ b/dev-python/curtsies/curtsies-0.3.0.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/blessings-1.5[${PYTHON_USEDEP}]
diff --git a/dev-python/cython/cython-0.29.4.ebuild b/dev-python/cython/cython-0.29.4.ebuild
index e3e0bcf59f77..cc697a40fd27 100644
--- a/dev-python/cython/cython-0.29.4.ebuild
+++ b/dev-python/cython/cython-0.29.4.ebuild
@@ -20,6 +20,7 @@ SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE="doc emacs test"
+RESTRICT="!test? ( test )"
RDEPEND="
emacs? ( virtual/emacs )
diff --git a/dev-python/cytoolz/cytoolz-0.10.0.ebuild b/dev-python/cytoolz/cytoolz-0.10.0.ebuild
index 3ca13821b155..58af60083e3a 100644
--- a/dev-python/cytoolz/cytoolz-0.10.0.ebuild
+++ b/dev-python/cytoolz/cytoolz-0.10.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
# Informed by author the dep in toolz is not only required but the
# tests are version sensitive.
diff --git a/dev-python/cytoolz/cytoolz-0.8.0.ebuild b/dev-python/cytoolz/cytoolz-0.8.0.ebuild
index 65321da4a51f..e91727f171b8 100644
--- a/dev-python/cytoolz/cytoolz-0.8.0.ebuild
+++ b/dev-python/cytoolz/cytoolz-0.8.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
# Informed by author the dep in toolz is not only required but the
# tests are version sensitive.
diff --git a/dev-python/cytoolz/cytoolz-0.8.2.ebuild b/dev-python/cytoolz/cytoolz-0.8.2.ebuild
index 5fe6fa0b17ac..203df1593ab9 100644
--- a/dev-python/cytoolz/cytoolz-0.8.2.ebuild
+++ b/dev-python/cytoolz/cytoolz-0.8.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
# Informed by author the dep in toolz is not only required but the
# tests are version sensitive.
diff --git a/dev-python/dask/dask-0.15.1.ebuild b/dev-python/dask/dask-0.15.1.ebuild
index 6354ac8d0432..81adc991f791 100644
--- a/dev-python/dask/dask-0.15.1.ebuild
+++ b/dev-python/dask/dask-0.15.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="distributed test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/cloudpickle-0.2.1[${PYTHON_USEDEP}]
diff --git a/dev-python/dask/dask-1.2.0.ebuild b/dev-python/dask/dask-1.2.0.ebuild
index 2b8195101a62..07842de20912 100644
--- a/dev-python/dask/dask-1.2.0.ebuild
+++ b/dev-python/dask/dask-1.2.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="distributed test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/cloudpickle-0.2.1[${PYTHON_USEDEP}]
diff --git a/dev-python/datashape/datashape-0.5.4.ebuild b/dev-python/datashape/datashape-0.5.4.ebuild
index d48099d9de87..22e0065bd364 100644
--- a/dev-python/datashape/datashape-0.5.4.ebuild
+++ b/dev-python/datashape/datashape-0.5.4.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/numpy-1.7[${PYTHON_USEDEP}]
diff --git a/dev-python/dbus-python/dbus-python-1.2.4.ebuild b/dev-python/dbus-python/dbus-python-1.2.4.ebuild
index 81da830ef011..5708d06496b0 100644
--- a/dev-python/dbus-python/dbus-python-1.2.4.ebuild
+++ b/dev-python/dbus-python/dbus-python-1.2.4.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~m68k-mint"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
# API docs generated with epydoc, which is python2-only
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
diff --git a/dev-python/dbusmock/dbusmock-0.18.2.ebuild b/dev-python/dbusmock/dbusmock-0.18.2.ebuild
index c30561ae43df..5189486b8f30 100644
--- a/dev-python/dbusmock/dbusmock-0.18.2.ebuild
+++ b/dev-python/dbusmock/dbusmock-0.18.2.ebuild
@@ -20,6 +20,7 @@ LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/dbus-python[${PYTHON_USEDEP}]
diff --git a/dev-python/ddt/ddt-1.1.1.ebuild b/dev-python/ddt/ddt-1.1.1.ebuild
index 66f58582cf4f..9d03194aa6e1 100644
--- a/dev-python/ddt/ddt-1.1.1.ebuild
+++ b/dev-python/ddt/ddt-1.1.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/debtcollector/debtcollector-1.21.0.ebuild b/dev-python/debtcollector/debtcollector-1.21.0.ebuild
index 7f1dd61f94c4..6f77d8d2dbe3 100644
--- a/dev-python/debtcollector/debtcollector-1.21.0.ebuild
+++ b/dev-python/debtcollector/debtcollector-1.21.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/denonavr/denonavr-0.7.10.ebuild b/dev-python/denonavr/denonavr-0.7.10.ebuild
index 82e01eee1a36..e0d6e3b36457 100644
--- a/dev-python/denonavr/denonavr-0.7.10.ebuild
+++ b/dev-python/denonavr/denonavr-0.7.10.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="
diff --git a/dev-python/denonavr/denonavr-0.7.9.ebuild b/dev-python/denonavr/denonavr-0.7.9.ebuild
index 82e01eee1a36..e0d6e3b36457 100644
--- a/dev-python/denonavr/denonavr-0.7.9.ebuild
+++ b/dev-python/denonavr/denonavr-0.7.9.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="
diff --git a/dev-python/deprecated/deprecated-1.2.6.ebuild b/dev-python/deprecated/deprecated-1.2.6.ebuild
index a90eadf150ab..eccff652e55b 100644
--- a/dev-python/deprecated/deprecated-1.2.6.ebuild
+++ b/dev-python/deprecated/deprecated-1.2.6.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/wrapt[${PYTHON_USEDEP}]"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/deprecation/deprecation-2.0.6.ebuild b/dev-python/deprecation/deprecation-2.0.6.ebuild
index 73bd41c2de64..aaf9394dc847 100644
--- a/dev-python/deprecation/deprecation-2.0.6.ebuild
+++ b/dev-python/deprecation/deprecation-2.0.6.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/packaging[${PYTHON_USEDEP}]"
BDEPEND="
diff --git a/dev-python/deprecation/deprecation-2.0.7.ebuild b/dev-python/deprecation/deprecation-2.0.7.ebuild
index 7b4f8a12a278..1bb27c7c37d9 100644
--- a/dev-python/deprecation/deprecation-2.0.7.ebuild
+++ b/dev-python/deprecation/deprecation-2.0.7.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/packaging[${PYTHON_USEDEP}]"
BDEPEND="
diff --git a/dev-python/dexml/dexml-0.5.1.ebuild b/dev-python/dexml/dexml-0.5.1.ebuild
index 828fddd162be..63b86b04026e 100644
--- a/dev-python/dexml/dexml-0.5.1.ebuild
+++ b/dev-python/dexml/dexml-0.5.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/diskcache/diskcache-2.8.3.ebuild b/dev-python/diskcache/diskcache-2.8.3.ebuild
index 36aeee56100f..916f64d802f2 100644
--- a/dev-python/diskcache/diskcache-2.8.3.ebuild
+++ b/dev-python/diskcache/diskcache-2.8.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/django[${PYTHON_USEDEP}]
diff --git a/dev-python/diskcache/diskcache-3.1.0.ebuild b/dev-python/diskcache/diskcache-3.1.0.ebuild
index 2cfbdadeb76c..5cd0816eb49b 100644
--- a/dev-python/diskcache/diskcache-3.1.0.ebuild
+++ b/dev-python/diskcache/diskcache-3.1.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/django[${PYTHON_USEDEP}]
diff --git a/dev-python/disqus-python/disqus-python-0.4.2.ebuild b/dev-python/disqus-python/disqus-python-0.4.2.ebuild
index 457a583e5641..13bfdff7443c 100644
--- a/dev-python/disqus-python/disqus-python-0.4.2.ebuild
+++ b/dev-python/disqus-python/disqus-python-0.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/nose[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/distributed/distributed-1.18.0-r1.ebuild b/dev-python/distributed/distributed-1.18.0-r1.ebuild
index 9fa13dad1476..577099d8d139 100644
--- a/dev-python/distributed/distributed-1.18.0-r1.ebuild
+++ b/dev-python/distributed/distributed-1.18.0-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
diff --git a/dev-python/distributed/distributed-1.18.0.ebuild b/dev-python/distributed/distributed-1.18.0.ebuild
index c7f521437679..2e33c1a50210 100644
--- a/dev-python/distributed/distributed-1.18.0.ebuild
+++ b/dev-python/distributed/distributed-1.18.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
diff --git a/dev-python/django-auth-ldap/django-auth-ldap-1.2.2.ebuild b/dev-python/django-auth-ldap/django-auth-ldap-1.2.2.ebuild
index e35e9de678fb..cb9ae9528d40 100644
--- a/dev-python/django-auth-ldap/django-auth-ldap-1.2.2.ebuild
+++ b/dev-python/django-auth-ldap/django-auth-ldap-1.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -13,6 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
LICENSE="BSD"
SLOT="0"
diff --git a/dev-python/django-auth-ldap/django-auth-ldap-1.2.7.ebuild b/dev-python/django-auth-ldap/django-auth-ldap-1.2.7.ebuild
index 304dfc4d0d70..0b5e2b24b544 100644
--- a/dev-python/django-auth-ldap/django-auth-ldap-1.2.7.ebuild
+++ b/dev-python/django-auth-ldap/django-auth-ldap-1.2.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -13,6 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
LICENSE="BSD"
SLOT="0"
diff --git a/dev-python/django-endless-pagination/django-endless-pagination-2.0.ebuild b/dev-python/django-endless-pagination/django-endless-pagination-2.0.ebuild
index 6c9a8d37751e..d3b7633ef19e 100644
--- a/dev-python/django-endless-pagination/django-endless-pagination-2.0.ebuild
+++ b/dev-python/django-endless-pagination/django-endless-pagination-2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/django-1.3[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/django-ldapdb/django-ldapdb-0.3.2.ebuild b/dev-python/django-ldapdb/django-ldapdb-0.3.2.ebuild
index 456918d3543d..c7f43bc9cd5b 100644
--- a/dev-python/django-ldapdb/django-ldapdb-0.3.2.ebuild
+++ b/dev-python/django-ldapdb/django-ldapdb-0.3.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -12,6 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
LICENSE="MIT"
SLOT="0"
diff --git a/dev-python/django-ldapdb/django-ldapdb-0.4.0.ebuild b/dev-python/django-ldapdb/django-ldapdb-0.4.0.ebuild
index 9185d791ed8a..03d59bb1444e 100644
--- a/dev-python/django-ldapdb/django-ldapdb-0.4.0.ebuild
+++ b/dev-python/django-ldapdb/django-ldapdb-0.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -12,6 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
LICENSE="MIT"
SLOT="0"
diff --git a/dev-python/django-oauth-plus/django-oauth-plus-2.2.8.ebuild b/dev-python/django-oauth-plus/django-oauth-plus-2.2.8.ebuild
index 3ac3f880ea8d..ff7eed513bd9 100644
--- a/dev-python/django-oauth-plus/django-oauth-plus-2.2.8.ebuild
+++ b/dev-python/django-oauth-plus/django-oauth-plus-2.2.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/django-1.3[${PYTHON_USEDEP}]
diff --git a/dev-python/django-recaptcha/django-recaptcha-1.0.5.ebuild b/dev-python/django-recaptcha/django-recaptcha-1.0.5.ebuild
index 7c09659b75a8..7f4c92aa7875 100644
--- a/dev-python/django-recaptcha/django-recaptcha-1.0.5.ebuild
+++ b/dev-python/django-recaptcha/django-recaptcha-1.0.5.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/django[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/django-xslt/django-xslt-0.4.5-r1.ebuild b/dev-python/django-xslt/django-xslt-0.4.5-r1.ebuild
index b1b0ac06235c..a1a966891376 100644
--- a/dev-python/django-xslt/django-xslt-0.4.5-r1.ebuild
+++ b/dev-python/django-xslt/django-xslt-0.4.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -13,6 +13,7 @@ DESCRIPTION="an XSLT template system for Django"
HOMEPAGE="https://pypi.org/project/django-xslt/"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
LICENSE="BSD"
SLOT="0"
diff --git a/dev-python/django/django-1.11.20.ebuild b/dev-python/django/django-1.11.20.ebuild
index 2a23f7aad3d3..1f71983781cd 100644
--- a/dev-python/django/django-1.11.20.ebuild
+++ b/dev-python/django/django-1.11.20.ebuild
@@ -27,6 +27,7 @@ LICENSE+=" MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ia64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc sqlite test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/django/django-1.11.21.ebuild b/dev-python/django/django-1.11.21.ebuild
index ee370acc1a66..dfb6c4f192b4 100644
--- a/dev-python/django/django-1.11.21.ebuild
+++ b/dev-python/django/django-1.11.21.ebuild
@@ -27,6 +27,7 @@ LICENSE+=" MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc sqlite test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/django/django-2.1.8.ebuild b/dev-python/django/django-2.1.8.ebuild
index a5c6abc5c17b..0a08e67daa18 100644
--- a/dev-python/django/django-2.1.8.ebuild
+++ b/dev-python/django/django-2.1.8.ebuild
@@ -23,6 +23,7 @@ LICENSE+=" MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ia64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc sqlite test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]"
BDEPEND="
diff --git a/dev-python/django/django-2.1.9.ebuild b/dev-python/django/django-2.1.9.ebuild
index cd8b709aef2b..0c1045dd2c84 100644
--- a/dev-python/django/django-2.1.9.ebuild
+++ b/dev-python/django/django-2.1.9.ebuild
@@ -23,6 +23,7 @@ LICENSE+=" MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc sqlite test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]"
BDEPEND="
diff --git a/dev-python/django/django-2.2.1.ebuild b/dev-python/django/django-2.2.1.ebuild
index a8df2bb56584..0a76513f2ac0 100644
--- a/dev-python/django/django-2.2.1.ebuild
+++ b/dev-python/django/django-2.2.1.ebuild
@@ -23,6 +23,7 @@ LICENSE+=" MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ia64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc sqlite test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pytz[${PYTHON_USEDEP}]
diff --git a/dev-python/django/django-2.2.2.ebuild b/dev-python/django/django-2.2.2.ebuild
index e3af21ded5df..45963469fc10 100644
--- a/dev-python/django/django-2.2.2.ebuild
+++ b/dev-python/django/django-2.2.2.ebuild
@@ -23,6 +23,7 @@ LICENSE+=" MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc sqlite test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pytz[${PYTHON_USEDEP}]
diff --git a/dev-python/dnspython/dnspython-1.15.0-r1.ebuild b/dev-python/dnspython/dnspython-1.15.0-r1.ebuild
index 9bc1622d5e2d..01a44cc94174 100644
--- a/dev-python/dnspython/dnspython-1.15.0-r1.ebuild
+++ b/dev-python/dnspython/dnspython-1.15.0-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="ISC"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pycrypto[${PYTHON_USEDEP}]
!dev-python/dnspython:py2
diff --git a/dev-python/docker-py/docker-py-2.7.0.ebuild b/dev-python/docker-py/docker-py-2.7.0.ebuild
index 47ecce78b134..9a5f8deb604a 100644
--- a/dev-python/docker-py/docker-py-2.7.0.ebuild
+++ b/dev-python/docker-py/docker-py-2.7.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/docker-pycreds-0.2.1[${PYTHON_USEDEP}]
diff --git a/dev-python/docker-py/docker-py-3.6.0.ebuild b/dev-python/docker-py/docker-py-3.6.0.ebuild
index 3e50663c96f4..e2816c4415c1 100644
--- a/dev-python/docker-py/docker-py-3.6.0.ebuild
+++ b/dev-python/docker-py/docker-py-3.6.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/docker-pycreds-0.3.0[${PYTHON_USEDEP}]
diff --git a/dev-python/docker-py/docker-py-3.7.1.ebuild b/dev-python/docker-py/docker-py-3.7.1.ebuild
index 3e3e29bb40bf..e407eb9892fa 100644
--- a/dev-python/docker-py/docker-py-3.7.1.ebuild
+++ b/dev-python/docker-py/docker-py-3.7.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/docker-pycreds-0.4.0[${PYTHON_USEDEP}]
diff --git a/dev-python/docker-py/docker-py-3.7.3.ebuild b/dev-python/docker-py/docker-py-3.7.3.ebuild
index ac548133283d..94687fd3c146 100644
--- a/dev-python/docker-py/docker-py-3.7.3.ebuild
+++ b/dev-python/docker-py/docker-py-3.7.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/docker-pycreds-0.4.0[${PYTHON_USEDEP}]
diff --git a/dev-python/dockerpty/dockerpty-0.4.1.ebuild b/dev-python/dockerpty/dockerpty-0.4.1.ebuild
index c259d99588b0..4bcdf0afc23d 100644
--- a/dev-python/dockerpty/dockerpty-0.4.1.ebuild
+++ b/dev-python/dockerpty/dockerpty-0.4.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/doctest-ignore-unicode/doctest-ignore-unicode-0.1.2.ebuild b/dev-python/doctest-ignore-unicode/doctest-ignore-unicode-0.1.2.ebuild
index d4ec5f6196f9..e0f024570084 100644
--- a/dev-python/doctest-ignore-unicode/doctest-ignore-unicode-0.1.2.ebuild
+++ b/dev-python/doctest-ignore-unicode/doctest-ignore-unicode-0.1.2.ebuild
@@ -14,6 +14,7 @@ SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/nose[${PYTHON_USEDEP}]
diff --git a/dev-python/dogpile-cache/dogpile-cache-0.6.4.ebuild b/dev-python/dogpile-cache/dogpile-cache-0.6.4.ebuild
index 9aadca46fd13..f5bbfcffb8d2 100644
--- a/dev-python/dogpile-cache/dogpile-cache-0.6.4.ebuild
+++ b/dev-python/dogpile-cache/dogpile-cache-0.6.4.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/dogpile-cache/dogpile-cache-0.7.1.ebuild b/dev-python/dogpile-cache/dogpile-cache-0.7.1.ebuild
index 3513c0da1f54..4ab4585ecb1a 100644
--- a/dev-python/dogpile-cache/dogpile-cache-0.7.1.ebuild
+++ b/dev-python/dogpile-cache/dogpile-cache-0.7.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/dogpile-core/dogpile-core-0.4.1.ebuild b/dev-python/dogpile-core/dogpile-core-0.4.1.ebuild
index a3c5ac8a9bfc..b9a85e397e16 100644
--- a/dev-python/dogpile-core/dogpile-core-0.4.1.ebuild
+++ b/dev-python/dogpile-core/dogpile-core-0.4.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
diff --git a/dev-python/doit-py/doit-py-0.4.0.ebuild b/dev-python/doit-py/doit-py-0.4.0.ebuild
index 452ed641fae7..9082cfa9689f 100644
--- a/dev-python/doit-py/doit-py-0.4.0.ebuild
+++ b/dev-python/doit-py/doit-py-0.4.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
diff --git a/dev-python/dominate/dominate-2.3.1.ebuild b/dev-python/dominate/dominate-2.3.1.ebuild
index c9387fe9c15a..d34ab44a6b2c 100644
--- a/dev-python/dominate/dominate-2.3.1.ebuild
+++ b/dev-python/dominate/dominate-2.3.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/dominate/dominate-2.3.5.ebuild b/dev-python/dominate/dominate-2.3.5.ebuild
index e3351d0beca1..87a7947b686b 100644
--- a/dev-python/dominate/dominate-2.3.5.ebuild
+++ b/dev-python/dominate/dominate-2.3.5.ebuild
@@ -14,6 +14,7 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/dominate/dominate-2.4.0.ebuild b/dev-python/dominate/dominate-2.4.0.ebuild
index 1b6ca3ac3a8d..5dcd55e13086 100644
--- a/dev-python/dominate/dominate-2.4.0.ebuild
+++ b/dev-python/dominate/dominate-2.4.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/doublex-expects/doublex-expects-0.7.0_rc2.ebuild b/dev-python/doublex-expects/doublex-expects-0.7.0_rc2.ebuild
index 879d98211403..6847964a45df 100644
--- a/dev-python/doublex-expects/doublex-expects-0.7.0_rc2.ebuild
+++ b/dev-python/doublex-expects/doublex-expects-0.7.0_rc2.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/doublex/doublex-1.8.1.ebuild b/dev-python/doublex/doublex-1.8.1.ebuild
index bdf49fa4cbde..64595f9d08bd 100644
--- a/dev-python/doublex/doublex-1.8.1.ebuild
+++ b/dev-python/doublex/doublex-1.8.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-python/pyhamcrest[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/dugong/dugong-3.7.1.ebuild b/dev-python/dugong/dugong-3.7.1.ebuild
index 2e300f462309..374b5c71f875 100644
--- a/dev-python/dugong/dugong-3.7.1.ebuild
+++ b/dev-python/dugong/dugong-3.7.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
diff --git a/dev-python/dugong/dugong-3.7.2.ebuild b/dev-python/dugong/dugong-3.7.2.ebuild
index 4e11f33565b6..8d0e3eaed790 100644
--- a/dev-python/dugong/dugong-3.7.2.ebuild
+++ b/dev-python/dugong/dugong-3.7.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
diff --git a/dev-python/dugong/dugong-3.7.3.ebuild b/dev-python/dugong/dugong-3.7.3.ebuild
index 72766cb30ee2..43f21f5a880d 100644
--- a/dev-python/dugong/dugong-3.7.3.ebuild
+++ b/dev-python/dugong/dugong-3.7.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
diff --git a/dev-python/dulwich/dulwich-0.18.5.ebuild b/dev-python/dulwich/dulwich-0.18.5.ebuild
index 2534a0302774..7f26969f98bf 100644
--- a/dev-python/dulwich/dulwich-0.18.5.ebuild
+++ b/dev-python/dulwich/dulwich-0.18.5.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/dulwich/dulwich-0.18.6.ebuild b/dev-python/dulwich/dulwich-0.18.6.ebuild
index d004841db32c..f96bf713d3a1 100644
--- a/dev-python/dulwich/dulwich-0.18.6.ebuild
+++ b/dev-python/dulwich/dulwich-0.18.6.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/dulwich/dulwich-0.19.4.ebuild b/dev-python/dulwich/dulwich-0.19.4.ebuild
index 64cc44fa77ea..8998735f88d3 100644
--- a/dev-python/dulwich/dulwich-0.19.4.ebuild
+++ b/dev-python/dulwich/dulwich-0.19.4.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
diff --git a/dev-python/dulwich/dulwich-0.19.6.ebuild b/dev-python/dulwich/dulwich-0.19.6.ebuild
index 9db5afc91634..9381e1651354 100644
--- a/dev-python/dulwich/dulwich-0.19.6.ebuild
+++ b/dev-python/dulwich/dulwich-0.19.6.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
diff --git a/dev-python/dynd-python/dynd-python-0.7.2-r1.ebuild b/dev-python/dynd-python/dynd-python-0.7.2-r1.ebuild
index ca14179d8f4f..dfdc702d90f5 100644
--- a/dev-python/dynd-python/dynd-python-0.7.2-r1.ebuild
+++ b/dev-python/dynd-python/dynd-python-0.7.2-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
diff --git a/dev-python/ebuildtester/ebuildtester-0.1.12.ebuild b/dev-python/ebuildtester/ebuildtester-0.1.12.ebuild
index ac2ad9fc9747..f7088968c68a 100644
--- a/dev-python/ebuildtester/ebuildtester-0.1.12.ebuild
+++ b/dev-python/ebuildtester/ebuildtester-0.1.12.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
app-emulation/docker
diff --git a/dev-python/ebuildtester/ebuildtester-0.1.13.ebuild b/dev-python/ebuildtester/ebuildtester-0.1.13.ebuild
index ac2ad9fc9747..f7088968c68a 100644
--- a/dev-python/ebuildtester/ebuildtester-0.1.13.ebuild
+++ b/dev-python/ebuildtester/ebuildtester-0.1.13.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
app-emulation/docker
diff --git a/dev-python/ebuildtester/ebuildtester-0.1.14.ebuild b/dev-python/ebuildtester/ebuildtester-0.1.14.ebuild
index ac2ad9fc9747..f7088968c68a 100644
--- a/dev-python/ebuildtester/ebuildtester-0.1.14.ebuild
+++ b/dev-python/ebuildtester/ebuildtester-0.1.14.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
app-emulation/docker
diff --git a/dev-python/ed25519ll/ed25519ll-0.6.ebuild b/dev-python/ed25519ll/ed25519ll-0.6.ebuild
index b55559e763e1..6c33db4acf79 100644
--- a/dev-python/ed25519ll/ed25519ll-0.6.ebuild
+++ b/dev-python/ed25519ll/ed25519ll-0.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
index 02106a0e5203..c7edfe6e0a6a 100644
--- a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
+++ b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
@@ -18,6 +18,7 @@ LICENSE="PYTHON BSD-4"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test cli"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/emcee/emcee-2.1.0.ebuild b/dev-python/emcee/emcee-2.1.0.ebuild
index 996016603443..86a57297a1cd 100644
--- a/dev-python/emcee/emcee-2.1.0.ebuild
+++ b/dev-python/emcee/emcee-2.1.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/emcee/emcee-2.2.1.ebuild b/dev-python/emcee/emcee-2.2.1.ebuild
index 40c50d8fd42e..894091db1541 100644
--- a/dev-python/emcee/emcee-2.2.1.ebuild
+++ b/dev-python/emcee/emcee-2.2.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/entrypoints/entrypoints-0.2.3.ebuild b/dev-python/entrypoints/entrypoints-0.2.3.ebuild
index 4f68d1e94468..e1c09bde6457 100644
--- a/dev-python/entrypoints/entrypoints-0.2.3.ebuild
+++ b/dev-python/entrypoints/entrypoints-0.2.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/enzyme/enzyme-0.4.1-r2.ebuild b/dev-python/enzyme/enzyme-0.4.1-r2.ebuild
index 8b8b273d8add..cef237174a6c 100644
--- a/dev-python/enzyme/enzyme-0.4.1-r2.ebuild
+++ b/dev-python/enzyme/enzyme-0.4.1-r2.ebuild
@@ -19,6 +19,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/enzyme/enzyme-9999.ebuild b/dev-python/enzyme/enzyme-9999.ebuild
index 846324d0d291..cafffacf8ab5 100644
--- a/dev-python/enzyme/enzyme-9999.ebuild
+++ b/dev-python/enzyme/enzyme-9999.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/epsilon/epsilon-0.7.0.ebuild b/dev-python/epsilon/epsilon-0.7.0.ebuild
index 30a42d3d2844..b8ce29ccc22b 100644
--- a/dev-python/epsilon/epsilon-0.7.0.ebuild
+++ b/dev-python/epsilon/epsilon-0.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -12,6 +12,7 @@ SRC_URI="mirror://pypi/${TWISTED_PN:0:1}/${TWISTED_PN}/${TWISTED_P}.tar.gz"
KEYWORDS="amd64 ppc ppc64 sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/twisted-core-13.2.0[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]"
diff --git a/dev-python/epsilon/epsilon-0.7.1.ebuild b/dev-python/epsilon/epsilon-0.7.1.ebuild
index 110e0e768c54..9960fd9f5824 100644
--- a/dev-python/epsilon/epsilon-0.7.1.ebuild
+++ b/dev-python/epsilon/epsilon-0.7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -12,6 +12,7 @@ SRC_URI="mirror://pypi/${TWISTED_PN:0:1}/${TWISTED_PN}/${TWISTED_P}.tar.gz"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
|| (
diff --git a/dev-python/errorhandler/errorhandler-2.0.1.ebuild b/dev-python/errorhandler/errorhandler-2.0.1.ebuild
index 042a4d7cb20f..3338349024aa 100644
--- a/dev-python/errorhandler/errorhandler-2.0.1.ebuild
+++ b/dev-python/errorhandler/errorhandler-2.0.1.ebuild
@@ -13,6 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
LICENSE="MIT"
SLOT="0"
diff --git a/dev-python/et_xmlfile/et_xmlfile-1.0.1.ebuild b/dev-python/et_xmlfile/et_xmlfile-1.0.1.ebuild
index 4c85897c814a..0f38d3983a67 100644
--- a/dev-python/et_xmlfile/et_xmlfile-1.0.1.ebuild
+++ b/dev-python/et_xmlfile/et_xmlfile-1.0.1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/eventlet/eventlet-0.18.4.ebuild b/dev-python/eventlet/eventlet-0.18.4.ebuild
index c413cdcd0c40..246d5ee98b16 100644
--- a/dev-python/eventlet/eventlet-0.18.4.ebuild
+++ b/dev-python/eventlet/eventlet-0.18.4.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/greenlet-0.3[${PYTHON_USEDEP}]"
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
diff --git a/dev-python/eventlet/eventlet-0.20.0-r1.ebuild b/dev-python/eventlet/eventlet-0.20.0-r1.ebuild
index f1b8d7b96f72..f4b75e1af26f 100644
--- a/dev-python/eventlet/eventlet-0.20.0-r1.ebuild
+++ b/dev-python/eventlet/eventlet-0.20.0-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="virtual/python-enum34
>=dev-python/greenlet-0.3[${PYTHON_USEDEP}]"
diff --git a/dev-python/eventlet/eventlet-0.20.1-r1.ebuild b/dev-python/eventlet/eventlet-0.20.1-r1.ebuild
index 392443819416..3d35e40da4bd 100644
--- a/dev-python/eventlet/eventlet-0.20.1-r1.ebuild
+++ b/dev-python/eventlet/eventlet-0.20.1-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/greenlet-0.3[${PYTHON_USEDEP}]
virtual/python-enum34[${PYTHON_USEDEP}]"
diff --git a/dev-python/eventlet/eventlet-0.21.0-r1.ebuild b/dev-python/eventlet/eventlet-0.21.0-r1.ebuild
index d1de3b351cf1..0cc28ab2f4cf 100644
--- a/dev-python/eventlet/eventlet-0.21.0-r1.ebuild
+++ b/dev-python/eventlet/eventlet-0.21.0-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/greenlet-0.3[${PYTHON_USEDEP}]
virtual/python-enum34[${PYTHON_USEDEP}]"
diff --git a/dev-python/eventlet/eventlet-0.24.1-r1.ebuild b/dev-python/eventlet/eventlet-0.24.1-r1.ebuild
index 3ba860818805..ccd2dd92db17 100644
--- a/dev-python/eventlet/eventlet-0.24.1-r1.ebuild
+++ b/dev-python/eventlet/eventlet-0.24.1-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}]
diff --git a/dev-python/eventlet/eventlet-0.24.1.ebuild b/dev-python/eventlet/eventlet-0.24.1.ebuild
index dc239a70b4a9..e8ef7a00a766 100644
--- a/dev-python/eventlet/eventlet-0.24.1.ebuild
+++ b/dev-python/eventlet/eventlet-0.24.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}]
diff --git a/dev-python/eventlet/eventlet-0.25.1.ebuild b/dev-python/eventlet/eventlet-0.25.1.ebuild
index bf74019d7bf1..3400a711e972 100644
--- a/dev-python/eventlet/eventlet-0.25.1.ebuild
+++ b/dev-python/eventlet/eventlet-0.25.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}]
diff --git a/dev-python/expects/expects-0.8.0.ebuild b/dev-python/expects/expects-0.8.0.ebuild
index 926b92456eb4..8be339ff9348 100644
--- a/dev-python/expects/expects-0.8.0.ebuild
+++ b/dev-python/expects/expects-0.8.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/extras/extras-0.0.3.ebuild b/dev-python/extras/extras-0.0.3.ebuild
index 62db883b2cab..52eefd336280 100644
--- a/dev-python/extras/extras-0.0.3.ebuild
+++ b/dev-python/extras/extras-0.0.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/extras/extras-1.0.0.ebuild b/dev-python/extras/extras-1.0.0.ebuild
index 8be6479700e0..0d5c8c3a5217 100644
--- a/dev-python/extras/extras-1.0.0.ebuild
+++ b/dev-python/extras/extras-1.0.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/falcon/falcon-0.1.6.ebuild b/dev-python/falcon/falcon-0.1.6.ebuild
index cc18513864ad..fe4a67fb7944 100644
--- a/dev-python/falcon/falcon-0.1.6.ebuild
+++ b/dev-python/falcon/falcon-0.1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -18,6 +18,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+cython test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
cython? (
diff --git a/dev-python/falcon/falcon-0.1.7.ebuild b/dev-python/falcon/falcon-0.1.7.ebuild
index 9acb24d616f8..a1f2614f599d 100644
--- a/dev-python/falcon/falcon-0.1.7.ebuild
+++ b/dev-python/falcon/falcon-0.1.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -18,6 +18,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+cython test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
dev-python/mimeparse[${PYTHON_USEDEP}]
diff --git a/dev-python/falcon/falcon-0.1.8.ebuild b/dev-python/falcon/falcon-0.1.8.ebuild
index 6d91e2a76a0e..4b28fa1e9913 100644
--- a/dev-python/falcon/falcon-0.1.8.ebuild
+++ b/dev-python/falcon/falcon-0.1.8.ebuild
@@ -18,6 +18,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+cython test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
dev-python/mimeparse[${PYTHON_USEDEP}]
diff --git a/dev-python/falcon/falcon-0.1.9.ebuild b/dev-python/falcon/falcon-0.1.9.ebuild
index 738dbee923d3..613ba792d84a 100644
--- a/dev-python/falcon/falcon-0.1.9.ebuild
+++ b/dev-python/falcon/falcon-0.1.9.ebuild
@@ -18,6 +18,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+cython test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
dev-python/mimeparse[${PYTHON_USEDEP}]
diff --git a/dev-python/falcon/falcon-1.3.0.ebuild b/dev-python/falcon/falcon-1.3.0.ebuild
index 8e38840aebc4..f441f1b81505 100644
--- a/dev-python/falcon/falcon-1.3.0.ebuild
+++ b/dev-python/falcon/falcon-1.3.0.ebuild
@@ -18,6 +18,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+cython test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
dev-python/mimeparse[${PYTHON_USEDEP}]
diff --git a/dev-python/feedgenerator/feedgenerator-1.9.ebuild b/dev-python/feedgenerator/feedgenerator-1.9.ebuild
index 4899f7d932d2..11099cef1764 100644
--- a/dev-python/feedgenerator/feedgenerator-1.9.ebuild
+++ b/dev-python/feedgenerator/feedgenerator-1.9.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/fixtures/fixtures-1.4.0.ebuild b/dev-python/fixtures/fixtures-1.4.0.ebuild
index 7b871ac3eb55..1109dcccf667 100644
--- a/dev-python/fixtures/fixtures-1.4.0.ebuild
+++ b/dev-python/fixtures/fixtures-1.4.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="|| ( Apache-2.0 BSD )"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
# nose not listed but provides coverage output of tests
# run of test files by python lacks any output except on fail
diff --git a/dev-python/fixtures/fixtures-3.0.0.ebuild b/dev-python/fixtures/fixtures-3.0.0.ebuild
index e6939667f1b6..b9c16abcebaf 100644
--- a/dev-python/fixtures/fixtures-3.0.0.ebuild
+++ b/dev-python/fixtures/fixtures-3.0.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="|| ( Apache-2.0 BSD )"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
# nose not listed but provides coverage output of tests
# run of test files by python lacks any output except on fail
diff --git a/dev-python/flake8-polyfill/flake8-polyfill-1.0.1.ebuild b/dev-python/flake8-polyfill/flake8-polyfill-1.0.1.ebuild
index 6fbf58dedda1..7decfc5d3dc2 100644
--- a/dev-python/flake8-polyfill/flake8-polyfill-1.0.1.ebuild
+++ b/dev-python/flake8-polyfill/flake8-polyfill-1.0.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/flake8[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/flake8/flake8-2.1.0.ebuild b/dev-python/flake8/flake8-2.1.0.ebuild
index 01e15756dd58..fddc46964e72 100644
--- a/dev-python/flake8/flake8-2.1.0.ebuild
+++ b/dev-python/flake8/flake8-2.1.0.ebuild
@@ -13,6 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
LICENSE="MIT"
SLOT="0"
diff --git a/dev-python/flake8/flake8-2.2.5.ebuild b/dev-python/flake8/flake8-2.2.5.ebuild
index 54192c268bf1..f13332dd509d 100644
--- a/dev-python/flake8/flake8-2.2.5.ebuild
+++ b/dev-python/flake8/flake8-2.2.5.ebuild
@@ -13,6 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
LICENSE="MIT"
SLOT="0"
diff --git a/dev-python/flake8/flake8-2.5.4.ebuild b/dev-python/flake8/flake8-2.5.4.ebuild
index e3bae01f461a..032641a33f3f 100644
--- a/dev-python/flake8/flake8-2.5.4.ebuild
+++ b/dev-python/flake8/flake8-2.5.4.ebuild
@@ -13,6 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
LICENSE="MIT"
SLOT="0"
diff --git a/dev-python/flake8/flake8-3.5.0.ebuild b/dev-python/flake8/flake8-3.5.0.ebuild
index efd1119df040..0430deda4ac6 100644
--- a/dev-python/flake8/flake8-3.5.0.ebuild
+++ b/dev-python/flake8/flake8-3.5.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
# requires.txt inc. mccabe however that creates a circular dep
RDEPEND="
diff --git a/dev-python/flake8/flake8-3.6.0.ebuild b/dev-python/flake8/flake8-3.6.0.ebuild
index 2ef1cddccba7..c407431f4c71 100644
--- a/dev-python/flake8/flake8-3.6.0.ebuild
+++ b/dev-python/flake8/flake8-3.6.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
# requires.txt inc. mccabe however that creates a circular dep
RDEPEND="
diff --git a/dev-python/flask-api/flask-api-1.0.ebuild b/dev-python/flask-api/flask-api-1.0.ebuild
index d05e2fde8f62..6574b8d59dee 100644
--- a/dev-python/flask-api/flask-api-1.0.ebuild
+++ b/dev-python/flask-api/flask-api-1.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]"
diff --git a/dev-python/flask-api/flask-api-1.1.ebuild b/dev-python/flask-api/flask-api-1.1.ebuild
index 324a88dcb524..fc485f63404b 100644
--- a/dev-python/flask-api/flask-api-1.1.ebuild
+++ b/dev-python/flask-api/flask-api-1.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
dev-python/markdown[${PYTHON_USEDEP}]"
diff --git a/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild b/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild
index a9f4552ccbc5..b1e2348d1474 100644
--- a/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild
+++ b/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-babel/flask-babel-0.11.2-r1.ebuild b/dev-python/flask-babel/flask-babel-0.11.2-r1.ebuild
index 99dc0f4e86a2..8c7d8f25ead7 100644
--- a/dev-python/flask-babel/flask-babel-0.11.2-r1.ebuild
+++ b/dev-python/flask-babel/flask-babel-0.11.2-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
dev-python/Babel[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-babel/flask-babel-0.11.2-r2.ebuild b/dev-python/flask-babel/flask-babel-0.11.2-r2.ebuild
index 4c13a31821c8..17dcbc9dcac1 100644
--- a/dev-python/flask-babel/flask-babel-0.11.2-r2.ebuild
+++ b/dev-python/flask-babel/flask-babel-0.11.2-r2.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/Babel[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-bootstrap/flask-bootstrap-3.3.6.0.ebuild b/dev-python/flask-bootstrap/flask-bootstrap-3.3.6.0.ebuild
index 247796cfba71..71dbf8893bc7 100644
--- a/dev-python/flask-bootstrap/flask-bootstrap-3.3.6.0.ebuild
+++ b/dev-python/flask-bootstrap/flask-bootstrap-3.3.6.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/dominate[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-bootstrap/flask-bootstrap-3.3.7.0.ebuild b/dev-python/flask-bootstrap/flask-bootstrap-3.3.7.0.ebuild
index 247796cfba71..71dbf8893bc7 100644
--- a/dev-python/flask-bootstrap/flask-bootstrap-3.3.7.0.ebuild
+++ b/dev-python/flask-bootstrap/flask-bootstrap-3.3.7.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/dominate[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-bootstrap/flask-bootstrap-3.3.7.1.ebuild b/dev-python/flask-bootstrap/flask-bootstrap-3.3.7.1.ebuild
index 80e4b20e77af..284d03052a71 100644
--- a/dev-python/flask-bootstrap/flask-bootstrap-3.3.7.1.ebuild
+++ b/dev-python/flask-bootstrap/flask-bootstrap-3.3.7.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/dominate[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-cors/flask-cors-1.8.0.ebuild b/dev-python/flask-cors/flask-cors-1.8.0.ebuild
index d103cda592ca..11129c7c0ee6 100644
--- a/dev-python/flask-cors/flask-cors-1.8.0.ebuild
+++ b/dev-python/flask-cors/flask-cors-1.8.0.ebuild
@@ -24,6 +24,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
diff --git a/dev-python/flask-cors/flask-cors-1.9.0.ebuild b/dev-python/flask-cors/flask-cors-1.9.0.ebuild
index 47e7fa03c57f..ee4ed95fbf44 100644
--- a/dev-python/flask-cors/flask-cors-1.9.0.ebuild
+++ b/dev-python/flask-cors/flask-cors-1.9.0.ebuild
@@ -24,6 +24,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
diff --git a/dev-python/flask-cors/flask-cors-2.1.0.ebuild b/dev-python/flask-cors/flask-cors-2.1.0.ebuild
index a1c410ddc939..dd7ed0fd32a1 100644
--- a/dev-python/flask-cors/flask-cors-2.1.0.ebuild
+++ b/dev-python/flask-cors/flask-cors-2.1.0.ebuild
@@ -24,6 +24,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
diff --git a/dev-python/flask-debug/flask-debug-0.4.3.ebuild b/dev-python/flask-debug/flask-debug-0.4.3.ebuild
index 2c49e448e32b..3afc356acecc 100644
--- a/dev-python/flask-debug/flask-debug-0.4.3.ebuild
+++ b/dev-python/flask-debug/flask-debug-0.4.3.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/flask[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-login/flask-login-0.3.2-r1.ebuild b/dev-python/flask-login/flask-login-0.3.2-r1.ebuild
index 62b89e7c6486..e6f1be6368f8 100644
--- a/dev-python/flask-login/flask-login-0.3.2-r1.ebuild
+++ b/dev-python/flask-login/flask-login-0.3.2-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/flask-0.10[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/flask-login/flask-login-0.4.1.ebuild b/dev-python/flask-login/flask-login-0.4.1.ebuild
index 492d2afc7c84..374ba51babca 100644
--- a/dev-python/flask-login/flask-login-0.4.1.ebuild
+++ b/dev-python/flask-login/flask-login-0.4.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/flask-0.10[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/flask-mail/flask-mail-0.9.1-r1.ebuild b/dev-python/flask-mail/flask-mail-0.9.1-r1.ebuild
index 9797077fbe71..4f25a9f6a39e 100644
--- a/dev-python/flask-mail/flask-mail-0.9.1-r1.ebuild
+++ b/dev-python/flask-mail/flask-mail-0.9.1-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
dev-python/blinker[${PYTHON_USEDEP}]"
diff --git a/dev-python/flask-migrate/flask-migrate-2.1.1-r1.ebuild b/dev-python/flask-migrate/flask-migrate-2.1.1-r1.ebuild
index e6db838c8122..44c79a9af998 100644
--- a/dev-python/flask-migrate/flask-migrate-2.1.1-r1.ebuild
+++ b/dev-python/flask-migrate/flask-migrate-2.1.1-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/flask-0.9[${PYTHON_USEDEP}]
>=dev-python/alembic-0.6[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-migrate/flask-migrate-2.1.1.ebuild b/dev-python/flask-migrate/flask-migrate-2.1.1.ebuild
index 6a034b3c4742..f6426ea8ceab 100644
--- a/dev-python/flask-migrate/flask-migrate-2.1.1.ebuild
+++ b/dev-python/flask-migrate/flask-migrate-2.1.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/flask-0.9[${PYTHON_USEDEP}]
>=dev-python/alembic-0.6[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-migrate/flask-migrate-2.5.2.ebuild b/dev-python/flask-migrate/flask-migrate-2.5.2.ebuild
index 882506c019e8..12e2093b0e1c 100644
--- a/dev-python/flask-migrate/flask-migrate-2.5.2.ebuild
+++ b/dev-python/flask-migrate/flask-migrate-2.5.2.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/alembic-0.7[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-nav/flask-nav-0.6-r1.ebuild b/dev-python/flask-nav/flask-nav-0.6-r1.ebuild
index c56734559939..a9d937a83c5c 100644
--- a/dev-python/flask-nav/flask-nav-0.6-r1.ebuild
+++ b/dev-python/flask-nav/flask-nav-0.6-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/dominate[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-paginate/flask-paginate-0.5.3-r1.ebuild b/dev-python/flask-paginate/flask-paginate-0.5.3-r1.ebuild
index 1cdce8d7c42b..f4051d490486 100644
--- a/dev-python/flask-paginate/flask-paginate-0.5.3-r1.ebuild
+++ b/dev-python/flask-paginate/flask-paginate-0.5.3-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]"
BDEPEND="
diff --git a/dev-python/flask-paranoid/flask-paranoid-0.2.0-r1.ebuild b/dev-python/flask-paranoid/flask-paranoid-0.2.0-r1.ebuild
index 48175a187c62..53fe8850e98a 100644
--- a/dev-python/flask-paranoid/flask-paranoid-0.2.0-r1.ebuild
+++ b/dev-python/flask-paranoid/flask-paranoid-0.2.0-r1.ebuild
@@ -19,6 +19,7 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
diff --git a/dev-python/flask-principal/flask-principal-0.4.0-r1.ebuild b/dev-python/flask-principal/flask-principal-0.4.0-r1.ebuild
index 07802fd277c5..a6b997cd98bb 100644
--- a/dev-python/flask-principal/flask-principal-0.4.0-r1.ebuild
+++ b/dev-python/flask-principal/flask-principal-0.4.0-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
dev-python/blinker[${PYTHON_USEDEP}]"
diff --git a/dev-python/flask-restful/flask-restful-0.3.5-r1.ebuild b/dev-python/flask-restful/flask-restful-0.3.5-r1.ebuild
index 553f0e4039fd..1a082901abf1 100644
--- a/dev-python/flask-restful/flask-restful-0.3.5-r1.ebuild
+++ b/dev-python/flask-restful/flask-restful-0.3.5-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc examples paging test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/aniso8601-0.82[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-restful/flask-restful-0.3.6.ebuild b/dev-python/flask-restful/flask-restful-0.3.6.ebuild
index 44eb43948b33..f64b2078e3f3 100644
--- a/dev-python/flask-restful/flask-restful-0.3.6.ebuild
+++ b/dev-python/flask-restful/flask-restful-0.3.6.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc examples paging test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/aniso8601-0.82[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-restful/flask-restful-0.3.7.ebuild b/dev-python/flask-restful/flask-restful-0.3.7.ebuild
index cc20eed8e066..bf57ddf223ff 100644
--- a/dev-python/flask-restful/flask-restful-0.3.7.ebuild
+++ b/dev-python/flask-restful/flask-restful-0.3.7.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc examples paging test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/aniso8601-0.82[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-script/flask-script-2.0.5-r1.ebuild b/dev-python/flask-script/flask-script-2.0.5-r1.ebuild
index b5f8633b7038..7e2b014394a8 100644
--- a/dev-python/flask-script/flask-script-2.0.5-r1.ebuild
+++ b/dev-python/flask-script/flask-script-2.0.5-r1.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/flask-0.10.1-r1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/flask-script/flask-script-2.0.6.ebuild b/dev-python/flask-script/flask-script-2.0.6.ebuild
index 5cf97261bbaf..29e92f3e53b4 100644
--- a/dev-python/flask-script/flask-script-2.0.6.ebuild
+++ b/dev-python/flask-script/flask-script-2.0.6.ebuild
@@ -20,6 +20,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/flask-0.10.1-r1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.3.2.ebuild b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.3.2.ebuild
index 9a754756399a..017e5ed3152f 100644
--- a/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.3.2.ebuild
+++ b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.3.2.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/flask-0.10[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.4.1.ebuild b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.4.1.ebuild
index 06e76acc8d82..a4403e40215f 100644
--- a/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.4.1.ebuild
+++ b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.4.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/flask-0.10[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-themes/flask-themes-0.1.3_p20180112.ebuild b/dev-python/flask-themes/flask-themes-0.1.3_p20180112.ebuild
index c0e38edd02a2..28897c00b361 100644
--- a/dev-python/flask-themes/flask-themes-0.1.3_p20180112.ebuild
+++ b/dev-python/flask-themes/flask-themes-0.1.3_p20180112.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/flask-0.6[${PYTHON_USEDEP}]
diff --git a/dev-python/flask-uploads/flask-uploads-0.2.0-r1.ebuild b/dev-python/flask-uploads/flask-uploads-0.2.0-r1.ebuild
index c1b5748e05e3..6e8490b2ce01 100644
--- a/dev-python/flask-uploads/flask-uploads-0.2.0-r1.ebuild
+++ b/dev-python/flask-uploads/flask-uploads-0.2.0-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/flask-0.5[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/flask-wtf/flask-wtf-0.14.2-r1.ebuild b/dev-python/flask-wtf/flask-wtf-0.14.2-r1.ebuild
index 6edc3ee3c3fe..2e7a68deff95 100644
--- a/dev-python/flask-wtf/flask-wtf-0.14.2-r1.ebuild
+++ b/dev-python/flask-wtf/flask-wtf-0.14.2-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/Babel[${PYTHON_USEDEP}]
diff --git a/dev-python/flexmock/flexmock-0.10.2.ebuild b/dev-python/flexmock/flexmock-0.10.2.ebuild
index eaf594829501..b6d6d260e2a6 100644
--- a/dev-python/flexmock/flexmock-0.10.2.ebuild
+++ b/dev-python/flexmock/flexmock-0.10.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
test? (
diff --git a/dev-python/flexmock/flexmock-0.10.3.ebuild b/dev-python/flexmock/flexmock-0.10.3.ebuild
index cd2c289917a6..bc53f3f97bbe 100644
--- a/dev-python/flexmock/flexmock-0.10.3.ebuild
+++ b/dev-python/flexmock/flexmock-0.10.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
test? (
diff --git a/dev-python/flexmock/flexmock-0.10.4.ebuild b/dev-python/flexmock/flexmock-0.10.4.ebuild
index 59e66efe32a9..eef14b90cbee 100644
--- a/dev-python/flexmock/flexmock-0.10.4.ebuild
+++ b/dev-python/flexmock/flexmock-0.10.4.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
test? (
diff --git a/dev-python/fonttools/fonttools-3.24.2.ebuild b/dev-python/fonttools/fonttools-3.24.2.ebuild
index 3f9adb57e046..8c7287d194c8 100644
--- a/dev-python/fonttools/fonttools-3.24.2.ebuild
+++ b/dev-python/fonttools/fonttools-3.24.2.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ~ppc ~ppc64 s390 ~sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/fonttools/fonttools-3.44.0.ebuild b/dev-python/fonttools/fonttools-3.44.0.ebuild
index 611f5ec597ea..6533922326b9 100644
--- a/dev-python/fonttools/fonttools-3.44.0.ebuild
+++ b/dev-python/fonttools/fonttools-3.44.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ppc64 ~s390 sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/fonttools/fonttools-4.0.1.ebuild b/dev-python/fonttools/fonttools-4.0.1.ebuild
index c901591b8b11..5f34163564e9 100644
--- a/dev-python/fonttools/fonttools-4.0.1.ebuild
+++ b/dev-python/fonttools/fonttools-4.0.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ppc ppc64 ~s390 sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/foolscap/foolscap-0.11.0.ebuild b/dev-python/foolscap/foolscap-0.11.0.ebuild
index e096ba770f6f..6fabb0687bef 100644
--- a/dev-python/foolscap/foolscap-0.11.0.ebuild
+++ b/dev-python/foolscap/foolscap-0.11.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc +ssl test"
+RESTRICT="!test? ( test )"
# setup.py stipulates >=twisted-core-2.5.0 but failures occur in testsuite under -15.x
RDEPEND="
diff --git a/dev-python/foolscap/foolscap-0.7.0.ebuild b/dev-python/foolscap/foolscap-0.7.0.ebuild
index f7f1ceaf0029..458a37b04f4a 100644
--- a/dev-python/foolscap/foolscap-0.7.0.ebuild
+++ b/dev-python/foolscap/foolscap-0.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc +ssl test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/twisted-core-2.5.0[${PYTHON_USEDEP}]
>=dev-python/twisted-web-2.5.0[${PYTHON_USEDEP}]
diff --git a/dev-python/fqdn/fqdn-1.1.1.ebuild b/dev-python/fqdn/fqdn-1.1.1.ebuild
index 07c567ad6896..a32fb6b8dce0 100644
--- a/dev-python/fqdn/fqdn-1.1.1.ebuild
+++ b/dev-python/fqdn/fqdn-1.1.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/cached-property[${PYTHON_USEDEP}]"
diff --git a/dev-python/freezegun/freezegun-0.3.10.ebuild b/dev-python/freezegun/freezegun-0.3.10.ebuild
index d87eb1ebce87..a398a264edc3 100644
--- a/dev-python/freezegun/freezegun-0.3.10.ebuild
+++ b/dev-python/freezegun/freezegun-0.3.10.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>dev-python/python-dateutil-2.0[${PYTHON_USEDEP}]
diff --git a/dev-python/freezegun/freezegun-0.3.11.ebuild b/dev-python/freezegun/freezegun-0.3.11.ebuild
index d74d7f9153bd..8211ca08193a 100644
--- a/dev-python/freezegun/freezegun-0.3.11.ebuild
+++ b/dev-python/freezegun/freezegun-0.3.11.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>dev-python/python-dateutil-2.0[${PYTHON_USEDEP}]
diff --git a/dev-python/frozen-flask/frozen-flask-0.11-r1.ebuild b/dev-python/frozen-flask/frozen-flask-0.11-r1.ebuild
index 65d9952c0597..bd6ddcdf57ec 100644
--- a/dev-python/frozen-flask/frozen-flask-0.11-r1.ebuild
+++ b/dev-python/frozen-flask/frozen-flask-0.11-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/flask-0.7[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/frozen-flask/frozen-flask-0.15.ebuild b/dev-python/frozen-flask/frozen-flask-0.15.ebuild
index c233a73dac4a..001c24b4870b 100644
--- a/dev-python/frozen-flask/frozen-flask-0.15.ebuild
+++ b/dev-python/frozen-flask/frozen-flask-0.15.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/flask-0.7[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/fudge/fudge-0.9.6-r1.ebuild b/dev-python/fudge/fudge-0.9.6-r1.ebuild
index ff7d192d2c4f..91e4234c05d9 100644
--- a/dev-python/fudge/fudge-0.9.6-r1.ebuild
+++ b/dev-python/fudge/fudge-0.9.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
diff --git a/dev-python/fudge/fudge-1.1.0.ebuild b/dev-python/fudge/fudge-1.1.0.ebuild
index 39fc9a2b38c3..ccacd3ce7396 100644
--- a/dev-python/fudge/fudge-1.1.0.ebuild
+++ b/dev-python/fudge/fudge-1.1.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/funcparserlib/funcparserlib-0.3.6.ebuild b/dev-python/funcparserlib/funcparserlib-0.3.6.ebuild
index 89faa7da4231..e26854da0950 100644
--- a/dev-python/funcparserlib/funcparserlib-0.3.6.ebuild
+++ b/dev-python/funcparserlib/funcparserlib-0.3.6.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/funcsigs/funcsigs-1.0.2-r1.ebuild b/dev-python/funcsigs/funcsigs-1.0.2-r1.ebuild
index 47cd945080e3..95d90c123eaf 100644
--- a/dev-python/funcsigs/funcsigs-1.0.2-r1.ebuild
+++ b/dev-python/funcsigs/funcsigs-1.0.2-r1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/gammapy/gammapy-0.6.ebuild b/dev-python/gammapy/gammapy-0.6.ebuild
index 8316cb07720f..221018bdd0e2 100644
--- a/dev-python/gammapy/gammapy-0.6.ebuild
+++ b/dev-python/gammapy/gammapy-0.6.ebuild
@@ -14,6 +14,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DOCS=( README.rst )
RDEPEND="
diff --git a/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.1-r1.ebuild b/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.1-r1.ebuild
index 1d38d36d756c..aebf3525f13a 100644
--- a/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.1-r1.ebuild
+++ b/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.1-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/${PN}-1.13-use-friendy-version-checks.patch"
diff --git a/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.1.ebuild b/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.1.ebuild
index bc98bc6d6edf..ccc056b649f9 100644
--- a/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.1.ebuild
+++ b/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/${PN}-1.13-use-friendy-version-checks.patch"
diff --git a/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.4.ebuild b/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.4.ebuild
index 1f43500e98c1..f4f84a4ebab2 100644
--- a/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.4.ebuild
+++ b/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.4.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/${PN}-1.13-use-friendy-version-checks.patch"
diff --git a/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.5.ebuild b/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.5.ebuild
index 42ce0c7177b4..598e50b72a0e 100644
--- a/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.5.ebuild
+++ b/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.5.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/${PN}-1.13-use-friendy-version-checks.patch"
diff --git a/dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild b/dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild
index 0e044c47a30a..12825543a2e2 100644
--- a/dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild
+++ b/dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~ia64 ~ppc ~sparc x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-libs/geoip-1.4.8"
DEPEND="
diff --git a/dev-python/geopy/geopy-1.11.0.ebuild b/dev-python/geopy/geopy-1.11.0.ebuild
index 58c01171735d..5ab26fa0c206 100644
--- a/dev-python/geopy/geopy-1.11.0.ebuild
+++ b/dev-python/geopy/geopy-1.11.0.ebuild
@@ -12,6 +12,7 @@ HOMEPAGE="http://www.geopy.org/ https://github.com/geopy/geopy"
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
IUSE="test doc timezone yahoo"
+RESTRICT="!test? ( test )"
LICENSE="MIT"
SLOT="0"
diff --git a/dev-python/gevent-socketio/gevent-socketio-0.3.6.ebuild b/dev-python/gevent-socketio/gevent-socketio-0.3.6.ebuild
index 211f7b5274dc..34e30ea4ec93 100644
--- a/dev-python/gevent-socketio/gevent-socketio-0.3.6.ebuild
+++ b/dev-python/gevent-socketio/gevent-socketio-0.3.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/gevent-websocket[${PYTHON_USEDEP}]
dev-python/gevent[${PYTHON_USEDEP}]
diff --git a/dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild b/dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild
index 45775b60b9e8..82e4d70b8d49 100644
--- a/dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild
+++ b/dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
diff --git a/dev-python/geventhttpclient/geventhttpclient-1.3.1.ebuild b/dev-python/geventhttpclient/geventhttpclient-1.3.1.ebuild
index 21f14b7c62dd..f919e09f222e 100644
--- a/dev-python/geventhttpclient/geventhttpclient-1.3.1.ebuild
+++ b/dev-python/geventhttpclient/geventhttpclient-1.3.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
diff --git a/dev-python/ginga/ginga-2.6.5.ebuild b/dev-python/ginga/ginga-2.6.5.ebuild
index 296a6bb9c94e..1c995325c2e1 100644
--- a/dev-python/ginga/ginga-2.6.5.ebuild
+++ b/dev-python/ginga/ginga-2.6.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -16,6 +16,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="examples gtk qt5 test tk"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/gitdb2/gitdb2-2.0.3.ebuild b/dev-python/gitdb2/gitdb2-2.0.3.ebuild
index 3d23d7df7d56..f0e1a31b7b39 100644
--- a/dev-python/gitdb2/gitdb2-2.0.3.ebuild
+++ b/dev-python/gitdb2/gitdb2-2.0.3.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
!dev-python/gitdb[${PYTHON_USEDEP}]
diff --git a/dev-python/gitlabform/gitlabform-1.0.7.ebuild b/dev-python/gitlabform/gitlabform-1.0.7.ebuild
index 34dcba43fdcc..509c2995ef75 100644
--- a/dev-python/gitlabform/gitlabform-1.0.7.ebuild
+++ b/dev-python/gitlabform/gitlabform-1.0.7.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
diff --git a/dev-python/gitlabform/gitlabform-1.3.0.ebuild b/dev-python/gitlabform/gitlabform-1.3.0.ebuild
index 34dcba43fdcc..509c2995ef75 100644
--- a/dev-python/gitlabform/gitlabform-1.3.0.ebuild
+++ b/dev-python/gitlabform/gitlabform-1.3.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
diff --git a/dev-python/gitlabform/gitlabform-1.5.0.ebuild b/dev-python/gitlabform/gitlabform-1.5.0.ebuild
index b149c4c4945f..c250d12efd3e 100644
--- a/dev-python/gitlabform/gitlabform-1.5.0.ebuild
+++ b/dev-python/gitlabform/gitlabform-1.5.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
diff --git a/dev-python/globre/globre-0.1.4.ebuild b/dev-python/globre/globre-0.1.4.ebuild
index e20a0c85759b..4b5fdd63769c 100644
--- a/dev-python/globre/globre-0.1.4.ebuild
+++ b/dev-python/globre/globre-0.1.4.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="GPL-3+"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/globre/globre-0.1.5.ebuild b/dev-python/globre/globre-0.1.5.ebuild
index 89b73fc0979a..07e2e5fdddf3 100644
--- a/dev-python/globre/globre-0.1.5.ebuild
+++ b/dev-python/globre/globre-0.1.5.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="GPL-3+"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.2.ebuild b/dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.2.ebuild
index 4bb22346d1c0..d7c462ad6099 100644
--- a/dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.2.ebuild
+++ b/dev-python/glue-vispy-viewers/glue-vispy-viewers-0.7.2.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
DOCS=( README.rst CHANGES.md )
diff --git a/dev-python/google-api-python-client/google-api-python-client-1.5.3.ebuild b/dev-python/google-api-python-client/google-api-python-client-1.5.3.ebuild
index 941e13ee859c..6dfd5120449a 100644
--- a/dev-python/google-api-python-client/google-api-python-client-1.5.3.ebuild
+++ b/dev-python/google-api-python-client/google-api-python-client-1.5.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
diff --git a/dev-python/google-api-python-client/google-api-python-client-1.6.2.ebuild b/dev-python/google-api-python-client/google-api-python-client-1.6.2.ebuild
index d61320b62ae5..552155460e6c 100644
--- a/dev-python/google-api-python-client/google-api-python-client-1.6.2.ebuild
+++ b/dev-python/google-api-python-client/google-api-python-client-1.6.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/httplib2-0.9.2[${PYTHON_USEDEP}]
diff --git a/dev-python/google-api-python-client/google-api-python-client-1.6.5.ebuild b/dev-python/google-api-python-client/google-api-python-client-1.6.5.ebuild
index 9d6133635d0a..5597d7a5e0ec 100644
--- a/dev-python/google-api-python-client/google-api-python-client-1.6.5.ebuild
+++ b/dev-python/google-api-python-client/google-api-python-client-1.6.5.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/httplib2-0.9.2[${PYTHON_USEDEP}]
diff --git a/dev-python/google-api-python-client/google-api-python-client-1.7.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-1.7.0.ebuild
index 6d8fc40555e0..0eda25639f69 100644
--- a/dev-python/google-api-python-client/google-api-python-client-1.7.0.ebuild
+++ b/dev-python/google-api-python-client/google-api-python-client-1.7.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/httplib2-0.9.2[${PYTHON_USEDEP}]
diff --git a/dev-python/google-api-python-client/google-api-python-client-1.7.9.ebuild b/dev-python/google-api-python-client/google-api-python-client-1.7.9.ebuild
index 6d8fc40555e0..0eda25639f69 100644
--- a/dev-python/google-api-python-client/google-api-python-client-1.7.9.ebuild
+++ b/dev-python/google-api-python-client/google-api-python-client-1.7.9.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/httplib2-0.9.2[${PYTHON_USEDEP}]
diff --git a/dev-python/google-apputils/google-apputils-0.4.2-r1.ebuild b/dev-python/google-apputils/google-apputils-0.4.2-r1.ebuild
index 4c34e95c5e8d..bd203bd8daea 100644
--- a/dev-python/google-apputils/google-apputils-0.4.2-r1.ebuild
+++ b/dev-python/google-apputils/google-apputils-0.4.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/python-dateutil-1.4[${PYTHON_USEDEP}]
diff --git a/dev-python/google-apputils/google-apputils-0.4.2-r2.ebuild b/dev-python/google-apputils/google-apputils-0.4.2-r2.ebuild
index a6076c32be6e..681e3251f575 100644
--- a/dev-python/google-apputils/google-apputils-0.4.2-r2.ebuild
+++ b/dev-python/google-apputils/google-apputils-0.4.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/namespace-google[${PYTHON_USEDEP}]
diff --git a/dev-python/google-auth-httplib2/google-auth-httplib2-0.0.2.ebuild b/dev-python/google-auth-httplib2/google-auth-httplib2-0.0.2.ebuild
index 61d3f8cd0508..a82bed81fc9d 100644
--- a/dev-python/google-auth-httplib2/google-auth-httplib2-0.0.2.ebuild
+++ b/dev-python/google-auth-httplib2/google-auth-httplib2-0.0.2.ebuild
@@ -19,6 +19,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/httplib2[${PYTHON_USEDEP}]
diff --git a/dev-python/google-auth-httplib2/google-auth-httplib2-0.0.3.ebuild b/dev-python/google-auth-httplib2/google-auth-httplib2-0.0.3.ebuild
index 1b43fb88d253..f47ccd9b9594 100644
--- a/dev-python/google-auth-httplib2/google-auth-httplib2-0.0.3.ebuild
+++ b/dev-python/google-auth-httplib2/google-auth-httplib2-0.0.3.ebuild
@@ -19,6 +19,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/httplib2[${PYTHON_USEDEP}]
diff --git a/dev-python/google-auth/google-auth-1.0.1.ebuild b/dev-python/google-auth/google-auth-1.0.1.ebuild
index 090478b0cca9..af55f7df3e84 100644
--- a/dev-python/google-auth/google-auth-1.0.1.ebuild
+++ b/dev-python/google-auth/google-auth-1.0.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/namespace-google[${PYTHON_USEDEP}]
diff --git a/dev-python/google-auth/google-auth-1.1.0.ebuild b/dev-python/google-auth/google-auth-1.1.0.ebuild
index 7ea41bd1bc85..56f453796211 100644
--- a/dev-python/google-auth/google-auth-1.1.0.ebuild
+++ b/dev-python/google-auth/google-auth-1.1.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/namespace-google[${PYTHON_USEDEP}]
diff --git a/dev-python/google-auth/google-auth-1.4.1.ebuild b/dev-python/google-auth/google-auth-1.4.1.ebuild
index 513e90166510..8cc3ff5c8462 100644
--- a/dev-python/google-auth/google-auth-1.4.1.ebuild
+++ b/dev-python/google-auth/google-auth-1.4.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/namespace-google[${PYTHON_USEDEP}]
diff --git a/dev-python/google-auth/google-auth-1.6.3.ebuild b/dev-python/google-auth/google-auth-1.6.3.ebuild
index 65a3ed04f6ae..3b9006239375 100644
--- a/dev-python/google-auth/google-auth-1.6.3.ebuild
+++ b/dev-python/google-auth/google-auth-1.6.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/namespace-google[${PYTHON_USEDEP}]
diff --git a/dev-python/google-reauth-python/google-reauth-python-0.1.0.ebuild b/dev-python/google-reauth-python/google-reauth-python-0.1.0.ebuild
index 8567dfbc6569..a17d9437d2fb 100644
--- a/dev-python/google-reauth-python/google-reauth-python-0.1.0.ebuild
+++ b/dev-python/google-reauth-python/google-reauth-python-0.1.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/oauth2client[${PYTHON_USEDEP}]
diff --git a/dev-python/gql/gql-0.1.0.ebuild b/dev-python/gql/gql-0.1.0.ebuild
index 4c5defa83988..7b641920f69e 100644
--- a/dev-python/gql/gql-0.1.0.ebuild
+++ b/dev-python/gql/gql-0.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
diff --git a/dev-python/graphviz/graphviz-0.10.1.ebuild b/dev-python/graphviz/graphviz-0.10.1.ebuild
index 7e92809d7b77..d1dd3aef5b2a 100644
--- a/dev-python/graphviz/graphviz-0.10.1.ebuild
+++ b/dev-python/graphviz/graphviz-0.10.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="media-gfx/graphviz"
DEPEND="
diff --git a/dev-python/graphviz/graphviz-0.13.ebuild b/dev-python/graphviz/graphviz-0.13.ebuild
index 15f6ec7d3687..4948c11342e7 100644
--- a/dev-python/graphviz/graphviz-0.13.ebuild
+++ b/dev-python/graphviz/graphviz-0.13.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="media-gfx/graphviz"
DEPEND="
diff --git a/dev-python/graphviz/graphviz-0.7.1.ebuild b/dev-python/graphviz/graphviz-0.7.1.ebuild
index a2327f77b8aa..bc752435e77c 100644
--- a/dev-python/graphviz/graphviz-0.7.1.ebuild
+++ b/dev-python/graphviz/graphviz-0.7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -15,6 +15,7 @@ LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="media-gfx/graphviz"
DEPEND="
diff --git a/dev-python/greenstalk/greenstalk-1.0.1.ebuild b/dev-python/greenstalk/greenstalk-1.0.1.ebuild
index 98bafab82c34..fc13a4a44871 100644
--- a/dev-python/greenstalk/greenstalk-1.0.1.ebuild
+++ b/dev-python/greenstalk/greenstalk-1.0.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
test? (
diff --git a/dev-python/guessit/guessit-3.0.0.ebuild b/dev-python/guessit/guessit-3.0.0.ebuild
index 4b384cf1a024..489270bf7e0d 100644
--- a/dev-python/guessit/guessit-3.0.0.ebuild
+++ b/dev-python/guessit/guessit-3.0.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/babelfish-0.5.5[${PYTHON_USEDEP}]
diff --git a/dev-python/guessit/guessit-9999.ebuild b/dev-python/guessit/guessit-9999.ebuild
index e6c0ed6af5f1..f89e9b071ec8 100644
--- a/dev-python/guessit/guessit-9999.ebuild
+++ b/dev-python/guessit/guessit-9999.ebuild
@@ -16,6 +16,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/babelfish-0.5.5[${PYTHON_USEDEP}]
diff --git a/dev-python/gwcs/gwcs-0.7.ebuild b/dev-python/gwcs/gwcs-0.7.ebuild
index 8bb0a702c5e3..48adb12da4ec 100644
--- a/dev-python/gwcs/gwcs-0.7.ebuild
+++ b/dev-python/gwcs/gwcs-0.7.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/h11/h11-0.7.0.ebuild b/dev-python/h11/h11-0.7.0.ebuild
index e6d101d4f0ce..86df9481fae2 100644
--- a/dev-python/h11/h11-0.7.0.ebuild
+++ b/dev-python/h11/h11-0.7.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/h11/h11-0.8.1.ebuild b/dev-python/h11/h11-0.8.1.ebuild
index a16ad68016d7..6d5225fead81 100644
--- a/dev-python/h11/h11-0.8.1.ebuild
+++ b/dev-python/h11/h11-0.8.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/h5py/h5py-2.7.0.ebuild b/dev-python/h5py/h5py-2.7.0.ebuild
index 55d2902d39c7..af6a18ea3e92 100644
--- a/dev-python/h5py/h5py-2.7.0.ebuild
+++ b/dev-python/h5py/h5py-2.7.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test examples mpi"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/hdf5:=[mpi=,hl(+)]
diff --git a/dev-python/h5py/h5py-2.7.1.ebuild b/dev-python/h5py/h5py-2.7.1.ebuild
index 55f42f711d75..97f144b2efe1 100644
--- a/dev-python/h5py/h5py-2.7.1.ebuild
+++ b/dev-python/h5py/h5py-2.7.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test examples mpi"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/hdf5:=[mpi=,hl(+)]
diff --git a/dev-python/h5py/h5py-2.9.0.ebuild b/dev-python/h5py/h5py-2.9.0.ebuild
index 55f42f711d75..97f144b2efe1 100644
--- a/dev-python/h5py/h5py-2.9.0.ebuild
+++ b/dev-python/h5py/h5py-2.9.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test examples mpi"
+RESTRICT="!test? ( test )"
RDEPEND="
sci-libs/hdf5:=[mpi=,hl(+)]
diff --git a/dev-python/hacking/hacking-0.10.3.ebuild b/dev-python/hacking/hacking-0.10.3.ebuild
index fdfac643f377..e734f197a820 100644
--- a/dev-python/hacking/hacking-0.10.3.ebuild
+++ b/dev-python/hacking/hacking-0.10.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/hacking/hacking-0.9.2.ebuild b/dev-python/hacking/hacking-0.9.2.ebuild
index 98a49ae20f64..f57d6aaba5e1 100644
--- a/dev-python/hacking/hacking-0.9.2.ebuild
+++ b/dev-python/hacking/hacking-0.9.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="~dev-python/pep8-1.5.6[${PYTHON_USEDEP}]
~dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}]
diff --git a/dev-python/hacking/hacking-0.9.6.ebuild b/dev-python/hacking/hacking-0.9.6.ebuild
index fd5ad5ce65ac..27990230103d 100644
--- a/dev-python/hacking/hacking-0.9.6.ebuild
+++ b/dev-python/hacking/hacking-0.9.6.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~hppa ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="~dev-python/pep8-1.5.6[${PYTHON_USEDEP}]
~dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}]
diff --git a/dev-python/hacking/hacking-1.1.0.ebuild b/dev-python/hacking/hacking-1.1.0.ebuild
index 1a14c8fbc5ed..e95f7811d8d0 100644
--- a/dev-python/hacking/hacking-1.1.0.ebuild
+++ b/dev-python/hacking/hacking-1.1.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~hppa ~ppc64 ~s390 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/flake8-2.6.0[${PYTHON_USEDEP}]
diff --git a/dev-python/hcs-utils/hcs-utils-1.5.ebuild b/dev-python/hcs-utils/hcs-utils-1.5.ebuild
index 7fe04435067c..9da66beeb923 100644
--- a/dev-python/hcs-utils/hcs-utils-1.5.ebuild
+++ b/dev-python/hcs-utils/hcs-utils-1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -15,6 +15,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/hcs-utils/hcs-utils-2.0.ebuild b/dev-python/hcs-utils/hcs-utils-2.0.ebuild
index fb8377528b99..63d221dafd40 100644
--- a/dev-python/hcs-utils/hcs-utils-2.0.ebuild
+++ b/dev-python/hcs-utils/hcs-utils-2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -15,6 +15,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/healpy/healpy-1.10.3.ebuild b/dev-python/healpy/healpy-1.10.3.ebuild
index f133b6537001..80c87493bd0f 100644
--- a/dev-python/healpy/healpy-1.10.3.ebuild
+++ b/dev-python/healpy/healpy-1.10.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/healpy/healpy-1.11.0.ebuild b/dev-python/healpy/healpy-1.11.0.ebuild
index 4b88281b5312..048844f7e336 100644
--- a/dev-python/healpy/healpy-1.11.0.ebuild
+++ b/dev-python/healpy/healpy-1.11.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/hgdistver/hgdistver-0.25.ebuild b/dev-python/hgdistver/hgdistver-0.25.ebuild
index 23570a03306a..59c225d7bfa7 100644
--- a/dev-python/hgdistver/hgdistver-0.25.ebuild
+++ b/dev-python/hgdistver/hgdistver-0.25.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
diff --git a/dev-python/hglib/hglib-1.5.ebuild b/dev-python/hglib/hglib-1.5.ebuild
index 8e38d45dd8cd..cdc81cf4c88c 100644
--- a/dev-python/hglib/hglib-1.5.ebuild
+++ b/dev-python/hglib/hglib-1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-vcs/mercurial-2.4.2"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/hglib/hglib-2.1.ebuild b/dev-python/hglib/hglib-2.1.ebuild
index da7afad6a9fe..dee6a7d387a7 100644
--- a/dev-python/hglib/hglib-2.1.ebuild
+++ b/dev-python/hglib/hglib-2.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-vcs/mercurial-2.4.2"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/hiro/hiro-0.2.ebuild b/dev-python/hiro/hiro-0.2.ebuild
index 9ae839cb175e..3961a05b0ea5 100644
--- a/dev-python/hiro/hiro-0.2.ebuild
+++ b/dev-python/hiro/hiro-0.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/mock[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
diff --git a/dev-python/hiro/hiro-0.3.ebuild b/dev-python/hiro/hiro-0.3.ebuild
index 27c149b7e48a..f42df1b21a82 100644
--- a/dev-python/hiro/hiro-0.3.ebuild
+++ b/dev-python/hiro/hiro-0.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/mock[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
diff --git a/dev-python/hiro/hiro-0.5.ebuild b/dev-python/hiro/hiro-0.5.ebuild
index f37bf29430eb..5ead98b371b3 100644
--- a/dev-python/hiro/hiro-0.5.ebuild
+++ b/dev-python/hiro/hiro-0.5.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/mock[${PYTHON_USEDEP}]
diff --git a/dev-python/hp3parclient/hp3parclient-2.0.0.ebuild b/dev-python/hp3parclient/hp3parclient-2.0.0.ebuild
index feebb28d1af2..654b1c4d9e8e 100644
--- a/dev-python/hp3parclient/hp3parclient-2.0.0.ebuild
+++ b/dev-python/hp3parclient/hp3parclient-2.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -12,6 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
LICENSE="Apache-2.0"
SLOT="0"
diff --git a/dev-python/hp3parclient/hp3parclient-3.0.0.ebuild b/dev-python/hp3parclient/hp3parclient-3.0.0.ebuild
index 26f2dff89169..bb3201fee6e0 100644
--- a/dev-python/hp3parclient/hp3parclient-3.0.0.ebuild
+++ b/dev-python/hp3parclient/hp3parclient-3.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -12,6 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
LICENSE="Apache-2.0"
SLOT="0"
diff --git a/dev-python/html5lib/html5lib-0.9999999.ebuild b/dev-python/html5lib/html5lib-0.9999999.ebuild
index ea6e01d7b644..c104dbfa8838 100644
--- a/dev-python/html5lib/html5lib-0.9999999.ebuild
+++ b/dev-python/html5lib/html5lib-0.9999999.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/html5lib/html5lib-0.999999999.ebuild b/dev-python/html5lib/html5lib-0.999999999.ebuild
index 4487607de5ad..1f16891c8f27 100644
--- a/dev-python/html5lib/html5lib-0.999999999.ebuild
+++ b/dev-python/html5lib/html5lib-0.999999999.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x64-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
dev-python/webencodings[${PYTHON_USEDEP}]"
diff --git a/dev-python/httpauth/httpauth-0.3.ebuild b/dev-python/httpauth/httpauth-0.3.ebuild
index c4529d43b520..89227248334a 100644
--- a/dev-python/httpauth/httpauth-0.3.ebuild
+++ b/dev-python/httpauth/httpauth-0.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/httpretty/httpretty-0.8.14.ebuild b/dev-python/httpretty/httpretty-0.8.14.ebuild
index 807a4985226e..fc47b91c7afa 100644
--- a/dev-python/httpretty/httpretty-0.8.14.ebuild
+++ b/dev-python/httpretty/httpretty-0.8.14.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="amd64 ~arm64 ppc64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/humanfriendly/humanfriendly-4.17.ebuild b/dev-python/humanfriendly/humanfriendly-4.17.ebuild
index bd6f4e1518bf..42b2b72f8640 100644
--- a/dev-python/humanfriendly/humanfriendly-4.17.ebuild
+++ b/dev-python/humanfriendly/humanfriendly-4.17.ebuild
@@ -19,6 +19,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/monotonic[${PYTHON_USEDEP}]
diff --git a/dev-python/humanize/humanize-0.5.1.ebuild b/dev-python/humanize/humanize-0.5.1.ebuild
index 9f2c2e826be8..4cede29ed9b8 100644
--- a/dev-python/humanize/humanize-0.5.1.ebuild
+++ b/dev-python/humanize/humanize-0.5.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/icalendar/icalendar-3.11.7-r1.ebuild b/dev-python/icalendar/icalendar-3.11.7-r1.ebuild
index aff8419b868b..e48220570506 100644
--- a/dev-python/icalendar/icalendar-3.11.7-r1.ebuild
+++ b/dev-python/icalendar/icalendar-3.11.7-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND="
diff --git a/dev-python/icalendar/icalendar-3.11.7.ebuild b/dev-python/icalendar/icalendar-3.11.7.ebuild
index 5abbf5c86eff..441d319017cf 100644
--- a/dev-python/icalendar/icalendar-3.11.7.ebuild
+++ b/dev-python/icalendar/icalendar-3.11.7.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]
diff --git a/dev-python/icalendar/icalendar-3.9.2.ebuild b/dev-python/icalendar/icalendar-3.9.2.ebuild
index ac910cabc9bd..d1dffad19619 100644
--- a/dev-python/icalendar/icalendar-3.9.2.ebuild
+++ b/dev-python/icalendar/icalendar-3.9.2.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]
diff --git a/dev-python/icalendar/icalendar-4.0.3.ebuild b/dev-python/icalendar/icalendar-4.0.3.ebuild
index 8407102bbd83..b9f08a775ff8 100644
--- a/dev-python/icalendar/icalendar-4.0.3.ebuild
+++ b/dev-python/icalendar/icalendar-4.0.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DOCS=( "README.rst" )
RDEPEND="
diff --git a/dev-python/imapclient/imapclient-0.13.ebuild b/dev-python/imapclient/imapclient-0.13.ebuild
index 5cb345d53db4..6d307b59f89f 100644
--- a/dev-python/imapclient/imapclient-0.13.ebuild
+++ b/dev-python/imapclient/imapclient-0.13.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/imapclient/imapclient-2.1.0.ebuild b/dev-python/imapclient/imapclient-2.1.0.ebuild
index 2b5dec6af405..5742007c8532 100644
--- a/dev-python/imapclient/imapclient-2.1.0.ebuild
+++ b/dev-python/imapclient/imapclient-2.1.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/imexam/imexam-0.7.1.ebuild b/dev-python/imexam/imexam-0.7.1.ebuild
index 37228d85b067..9056407c41b2 100644
--- a/dev-python/imexam/imexam-0.7.1.ebuild
+++ b/dev-python/imexam/imexam-0.7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/iminuit/iminuit-1.2.ebuild b/dev-python/iminuit/iminuit-1.2.ebuild
index 0ca58b2a86bd..a0bc2bdbccd8 100644
--- a/dev-python/iminuit/iminuit-1.2.ebuild
+++ b/dev-python/iminuit/iminuit-1.2.ebuild
@@ -13,6 +13,7 @@ SLOT="0"
LICENSE="MIT LGPL-2"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/iminuit/iminuit-1.3.3.ebuild b/dev-python/iminuit/iminuit-1.3.3.ebuild
index 0ca58b2a86bd..a0bc2bdbccd8 100644
--- a/dev-python/iminuit/iminuit-1.3.3.ebuild
+++ b/dev-python/iminuit/iminuit-1.3.3.ebuild
@@ -13,6 +13,7 @@ SLOT="0"
LICENSE="MIT LGPL-2"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild b/dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild
index 97da73edde51..cc6b85dbe12c 100644
--- a/dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild
+++ b/dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
$(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2)
diff --git a/dev-python/inflect/inflect-0.2.5.ebuild b/dev-python/inflect/inflect-0.2.5.ebuild
index b5f00de1a473..92e9feb41e35 100644
--- a/dev-python/inflect/inflect-0.2.5.ebuild
+++ b/dev-python/inflect/inflect-0.2.5.ebuild
@@ -15,6 +15,7 @@ LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
diff --git a/dev-python/inflect/inflect-2.1.0.ebuild b/dev-python/inflect/inflect-2.1.0.ebuild
index 08aaff5c8b93..470adefdb043 100644
--- a/dev-python/inflect/inflect-2.1.0.ebuild
+++ b/dev-python/inflect/inflect-2.1.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/inflection/inflection-0.3.1.ebuild b/dev-python/inflection/inflection-0.3.1.ebuild
index d9cc35cd16ea..f868e5b62c64 100644
--- a/dev-python/inflection/inflection-0.3.1.ebuild
+++ b/dev-python/inflection/inflection-0.3.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/influxdb/influxdb-2.12.0.ebuild b/dev-python/influxdb/influxdb-2.12.0.ebuild
index 0196df5b6e6e..5dbd75dd1c44 100644
--- a/dev-python/influxdb/influxdb-2.12.0.ebuild
+++ b/dev-python/influxdb/influxdb-2.12.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/python-dateutil[${PYTHON_USEDEP}]
diff --git a/dev-python/inotifyx/inotifyx-0.2.2.ebuild b/dev-python/inotifyx/inotifyx-0.2.2.ebuild
index ebaafa18716c..75739d4401eb 100644
--- a/dev-python/inotifyx/inotifyx-0.2.2.ebuild
+++ b/dev-python/inotifyx/inotifyx-0.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
python_test() {
esetup.py test
diff --git a/dev-python/intervaltree/intervaltree-2.1.0.ebuild b/dev-python/intervaltree/intervaltree-2.1.0.ebuild
index 8879ef39ad1e..cc1d1bd7cf78 100644
--- a/dev-python/intervaltree/intervaltree-2.1.0.ebuild
+++ b/dev-python/intervaltree/intervaltree-2.1.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/sortedcontainers[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/iocapture/iocapture-0.1.2-r1.ebuild b/dev-python/iocapture/iocapture-0.1.2-r1.ebuild
index 3d32252c86ef..68fe32ccb9be 100644
--- a/dev-python/iocapture/iocapture-0.1.2-r1.ebuild
+++ b/dev-python/iocapture/iocapture-0.1.2-r1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
LICENSE="MIT"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/iocapture/iocapture-0.1.2-r2.ebuild b/dev-python/iocapture/iocapture-0.1.2-r2.ebuild
index 3ad57635e00d..17e51fd67f0f 100644
--- a/dev-python/iocapture/iocapture-0.1.2-r2.ebuild
+++ b/dev-python/iocapture/iocapture-0.1.2-r2.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
LICENSE="MIT"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/ipykernel/ipykernel-4.6.1-r2.ebuild b/dev-python/ipykernel/ipykernel-4.6.1-r2.ebuild
index a8bc84c41ddb..874b8614ed65 100644
--- a/dev-python/ipykernel/ipykernel-4.6.1-r2.ebuild
+++ b/dev-python/ipykernel/ipykernel-4.6.1-r2.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
<dev-python/ipython-6[${PYTHON_USEDEP}]
diff --git a/dev-python/ipykernel/ipykernel-4.8.2.ebuild b/dev-python/ipykernel/ipykernel-4.8.2.ebuild
index 187ae907354c..244ae2be52c9 100644
--- a/dev-python/ipykernel/ipykernel-4.8.2.ebuild
+++ b/dev-python/ipykernel/ipykernel-4.8.2.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
<dev-python/ipython-6[${PYTHON_USEDEP}]
diff --git a/dev-python/ipykernel/ipykernel-5.1.0.ebuild b/dev-python/ipykernel/ipykernel-5.1.0.ebuild
index 85f606682f6d..677a27f5c0a8 100644
--- a/dev-python/ipykernel/ipykernel-5.1.0.ebuild
+++ b/dev-python/ipykernel/ipykernel-5.1.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/ipython-6[${PYTHON_USEDEP}]
diff --git a/dev-python/ipyparallel/ipyparallel-6.0.2-r1.ebuild b/dev-python/ipyparallel/ipyparallel-6.0.2-r1.ebuild
index eaecfdeb101e..3c087618a2c7 100644
--- a/dev-python/ipyparallel/ipyparallel-6.0.2-r1.ebuild
+++ b/dev-python/ipyparallel/ipyparallel-6.0.2-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/decorator[${PYTHON_USEDEP}]
diff --git a/dev-python/ipyparallel/ipyparallel-6.2.3.ebuild b/dev-python/ipyparallel/ipyparallel-6.2.3.ebuild
index b84281765edc..7ee65d4e2aa0 100644
--- a/dev-python/ipyparallel/ipyparallel-6.2.3.ebuild
+++ b/dev-python/ipyparallel/ipyparallel-6.2.3.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# About tests and tornado
# Upstreams claims to work fine with tornado 5, and it's indeed possible to
diff --git a/dev-python/ipython/ipython-5.4.1-r2.ebuild b/dev-python/ipython/ipython-5.4.1-r2.ebuild
index 9f84d5ddc9e0..4c6865ef4d4c 100644
--- a/dev-python/ipython/ipython-5.4.1-r2.ebuild
+++ b/dev-python/ipython/ipython-5.4.1-r2.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
+RESTRICT="!test? ( test )"
CDEPEND="
dev-python/decorator[${PYTHON_USEDEP}]
diff --git a/dev-python/ipython_genutils/ipython_genutils-0.2.0.ebuild b/dev-python/ipython_genutils/ipython_genutils-0.2.0.ebuild
index b3883ea29952..39a2bb5c913d 100644
--- a/dev-python/ipython_genutils/ipython_genutils-0.2.0.ebuild
+++ b/dev-python/ipython_genutils/ipython_genutils-0.2.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
test? (
diff --git a/dev-python/ipywidgets/ipywidgets-7.0.0.ebuild b/dev-python/ipywidgets/ipywidgets-7.0.0.ebuild
index ec689a62efb0..aaad0d6db818 100644
--- a/dev-python/ipywidgets/ipywidgets-7.0.0.ebuild
+++ b/dev-python/ipywidgets/ipywidgets-7.0.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/ipykernel-4.5.1[${PYTHON_USEDEP}]
diff --git a/dev-python/ipywidgets/ipywidgets-7.4.2-r1.ebuild b/dev-python/ipywidgets/ipywidgets-7.4.2-r1.ebuild
index e93864a23ee2..2264ba278d4a 100644
--- a/dev-python/ipywidgets/ipywidgets-7.4.2-r1.ebuild
+++ b/dev-python/ipywidgets/ipywidgets-7.4.2-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/ipykernel-4.5.1[${PYTHON_USEDEP}]
diff --git a/dev-python/ipywidgets/ipywidgets-7.4.2.ebuild b/dev-python/ipywidgets/ipywidgets-7.4.2.ebuild
index d8ac18b762d0..693a45753b70 100644
--- a/dev-python/ipywidgets/ipywidgets-7.4.2.ebuild
+++ b/dev-python/ipywidgets/ipywidgets-7.4.2.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/ipykernel-4.5.1[${PYTHON_USEDEP}]
diff --git a/dev-python/irc/irc-16.3.ebuild b/dev-python/irc/irc-16.3.ebuild
index e520e4ae525c..449848bcb3de 100644
--- a/dev-python/irc/irc-16.3.ebuild
+++ b/dev-python/irc/irc-16.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/jaraco-functools-1.5[${PYTHON_USEDEP}]
diff --git a/dev-python/irc/irc-17.0.ebuild b/dev-python/irc/irc-17.0.ebuild
index e81e00cd656c..253606a72f7e 100644
--- a/dev-python/irc/irc-17.0.ebuild
+++ b/dev-python/irc/irc-17.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}]
diff --git a/dev-python/irc/irc-17.1.ebuild b/dev-python/irc/irc-17.1.ebuild
index 1a6a8515e164..b534d09c2a25 100644
--- a/dev-python/irc/irc-17.1.ebuild
+++ b/dev-python/irc/irc-17.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/importlib_metadata[${PYTHON_USEDEP}]
diff --git a/dev-python/isodate/isodate-0.6.0.ebuild b/dev-python/isodate/isodate-0.6.0.ebuild
index 5244903079fb..c691e90abb99 100644
--- a/dev-python/isodate/isodate-0.6.0.ebuild
+++ b/dev-python/isodate/isodate-0.6.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-classes/jaraco-classes-1.4.ebuild b/dev-python/jaraco-classes/jaraco-classes-1.4.ebuild
index 0a2b7a659658..dd721310ef54 100644
--- a/dev-python/jaraco-classes/jaraco-classes-1.4.ebuild
+++ b/dev-python/jaraco-classes/jaraco-classes-1.4.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-classes/jaraco-classes-1.5-r1.ebuild b/dev-python/jaraco-classes/jaraco-classes-1.5-r1.ebuild
index 53def5d54190..dc9fa4881702 100644
--- a/dev-python/jaraco-classes/jaraco-classes-1.5-r1.ebuild
+++ b/dev-python/jaraco-classes/jaraco-classes-1.5-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
<dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-classes/jaraco-classes-2.0.ebuild b/dev-python/jaraco-classes/jaraco-classes-2.0.ebuild
index dfe803bba472..6754edb9c766 100644
--- a/dev-python/jaraco-classes/jaraco-classes-2.0.ebuild
+++ b/dev-python/jaraco-classes/jaraco-classes-2.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-collections/jaraco-collections-1.5.3-r1.ebuild b/dev-python/jaraco-collections/jaraco-collections-1.5.3-r1.ebuild
index d634de30137b..a621fa6ef219 100644
--- a/dev-python/jaraco-collections/jaraco-collections-1.5.3-r1.ebuild
+++ b/dev-python/jaraco-collections/jaraco-collections-1.5.3-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
PDEPEND="dev-python/jaraco-text[${PYTHON_USEDEP}]"
RDEPEND="
diff --git a/dev-python/jaraco-collections/jaraco-collections-1.6.0-r1.ebuild b/dev-python/jaraco-collections/jaraco-collections-1.6.0-r1.ebuild
index b9c0016ba406..142dc8be9e57 100644
--- a/dev-python/jaraco-collections/jaraco-collections-1.6.0-r1.ebuild
+++ b/dev-python/jaraco-collections/jaraco-collections-1.6.0-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
PDEPEND="dev-python/jaraco-text[${PYTHON_USEDEP}]"
RDEPEND="
diff --git a/dev-python/jaraco-collections/jaraco-collections-2.0.ebuild b/dev-python/jaraco-collections/jaraco-collections-2.0.ebuild
index d8aefffd0776..70b22bd7bcc4 100644
--- a/dev-python/jaraco-collections/jaraco-collections-2.0.ebuild
+++ b/dev-python/jaraco-collections/jaraco-collections-2.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-collections/jaraco-collections-2.1.ebuild b/dev-python/jaraco-collections/jaraco-collections-2.1.ebuild
index d8aefffd0776..70b22bd7bcc4 100644
--- a/dev-python/jaraco-collections/jaraco-collections-2.1.ebuild
+++ b/dev-python/jaraco-collections/jaraco-collections-2.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-functools/jaraco-functools-1.19-r1.ebuild b/dev-python/jaraco-functools/jaraco-functools-1.19-r1.ebuild
index ebe3f058128f..8d6cc4c81dac 100644
--- a/dev-python/jaraco-functools/jaraco-functools-1.19-r1.ebuild
+++ b/dev-python/jaraco-functools/jaraco-functools-1.19-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
<dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-functools/jaraco-functools-1.20-r1.ebuild b/dev-python/jaraco-functools/jaraco-functools-1.20-r1.ebuild
index 5dd7780fa576..fba36e00fdd5 100644
--- a/dev-python/jaraco-functools/jaraco-functools-1.20-r1.ebuild
+++ b/dev-python/jaraco-functools/jaraco-functools-1.20-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
<dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-functools/jaraco-functools-2.0.ebuild b/dev-python/jaraco-functools/jaraco-functools-2.0.ebuild
index c6edbff3e677..5811de735c6c 100644
--- a/dev-python/jaraco-functools/jaraco-functools-2.0.ebuild
+++ b/dev-python/jaraco-functools/jaraco-functools-2.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-itertools/jaraco-itertools-2.3-r1.ebuild b/dev-python/jaraco-itertools/jaraco-itertools-2.3-r1.ebuild
index c4c48eba45f8..199ea810629d 100644
--- a/dev-python/jaraco-itertools/jaraco-itertools-2.3-r1.ebuild
+++ b/dev-python/jaraco-itertools/jaraco-itertools-2.3-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
<dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-itertools/jaraco-itertools-3.0.0-r1.ebuild b/dev-python/jaraco-itertools/jaraco-itertools-3.0.0-r1.ebuild
index 0d19fccfefd0..5b1ed0d5e538 100644
--- a/dev-python/jaraco-itertools/jaraco-itertools-3.0.0-r1.ebuild
+++ b/dev-python/jaraco-itertools/jaraco-itertools-3.0.0-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
<dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-itertools/jaraco-itertools-4.4.2.ebuild b/dev-python/jaraco-itertools/jaraco-itertools-4.4.2.ebuild
index 7432f782e71f..805e75d860aa 100644
--- a/dev-python/jaraco-itertools/jaraco-itertools-4.4.2.ebuild
+++ b/dev-python/jaraco-itertools/jaraco-itertools-4.4.2.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-logging/jaraco-logging-1.5.2-r1.ebuild b/dev-python/jaraco-logging/jaraco-logging-1.5.2-r1.ebuild
index b2ba8ab3c09a..3d50cddc4334 100644
--- a/dev-python/jaraco-logging/jaraco-logging-1.5.2-r1.ebuild
+++ b/dev-python/jaraco-logging/jaraco-logging-1.5.2-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
<dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-logging/jaraco-logging-1.5.ebuild b/dev-python/jaraco-logging/jaraco-logging-1.5.ebuild
index 14d70156b396..d0254baf0f62 100644
--- a/dev-python/jaraco-logging/jaraco-logging-1.5.ebuild
+++ b/dev-python/jaraco-logging/jaraco-logging-1.5.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
dev-python/tempora[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-logging/jaraco-logging-2.0.ebuild b/dev-python/jaraco-logging/jaraco-logging-2.0.ebuild
index 391cef5963d8..d8619de4e9a9 100644
--- a/dev-python/jaraco-logging/jaraco-logging-2.0.ebuild
+++ b/dev-python/jaraco-logging/jaraco-logging-2.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild b/dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild
index 2d7f264bc50c..cf31bc4548eb 100644
--- a/dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild
+++ b/dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/six-1.4[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-packaging/jaraco-packaging-5.1-r1.ebuild b/dev-python/jaraco-packaging/jaraco-packaging-5.1-r1.ebuild
index 906c79e137e8..f5d708e9175c 100644
--- a/dev-python/jaraco-packaging/jaraco-packaging-5.1-r1.ebuild
+++ b/dev-python/jaraco-packaging/jaraco-packaging-5.1-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.4[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-packaging/jaraco-packaging-6.1.ebuild b/dev-python/jaraco-packaging/jaraco-packaging-6.1.ebuild
index 4306c7a2ed04..1ba725d1e32f 100644
--- a/dev-python/jaraco-packaging/jaraco-packaging-6.1.ebuild
+++ b/dev-python/jaraco-packaging/jaraco-packaging-6.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.4[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-packaging/jaraco-packaging-6.2.ebuild b/dev-python/jaraco-packaging/jaraco-packaging-6.2.ebuild
index bec56e117f67..65be69a03f70 100644
--- a/dev-python/jaraco-packaging/jaraco-packaging-6.2.ebuild
+++ b/dev-python/jaraco-packaging/jaraco-packaging-6.2.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/importlib_metadata[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-stream/jaraco-stream-1.1.1.ebuild b/dev-python/jaraco-stream/jaraco-stream-1.1.1.ebuild
index 97e31ddf3317..edc5fa877577 100644
--- a/dev-python/jaraco-stream/jaraco-stream-1.1.1.ebuild
+++ b/dev-python/jaraco-stream/jaraco-stream-1.1.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/more-itertools[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-stream/jaraco-stream-1.2-r1.ebuild b/dev-python/jaraco-stream/jaraco-stream-1.2-r1.ebuild
index 6e61e406dd65..7d65d1251a30 100644
--- a/dev-python/jaraco-stream/jaraco-stream-1.2-r1.ebuild
+++ b/dev-python/jaraco-stream/jaraco-stream-1.2-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
<dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-stream/jaraco-stream-2.0-r1.ebuild b/dev-python/jaraco-stream/jaraco-stream-2.0-r1.ebuild
index 76b658301038..98e993bdea70 100644
--- a/dev-python/jaraco-stream/jaraco-stream-2.0-r1.ebuild
+++ b/dev-python/jaraco-stream/jaraco-stream-2.0-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-text/jaraco-text-1.10.1-r1.ebuild b/dev-python/jaraco-text/jaraco-text-1.10.1-r1.ebuild
index 2f1f531343ed..b1e961411893 100644
--- a/dev-python/jaraco-text/jaraco-text-1.10.1-r1.ebuild
+++ b/dev-python/jaraco-text/jaraco-text-1.10.1-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
PDEPEND="dev-python/jaraco-collections[${PYTHON_USEDEP}]"
RDEPEND="
diff --git a/dev-python/jaraco-text/jaraco-text-3.1.ebuild b/dev-python/jaraco-text/jaraco-text-3.1.ebuild
index a3fda424dffe..7a2066c941c3 100644
--- a/dev-python/jaraco-text/jaraco-text-3.1.ebuild
+++ b/dev-python/jaraco-text/jaraco-text-3.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/jaraco-functools[${PYTHON_USEDEP}]
diff --git a/dev-python/jedi/jedi-0.10.2.ebuild b/dev-python/jedi/jedi-0.10.2.ebuild
index c05394f02abe..0af08cfafe55 100644
--- a/dev-python/jedi/jedi-0.10.2.ebuild
+++ b/dev-python/jedi/jedi-0.10.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/jedi/jedi-0.12.1.ebuild b/dev-python/jedi/jedi-0.12.1.ebuild
index b17773bd46a4..2c05636baa09 100644
--- a/dev-python/jedi/jedi-0.12.1.ebuild
+++ b/dev-python/jedi/jedi-0.12.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/parso-0.3.1[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/jeepney/jeepney-0.3.1.ebuild b/dev-python/jeepney/jeepney-0.3.1.ebuild
index 81f9b75fa06c..da401a0b16ed 100644
--- a/dev-python/jeepney/jeepney-0.3.1.ebuild
+++ b/dev-python/jeepney/jeepney-0.3.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/jellyfish/jellyfish-0.7.2.ebuild b/dev-python/jellyfish/jellyfish-0.7.2.ebuild
index 8b4b1810513b..aa2fda3ac965 100644
--- a/dev-python/jellyfish/jellyfish-0.7.2.ebuild
+++ b/dev-python/jellyfish/jellyfish-0.7.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/jinja2-time/jinja2-time-0.2.0.ebuild b/dev-python/jinja2-time/jinja2-time-0.2.0.ebuild
index ada162acacdf..4261e83eb300 100644
--- a/dev-python/jinja2-time/jinja2-time-0.2.0.ebuild
+++ b/dev-python/jinja2-time/jinja2-time-0.2.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/arrow[${PYTHON_USEDEP}]
dev-python/jinja[${PYTHON_USEDEP}]"
diff --git a/dev-python/jmespath/jmespath-0.9.3-r1.ebuild b/dev-python/jmespath/jmespath-0.9.3-r1.ebuild
index e2923446e4df..089ce0920d5e 100644
--- a/dev-python/jmespath/jmespath-0.9.3-r1.ebuild
+++ b/dev-python/jmespath/jmespath-0.9.3-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/joblib/joblib-0.10.0.ebuild b/dev-python/joblib/joblib-0.10.0.ebuild
index bfcbc171bdd9..7637ee9cf1e3 100644
--- a/dev-python/joblib/joblib-0.10.0.ebuild
+++ b/dev-python/joblib/joblib-0.10.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/joblib/joblib-0.11.ebuild b/dev-python/joblib/joblib-0.11.ebuild
index 50ceb7927edf..4f2b2acbb0ec 100644
--- a/dev-python/joblib/joblib-0.11.ebuild
+++ b/dev-python/joblib/joblib-0.11.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/joblib/joblib-0.12.2.ebuild b/dev-python/joblib/joblib-0.12.2.ebuild
index 5132649ba2ae..2472da1dfddf 100644
--- a/dev-python/joblib/joblib-0.12.2.ebuild
+++ b/dev-python/joblib/joblib-0.12.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/jplephem/jplephem-2.6.ebuild b/dev-python/jplephem/jplephem-2.6.ebuild
index 6efaa36c72a1..04aa58ed3eb6 100644
--- a/dev-python/jplephem/jplephem-2.6.ebuild
+++ b/dev-python/jplephem/jplephem-2.6.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
diff --git a/dev-python/json-rpc/json-rpc-1.11.0.ebuild b/dev-python/json-rpc/json-rpc-1.11.0.ebuild
index 4a8f4f398fca..359db38a0b80 100644
--- a/dev-python/json-rpc/json-rpc-1.11.0.ebuild
+++ b/dev-python/json-rpc/json-rpc-1.11.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
diff --git a/dev-python/json-tools/json-tools-0.4.0.ebuild b/dev-python/json-tools/json-tools-0.4.0.ebuild
index 6dfaaa2f6f70..512094807680 100644
--- a/dev-python/json-tools/json-tools-0.4.0.ebuild
+++ b/dev-python/json-tools/json-tools-0.4.0.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/colorama[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/json-tools/json-tools-0.4.1.ebuild b/dev-python/json-tools/json-tools-0.4.1.ebuild
index bb7e8cc0e3e2..7dcd58cf695a 100644
--- a/dev-python/json-tools/json-tools-0.4.1.ebuild
+++ b/dev-python/json-tools/json-tools-0.4.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/colorama[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/jsonpickle/jsonpickle-0.9.3.ebuild b/dev-python/jsonpickle/jsonpickle-0.9.3.ebuild
index a195a591ce0f..b3ac82beafcc 100644
--- a/dev-python/jsonpickle/jsonpickle-0.9.3.ebuild
+++ b/dev-python/jsonpickle/jsonpickle-0.9.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# There are optional json backends serializer/deserializers in addition to those selected here
# jsonlib, yajl. demjson added
diff --git a/dev-python/jsonpickle/jsonpickle-1.2.ebuild b/dev-python/jsonpickle/jsonpickle-1.2.ebuild
index f4a6601fd81f..893f7cb89ee3 100644
--- a/dev-python/jsonpickle/jsonpickle-1.2.ebuild
+++ b/dev-python/jsonpickle/jsonpickle-1.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# There are optional json backends serializer/deserializers in addition to those selected here
# jsonlib, yajl.
diff --git a/dev-python/jsonref/jsonref-0.1.ebuild b/dev-python/jsonref/jsonref-0.1.ebuild
index 88fabb0ae8e7..0145bc8b13a3 100644
--- a/dev-python/jsonref/jsonref-0.1.ebuild
+++ b/dev-python/jsonref/jsonref-0.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
diff --git a/dev-python/jsonschema/jsonschema-2.3.0.ebuild b/dev-python/jsonschema/jsonschema-2.3.0.ebuild
index e5f7a0fce812..732de0fec5cb 100644
--- a/dev-python/jsonschema/jsonschema-2.3.0.ebuild
+++ b/dev-python/jsonschema/jsonschema-2.3.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
python_test() {
local runner=( "${PYTHON}" -m unittest )
diff --git a/dev-python/jsonschema/jsonschema-2.4.0.ebuild b/dev-python/jsonschema/jsonschema-2.4.0.ebuild
index 29edeff73466..b027d9ef7817 100644
--- a/dev-python/jsonschema/jsonschema-2.4.0.ebuild
+++ b/dev-python/jsonschema/jsonschema-2.4.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
python_test() {
"${PYTHON}" -m unittest discover || die "Testing failed with ${EPYTHON}"
diff --git a/dev-python/jsonschema/jsonschema-2.5.1-r2.ebuild b/dev-python/jsonschema/jsonschema-2.5.1-r2.ebuild
index dd7476a301ad..fc1012c726fb 100644
--- a/dev-python/jsonschema/jsonschema-2.5.1-r2.ebuild
+++ b/dev-python/jsonschema/jsonschema-2.5.1-r2.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~s390 sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/rfc3986[${PYTHON_USEDEP}]
diff --git a/dev-python/jsonschema/jsonschema-2.6.0.ebuild b/dev-python/jsonschema/jsonschema-2.6.0.ebuild
index 4664194e869c..d7cd1854e4ae 100644
--- a/dev-python/jsonschema/jsonschema-2.6.0.ebuild
+++ b/dev-python/jsonschema/jsonschema-2.6.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/rfc3987[${PYTHON_USEDEP}]
diff --git a/dev-python/jsonschema/jsonschema-3.0.1.ebuild b/dev-python/jsonschema/jsonschema-3.0.1.ebuild
index 38e779523d74..a642c5eee676 100644
--- a/dev-python/jsonschema/jsonschema-3.0.1.ebuild
+++ b/dev-python/jsonschema/jsonschema-3.0.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
diff --git a/dev-python/junit-xml/junit-xml-1.8.ebuild b/dev-python/junit-xml/junit-xml-1.8.ebuild
index bf4b1cf76f70..8c7e819d493b 100644
--- a/dev-python/junit-xml/junit-xml-1.8.ebuild
+++ b/dev-python/junit-xml/junit-xml-1.8.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/jupyter_client/jupyter_client-5.1.0-r1.ebuild b/dev-python/jupyter_client/jupyter_client-5.1.0-r1.ebuild
index e1d659212525..aca0e398b346 100644
--- a/dev-python/jupyter_client/jupyter_client-5.1.0-r1.ebuild
+++ b/dev-python/jupyter_client/jupyter_client-5.1.0-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/python-dateutil[${PYTHON_USEDEP}]
diff --git a/dev-python/jupyter_client/jupyter_client-5.2.3-r1.ebuild b/dev-python/jupyter_client/jupyter_client-5.2.3-r1.ebuild
index 470782ffa021..4bd11d0a2399 100644
--- a/dev-python/jupyter_client/jupyter_client-5.2.3-r1.ebuild
+++ b/dev-python/jupyter_client/jupyter_client-5.2.3-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/python-dateutil[${PYTHON_USEDEP}]
diff --git a/dev-python/jupyter_client/jupyter_client-5.2.3.ebuild b/dev-python/jupyter_client/jupyter_client-5.2.3.ebuild
index 747f74cfe1a6..99d44b9c1caa 100644
--- a/dev-python/jupyter_client/jupyter_client-5.2.3.ebuild
+++ b/dev-python/jupyter_client/jupyter_client-5.2.3.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/python-dateutil[${PYTHON_USEDEP}]
diff --git a/dev-python/jupyter_client/jupyter_client-5.2.4.ebuild b/dev-python/jupyter_client/jupyter_client-5.2.4.ebuild
index fb9e7603b74d..79523cd41607 100644
--- a/dev-python/jupyter_client/jupyter_client-5.2.4.ebuild
+++ b/dev-python/jupyter_client/jupyter_client-5.2.4.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/python-dateutil[${PYTHON_USEDEP}]
diff --git a/dev-python/jupyter_console/jupyter_console-4.0.3.ebuild b/dev-python/jupyter_console/jupyter_console-4.0.3.ebuild
index 4798de780222..7745d85fd4b4 100644
--- a/dev-python/jupyter_console/jupyter_console-4.0.3.ebuild
+++ b/dev-python/jupyter_console/jupyter_console-4.0.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/ipython[${PYTHON_USEDEP}]
diff --git a/dev-python/jupyter_console/jupyter_console-4.1.1.ebuild b/dev-python/jupyter_console/jupyter_console-4.1.1.ebuild
index e88257ae59ed..7e4e17426763 100644
--- a/dev-python/jupyter_console/jupyter_console-4.1.1.ebuild
+++ b/dev-python/jupyter_console/jupyter_console-4.1.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/ipython[${PYTHON_USEDEP}]
diff --git a/dev-python/jupyter_console/jupyter_console-5.0.0.ebuild b/dev-python/jupyter_console/jupyter_console-5.0.0.ebuild
index 9efab28cfe66..6deca6587caf 100644
--- a/dev-python/jupyter_console/jupyter_console-5.0.0.ebuild
+++ b/dev-python/jupyter_console/jupyter_console-5.0.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/ipython[${PYTHON_USEDEP}]
diff --git a/dev-python/jupyter_console/jupyter_console-5.1.0.ebuild b/dev-python/jupyter_console/jupyter_console-5.1.0.ebuild
index aa887586323f..063642fe8216 100644
--- a/dev-python/jupyter_console/jupyter_console-5.1.0.ebuild
+++ b/dev-python/jupyter_console/jupyter_console-5.1.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/ipython[${PYTHON_USEDEP}]
diff --git a/dev-python/jupyter_console/jupyter_console-6.0.0.ebuild b/dev-python/jupyter_console/jupyter_console-6.0.0.ebuild
index aa887586323f..063642fe8216 100644
--- a/dev-python/jupyter_console/jupyter_console-6.0.0.ebuild
+++ b/dev-python/jupyter_console/jupyter_console-6.0.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/ipython[${PYTHON_USEDEP}]
diff --git a/dev-python/jwcrypto/jwcrypto-0.4.2.ebuild b/dev-python/jwcrypto/jwcrypto-0.4.2.ebuild
index 7e18ab20cdfc..865385cd5a9a 100644
--- a/dev-python/jwcrypto/jwcrypto-0.4.2.ebuild
+++ b/dev-python/jwcrypto/jwcrypto-0.4.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/cryptography-1.5[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/kafka-python/kafka-python-1.3.3.ebuild b/dev-python/kafka-python/kafka-python-1.3.3.ebuild
index 25a6963a9164..62842c0eadae 100644
--- a/dev-python/kafka-python/kafka-python-1.3.3.ebuild
+++ b/dev-python/kafka-python/kafka-python-1.3.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="snappy test"
+RESTRICT="!test? ( test )"
RDEPEND="snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
diff --git a/dev-python/kaptan/kaptan-0.5.12.ebuild b/dev-python/kaptan/kaptan-0.5.12.ebuild
index 8d941ca3bff6..095b7eed1629 100644
--- a/dev-python/kaptan/kaptan-0.5.12.ebuild
+++ b/dev-python/kaptan/kaptan-0.5.12.ebuild
@@ -14,6 +14,7 @@ LICENSE="kaptan"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${BDEPEND}
diff --git a/dev-python/keepassx/keepassx-0.1.0-r1.ebuild b/dev-python/keepassx/keepassx-0.1.0-r1.ebuild
index 1e46db061f3c..a7fb7f17d387 100644
--- a/dev-python/keepassx/keepassx-0.1.0-r1.ebuild
+++ b/dev-python/keepassx/keepassx-0.1.0-r1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
S=${WORKDIR}/python-${P}
diff --git a/dev-python/keyring/keyring-13.2.1-r1.ebuild b/dev-python/keyring/keyring-13.2.1-r1.ebuild
index 0cd6bdea71df..a2ddfdf7306f 100644
--- a/dev-python/keyring/keyring-13.2.1-r1.ebuild
+++ b/dev-python/keyring/keyring-13.2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="PSF-2"
KEYWORDS="~amd64"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/secretstorage[${PYTHON_USEDEP}]
diff --git a/dev-python/keyring/keyring-13.2.1.ebuild b/dev-python/keyring/keyring-13.2.1.ebuild
index 7601c3a8c00f..3d2fd4e8a798 100644
--- a/dev-python/keyring/keyring-13.2.1.ebuild
+++ b/dev-python/keyring/keyring-13.2.1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="PSF-2"
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/keyring/keyring-15.0.0.ebuild b/dev-python/keyring/keyring-15.0.0.ebuild
index 7a402c3f56ed..9db3a228e23a 100644
--- a/dev-python/keyring/keyring-15.0.0.ebuild
+++ b/dev-python/keyring/keyring-15.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="PSF-2"
KEYWORDS="~amd64"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/secretstorage[${PYTHON_USEDEP}]
diff --git a/dev-python/keyring/keyring-18.0.1.ebuild b/dev-python/keyring/keyring-18.0.1.ebuild
index b66ea9909c0c..28be4645a8a2 100644
--- a/dev-python/keyring/keyring-18.0.1.ebuild
+++ b/dev-python/keyring/keyring-18.0.1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="PSF-2"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/secretstorage[${PYTHON_USEDEP}]
diff --git a/dev-python/keystonemiddleware/keystonemiddleware-4.17.0.ebuild b/dev-python/keystonemiddleware/keystonemiddleware-4.17.0.ebuild
index 1c2463c2a7d0..86ec621b4549 100644
--- a/dev-python/keystonemiddleware/keystonemiddleware-4.17.0.ebuild
+++ b/dev-python/keystonemiddleware/keystonemiddleware-4.17.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0"
diff --git a/dev-python/keystonemiddleware/keystonemiddleware-4.21.0.ebuild b/dev-python/keystonemiddleware/keystonemiddleware-4.21.0.ebuild
index a4dfeef8554d..b48ce9b71dbf 100644
--- a/dev-python/keystonemiddleware/keystonemiddleware-4.21.0.ebuild
+++ b/dev-python/keystonemiddleware/keystonemiddleware-4.21.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0"
diff --git a/dev-python/keystonemiddleware/keystonemiddleware-6.0.0.ebuild b/dev-python/keystonemiddleware/keystonemiddleware-6.0.0.ebuild
index 32a97395aed0..3659332520a0 100644
--- a/dev-python/keystonemiddleware/keystonemiddleware-6.0.0.ebuild
+++ b/dev-python/keystonemiddleware/keystonemiddleware-6.0.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0"
diff --git a/dev-python/kid/kid-0.9.6-r1.ebuild b/dev-python/kid/kid-0.9.6-r1.ebuild
index 628a0d8210a2..6a1ce66efaae 100644
--- a/dev-python/kid/kid-0.9.6-r1.ebuild
+++ b/dev-python/kid/kid-0.9.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ia64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/kombu/kombu-4.1.0-r1.ebuild b/dev-python/kombu/kombu-4.1.0-r1.ebuild
index c8168c0b8adb..fd89b019d00b 100644
--- a/dev-python/kombu/kombu-4.1.0-r1.ebuild
+++ b/dev-python/kombu/kombu-4.1.0-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc examples mongodb msgpack redis sqs test yaml"
+RESTRICT="!test? ( test )"
# couchdb backend support possible via dev-python/couchdb-python
# ditto dev-python/kazoo(>=1.3.1)
diff --git a/dev-python/kombu/kombu-4.2.1.ebuild b/dev-python/kombu/kombu-4.2.1.ebuild
index 286b96f5184a..1825bba9b97c 100644
--- a/dev-python/kombu/kombu-4.2.1.ebuild
+++ b/dev-python/kombu/kombu-4.2.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc examples mongodb msgpack redis sqs test yaml"
+RESTRICT="!test? ( test )"
# couchdb backend support possible via dev-python/couchdb-python
# ditto dev-python/kazoo(>=1.3.1)
diff --git a/dev-python/kombu/kombu-4.4.0.ebuild b/dev-python/kombu/kombu-4.4.0.ebuild
index 389767e4316f..02ecc18e0153 100644
--- a/dev-python/kombu/kombu-4.4.0.ebuild
+++ b/dev-python/kombu/kombu-4.4.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc examples mongodb msgpack redis sqs test yaml"
+RESTRICT="!test? ( test )"
# couchdb backend support possible via dev-python/couchdb-python
# ditto dev-python/kazoo(>=1.3.1)
diff --git a/dev-python/kombu/kombu-4.6.3.ebuild b/dev-python/kombu/kombu-4.6.3.ebuild
index e7d386cee926..21fbbd1c8de1 100644
--- a/dev-python/kombu/kombu-4.6.3.ebuild
+++ b/dev-python/kombu/kombu-4.6.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc examples mongodb msgpack redis sqs test yaml"
+RESTRICT="!test? ( test )"
# zookeeper backend support possible via dev-python/kazoo
RDEPEND="
diff --git a/dev-python/lesscpy/lesscpy-0.9j.ebuild b/dev-python/lesscpy/lesscpy-0.9j.ebuild
index 748908d3ee0b..5cb224036319 100644
--- a/dev-python/lesscpy/lesscpy-0.9j.ebuild
+++ b/dev-python/lesscpy/lesscpy-0.9j.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/ply[${PYTHON_USEDEP}]"
diff --git a/dev-python/libcloud/libcloud-0.15.1.ebuild b/dev-python/libcloud/libcloud-0.15.1.ebuild
index 939c1f125454..c0a45ec8a3f5 100644
--- a/dev-python/libcloud/libcloud-0.15.1.ebuild
+++ b/dev-python/libcloud/libcloud-0.15.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/libcloud/libcloud-1.2.1.ebuild b/dev-python/libcloud/libcloud-1.2.1.ebuild
index f9ddebeb994f..a76153688bd8 100644
--- a/dev-python/libcloud/libcloud-1.2.1.ebuild
+++ b/dev-python/libcloud/libcloud-1.2.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/libpillowfight/libpillowfight-0.2.4.ebuild b/dev-python/libpillowfight/libpillowfight-0.2.4.ebuild
index 63b6ba1a3720..7f9462f3bea3 100644
--- a/dev-python/libpillowfight/libpillowfight-0.2.4.ebuild
+++ b/dev-python/libpillowfight/libpillowfight-0.2.4.ebuild
@@ -16,6 +16,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/libpillowfight/libpillowfight-0.3.0.ebuild b/dev-python/libpillowfight/libpillowfight-0.3.0.ebuild
index dd2d0d9959ac..8335b1a56ce8 100644
--- a/dev-python/libpillowfight/libpillowfight-0.3.0.ebuild
+++ b/dev-python/libpillowfight/libpillowfight-0.3.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/libvirt-python/libvirt-python-5.2.0.ebuild b/dev-python/libvirt-python/libvirt-python-5.2.0.ebuild
index b0d227f81e12..738b70c21d80 100644
--- a/dev-python/libvirt-python/libvirt-python-5.2.0.ebuild
+++ b/dev-python/libvirt-python/libvirt-python-5.2.0.ebuild
@@ -27,6 +27,7 @@ HOMEPAGE="https://www.libvirt.org"
LICENSE="LGPL-2"
SLOT="0"
IUSE="examples test"
+RESTRICT="!test? ( test )"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/dev-python/libvirt-python/libvirt-python-5.5.0.ebuild b/dev-python/libvirt-python/libvirt-python-5.5.0.ebuild
index b0d227f81e12..738b70c21d80 100644
--- a/dev-python/libvirt-python/libvirt-python-5.5.0.ebuild
+++ b/dev-python/libvirt-python/libvirt-python-5.5.0.ebuild
@@ -27,6 +27,7 @@ HOMEPAGE="https://www.libvirt.org"
LICENSE="LGPL-2"
SLOT="0"
IUSE="examples test"
+RESTRICT="!test? ( test )"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/dev-python/libvirt-python/libvirt-python-5.6.0.ebuild b/dev-python/libvirt-python/libvirt-python-5.6.0.ebuild
index a020f3273876..4daec15a288c 100644
--- a/dev-python/libvirt-python/libvirt-python-5.6.0.ebuild
+++ b/dev-python/libvirt-python/libvirt-python-5.6.0.ebuild
@@ -27,6 +27,7 @@ HOMEPAGE="https://www.libvirt.org"
LICENSE="LGPL-2"
SLOT="0"
IUSE="examples test"
+RESTRICT="!test? ( test )"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/dev-python/libvirt-python/libvirt-python-5.8.0.ebuild b/dev-python/libvirt-python/libvirt-python-5.8.0.ebuild
index a020f3273876..4daec15a288c 100644
--- a/dev-python/libvirt-python/libvirt-python-5.8.0.ebuild
+++ b/dev-python/libvirt-python/libvirt-python-5.8.0.ebuild
@@ -27,6 +27,7 @@ HOMEPAGE="https://www.libvirt.org"
LICENSE="LGPL-2"
SLOT="0"
IUSE="examples test"
+RESTRICT="!test? ( test )"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/dev-python/libvirt-python/libvirt-python-9999.ebuild b/dev-python/libvirt-python/libvirt-python-9999.ebuild
index a020f3273876..4daec15a288c 100644
--- a/dev-python/libvirt-python/libvirt-python-9999.ebuild
+++ b/dev-python/libvirt-python/libvirt-python-9999.ebuild
@@ -27,6 +27,7 @@ HOMEPAGE="https://www.libvirt.org"
LICENSE="LGPL-2"
SLOT="0"
IUSE="examples test"
+RESTRICT="!test? ( test )"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/dev-python/line_profiler/line_profiler-2.0.ebuild b/dev-python/line_profiler/line_profiler-2.0.ebuild
index 6a66f54adf03..cd7a36066ffd 100644
--- a/dev-python/line_profiler/line_profiler-2.0.ebuild
+++ b/dev-python/line_profiler/line_profiler-2.0.ebuild
@@ -18,6 +18,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/ipython[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/line_profiler/line_profiler-2.1.2.ebuild b/dev-python/line_profiler/line_profiler-2.1.2.ebuild
index 114dffb7cd9f..bd4b2f215788 100644
--- a/dev-python/line_profiler/line_profiler-2.1.2.ebuild
+++ b/dev-python/line_profiler/line_profiler-2.1.2.ebuild
@@ -18,6 +18,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/ipython[${PYTHON_USEDEP}]
diff --git a/dev-python/line_profiler/line_profiler-9999.ebuild b/dev-python/line_profiler/line_profiler-9999.ebuild
index 28fae9f5158b..42b2e43e725b 100644
--- a/dev-python/line_profiler/line_profiler-9999.ebuild
+++ b/dev-python/line_profiler/line_profiler-9999.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/cython[${PYTHON_USEDEP}]
diff --git a/dev-python/linecache2/linecache2-1.0.0.ebuild b/dev-python/linecache2/linecache2-1.0.0.ebuild
index 2cf32cd62fd9..c7b2d659950b 100644
--- a/dev-python/linecache2/linecache2-1.0.0.ebuild
+++ b/dev-python/linecache2/linecache2-1.0.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="PSF-2"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/pbr[${PYTHON_USEDEP}]
diff --git a/dev-python/livereload/livereload-2.4.1.ebuild b/dev-python/livereload/livereload-2.4.1.ebuild
index e96dd2dd62dc..959efddbae00 100644
--- a/dev-python/livereload/livereload-2.4.1.ebuild
+++ b/dev-python/livereload/livereload-2.4.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64"
IUSE="examples test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/livereload/livereload-2.5.2.ebuild b/dev-python/livereload/livereload-2.5.2.ebuild
index a2c98bb27ca4..aecc85691101 100644
--- a/dev-python/livereload/livereload-2.5.2.ebuild
+++ b/dev-python/livereload/livereload-2.5.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/llfuse/llfuse-1.3.2.ebuild b/dev-python/llfuse/llfuse-1.3.2.ebuild
index 4a45497e49c3..dc91b40c6053 100644
--- a/dev-python/llfuse/llfuse-1.3.2.ebuild
+++ b/dev-python/llfuse/llfuse-1.3.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=sys-fs/fuse-2.8.0:0
$(python_gen_cond_dep 'dev-python/contextlib2[${PYTHON_USEDEP}]' python2_7 pypy)
diff --git a/dev-python/llfuse/llfuse-1.3.4.ebuild b/dev-python/llfuse/llfuse-1.3.4.ebuild
index 70bfc2da680c..2e3670d2b817 100644
--- a/dev-python/llfuse/llfuse-1.3.4.ebuild
+++ b/dev-python/llfuse/llfuse-1.3.4.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=sys-fs/fuse-2.8.0:0
$(python_gen_cond_dep 'dev-python/contextlib2[${PYTHON_USEDEP}]' python2_7 pypy)
diff --git a/dev-python/llfuse/llfuse-1.3.5.ebuild b/dev-python/llfuse/llfuse-1.3.5.ebuild
index 451b5c898b2f..da27f3614d45 100644
--- a/dev-python/llfuse/llfuse-1.3.5.ebuild
+++ b/dev-python/llfuse/llfuse-1.3.5.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=sys-fs/fuse-2.8.0:0
$(python_gen_cond_dep 'dev-python/contextlib2[${PYTHON_USEDEP}]' python2_7 pypy)
diff --git a/dev-python/lockfile/lockfile-0.11.0-r1.ebuild b/dev-python/lockfile/lockfile-0.11.0-r1.ebuild
index b2b15edfd3c4..e018c9015d74 100644
--- a/dev-python/lockfile/lockfile-0.11.0-r1.ebuild
+++ b/dev-python/lockfile/lockfile-0.11.0-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
>dev-python/pbr-0.7[${PYTHON_USEDEP}]
diff --git a/dev-python/lockfile/lockfile-0.12.2-r1.ebuild b/dev-python/lockfile/lockfile-0.12.2-r1.ebuild
index 42c9a45a7a40..5863bdef3b74 100644
--- a/dev-python/lockfile/lockfile-0.12.2-r1.ebuild
+++ b/dev-python/lockfile/lockfile-0.12.2-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
>dev-python/pbr-1.8[${PYTHON_USEDEP}]
diff --git a/dev-python/lockfile/lockfile-0.12.2-r2.ebuild b/dev-python/lockfile/lockfile-0.12.2-r2.ebuild
index 3a1e91898328..9cae8c68a797 100644
--- a/dev-python/lockfile/lockfile-0.12.2-r2.ebuild
+++ b/dev-python/lockfile/lockfile-0.12.2-r2.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
>dev-python/pbr-1.8[${PYTHON_USEDEP}]
diff --git a/dev-python/locustio/locustio-0.7.3-r1.ebuild b/dev-python/locustio/locustio-0.7.3-r1.ebuild
index 1e3ed7aa9e30..8830bfd9b640 100644
--- a/dev-python/locustio/locustio-0.7.3-r1.ebuild
+++ b/dev-python/locustio/locustio-0.7.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? (
dev-python/unittest2[${PYTHON_USEDEP}]
diff --git a/dev-python/logbook/logbook-0.9.1.ebuild b/dev-python/logbook/logbook-0.9.1.ebuild
index 7acd203dc2eb..0322bff77b9f 100644
--- a/dev-python/logbook/logbook-0.9.1.ebuild
+++ b/dev-python/logbook/logbook-0.9.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DISTUTILS_IN_SOURCE_BUILD=1
DEPEND="
diff --git a/dev-python/logbook/logbook-1.1.0.ebuild b/dev-python/logbook/logbook-1.1.0.ebuild
index 9a623aa761a3..5edf475bd22a 100644
--- a/dev-python/logbook/logbook-1.1.0.ebuild
+++ b/dev-python/logbook/logbook-1.1.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DISTUTILS_IN_SOURCE_BUILD=1
DEPEND="
diff --git a/dev-python/logbook/logbook-1.4.0.ebuild b/dev-python/logbook/logbook-1.4.0.ebuild
index 07e2f1ec32d8..05fd3081da0b 100644
--- a/dev-python/logbook/logbook-1.4.0.ebuild
+++ b/dev-python/logbook/logbook-1.4.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DISTUTILS_IN_SOURCE_BUILD=1
DEPEND="
diff --git a/dev-python/loguru/loguru-0.3.2.ebuild b/dev-python/loguru/loguru-0.3.2.ebuild
index 332532b9b7bb..f7db000b4db4 100644
--- a/dev-python/loguru/loguru-0.3.2.ebuild
+++ b/dev-python/loguru/loguru-0.3.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/colorama-0.3.4[${PYTHON_USEDEP}]"
diff --git a/dev-python/louie/louie-1.1-r1.ebuild b/dev-python/louie/louie-1.1-r1.ebuild
index 7ff8a31b7ae7..006482054fcf 100644
--- a/dev-python/louie/louie-1.1-r1.ebuild
+++ b/dev-python/louie/louie-1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
diff --git a/dev-python/lz4/lz4-0.10.1.ebuild b/dev-python/lz4/lz4-0.10.1.ebuild
index 622d03a2b10f..7692ea02b015 100644
--- a/dev-python/lz4/lz4-0.10.1.ebuild
+++ b/dev-python/lz4/lz4-0.10.1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
diff --git a/dev-python/lz4/lz4-0.8.2.ebuild b/dev-python/lz4/lz4-0.8.2.ebuild
index c134204b1b8d..3c3494aa8946 100644
--- a/dev-python/lz4/lz4-0.8.2.ebuild
+++ b/dev-python/lz4/lz4-0.8.2.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/m2r/m2r-0.1.12.ebuild b/dev-python/m2r/m2r-0.1.12.ebuild
index fedbce6b364f..9b4497a9a8bf 100644
--- a/dev-python/m2r/m2r-0.1.12.ebuild
+++ b/dev-python/m2r/m2r-0.1.12.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/mistune[${PYTHON_USEDEP}]
diff --git a/dev-python/m2r/m2r-0.1.14.ebuild b/dev-python/m2r/m2r-0.1.14.ebuild
index b1fee8ebeb10..f991ed970198 100644
--- a/dev-python/m2r/m2r-0.1.14.ebuild
+++ b/dev-python/m2r/m2r-0.1.14.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/mistune[${PYTHON_USEDEP}]
diff --git a/dev-python/m2r/m2r-0.1.5.ebuild b/dev-python/m2r/m2r-0.1.5.ebuild
index 5967c94d71e4..4d373ba9eb05 100644
--- a/dev-python/m2r/m2r-0.1.5.ebuild
+++ b/dev-python/m2r/m2r-0.1.5.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/mistune[${PYTHON_USEDEP}]
diff --git a/dev-python/m2r/m2r-0.1.6.ebuild b/dev-python/m2r/m2r-0.1.6.ebuild
index 32a4e1abc643..d529b5edba46 100644
--- a/dev-python/m2r/m2r-0.1.6.ebuild
+++ b/dev-python/m2r/m2r-0.1.6.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/mistune[${PYTHON_USEDEP}]
diff --git a/dev-python/mako/mako-1.0.3.ebuild b/dev-python/mako/mako-1.0.3.ebuild
index 216be72ab51d..b05167b27f9e 100644
--- a/dev-python/mako/mako-1.0.3.ebuild
+++ b/dev-python/mako/mako-1.0.3.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/markupsafe-0.9.2[${PYTHON_USEDEP}]"
diff --git a/dev-python/mako/mako-1.0.6.ebuild b/dev-python/mako/mako-1.0.6.ebuild
index 75c5080f3445..d2734ef22bad 100644
--- a/dev-python/mako/mako-1.0.6.ebuild
+++ b/dev-python/mako/mako-1.0.6.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/markupsafe-0.9.2[${PYTHON_USEDEP}]"
diff --git a/dev-python/mako/mako-1.0.7.ebuild b/dev-python/mako/mako-1.0.7.ebuild
index 192c58a641d7..6b3548360afb 100644
--- a/dev-python/mako/mako-1.0.7.ebuild
+++ b/dev-python/mako/mako-1.0.7.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/markupsafe-0.9.2[${PYTHON_USEDEP}]"
diff --git a/dev-python/mamba/mamba-0.8.6.ebuild b/dev-python/mamba/mamba-0.8.6.ebuild
index 5ac94c2610c9..e43ab93a9bd2 100644
--- a/dev-python/mamba/mamba-0.8.6.ebuild
+++ b/dev-python/mamba/mamba-0.8.6.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/mando/mando-0.3.2.ebuild b/dev-python/mando/mando-0.3.2.ebuild
index bffd395fd266..3878fbeedf7c 100644
--- a/dev-python/mando/mando-0.3.2.ebuild
+++ b/dev-python/mando/mando-0.3.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/mantissa/mantissa-0.8.4.ebuild b/dev-python/mantissa/mantissa-0.8.4.ebuild
index a745d6a24ad8..8b3fd5385d0b 100644
--- a/dev-python/mantissa/mantissa-0.8.4.ebuild
+++ b/dev-python/mantissa/mantissa-0.8.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -13,6 +13,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.g
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
diff --git a/dev-python/markdown/markdown-2.6.11.ebuild b/dev-python/markdown/markdown-2.6.11.ebuild
index 596fb9e1b851..9f7bc8d4e6e7 100644
--- a/dev-python/markdown/markdown-2.6.11.ebuild
+++ b/dev-python/markdown/markdown-2.6.11.ebuild
@@ -18,6 +18,7 @@ LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc test pygments"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/markdown/markdown-2.6.5.ebuild b/dev-python/markdown/markdown-2.6.5.ebuild
index 328ff78013d1..bebdd22bef89 100644
--- a/dev-python/markdown/markdown-2.6.5.ebuild
+++ b/dev-python/markdown/markdown-2.6.5.ebuild
@@ -21,6 +21,7 @@ LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc test pygments"
+RESTRICT="!test? ( test )"
DEPEND="
test? (
diff --git a/dev-python/markdown/markdown-2.6.8.ebuild b/dev-python/markdown/markdown-2.6.8.ebuild
index d6800d1c9ad8..6ba2f125fa43 100644
--- a/dev-python/markdown/markdown-2.6.8.ebuild
+++ b/dev-python/markdown/markdown-2.6.8.ebuild
@@ -18,6 +18,7 @@ LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc test pygments"
+RESTRICT="!test? ( test )"
DEPEND="
test? (
diff --git a/dev-python/markdown/markdown-2.6.9.ebuild b/dev-python/markdown/markdown-2.6.9.ebuild
index 1d1227477ba7..581f8a969817 100644
--- a/dev-python/markdown/markdown-2.6.9.ebuild
+++ b/dev-python/markdown/markdown-2.6.9.ebuild
@@ -18,6 +18,7 @@ LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc test pygments"
+RESTRICT="!test? ( test )"
DEPEND="
test? (
diff --git a/dev-python/markdown/markdown-3.0.1.ebuild b/dev-python/markdown/markdown-3.0.1.ebuild
index 208e569a8adb..3ed7c9e474a8 100644
--- a/dev-python/markdown/markdown-3.0.1.ebuild
+++ b/dev-python/markdown/markdown-3.0.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc test pygments"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/markups/markups-3.0.0.ebuild b/dev-python/markups/markups-3.0.0.ebuild
index acee8d5c2352..09763d3694c3 100644
--- a/dev-python/markups/markups-3.0.0.ebuild
+++ b/dev-python/markups/markups-3.0.0.ebuild
@@ -21,6 +21,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_P}"
diff --git a/dev-python/matplotlib/matplotlib-2.2.2-r1.ebuild b/dev-python/matplotlib/matplotlib-2.2.2-r1.ebuild
index dd992ad466d2..f80b95e2cc53 100644
--- a/dev-python/matplotlib/matplotlib-2.2.2-r1.ebuild
+++ b/dev-python/matplotlib/matplotlib-2.2.2-r1.ebuild
@@ -20,6 +20,7 @@ SLOT="0"
LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86"
IUSE="cairo doc excel examples gtk2 gtk3 latex qt5 test tk wxwidgets"
+RESTRICT="!test? ( test )"
PY2_FLAGS="|| ( $(python_gen_useflags python2_7) )"
REQUIRED_USE="
diff --git a/dev-python/matplotlib/matplotlib-2.2.4.ebuild b/dev-python/matplotlib/matplotlib-2.2.4.ebuild
index 8db934dba896..97f38a4d86b3 100644
--- a/dev-python/matplotlib/matplotlib-2.2.4.ebuild
+++ b/dev-python/matplotlib/matplotlib-2.2.4.ebuild
@@ -20,6 +20,7 @@ SLOT="0"
LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="cairo doc excel examples gtk2 gtk3 latex qt5 test tk wxwidgets"
+RESTRICT="!test? ( test )"
PY2_FLAGS="|| ( $(python_gen_useflags python2_7) )"
REQUIRED_USE="
diff --git a/dev-python/mccabe/mccabe-0.6.1.ebuild b/dev-python/mccabe/mccabe-0.6.1.ebuild
index 5cc61d121eef..eb1adbc06a18 100644
--- a/dev-python/mccabe/mccabe-0.6.1.ebuild
+++ b/dev-python/mccabe/mccabe-0.6.1.ebuild
@@ -13,6 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
LICENSE="MIT"
SLOT="0"
diff --git a/dev-python/memory_profiler/memory_profiler-0.47.ebuild b/dev-python/memory_profiler/memory_profiler-0.47.ebuild
index 6afa9742cddf..b1a9477e9910 100644
--- a/dev-python/memory_profiler/memory_profiler-0.47.ebuild
+++ b/dev-python/memory_profiler/memory_profiler-0.47.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/psutil[${PYTHON_USEDEP}]
diff --git a/dev-python/metakernel/metakernel-0.20.4.ebuild b/dev-python/metakernel/metakernel-0.20.4.ebuild
index 6f76145ec858..e5844b4f671c 100644
--- a/dev-python/metakernel/metakernel-0.20.4.ebuild
+++ b/dev-python/metakernel/metakernel-0.20.4.ebuild
@@ -14,6 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
diff --git a/dev-python/meteor-ejson/meteor-ejson-1.1.0.ebuild b/dev-python/meteor-ejson/meteor-ejson-1.1.0.ebuild
index 5578aac9187f..3836f7464a93 100644
--- a/dev-python/meteor-ejson/meteor-ejson-1.1.0.ebuild
+++ b/dev-python/meteor-ejson/meteor-ejson-1.1.0.ebuild
@@ -14,6 +14,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/milk/milk-0.5.1.ebuild b/dev-python/milk/milk-0.5.1.ebuild
index 9ad5774bc8f9..972120092a37 100644
--- a/dev-python/milk/milk-0.5.1.ebuild
+++ b/dev-python/milk/milk-0.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/numpy"
DEPEND="dev-python/setuptools
diff --git a/dev-python/milk/milk-0.5.3.ebuild b/dev-python/milk/milk-0.5.3.ebuild
index 3a6fd0fc243d..2ce95e5089c1 100644
--- a/dev-python/milk/milk-0.5.3.ebuild
+++ b/dev-python/milk/milk-0.5.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/milk/milk-0.6.1.ebuild b/dev-python/milk/milk-0.6.1.ebuild
index 3a6fd0fc243d..2ce95e5089c1 100644
--- a/dev-python/milk/milk-0.6.1.ebuild
+++ b/dev-python/milk/milk-0.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/minidb/minidb-2.0.2-r1.ebuild b/dev-python/minidb/minidb-2.0.2-r1.ebuild
index 12b54a538027..c108bec9b1ff 100644
--- a/dev-python/minidb/minidb-2.0.2-r1.ebuild
+++ b/dev-python/minidb/minidb-2.0.2-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/minidb/minidb-2.0.2.ebuild b/dev-python/minidb/minidb-2.0.2.ebuild
index 8b3d88ef0504..dca5f2e67539 100644
--- a/dev-python/minidb/minidb-2.0.2.ebuild
+++ b/dev-python/minidb/minidb-2.0.2.ebuild
@@ -16,6 +16,7 @@ LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/mistune/mistune-0.8.3.ebuild b/dev-python/mistune/mistune-0.8.3.ebuild
index 08dc5d0f7fcc..18a913ffab45 100644
--- a/dev-python/mistune/mistune-0.8.3.ebuild
+++ b/dev-python/mistune/mistune-0.8.3.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
BDEPEND="
diff --git a/dev-python/mkdocs/mkdocs-0.15.3.ebuild b/dev-python/mkdocs/mkdocs-0.15.3.ebuild
index 6e507e40c181..1f523fea8432 100644
--- a/dev-python/mkdocs/mkdocs-0.15.3.ebuild
+++ b/dev-python/mkdocs/mkdocs-0.15.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/mkdocs/mkdocs-1.0.1.ebuild b/dev-python/mkdocs/mkdocs-1.0.1.ebuild
index 3594952dd97f..caf287784474 100644
--- a/dev-python/mkdocs/mkdocs-1.0.1.ebuild
+++ b/dev-python/mkdocs/mkdocs-1.0.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/montage-wrapper/montage-wrapper-0.9.8.ebuild b/dev-python/montage-wrapper/montage-wrapper-0.9.8.ebuild
index 7e69b727dbeb..15ec5160c747 100644
--- a/dev-python/montage-wrapper/montage-wrapper-0.9.8.ebuild
+++ b/dev-python/montage-wrapper/montage-wrapper-0.9.8.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/montage-wrapper/montage-wrapper-0.9.9.ebuild b/dev-python/montage-wrapper/montage-wrapper-0.9.9.ebuild
index d83477be964e..cd6d6d1e3979 100644
--- a/dev-python/montage-wrapper/montage-wrapper-0.9.9.ebuild
+++ b/dev-python/montage-wrapper/montage-wrapper-0.9.9.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/moto/moto-1.0.1-r1.ebuild b/dev-python/moto/moto-1.0.1-r1.ebuild
index 4afbbcfea982..3da3b9a59ce9 100644
--- a/dev-python/moto/moto-1.0.1-r1.ebuild
+++ b/dev-python/moto/moto-1.0.1-r1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/cookies[${PYTHON_USEDEP}]
diff --git a/dev-python/moviepy/moviepy-0.2.2.ebuild b/dev-python/moviepy/moviepy-0.2.2.ebuild
index 566dab856a12..946fe30ab119 100644
--- a/dev-python/moviepy/moviepy-0.2.2.ebuild
+++ b/dev-python/moviepy/moviepy-0.2.2.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/mox/mox-0.5.3-r1.ebuild b/dev-python/mox/mox-0.5.3-r1.ebuild
index a1bff16fc542..269ce19d7eaa 100644
--- a/dev-python/mox/mox-0.5.3-r1.ebuild
+++ b/dev-python/mox/mox-0.5.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
python_test() {
${PYTHON} mox_test.py || die
diff --git a/dev-python/mox3/mox3-0.24.0.ebuild b/dev-python/mox3/mox3-0.24.0.ebuild
index 734833d0a009..78822559044a 100644
--- a/dev-python/mox3/mox3-0.24.0.ebuild
+++ b/dev-python/mox3/mox3-0.24.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
CRDEPEND=">=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/mpi4py/mpi4py-3.0.2.ebuild b/dev-python/mpi4py/mpi4py-3.0.2.ebuild
index a9f36ad586d7..5e7b1f21c7b6 100644
--- a/dev-python/mpi4py/mpi4py-3.0.2.ebuild
+++ b/dev-python/mpi4py/mpi4py-3.0.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="virtual/mpi"
DEPEND="${RDEPEND}
diff --git a/dev-python/mpmath/mpmath-1.0.0.ebuild b/dev-python/mpmath/mpmath-1.0.0.ebuild
index f2658d04d96a..2c635b989f61 100644
--- a/dev-python/mpmath/mpmath-1.0.0.ebuild
+++ b/dev-python/mpmath/mpmath-1.0.0.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
KEYWORDS="amd64 ~arm ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="gmp matplotlib test"
+RESTRICT="!test? ( test )"
RDEPEND="
gmp? ( dev-python/gmpy )
diff --git a/dev-python/mpmath/mpmath-1.1.0.ebuild b/dev-python/mpmath/mpmath-1.1.0.ebuild
index cd619f90486c..467c4a424f18 100644
--- a/dev-python/mpmath/mpmath-1.1.0.ebuild
+++ b/dev-python/mpmath/mpmath-1.1.0.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="gmp matplotlib test"
+RESTRICT="!test? ( test )"
RDEPEND="
gmp? ( dev-python/gmpy )
diff --git a/dev-python/msgpack/msgpack-0.4.8.ebuild b/dev-python/msgpack/msgpack-0.4.8.ebuild
index eb96aed73e93..4c2499efae99 100644
--- a/dev-python/msgpack/msgpack-0.4.8.ebuild
+++ b/dev-python/msgpack/msgpack-0.4.8.ebuild
@@ -19,6 +19,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ppc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/msgpack/msgpack-0.5.1.ebuild b/dev-python/msgpack/msgpack-0.5.1.ebuild
index c70c3e3ded03..39134e50be87 100644
--- a/dev-python/msgpack/msgpack-0.5.1.ebuild
+++ b/dev-python/msgpack/msgpack-0.5.1.ebuild
@@ -19,6 +19,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ppc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/msgpack/msgpack-0.5.6.ebuild b/dev-python/msgpack/msgpack-0.5.6.ebuild
index 11d87a6d274d..99778feefbbf 100644
--- a/dev-python/msgpack/msgpack-0.5.6.ebuild
+++ b/dev-python/msgpack/msgpack-0.5.6.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ppc x86"
IUSE="+native-extensions test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/msgpack/msgpack-0.6.1.ebuild b/dev-python/msgpack/msgpack-0.6.1.ebuild
index 327fccd2a27b..0a9a063f3e6e 100644
--- a/dev-python/msgpack/msgpack-0.6.1.ebuild
+++ b/dev-python/msgpack/msgpack-0.6.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ppc x86"
IUSE="+native-extensions test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/multidict/multidict-4.1.0.ebuild b/dev-python/multidict/multidict-4.1.0.ebuild
index a71928fc5f3f..f219d50b5ec4 100644
--- a/dev-python/multidict/multidict-4.1.0.ebuild
+++ b/dev-python/multidict/multidict-4.1.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/multidict/multidict-4.3.1.ebuild b/dev-python/multidict/multidict-4.3.1.ebuild
index 2976100944a8..f1bd4abdf19d 100644
--- a/dev-python/multidict/multidict-4.3.1.ebuild
+++ b/dev-python/multidict/multidict-4.3.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/multidict/multidict-4.5.2.ebuild b/dev-python/multidict/multidict-4.5.2.ebuild
index cfc3fb44b329..b6be8d2cd42d 100644
--- a/dev-python/multidict/multidict-4.5.2.ebuild
+++ b/dev-python/multidict/multidict-4.5.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/mygpoclient/mygpoclient-1.8.ebuild b/dev-python/mygpoclient/mygpoclient-1.8.ebuild
index 5ca600a21490..7e20875c51cf 100644
--- a/dev-python/mygpoclient/mygpoclient-1.8.ebuild
+++ b/dev-python/mygpoclient/mygpoclient-1.8.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/mypy_extensions/mypy_extensions-0.4.1.ebuild b/dev-python/mypy_extensions/mypy_extensions-0.4.1.ebuild
index 349d05e0d4db..ec18f4e1cfad 100644
--- a/dev-python/mypy_extensions/mypy_extensions-0.4.1.ebuild
+++ b/dev-python/mypy_extensions/mypy_extensions-0.4.1.ebuild
@@ -22,6 +22,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
doc? (
diff --git a/dev-python/naima/naima-0.8-r1.ebuild b/dev-python/naima/naima-0.8-r1.ebuild
index a74cbc5c7a9e..abb6ce180f73 100644
--- a/dev-python/naima/naima-0.8-r1.ebuild
+++ b/dev-python/naima/naima-0.8-r1.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DOCS=( README.rst )
RDEPEND="
diff --git a/dev-python/nbdime/nbdime-0.1.2.ebuild b/dev-python/nbdime/nbdime-0.1.2.ebuild
index 3822c2edf178..0d4e32f604f0 100644
--- a/dev-python/nbdime/nbdime-0.1.2.ebuild
+++ b/dev-python/nbdime/nbdime-0.1.2.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64"
LICENSE="BSD"
SLOT="0"
IUSE="test webtools"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/nbformat[${PYTHON_USEDEP}]
diff --git a/dev-python/nbdime/nbdime-0.2.0.ebuild b/dev-python/nbdime/nbdime-0.2.0.ebuild
index 3e3581e122d9..2059ce503092 100644
--- a/dev-python/nbdime/nbdime-0.2.0.ebuild
+++ b/dev-python/nbdime/nbdime-0.2.0.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64"
LICENSE="BSD"
SLOT="0"
IUSE="doc test webtools"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/nbformat[${PYTHON_USEDEP}]
diff --git a/dev-python/nbformat/nbformat-4.4.0-r1.ebuild b/dev-python/nbformat/nbformat-4.4.0-r1.ebuild
index 854ea496fff1..d3b105d1d529 100644
--- a/dev-python/nbformat/nbformat-4.4.0-r1.ebuild
+++ b/dev-python/nbformat/nbformat-4.4.0-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/jsonschema-2.4.0[${PYTHON_USEDEP}]
diff --git a/dev-python/nbformat/nbformat-4.4.0.ebuild b/dev-python/nbformat/nbformat-4.4.0.ebuild
index 6f5194b24844..09d0975255ca 100644
--- a/dev-python/nbformat/nbformat-4.4.0.ebuild
+++ b/dev-python/nbformat/nbformat-4.4.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/jsonschema-2.4.0[${PYTHON_USEDEP}]
diff --git a/dev-python/nbval/nbval-0.7.ebuild b/dev-python/nbval/nbval-0.7.ebuild
index a939b524f581..4045210aa09a 100644
--- a/dev-python/nbval/nbval-0.7.ebuild
+++ b/dev-python/nbval/nbval-0.7.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
diff --git a/dev-python/nbval/nbval-0.9.1.ebuild b/dev-python/nbval/nbval-0.9.1.ebuild
index 4b1d3c58cc0a..a24f9d28b0bb 100644
--- a/dev-python/nbval/nbval-0.9.1.ebuild
+++ b/dev-python/nbval/nbval-0.9.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]
diff --git a/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild b/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild
index 3836b90c26a0..c0cb7eab06f1 100644
--- a/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild
+++ b/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyopenssl[$(python_gen_usedep 'python*' pypy)]"
# we need to block the previous versions since incorrect namespace
diff --git a/dev-python/netaddr/netaddr-0.7.19.ebuild b/dev-python/netaddr/netaddr-0.7.19.ebuild
index 33dd2ae10c0f..0be7bb1eaecc 100644
--- a/dev-python/netaddr/netaddr-0.7.19.ebuild
+++ b/dev-python/netaddr/netaddr-0.7.19.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="cli test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="cli? ( || ( $(python_gen_useflags -3) ) )"
RDEPEND="
diff --git a/dev-python/networkx/networkx-1.11-r1.ebuild b/dev-python/networkx/networkx-1.11-r1.ebuild
index 2f04d349b386..278178d5e416 100644
--- a/dev-python/networkx/networkx-1.11-r1.ebuild
+++ b/dev-python/networkx/networkx-1.11-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc examples scipy test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="doc? ( || ( $(python_gen_useflags -2) ) )"
diff --git a/dev-python/networkx/networkx-1.11.ebuild b/dev-python/networkx/networkx-1.11.ebuild
index f4f786cd4b18..27a4ee4ee149 100644
--- a/dev-python/networkx/networkx-1.11.ebuild
+++ b/dev-python/networkx/networkx-1.11.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="doc? ( || ( $(python_gen_useflags -2) ) )"
diff --git a/dev-python/networkx/networkx-2.1.ebuild b/dev-python/networkx/networkx-2.1.ebuild
index 0dbd8fe24418..14a32caab043 100644
--- a/dev-python/networkx/networkx-2.1.ebuild
+++ b/dev-python/networkx/networkx-2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="examples extras pandas scipy test xml yaml"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
test? ( extras pandas scipy xml yaml )"
diff --git a/dev-python/networkx/networkx-2.2.ebuild b/dev-python/networkx/networkx-2.2.ebuild
index a33edf2829d5..dbb3ac20013e 100644
--- a/dev-python/networkx/networkx-2.2.ebuild
+++ b/dev-python/networkx/networkx-2.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="examples extras pandas scipy test xml yaml"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
test? ( extras pandas scipy xml yaml )"
diff --git a/dev-python/networkx/networkx-2.4.ebuild b/dev-python/networkx/networkx-2.4.ebuild
index 5e86bcbc3d9f..955210f1c0c7 100644
--- a/dev-python/networkx/networkx-2.4.ebuild
+++ b/dev-python/networkx/networkx-2.4.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="examples extras pandas scipy test xml yaml"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
test? ( extras pandas scipy xml yaml )"
diff --git a/dev-python/nevow/nevow-0.14.3.ebuild b/dev-python/nevow/nevow-0.14.3.ebuild
index 96f269c98555..0f52ea39e2d5 100644
--- a/dev-python/nevow/nevow-0.14.3.ebuild
+++ b/dev-python/nevow/nevow-0.14.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
|| (
diff --git a/dev-python/node-semver/node-semver-0.2.0.ebuild b/dev-python/node-semver/node-semver-0.2.0.ebuild
index 43c76834b626..54ca2c768444 100644
--- a/dev-python/node-semver/node-semver-0.2.0.ebuild
+++ b/dev-python/node-semver/node-semver-0.2.0.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
diff --git a/dev-python/node-semver/node-semver-0.6.1.ebuild b/dev-python/node-semver/node-semver-0.6.1.ebuild
index 38da8d9ff050..6acefd6d4563 100644
--- a/dev-python/node-semver/node-semver-0.6.1.ebuild
+++ b/dev-python/node-semver/node-semver-0.6.1.ebuild
@@ -21,6 +21,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/node-semver/node-semver-0.7.0.ebuild b/dev-python/node-semver/node-semver-0.7.0.ebuild
index 38da8d9ff050..6acefd6d4563 100644
--- a/dev-python/node-semver/node-semver-0.7.0.ebuild
+++ b/dev-python/node-semver/node-semver-0.7.0.ebuild
@@ -21,6 +21,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r2.ebuild b/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r2.ebuild
index 045f822a9630..9d0cc4733ee1 100644
--- a/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r2.ebuild
+++ b/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r2.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ppc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/nose[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/notebook/notebook-5.0.0.ebuild b/dev-python/notebook/notebook-5.0.0.ebuild
index 1a958c0fcdd6..82871cfc8b3c 100644
--- a/dev-python/notebook/notebook-5.0.0.ebuild
+++ b/dev-python/notebook/notebook-5.0.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/mathjax-2.4
dev-python/jinja[${PYTHON_USEDEP}]
diff --git a/dev-python/notebook/notebook-5.2.1.ebuild b/dev-python/notebook/notebook-5.2.1.ebuild
index 533aae9ed53a..fcdb01cae5dd 100644
--- a/dev-python/notebook/notebook-5.2.1.ebuild
+++ b/dev-python/notebook/notebook-5.2.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/mathjax-2.4
dev-python/jinja[${PYTHON_USEDEP}]
diff --git a/dev-python/notebook/notebook-5.7.0.ebuild b/dev-python/notebook/notebook-5.7.0.ebuild
index 5b13dfa2e88d..59dcf29a5c1e 100644
--- a/dev-python/notebook/notebook-5.7.0.ebuild
+++ b/dev-python/notebook/notebook-5.7.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/mathjax-2.4
dev-python/jinja[${PYTHON_USEDEP}]
diff --git a/dev-python/notebook/notebook-5.7.8.ebuild b/dev-python/notebook/notebook-5.7.8.ebuild
index 11f00397f28e..ebc285e3dc6b 100644
--- a/dev-python/notebook/notebook-5.7.8.ebuild
+++ b/dev-python/notebook/notebook-5.7.8.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/mathjax-2.4
dev-python/jinja[${PYTHON_USEDEP}]
diff --git a/dev-python/numba/numba-0.27.0.ebuild b/dev-python/numba/numba-0.27.0.ebuild
index b9db36fe2d8f..d17a5b2a37eb 100644
--- a/dev-python/numba/numba-0.27.0.ebuild
+++ b/dev-python/numba/numba-0.27.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/llvmlite-0.10[${PYTHON_USEDEP}]
diff --git a/dev-python/numba/numba-0.35.0.ebuild b/dev-python/numba/numba-0.35.0.ebuild
index e6476d71a8be..9f39737ab0be 100644
--- a/dev-python/numba/numba-0.35.0.ebuild
+++ b/dev-python/numba/numba-0.35.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/llvmlite-0.19[${PYTHON_USEDEP}]
diff --git a/dev-python/numba/numba-0.37.0.ebuild b/dev-python/numba/numba-0.37.0.ebuild
index ec0a93f4b881..d2e5e28265ed 100644
--- a/dev-python/numba/numba-0.37.0.ebuild
+++ b/dev-python/numba/numba-0.37.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/llvmlite-0.22.0[${PYTHON_USEDEP}]
diff --git a/dev-python/numba/numba-0.39.0.ebuild b/dev-python/numba/numba-0.39.0.ebuild
index a5763ea1be78..5e43e6e0d04f 100644
--- a/dev-python/numba/numba-0.39.0.ebuild
+++ b/dev-python/numba/numba-0.39.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/llvmlite-0.22.0[${PYTHON_USEDEP}]
diff --git a/dev-python/numpy/numpy-1.14.5.ebuild b/dev-python/numpy/numpy-1.14.5.ebuild
index d6c2f8e6d8ff..55a472e0bc84 100644
--- a/dev-python/numpy/numpy-1.14.5.ebuild
+++ b/dev-python/numpy/numpy-1.14.5.ebuild
@@ -26,6 +26,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc lapack test"
+RESTRICT="!test? ( test )"
RDEPEND="lapack? ( virtual/cblas virtual/lapack )"
DEPEND="${RDEPEND}
diff --git a/dev-python/numpy/numpy-1.15.4.ebuild b/dev-python/numpy/numpy-1.15.4.ebuild
index dc2377ac8e46..8a97cad7ac9c 100644
--- a/dev-python/numpy/numpy-1.15.4.ebuild
+++ b/dev-python/numpy/numpy-1.15.4.ebuild
@@ -26,6 +26,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc lapack test"
+RESTRICT="!test? ( test )"
RDEPEND="lapack? ( virtual/cblas virtual/lapack )"
DEPEND="${RDEPEND}
diff --git a/dev-python/numpy/numpy-1.16.1.ebuild b/dev-python/numpy/numpy-1.16.1.ebuild
index 7b450c102e86..b923d3d6d813 100644
--- a/dev-python/numpy/numpy-1.16.1.ebuild
+++ b/dev-python/numpy/numpy-1.16.1.ebuild
@@ -26,6 +26,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc lapack test"
+RESTRICT="!test? ( test )"
RDEPEND="lapack? (
virtual/cblas
diff --git a/dev-python/numpydoc/numpydoc-0.6.0.ebuild b/dev-python/numpydoc/numpydoc-0.6.0.ebuild
index dfe265138fb6..e4a6e786743e 100644
--- a/dev-python/numpydoc/numpydoc-0.6.0.ebuild
+++ b/dev-python/numpydoc/numpydoc-0.6.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm ~mips ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/numpydoc/numpydoc-0.8.0.ebuild b/dev-python/numpydoc/numpydoc-0.8.0.ebuild
index 570d35cad23f..7bcbac1ead17 100644
--- a/dev-python/numpydoc/numpydoc-0.8.0.ebuild
+++ b/dev-python/numpydoc/numpydoc-0.8.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/jinja[${PYTHON_USEDEP}]
diff --git a/dev-python/numpydoc/numpydoc-0.9.1.ebuild b/dev-python/numpydoc/numpydoc-0.9.1.ebuild
index 3a666b17b7be..75bd98b4d478 100644
--- a/dev-python/numpydoc/numpydoc-0.9.1.ebuild
+++ b/dev-python/numpydoc/numpydoc-0.9.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/jinja[${PYTHON_USEDEP}]
diff --git a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
index 302e2043a0db..f9addfc1eb35 100644
--- a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
+++ b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86 ~x64-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/oauth2client/oauth2client-4.1.2.ebuild b/dev-python/oauth2client/oauth2client-4.1.2.ebuild
index 56b88e9b51cd..46415d90c2eb 100644
--- a/dev-python/oauth2client/oauth2client-4.1.2.ebuild
+++ b/dev-python/oauth2client/oauth2client-4.1.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( $(python_gen_useflags 'python*') )"
RDEPEND="
diff --git a/dev-python/oauth2client/oauth2client-4.1.3.ebuild b/dev-python/oauth2client/oauth2client-4.1.3.ebuild
index daff95917d61..27f0762d6d95 100644
--- a/dev-python/oauth2client/oauth2client-4.1.3.ebuild
+++ b/dev-python/oauth2client/oauth2client-4.1.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( $(python_gen_useflags 'python*') )"
RDEPEND="
diff --git a/dev-python/oauthlib/oauthlib-1.0.3.ebuild b/dev-python/oauthlib/oauthlib-1.0.3.ebuild
index 29e15d6afae1..0acdb63954bb 100644
--- a/dev-python/oauthlib/oauthlib-1.0.3.ebuild
+++ b/dev-python/oauthlib/oauthlib-1.0.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
# optional extras hard set as RDEPs. See setup.py
RDEPEND="
diff --git a/dev-python/oauthlib/oauthlib-2.0.2.ebuild b/dev-python/oauthlib/oauthlib-2.0.2.ebuild
index 619002d64ece..919b14561e47 100644
--- a/dev-python/oauthlib/oauthlib-2.0.2.ebuild
+++ b/dev-python/oauthlib/oauthlib-2.0.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
# optional extras hard set as RDEPs. See setup.py
RDEPEND="
diff --git a/dev-python/oauthlib/oauthlib-2.0.3.ebuild b/dev-python/oauthlib/oauthlib-2.0.3.ebuild
index ef91952bf239..32f70904eb54 100644
--- a/dev-python/oauthlib/oauthlib-2.0.3.ebuild
+++ b/dev-python/oauthlib/oauthlib-2.0.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
# optional extras hard set as RDEPs. See setup.py
RDEPEND="
diff --git a/dev-python/oauthlib/oauthlib-2.0.6.ebuild b/dev-python/oauthlib/oauthlib-2.0.6.ebuild
index 30f6eab4fca5..0af9e26f7932 100644
--- a/dev-python/oauthlib/oauthlib-2.0.6.ebuild
+++ b/dev-python/oauthlib/oauthlib-2.0.6.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
# optional extras hard set as RDEPs. See setup.py
RDEPEND="
diff --git a/dev-python/oauthlib/oauthlib-3.0.1.ebuild b/dev-python/oauthlib/oauthlib-3.0.1.ebuild
index 932e50a80b7a..ea5f90da996b 100644
--- a/dev-python/oauthlib/oauthlib-3.0.1.ebuild
+++ b/dev-python/oauthlib/oauthlib-3.0.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
# optional extras hard set as RDEPs. See setup.py
RDEPEND="
diff --git a/dev-python/objgraph/objgraph-3.4.0.ebuild b/dev-python/objgraph/objgraph-3.4.0.ebuild
index 9a701f9fbbdf..7f7a9c4d3553 100644
--- a/dev-python/objgraph/objgraph-3.4.0.ebuild
+++ b/dev-python/objgraph/objgraph-3.4.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="media-gfx/graphviz"
DEPEND="dev-python/setuptools
diff --git a/dev-python/oct2py/oct2py-3.6.0.ebuild b/dev-python/oct2py/oct2py-3.6.0.ebuild
index d92249da7d6a..12ef576217a4 100644
--- a/dev-python/oct2py/oct2py-3.6.0.ebuild
+++ b/dev-python/oct2py/oct2py-3.6.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/numpy-1.7.1[${PYTHON_USEDEP}]
diff --git a/dev-python/oct2py/oct2py-4.0.6.ebuild b/dev-python/oct2py/oct2py-4.0.6.ebuild
index 2bcb937a65b8..8c10e6de4276 100644
--- a/dev-python/oct2py/oct2py-4.0.6.ebuild
+++ b/dev-python/oct2py/oct2py-4.0.6.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/numpy-1.11[${PYTHON_USEDEP}]
diff --git a/dev-python/odfpy/odfpy-1.3.6.ebuild b/dev-python/odfpy/odfpy-1.3.6.ebuild
index 54829a67efd3..6b98207030d2 100644
--- a/dev-python/odfpy/odfpy-1.3.6.ebuild
+++ b/dev-python/odfpy/odfpy-1.3.6.ebuild
@@ -18,6 +18,7 @@ LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/os-testr/os-testr-1.0.0.ebuild b/dev-python/os-testr/os-testr-1.0.0.ebuild
index eac4c11838cd..0ef1c1a7f967 100644
--- a/dev-python/os-testr/os-testr-1.0.0.ebuild
+++ b/dev-python/os-testr/os-testr-1.0.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]"
RDEPEND="
diff --git a/dev-python/oslo-concurrency/oslo-concurrency-3.27.0.ebuild b/dev-python/oslo-concurrency/oslo-concurrency-3.27.0.ebuild
index 49424a0701f3..65c8e194a44b 100644
--- a/dev-python/oslo-concurrency/oslo-concurrency-3.27.0.ebuild
+++ b/dev-python/oslo-concurrency/oslo-concurrency-3.27.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/oslo-concurrency/oslo-concurrency-3.29.1.ebuild b/dev-python/oslo-concurrency/oslo-concurrency-3.29.1.ebuild
index d833184d6127..285554352ed7 100644
--- a/dev-python/oslo-concurrency/oslo-concurrency-3.29.1.ebuild
+++ b/dev-python/oslo-concurrency/oslo-concurrency-3.29.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/oslo-config/oslo-config-6.4.1.ebuild b/dev-python/oslo-config/oslo-config-6.4.1.ebuild
index 2c2358340d9a..e8a77ba7d689 100644
--- a/dev-python/oslo-config/oslo-config-6.4.1.ebuild
+++ b/dev-python/oslo-config/oslo-config-6.4.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-1.3[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/oslo-config/oslo-config-6.8.1.ebuild b/dev-python/oslo-config/oslo-config-6.8.1.ebuild
index abb7cf055eeb..e742c003248a 100644
--- a/dev-python/oslo-config/oslo-config-6.8.1.ebuild
+++ b/dev-python/oslo-config/oslo-config-6.8.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-1.3[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/oslo-context/oslo-context-2.21.0.ebuild b/dev-python/oslo-context/oslo-context-2.21.0.ebuild
index 0b0445812079..fabd74f090bd 100644
--- a/dev-python/oslo-context/oslo-context-2.21.0.ebuild
+++ b/dev-python/oslo-context/oslo-context-2.21.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/oslo-context/oslo-context-2.22.1.ebuild b/dev-python/oslo-context/oslo-context-2.22.1.ebuild
index 7b3f8acc8134..f9a31fa8b5ad 100644
--- a/dev-python/oslo-context/oslo-context-2.22.1.ebuild
+++ b/dev-python/oslo-context/oslo-context-2.22.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/oslo-i18n/oslo-i18n-3.19.0.ebuild b/dev-python/oslo-i18n/oslo-i18n-3.19.0.ebuild
index 86c994244425..bffaccbb2689 100644
--- a/dev-python/oslo-i18n/oslo-i18n-3.19.0.ebuild
+++ b/dev-python/oslo-i18n/oslo-i18n-3.19.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/oslo-i18n/oslo-i18n-3.23.1.ebuild b/dev-python/oslo-i18n/oslo-i18n-3.23.1.ebuild
index dac1a9ed49e4..2ef2f3d79cd2 100644
--- a/dev-python/oslo-i18n/oslo-i18n-3.23.1.ebuild
+++ b/dev-python/oslo-i18n/oslo-i18n-3.23.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/oslo-log/oslo-log-3.39.2.ebuild b/dev-python/oslo-log/oslo-log-3.39.2.ebuild
index f84467c23967..ae4e71ff6c49 100644
--- a/dev-python/oslo-log/oslo-log-3.39.2.ebuild
+++ b/dev-python/oslo-log/oslo-log-3.39.2.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/oslo-log/oslo-log-3.42.3.ebuild b/dev-python/oslo-log/oslo-log-3.42.3.ebuild
index d26f92ef9c3f..fd672284809c 100644
--- a/dev-python/oslo-log/oslo-log-3.42.3.ebuild
+++ b/dev-python/oslo-log/oslo-log-3.42.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-3.1.1[${PYTHON_USEDEP}]"
RDEPEND="
diff --git a/dev-python/oslo-log/oslo-log-3.44.1.ebuild b/dev-python/oslo-log/oslo-log-3.44.1.ebuild
index 4a6b2891b010..a827dbd18423 100644
--- a/dev-python/oslo-log/oslo-log-3.44.1.ebuild
+++ b/dev-python/oslo-log/oslo-log-3.44.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-3.1.1[${PYTHON_USEDEP}]"
RDEPEND="
diff --git a/dev-python/oslo-middleware/oslo-middleware-3.34.0.ebuild b/dev-python/oslo-middleware/oslo-middleware-3.34.0.ebuild
index e3554a69a212..1914411171db 100644
--- a/dev-python/oslo-middleware/oslo-middleware-3.34.0.ebuild
+++ b/dev-python/oslo-middleware/oslo-middleware-3.34.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/oslo-middleware/oslo-middleware-3.37.1.ebuild b/dev-python/oslo-middleware/oslo-middleware-3.37.1.ebuild
index 3e6a4410c51a..07420221a3d6 100644
--- a/dev-python/oslo-middleware/oslo-middleware-3.37.1.ebuild
+++ b/dev-python/oslo-middleware/oslo-middleware-3.37.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/oslo-privsep/oslo-privsep-1.29.2.ebuild b/dev-python/oslo-privsep/oslo-privsep-1.29.2.ebuild
index cd799ad37f11..48e481a14015 100644
--- a/dev-python/oslo-privsep/oslo-privsep-1.29.2.ebuild
+++ b/dev-python/oslo-privsep/oslo-privsep-1.29.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0"
diff --git a/dev-python/oslo-privsep/oslo-privsep-1.32.1.ebuild b/dev-python/oslo-privsep/oslo-privsep-1.32.1.ebuild
index a7374a83d6f9..7ee91aff26b6 100644
--- a/dev-python/oslo-privsep/oslo-privsep-1.32.1.ebuild
+++ b/dev-python/oslo-privsep/oslo-privsep-1.32.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0"
diff --git a/dev-python/oslo-rootwrap/oslo-rootwrap-5.13.0.ebuild b/dev-python/oslo-rootwrap/oslo-rootwrap-5.13.0.ebuild
index 53124c52f487..d2fd96f950b3 100644
--- a/dev-python/oslo-rootwrap/oslo-rootwrap-5.13.0.ebuild
+++ b/dev-python/oslo-rootwrap/oslo-rootwrap-5.13.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0"
diff --git a/dev-python/oslo-rootwrap/oslo-rootwrap-5.15.2.ebuild b/dev-python/oslo-rootwrap/oslo-rootwrap-5.15.2.ebuild
index 3d9b6e604702..d3dbfdd91640 100644
--- a/dev-python/oslo-rootwrap/oslo-rootwrap-5.15.2.ebuild
+++ b/dev-python/oslo-rootwrap/oslo-rootwrap-5.15.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0"
diff --git a/dev-python/oslo-service/oslo-service-1.31.8.ebuild b/dev-python/oslo-service/oslo-service-1.31.8.ebuild
index 67028acc03d6..a5637845324c 100644
--- a/dev-python/oslo-service/oslo-service-1.31.8.ebuild
+++ b/dev-python/oslo-service/oslo-service-1.31.8.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/oslo-service/oslo-service-1.38.0.ebuild b/dev-python/oslo-service/oslo-service-1.38.0.ebuild
index cd410c8755f7..b7865ab889f6 100644
--- a/dev-python/oslo-service/oslo-service-1.38.0.ebuild
+++ b/dev-python/oslo-service/oslo-service-1.38.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/passwordmeter/passwordmeter-0.1.8.ebuild b/dev-python/passwordmeter/passwordmeter-0.1.8.ebuild
index 66209dc9839b..25040d3de3f3 100644
--- a/dev-python/passwordmeter/passwordmeter-0.1.8.ebuild
+++ b/dev-python/passwordmeter/passwordmeter-0.1.8.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/asset-0.6.3[${PYTHON_USEDEP}]
diff --git a/dev-python/pastedeploy/pastedeploy-1.5.2-r1.ebuild b/dev-python/pastedeploy/pastedeploy-1.5.2-r1.ebuild
index a6b3df53574b..84034e878269 100644
--- a/dev-python/pastedeploy/pastedeploy-1.5.2-r1.ebuild
+++ b/dev-python/pastedeploy/pastedeploy-1.5.2-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/pastedeploy/pastedeploy-1.5.2-r2.ebuild b/dev-python/pastedeploy/pastedeploy-1.5.2-r2.ebuild
index 13ebcb13c559..baa0567056e1 100644
--- a/dev-python/pastedeploy/pastedeploy-1.5.2-r2.ebuild
+++ b/dev-python/pastedeploy/pastedeploy-1.5.2-r2.ebuild
@@ -19,6 +19,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/pastedeploy/pastedeploy-2.0.1.ebuild b/dev-python/pastedeploy/pastedeploy-2.0.1.ebuild
index bd58965f1e4c..7e8f1ac0fddc 100644
--- a/dev-python/pastedeploy/pastedeploy-2.0.1.ebuild
+++ b/dev-python/pastedeploy/pastedeploy-2.0.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/path-py/path-py-10.3.1.ebuild b/dev-python/path-py/path-py-10.3.1.ebuild
index 933a80584976..789bd00cc84f 100644
--- a/dev-python/path-py/path-py-10.3.1.ebuild
+++ b/dev-python/path-py/path-py-10.3.1.ebuild
@@ -17,6 +17,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]"
diff --git a/dev-python/path-py/path-py-11.0.1.ebuild b/dev-python/path-py/path-py-11.0.1.ebuild
index 2fc056a01db3..1836476559cf 100644
--- a/dev-python/path-py/path-py-11.0.1.ebuild
+++ b/dev-python/path-py/path-py-11.0.1.ebuild
@@ -17,6 +17,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]"
diff --git a/dev-python/path-py/path-py-8.1.2.ebuild b/dev-python/path-py/path-py-8.1.2.ebuild
index 4129ef023354..93895443079d 100644
--- a/dev-python/path-py/path-py-8.1.2.ebuild
+++ b/dev-python/path-py/path-py-8.1.2.ebuild
@@ -17,6 +17,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/patsy/patsy-0.4.1.ebuild b/dev-python/patsy/patsy-0.4.1.ebuild
index be890fbb7186..9b8e2db1ca3d 100644
--- a/dev-python/patsy/patsy-0.4.1.ebuild
+++ b/dev-python/patsy/patsy-0.4.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/patsy/patsy-0.5.1.ebuild b/dev-python/patsy/patsy-0.5.1.ebuild
index d13c17f7f027..48aa2c256639 100644
--- a/dev-python/patsy/patsy-0.5.1.ebuild
+++ b/dev-python/patsy/patsy-0.5.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/paver/paver-1.2.4.ebuild b/dev-python/paver/paver-1.2.4.ebuild
index c60f845468e0..9eb09c194ac6 100644
--- a/dev-python/paver/paver-1.2.4.ebuild
+++ b/dev-python/paver/paver-1.2.4.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/paver/paver-1.3.4.ebuild b/dev-python/paver/paver-1.3.4.ebuild
index 9e961e650795..0ae35c29421a 100644
--- a/dev-python/paver/paver-1.3.4.ebuild
+++ b/dev-python/paver/paver-1.3.4.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/pbr/pbr-0.8.2-r1.ebuild b/dev-python/pbr/pbr-0.8.2-r1.ebuild
index a776ba9b6ccc..ba6e40ff8fe2 100644
--- a/dev-python/pbr/pbr-0.8.2-r1.ebuild
+++ b/dev-python/pbr/pbr-0.8.2-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/pbr/pbr-1.10.0-r1.ebuild b/dev-python/pbr/pbr-1.10.0-r1.ebuild
index 2655eb1092bc..933db9386a73 100644
--- a/dev-python/pbr/pbr-1.10.0-r1.ebuild
+++ b/dev-python/pbr/pbr-1.10.0-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038
# docutils is needed for sphinx exceptions... https://bugs.gentoo.org/show_bug.cgi?id=603848
diff --git a/dev-python/pbr/pbr-3.1.1.ebuild b/dev-python/pbr/pbr-3.1.1.ebuild
index 9ea9d0ae4bae..1214ba60668d 100644
--- a/dev-python/pbr/pbr-3.1.1.ebuild
+++ b/dev-python/pbr/pbr-3.1.1.ebuild
@@ -17,6 +17,7 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ~ppc ~ppc64 s390 x86 ~amd64-linux ~x86-linux"
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038
# docutils is needed for sphinx exceptions... https://bugs.gentoo.org/show_bug.cgi?id=603848
diff --git a/dev-python/pbr/pbr-4.1.1.ebuild b/dev-python/pbr/pbr-4.1.1.ebuild
index 567c029b24ad..59045af8ca23 100644
--- a/dev-python/pbr/pbr-4.1.1.ebuild
+++ b/dev-python/pbr/pbr-4.1.1.ebuild
@@ -17,6 +17,7 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038
# docutils is needed for sphinx exceptions... https://bugs.gentoo.org/show_bug.cgi?id=603848
diff --git a/dev-python/pbr/pbr-4.2.0-r1.ebuild b/dev-python/pbr/pbr-4.2.0-r1.ebuild
index c84dd79ddda0..e589fcb27a5b 100644
--- a/dev-python/pbr/pbr-4.2.0-r1.ebuild
+++ b/dev-python/pbr/pbr-4.2.0-r1.ebuild
@@ -18,6 +18,7 @@ KEYWORDS="amd64 arm64 hppa ~mips s390 x86 ~amd64-linux ~x86-linux"
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038
# docutils is needed for sphinx exceptions... https://bugs.gentoo.org/show_bug.cgi?id=603848
diff --git a/dev-python/pbr/pbr-4.2.0-r2.ebuild b/dev-python/pbr/pbr-4.2.0-r2.ebuild
index 24a6a30d2dfd..b9aa32459791 100644
--- a/dev-python/pbr/pbr-4.2.0-r2.ebuild
+++ b/dev-python/pbr/pbr-4.2.0-r2.ebuild
@@ -18,6 +18,7 @@ KEYWORDS="~amd64 ~arm64 ~hppa ~mips ~s390 ~x86 ~amd64-linux ~x86-linux"
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038
# docutils is needed for sphinx exceptions... https://bugs.gentoo.org/show_bug.cgi?id=603848
diff --git a/dev-python/pbr/pbr-5.1.1.ebuild b/dev-python/pbr/pbr-5.1.1.ebuild
index 1375aca5712c..956f9fc47cda 100644
--- a/dev-python/pbr/pbr-5.1.1.ebuild
+++ b/dev-python/pbr/pbr-5.1.1.ebuild
@@ -18,6 +18,7 @@ KEYWORDS="~amd64 ~arm64 ~hppa ~mips ~s390 ~x86 ~x64-cygwin ~amd64-linux ~x86-lin
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038
# docutils is needed for sphinx exceptions... https://bugs.gentoo.org/show_bug.cgi?id=603848
diff --git a/dev-python/peak-rules/peak-rules-0.5.ebuild b/dev-python/peak-rules/peak-rules-0.5.ebuild
index 56f30fbb6d43..7dc3bd63c480 100644
--- a/dev-python/peak-rules/peak-rules-0.5.ebuild
+++ b/dev-python/peak-rules/peak-rules-0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -17,6 +17,7 @@ LICENSE="ZPL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DOCS=( Code-Generation.txt Criteria.txt Indexing.txt README.txt Syntax-Matching.txt )
diff --git a/dev-python/pep257/pep257-2.1.1.ebuild b/dev-python/pep257/pep257-2.1.1.ebuild
index 3bde0267c0d3..1275afe560d0 100644
--- a/dev-python/pep257/pep257-2.1.1.ebuild
+++ b/dev-python/pep257/pep257-2.1.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/photutils/photutils-0.3.1.ebuild b/dev-python/photutils/photutils-0.3.1.ebuild
index e20a24947c1d..36b6cbf2baad 100644
--- a/dev-python/photutils/photutils-0.3.1.ebuild
+++ b/dev-python/photutils/photutils-0.3.1.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DOCS=( README.rst )
RDEPEND="
diff --git a/dev-python/photutils/photutils-0.3.2.ebuild b/dev-python/photutils/photutils-0.3.2.ebuild
index a4c69cdbc9ae..d29b2d6948ad 100644
--- a/dev-python/photutils/photutils-0.3.2.ebuild
+++ b/dev-python/photutils/photutils-0.3.2.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DOCS=( README.rst )
RDEPEND="
diff --git a/dev-python/pilkit/pilkit-2.0.ebuild b/dev-python/pilkit/pilkit-2.0.ebuild
index f7ff431ba682..b62b8c290d54 100644
--- a/dev-python/pilkit/pilkit-2.0.ebuild
+++ b/dev-python/pilkit/pilkit-2.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-python/pillow[${PYTHON_USEDEP}]"
DEPEND="${CDEPEND}
diff --git a/dev-python/pkgconfig/pkgconfig-1.2.2.ebuild b/dev-python/pkgconfig/pkgconfig-1.2.2.ebuild
index e1dea16fca40..85eb9dcd7059 100644
--- a/dev-python/pkgconfig/pkgconfig-1.2.2.ebuild
+++ b/dev-python/pkgconfig/pkgconfig-1.2.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/pluginbase/pluginbase-0.5.ebuild b/dev-python/pluginbase/pluginbase-0.5.ebuild
index b0e2d403730f..aa79a5454b2c 100644
--- a/dev-python/pluginbase/pluginbase-0.5.ebuild
+++ b/dev-python/pluginbase/pluginbase-0.5.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/plyvel/plyvel-1.0.5.ebuild b/dev-python/plyvel/plyvel-1.0.5.ebuild
index dd452a1903f0..953e10d1c72d 100644
--- a/dev-python/plyvel/plyvel-1.0.5.ebuild
+++ b/dev-python/plyvel/plyvel-1.0.5.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-libs/leveldb-1.20:="
DEPEND="
diff --git a/dev-python/plyvel/plyvel-1.1.0.ebuild b/dev-python/plyvel/plyvel-1.1.0.ebuild
index be42e6254e05..e03758e6af93 100644
--- a/dev-python/plyvel/plyvel-1.1.0.ebuild
+++ b/dev-python/plyvel/plyvel-1.1.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-libs/leveldb-1.20:="
DEPEND="
diff --git a/dev-python/pockets/pockets-0.3.ebuild b/dev-python/pockets/pockets-0.3.ebuild
index c0055b9afa8b..b7a782e7636a 100644
--- a/dev-python/pockets/pockets-0.3.ebuild
+++ b/dev-python/pockets/pockets-0.3.ebuild
@@ -8,6 +8,7 @@ PYTHON_COMPAT=( python2_7 python3_5 )
inherit distutils-r1
IUSE="test"
+RESTRICT="!test? ( test )"
DESCRIPTION="A collection of helpful Python tools"
HOMEPAGE="https://pypi.org/project/pockets/"
diff --git a/dev-python/portend/portend-2.2-r1.ebuild b/dev-python/portend/portend-2.2-r1.ebuild
index 4a54a6290b9e..a54e188f38b2 100644
--- a/dev-python/portend/portend-2.2-r1.ebuild
+++ b/dev-python/portend/portend-2.2-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/tempora-1.8[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/portend/portend-2.2.ebuild b/dev-python/portend/portend-2.2.ebuild
index a5114afeb343..497ec4b43b99 100644
--- a/dev-python/portend/portend-2.2.ebuild
+++ b/dev-python/portend/portend-2.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/tempora-1.8[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/poyo/poyo-0.4.1.ebuild b/dev-python/poyo/poyo-0.4.1.ebuild
index 7a03331445b8..3b22a0b883a5 100644
--- a/dev-python/poyo/poyo-0.4.1.ebuild
+++ b/dev-python/poyo/poyo-0.4.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
diff --git a/dev-python/pretty-yaml/pretty-yaml-15.6.3.ebuild b/dev-python/pretty-yaml/pretty-yaml-15.6.3.ebuild
index 2b2de3d1cb1e..d66683e52bf4 100644
--- a/dev-python/pretty-yaml/pretty-yaml-15.6.3.ebuild
+++ b/dev-python/pretty-yaml/pretty-yaml-15.6.3.ebuild
@@ -16,6 +16,7 @@ LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/pretty-yaml/pretty-yaml-15.8.2.ebuild b/dev-python/pretty-yaml/pretty-yaml-15.8.2.ebuild
index 54e8c905619b..960913e8c75f 100644
--- a/dev-python/pretty-yaml/pretty-yaml-15.8.2.ebuild
+++ b/dev-python/pretty-yaml/pretty-yaml-15.8.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/prettytable/prettytable-0.7.1-r1.ebuild b/dev-python/prettytable/prettytable-0.7.1-r1.ebuild
index ad24e85f0b53..e5413fb68eae 100644
--- a/dev-python/prettytable/prettytable-0.7.1-r1.ebuild
+++ b/dev-python/prettytable/prettytable-0.7.1-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=""
diff --git a/dev-python/prettytable/prettytable-0.7.2-r1.ebuild b/dev-python/prettytable/prettytable-0.7.2-r1.ebuild
index 62331f571e36..9ccf859affe2 100644
--- a/dev-python/prettytable/prettytable-0.7.2-r1.ebuild
+++ b/dev-python/prettytable/prettytable-0.7.2-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=""
diff --git a/dev-python/prettytable/prettytable-0.7.2.ebuild b/dev-python/prettytable/prettytable-0.7.2.ebuild
index c0517b71af25..de41ec354f3f 100644
--- a/dev-python/prettytable/prettytable-0.7.2.ebuild
+++ b/dev-python/prettytable/prettytable-0.7.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=""
diff --git a/dev-python/process-tests/process-tests-1.2.0.ebuild b/dev-python/process-tests/process-tests-1.2.0.ebuild
index 217bd7e723ca..cc6ab95f84db 100644
--- a/dev-python/process-tests/process-tests-1.2.0.ebuild
+++ b/dev-python/process-tests/process-tests-1.2.0.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.4.1.ebuild b/dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.4.1.ebuild
index 2b5858438426..604944022cef 100644
--- a/dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.4.1.ebuild
+++ b/dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.4.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/flask[${PYTHON_USEDEP}]
diff --git a/dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.5.1.ebuild b/dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.5.1.ebuild
index 2b5858438426..604944022cef 100644
--- a/dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.5.1.ebuild
+++ b/dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.5.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/flask[${PYTHON_USEDEP}]
diff --git a/dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.7.2.ebuild b/dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.7.2.ebuild
index 2b5858438426..604944022cef 100644
--- a/dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.7.2.ebuild
+++ b/dev-python/prometheus_flask_exporter/prometheus_flask_exporter-0.7.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/flask[${PYTHON_USEDEP}]
diff --git a/dev-python/prompt_toolkit/prompt_toolkit-1.0.15.ebuild b/dev-python/prompt_toolkit/prompt_toolkit-1.0.15.ebuild
index f4d45262cab0..d28ff26cf2dc 100644
--- a/dev-python/prompt_toolkit/prompt_toolkit-1.0.15.ebuild
+++ b/dev-python/prompt_toolkit/prompt_toolkit-1.0.15.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
diff --git a/dev-python/prompt_toolkit/prompt_toolkit-2.0.6.ebuild b/dev-python/prompt_toolkit/prompt_toolkit-2.0.6.ebuild
index 400a338a0bc2..efb5b1d31d64 100644
--- a/dev-python/prompt_toolkit/prompt_toolkit-2.0.6.ebuild
+++ b/dev-python/prompt_toolkit/prompt_toolkit-2.0.6.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
diff --git a/dev-python/prompt_toolkit/prompt_toolkit-2.0.7.ebuild b/dev-python/prompt_toolkit/prompt_toolkit-2.0.7.ebuild
index 2d0a197c19a7..c32a12c11994 100644
--- a/dev-python/prompt_toolkit/prompt_toolkit-2.0.7.ebuild
+++ b/dev-python/prompt_toolkit/prompt_toolkit-2.0.7.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
diff --git a/dev-python/prov/prov-1.5.1.ebuild b/dev-python/prov/prov-1.5.1.ebuild
index c7e15cf801b2..a792a51cfa75 100644
--- a/dev-python/prov/prov-1.5.1.ebuild
+++ b/dev-python/prov/prov-1.5.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pydot[${PYTHON_USEDEP}]
diff --git a/dev-python/prov/prov-1.5.3.ebuild b/dev-python/prov/prov-1.5.3.ebuild
index c7e15cf801b2..a792a51cfa75 100644
--- a/dev-python/prov/prov-1.5.3.ebuild
+++ b/dev-python/prov/prov-1.5.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pydot[${PYTHON_USEDEP}]
diff --git a/dev-python/pushbullet-py/pushbullet-py-0.10.0.ebuild b/dev-python/pushbullet-py/pushbullet-py-0.10.0.ebuild
index 89a4d60b4fe9..4d369b1e74a1 100644
--- a/dev-python/pushbullet-py/pushbullet-py-0.10.0.ebuild
+++ b/dev-python/pushbullet-py/pushbullet-py-0.10.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/python-magic[${PYTHON_USEDEP}]
diff --git a/dev-python/pushbullet-py/pushbullet-py-0.11.0.ebuild b/dev-python/pushbullet-py/pushbullet-py-0.11.0.ebuild
index 5564761203f8..6b2549833e3b 100644
--- a/dev-python/pushbullet-py/pushbullet-py-0.11.0.ebuild
+++ b/dev-python/pushbullet-py/pushbullet-py-0.11.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/cryptography[${PYTHON_USEDEP}]
diff --git a/dev-python/pxml/pxml-0.2.12.ebuild b/dev-python/pxml/pxml-0.2.12.ebuild
index e737108231a3..0af9dab08744 100644
--- a/dev-python/pxml/pxml-0.2.12.ebuild
+++ b/dev-python/pxml/pxml-0.2.12.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="GPL-3+"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/blessings-1.5[${PYTHON_USEDEP}]
diff --git a/dev-python/py-amqp/py-amqp-2.3.2.ebuild b/dev-python/py-amqp/py-amqp-2.3.2.ebuild
index 804d4c29c1d7..fa7165d1d9d8 100644
--- a/dev-python/py-amqp/py-amqp-2.3.2.ebuild
+++ b/dev-python/py-amqp/py-amqp-2.3.2.ebuild
@@ -20,6 +20,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc extras test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/py-amqp/py-amqp-2.4.2.ebuild b/dev-python/py-amqp/py-amqp-2.4.2.ebuild
index 729b948e4ede..3934387e12a6 100644
--- a/dev-python/py-amqp/py-amqp-2.4.2.ebuild
+++ b/dev-python/py-amqp/py-amqp-2.4.2.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc extras test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/py-notify/py-notify-0.3.1-r1.ebuild b/dev-python/py-notify/py-notify-0.3.1-r1.ebuild
index a0fdbfdcc996..083fa3224273 100644
--- a/dev-python/py-notify/py-notify-0.3.1-r1.ebuild
+++ b/dev-python/py-notify/py-notify-0.3.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
python_test() {
"${PYTHON}" run-tests.py || die "Tests failed"
diff --git a/dev-python/pyamg/pyamg-2.2.1.ebuild b/dev-python/pyamg/pyamg-2.2.1.ebuild
index 92b765a346d5..1ee8327ff82f 100644
--- a/dev-python/pyamg/pyamg-2.2.1.ebuild
+++ b/dev-python/pyamg/pyamg-2.2.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/pyamg/pyamg-3.0.2.ebuild b/dev-python/pyamg/pyamg-3.0.2.ebuild
index 0f6412c015b5..85a2cbc86214 100644
--- a/dev-python/pyamg/pyamg-3.0.2.ebuild
+++ b/dev-python/pyamg/pyamg-3.0.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/pyamg/pyamg-3.2.1-r1.ebuild b/dev-python/pyamg/pyamg-3.2.1-r1.ebuild
index 67fb63a9951b..0b04a1849796 100644
--- a/dev-python/pyamg/pyamg-3.2.1-r1.ebuild
+++ b/dev-python/pyamg/pyamg-3.2.1-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/pyamg/pyamg-3.2.1.ebuild b/dev-python/pyamg/pyamg-3.2.1.ebuild
index 5457fa1b1e9f..fe0aa6117392 100644
--- a/dev-python/pyamg/pyamg-3.2.1.ebuild
+++ b/dev-python/pyamg/pyamg-3.2.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/pyavm/pyavm-0.9.4.ebuild b/dev-python/pyavm/pyavm-0.9.4.ebuild
index ccc6b13fd832..a15732b89312 100644
--- a/dev-python/pyavm/pyavm-0.9.4.ebuild
+++ b/dev-python/pyavm/pyavm-0.9.4.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/astropy[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/pycairo/pycairo-1.16.3-r1.ebuild b/dev-python/pycairo/pycairo-1.16.3-r1.ebuild
index ad2e1c699677..2ea372462f00 100644
--- a/dev-python/pycairo/pycairo-1.16.3-r1.ebuild
+++ b/dev-python/pycairo/pycairo-1.16.3-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=x11-libs/cairo-1.13.1[svg]
diff --git a/dev-python/pycairo/pycairo-1.17.0-r1.ebuild b/dev-python/pycairo/pycairo-1.17.0-r1.ebuild
index c4c1046cb59c..629c40ee9f68 100644
--- a/dev-python/pycairo/pycairo-1.17.0-r1.ebuild
+++ b/dev-python/pycairo/pycairo-1.17.0-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=x11-libs/cairo-1.13.1[svg]
diff --git a/dev-python/pycairo/pycairo-1.18.1.ebuild b/dev-python/pycairo/pycairo-1.18.1.ebuild
index 2fac5963b89b..3d5f803e074e 100644
--- a/dev-python/pycairo/pycairo-1.18.1.ebuild
+++ b/dev-python/pycairo/pycairo-1.18.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=x11-libs/cairo-1.13.1[svg]
diff --git a/dev-python/pychef/pychef-0.2.3.ebuild b/dev-python/pychef/pychef-0.2.3.ebuild
index 81b6e8c8bf81..13c1b4aa8744 100644
--- a/dev-python/pychef/pychef-0.2.3.ebuild
+++ b/dev-python/pychef/pychef-0.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/versiontools[${PYTHON_USEDEP}]
diff --git a/dev-python/pycobertura/pycobertura-0.10.0.ebuild b/dev-python/pycobertura/pycobertura-0.10.0.ebuild
index 67c3245fc8f9..cf658099ffce 100644
--- a/dev-python/pycobertura/pycobertura-0.10.0.ebuild
+++ b/dev-python/pycobertura/pycobertura-0.10.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/click-4.0[${PYTHON_USEDEP}]
diff --git a/dev-python/pycountry/pycountry-16.11.8.ebuild b/dev-python/pycountry/pycountry-16.11.8.ebuild
index 09df75796e9b..02fee902fb05 100644
--- a/dev-python/pycountry/pycountry-16.11.8.ebuild
+++ b/dev-python/pycountry/pycountry-16.11.8.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ia64 ppc ~sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
diff --git a/dev-python/pycountry/pycountry-17.9.23.ebuild b/dev-python/pycountry/pycountry-17.9.23.ebuild
index e712fc01e1d5..7b3da4279cce 100644
--- a/dev-python/pycountry/pycountry-17.9.23.ebuild
+++ b/dev-python/pycountry/pycountry-17.9.23.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
diff --git a/dev-python/pycrypto/pycrypto-2.6.1-r2.ebuild b/dev-python/pycrypto/pycrypto-2.6.1-r2.ebuild
index 586b68ab1c74..4c76b5a66852 100644
--- a/dev-python/pycrypto/pycrypto-2.6.1-r2.ebuild
+++ b/dev-python/pycrypto/pycrypto-2.6.1-r2.ebuild
@@ -17,6 +17,7 @@ LICENSE="PSF-2 public-domain"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris"
IUSE="doc +gmp test"
+RESTRICT="!test? ( test )"
RDEPEND="gmp? ( dev-libs/gmp:0= )"
DEPEND="${RDEPEND}
diff --git a/dev-python/pycurl/pycurl-7.43.0.2.ebuild b/dev-python/pycurl/pycurl-7.43.0.2.ebuild
index 9b0c7f968424..d45df6dae399 100644
--- a/dev-python/pycurl/pycurl-7.43.0.2.ebuild
+++ b/dev-python/pycurl/pycurl-7.43.0.2.ebuild
@@ -19,6 +19,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl examples ssl test"
+RESTRICT="!test? ( test )"
# Depend on a curl with curl_ssl_* USE flags.
# libcurl must not be using an ssl backend we do not support.
diff --git a/dev-python/pycurl/pycurl-7.43.0.3.ebuild b/dev-python/pycurl/pycurl-7.43.0.3.ebuild
index 9b0c7f968424..d45df6dae399 100644
--- a/dev-python/pycurl/pycurl-7.43.0.3.ebuild
+++ b/dev-python/pycurl/pycurl-7.43.0.3.ebuild
@@ -19,6 +19,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl examples ssl test"
+RESTRICT="!test? ( test )"
# Depend on a curl with curl_ssl_* USE flags.
# libcurl must not be using an ssl backend we do not support.
diff --git a/dev-python/pycurl/pycurl-7.43.0.ebuild b/dev-python/pycurl/pycurl-7.43.0.ebuild
index ada6e65f2531..2597f7462b72 100644
--- a/dev-python/pycurl/pycurl-7.43.0.ebuild
+++ b/dev-python/pycurl/pycurl-7.43.0.ebuild
@@ -19,6 +19,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl examples ssl test"
+RESTRICT="!test? ( test )"
# Depend on a curl with curl_ssl_* USE flags.
# libcurl must not be using an ssl backend we do not support.
diff --git a/dev-python/pydl/pydl-0.5.3.ebuild b/dev-python/pydl/pydl-0.5.3.ebuild
index 4155f9f2e79b..8d4d15bffbe5 100644
--- a/dev-python/pydl/pydl-0.5.3.ebuild
+++ b/dev-python/pydl/pydl-0.5.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/pydl/pydl-0.5.4.ebuild b/dev-python/pydl/pydl-0.5.4.ebuild
index 4edd5ff165b0..e70826192771 100644
--- a/dev-python/pydl/pydl-0.5.4.ebuild
+++ b/dev-python/pydl/pydl-0.5.4.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/pydot-ng/pydot-ng-1.0.0.ebuild b/dev-python/pydot-ng/pydot-ng-1.0.0.ebuild
index f75ba5aa971e..43f686a4a12f 100644
--- a/dev-python/pydot-ng/pydot-ng-1.0.0.ebuild
+++ b/dev-python/pydot-ng/pydot-ng-1.0.0.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pyparsing[${PYTHON_USEDEP}]
diff --git a/dev-python/pydot/pydot-1.2.3.ebuild b/dev-python/pydot/pydot-1.2.3.ebuild
index a047cd5e93ed..7d152dced086 100644
--- a/dev-python/pydot/pydot-1.2.3.ebuild
+++ b/dev-python/pydot/pydot-1.2.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh ~sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pyparsing[${PYTHON_USEDEP}]
diff --git a/dev-python/pydot/pydot-1.4.1.ebuild b/dev-python/pydot/pydot-1.4.1.ebuild
index 06730536ca32..a814e4075a50 100644
--- a/dev-python/pydot/pydot-1.4.1.ebuild
+++ b/dev-python/pydot/pydot-1.4.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh ~sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/pyparsing-2.1.4[${PYTHON_USEDEP}]
diff --git a/dev-python/pyee/pyee-1.0.2.ebuild b/dev-python/pyee/pyee-1.0.2.ebuild
index f25af4da8a1d..b19f37752686 100644
--- a/dev-python/pyee/pyee-1.0.2.ebuild
+++ b/dev-python/pyee/pyee-1.0.2.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/pyenchant/pyenchant-1.6.6.ebuild b/dev-python/pyenchant/pyenchant-1.6.6.ebuild
index 37f2c1a53f34..a3cd71d5e50b 100644
--- a/dev-python/pyenchant/pyenchant-1.6.6.ebuild
+++ b/dev-python/pyenchant/pyenchant-1.6.6.ebuild
@@ -15,6 +15,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 arm arm64 hppa ppc ppc64 sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=app-text/enchant-${PV%.*}"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/pyenchant/pyenchant-1.6.8.ebuild b/dev-python/pyenchant/pyenchant-1.6.8.ebuild
index 6a3eb9d22e01..e00cfd9c2cfd 100644
--- a/dev-python/pyenchant/pyenchant-1.6.8.ebuild
+++ b/dev-python/pyenchant/pyenchant-1.6.8.ebuild
@@ -15,6 +15,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=app-text/enchant-${PV%.*}"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/pyenchant/pyenchant-2.0.0.ebuild b/dev-python/pyenchant/pyenchant-2.0.0.ebuild
index c240d14ad07d..c86571f441bd 100644
--- a/dev-python/pyenchant/pyenchant-2.0.0.ebuild
+++ b/dev-python/pyenchant/pyenchant-2.0.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="app-text/enchant"
DEPEND="
diff --git a/dev-python/pyfakefs/pyfakefs-3.5.8.ebuild b/dev-python/pyfakefs/pyfakefs-3.5.8.ebuild
index b96e426c8e2f..1d5836b59bea 100644
--- a/dev-python/pyfakefs/pyfakefs-3.5.8.ebuild
+++ b/dev-python/pyfakefs/pyfakefs-3.5.8.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${COMMON_DEPEND}"
diff --git a/dev-python/pyfits/pyfits-3.3-r1.ebuild b/dev-python/pyfits/pyfits-3.3-r1.ebuild
index c1983f49e433..1c67ac765045 100644
--- a/dev-python/pyfits/pyfits-3.3-r1.ebuild
+++ b/dev-python/pyfits/pyfits-3.3-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/pyfits/pyfits-3.4-r1.ebuild b/dev-python/pyfits/pyfits-3.4-r1.ebuild
index 4c5e515bdf86..2bfee75e72b5 100644
--- a/dev-python/pyfits/pyfits-3.4-r1.ebuild
+++ b/dev-python/pyfits/pyfits-3.4-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/pyformance/pyformance-0.3.4.ebuild b/dev-python/pyformance/pyformance-0.3.4.ebuild
index d0e364219b61..0c351c0fccd7 100644
--- a/dev-python/pyformance/pyformance-0.3.4.ebuild
+++ b/dev-python/pyformance/pyformance-0.3.4.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}]
diff --git a/dev-python/pyformance/pyformance-0.4.ebuild b/dev-python/pyformance/pyformance-0.4.ebuild
index 8b9c0efb03c7..8aa6f2b08058 100644
--- a/dev-python/pyformance/pyformance-0.4.ebuild
+++ b/dev-python/pyformance/pyformance-0.4.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.1.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.1.ebuild
index f17905c6aa59..10d6dfd7fd55 100644
--- a/dev-python/pyftpdlib/pyftpdlib-1.5.1.ebuild
+++ b/dev-python/pyftpdlib/pyftpdlib-1.5.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
IUSE="examples ssl test"
+RESTRICT="!test? ( test )"
RDEPEND="ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}] )"
diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.3.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.3.ebuild
index 8110db6b371a..4ce37c1a29ec 100644
--- a/dev-python/pyftpdlib/pyftpdlib-1.5.3.ebuild
+++ b/dev-python/pyftpdlib/pyftpdlib-1.5.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
IUSE="doc examples ssl test"
+RESTRICT="!test? ( test )"
RDEPEND="
ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.4.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.4.ebuild
index 1b1df6a72372..e1af5de4a849 100644
--- a/dev-python/pyftpdlib/pyftpdlib-1.5.4.ebuild
+++ b/dev-python/pyftpdlib/pyftpdlib-1.5.4.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
IUSE="doc examples ssl test"
+RESTRICT="!test? ( test )"
RDEPEND="
ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
diff --git a/dev-python/pygal/pygal-2.4.0.ebuild b/dev-python/pygal/pygal-2.4.0.ebuild
index 258f6aba6ba5..8b4f29776c23 100644
--- a/dev-python/pygal/pygal-2.4.0.ebuild
+++ b/dev-python/pygal/pygal-2.4.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/lxml[${PYTHON_USEDEP}]
diff --git a/dev-python/pygcrypt/pygcrypt-1.0.0.ebuild b/dev-python/pygcrypt/pygcrypt-1.0.0.ebuild
index 1dfdb7d44672..edae8926b053 100644
--- a/dev-python/pygcrypt/pygcrypt-1.0.0.ebuild
+++ b/dev-python/pygcrypt/pygcrypt-1.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,6 +14,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/libgcrypt:0=
virtual/python-cffi[${PYTHON_USEDEP}]"
diff --git a/dev-python/pyghmi/pyghmi-1.0.22.ebuild b/dev-python/pyghmi/pyghmi-1.0.22.ebuild
index d5c15f36ff94..e1d842cf13d4 100644
--- a/dev-python/pyghmi/pyghmi-1.0.22.ebuild
+++ b/dev-python/pyghmi/pyghmi-1.0.22.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pbr[${PYTHON_USEDEP}]
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]"
diff --git a/dev-python/pygobject/pygobject-2.28.6-r55.ebuild b/dev-python/pygobject/pygobject-2.28.6-r55.ebuild
index dce4de349221..b816713167bf 100644
--- a/dev-python/pygobject/pygobject-2.28.6-r55.ebuild
+++ b/dev-python/pygobject/pygobject-2.28.6-r55.ebuild
@@ -15,6 +15,7 @@ LICENSE="LGPL-2.1+"
SLOT="2"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="examples libffi test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
COMMON_DEPEND=">=dev-libs/glib-2.24.0:2
diff --git a/dev-python/pygobject/pygobject-3.28.3.ebuild b/dev-python/pygobject/pygobject-3.28.3.ebuild
index f3a3c14ee4e7..1c3a17815bd3 100644
--- a/dev-python/pygobject/pygobject-3.28.3.ebuild
+++ b/dev-python/pygobject/pygobject-3.28.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2.1+"
SLOT="3"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="+cairo examples test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
diff --git a/dev-python/pygpu/pygpu-0.6.0.ebuild b/dev-python/pygpu/pygpu-0.6.0.ebuild
index 27009b57fd7e..f83a3b509637 100644
--- a/dev-python/pygpu/pygpu-0.6.0.ebuild
+++ b/dev-python/pygpu/pygpu-0.6.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cuda opencl test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/mako[${PYTHON_USEDEP}]
diff --git a/dev-python/pygpu/pygpu-0.6.7.ebuild b/dev-python/pygpu/pygpu-0.6.7.ebuild
index fa2dfa521669..bc93eb58bb32 100644
--- a/dev-python/pygpu/pygpu-0.6.7.ebuild
+++ b/dev-python/pygpu/pygpu-0.6.7.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cuda opencl test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/mako[${PYTHON_USEDEP}]
diff --git a/dev-python/pygraphviz/pygraphviz-1.3.1.ebuild b/dev-python/pygraphviz/pygraphviz-1.3.1.ebuild
index 71caf123d655..6165f527d23b 100644
--- a/dev-python/pygraphviz/pygraphviz-1.3.1.ebuild
+++ b/dev-python/pygraphviz/pygraphviz-1.3.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ppc x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="examples test"
+RESTRICT="!test? ( test )"
# Note: only C API of graphviz is used, PYTHON_USEDEP unnecessary.
RDEPEND="media-gfx/graphviz"
diff --git a/dev-python/pygraphviz/pygraphviz-1.5.ebuild b/dev-python/pygraphviz/pygraphviz-1.5.ebuild
index eaba99b3a524..fa043febb96e 100644
--- a/dev-python/pygraphviz/pygraphviz-1.5.ebuild
+++ b/dev-python/pygraphviz/pygraphviz-1.5.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 ppc x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="examples test"
+RESTRICT="!test? ( test )"
# Note: only C API of graphviz is used, PYTHON_USEDEP unnecessary.
RDEPEND="media-gfx/graphviz"
diff --git a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild
index 322e1518bad9..b37ea3474c4f 100644
--- a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild
+++ b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild
@@ -15,6 +15,7 @@ LICENSE="LGPL-2.1"
SLOT="2"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
diff --git a/dev-python/pyhcl/pyhcl-0.2.3.ebuild b/dev-python/pyhcl/pyhcl-0.2.3.ebuild
index 88849ebb3071..932781dadcba 100644
--- a/dev-python/pyhcl/pyhcl-0.2.3.ebuild
+++ b/dev-python/pyhcl/pyhcl-0.2.3.ebuild
@@ -15,6 +15,7 @@ LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/ply-3.4[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/pyhcl/pyhcl-0.3.6.ebuild b/dev-python/pyhcl/pyhcl-0.3.6.ebuild
index 88849ebb3071..932781dadcba 100644
--- a/dev-python/pyhcl/pyhcl-0.3.6.ebuild
+++ b/dev-python/pyhcl/pyhcl-0.3.6.ebuild
@@ -15,6 +15,7 @@ LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/ply-3.4[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/pyjwt/pyjwt-1.5.3.ebuild b/dev-python/pyjwt/pyjwt-1.5.3.ebuild
index f33db9856c96..460c50ba6226 100644
--- a/dev-python/pyjwt/pyjwt-1.5.3.ebuild
+++ b/dev-python/pyjwt/pyjwt-1.5.3.ebuild
@@ -17,6 +17,7 @@ LICENSE=" MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/pyjwt/pyjwt-1.7.1.ebuild b/dev-python/pyjwt/pyjwt-1.7.1.ebuild
index ae65e8a6c4c0..fff6cf167527 100644
--- a/dev-python/pyjwt/pyjwt-1.7.1.ebuild
+++ b/dev-python/pyjwt/pyjwt-1.7.1.ebuild
@@ -17,6 +17,7 @@ LICENSE=" MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/pykka/pykka-1.2.1.ebuild b/dev-python/pykka/pykka-1.2.1.ebuild
index f24953fa690b..ff425b35f2d5 100644
--- a/dev-python/pykka/pykka-1.2.1.ebuild
+++ b/dev-python/pykka/pykka-1.2.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )
dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/pykwalify/pykwalify-1.5.2.ebuild b/dev-python/pykwalify/pykwalify-1.5.2.ebuild
index ac753fbea83b..73e2d2dad1b2 100644
--- a/dev-python/pykwalify/pykwalify-1.5.2.ebuild
+++ b/dev-python/pykwalify/pykwalify-1.5.2.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/docopt-0.6.2
diff --git a/dev-python/pykwalify/pykwalify-9999.ebuild b/dev-python/pykwalify/pykwalify-9999.ebuild
index 37c94c83063d..43d6c6d24949 100644
--- a/dev-python/pykwalify/pykwalify-9999.ebuild
+++ b/dev-python/pykwalify/pykwalify-9999.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/docopt-0.6.2[${PYTHON_USEDEP}]
diff --git a/dev-python/pylibmc/pylibmc-1.5.1-r1.ebuild b/dev-python/pylibmc/pylibmc-1.5.1-r1.ebuild
index dc37a7e064ac..7c3faf97d7e7 100644
--- a/dev-python/pylibmc/pylibmc-1.5.1-r1.ebuild
+++ b/dev-python/pylibmc/pylibmc-1.5.1-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-libs/libmemcached-0.32"
# Older sphinx versions fail to compile the doc
diff --git a/dev-python/pylint/pylint-1.8.4.ebuild b/dev-python/pylint/pylint-1.8.4.ebuild
index 8dab159129a6..f2a293bb404e 100644
--- a/dev-python/pylint/pylint-1.8.4.ebuild
+++ b/dev-python/pylint/pylint-1.8.4.ebuild
@@ -18,6 +18,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/astroid-1.6.0[${PYTHON_USEDEP}]
diff --git a/dev-python/pylint/pylint-2.3.1.ebuild b/dev-python/pylint/pylint-2.3.1.ebuild
index 65a198830f23..603b1a3c77aa 100644
--- a/dev-python/pylint/pylint-2.3.1.ebuild
+++ b/dev-python/pylint/pylint-2.3.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/astroid-2.2.0[${PYTHON_USEDEP}]
diff --git a/dev-python/pymediainfo/pymediainfo-4.0.ebuild b/dev-python/pymediainfo/pymediainfo-4.0.ebuild
index 0ab81a022927..f2324113671e 100644
--- a/dev-python/pymediainfo/pymediainfo-4.0.ebuild
+++ b/dev-python/pymediainfo/pymediainfo-4.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/pymediainfo/pymediainfo-4.1.ebuild b/dev-python/pymediainfo/pymediainfo-4.1.ebuild
index 0ab81a022927..f2324113671e 100644
--- a/dev-python/pymediainfo/pymediainfo-4.1.ebuild
+++ b/dev-python/pymediainfo/pymediainfo-4.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/pympler/pympler-0.5.ebuild b/dev-python/pympler/pympler-0.5.ebuild
index e0885e46d739..bbef3e882bc9 100644
--- a/dev-python/pympler/pympler-0.5.ebuild
+++ b/dev-python/pympler/pympler-0.5.ebuild
@@ -20,6 +20,7 @@ SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/bottle[${PYTHON_USEDEP}]"
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
diff --git a/dev-python/pympler/pympler-0.6.ebuild b/dev-python/pympler/pympler-0.6.ebuild
index 03f9d85458ee..a8516170806d 100644
--- a/dev-python/pympler/pympler-0.6.ebuild
+++ b/dev-python/pympler/pympler-0.6.ebuild
@@ -20,6 +20,7 @@ SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/bottle[${PYTHON_USEDEP}]"
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
diff --git a/dev-python/pynacl/pynacl-1.2.1.ebuild b/dev-python/pynacl/pynacl-1.2.1.ebuild
index 1da7e40410e2..e588fbf094d3 100644
--- a/dev-python/pynacl/pynacl-1.2.1.ebuild
+++ b/dev-python/pynacl/pynacl-1.2.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ppc ppc64 s390 sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/pynacl/pynacl-1.3.0.ebuild b/dev-python/pynacl/pynacl-1.3.0.ebuild
index ee7d75dcf928..8e14dfbea888 100644
--- a/dev-python/pynacl/pynacl-1.3.0.ebuild
+++ b/dev-python/pynacl/pynacl-1.3.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/pynag/pynag-0.9.1.ebuild b/dev-python/pynag/pynag-0.9.1.ebuild
index e818a07e3dc7..7c0e001abd1d 100644
--- a/dev-python/pynag/pynag-0.9.1.ebuild
+++ b/dev-python/pynag/pynag-0.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2017 Gentoo Foundation
+# Copyright 2017 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,5 +14,6 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-python/unittest2[${PYTHON_USEDEP}] )"
diff --git a/dev-python/pyoembed/pyoembed-0.1.1.ebuild b/dev-python/pyoembed/pyoembed-0.1.1.ebuild
index 3b6c54f2f8c2..0a74596a4f4d 100644
--- a/dev-python/pyoembed/pyoembed-0.1.1.ebuild
+++ b/dev-python/pyoembed/pyoembed-0.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -22,6 +22,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
diff --git a/dev-python/pyoembed/pyoembed-9999.ebuild b/dev-python/pyoembed/pyoembed-9999.ebuild
index 3b6c54f2f8c2..0a74596a4f4d 100644
--- a/dev-python/pyoembed/pyoembed-9999.ebuild
+++ b/dev-python/pyoembed/pyoembed-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -22,6 +22,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
diff --git a/dev-python/pyparted/pyparted-3.10.7.ebuild b/dev-python/pyparted/pyparted-3.10.7.ebuild
index 5cfaefcae133..edf72c281128 100644
--- a/dev-python/pyparted/pyparted-3.10.7.ebuild
+++ b/dev-python/pyparted/pyparted-3.10.7.ebuild
@@ -14,6 +14,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
test? ( python_targets_python2_7 )
"
diff --git a/dev-python/pyparted/pyparted-3.11.2.ebuild b/dev-python/pyparted/pyparted-3.11.2.ebuild
index 833f00834ec0..50aa313e7226 100644
--- a/dev-python/pyparted/pyparted-3.11.2.ebuild
+++ b/dev-python/pyparted/pyparted-3.11.2.ebuild
@@ -13,6 +13,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
test? ( python_targets_python2_7 )
"
diff --git a/dev-python/pyquery/pyquery-1.2.13-r1.ebuild b/dev-python/pyquery/pyquery-1.2.13-r1.ebuild
index f3d235eb3121..a8df53f6ea21 100644
--- a/dev-python/pyquery/pyquery-1.2.13-r1.ebuild
+++ b/dev-python/pyquery/pyquery-1.2.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/lxml-2.1[${PYTHON_USEDEP}]
diff --git a/dev-python/pyquery/pyquery-1.2.13.ebuild b/dev-python/pyquery/pyquery-1.2.13.ebuild
index 147b66895907..e47148170088 100644
--- a/dev-python/pyquery/pyquery-1.2.13.ebuild
+++ b/dev-python/pyquery/pyquery-1.2.13.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc64 s390 ~sh sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/lxml-2.1[${PYTHON_USEDEP}]
diff --git a/dev-python/pyquery/pyquery-1.4.0.ebuild b/dev-python/pyquery/pyquery-1.4.0.ebuild
index 47e5f4649ae9..04033cdd51a9 100644
--- a/dev-python/pyquery/pyquery-1.4.0.ebuild
+++ b/dev-python/pyquery/pyquery-1.4.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc64 s390 ~sh sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/lxml-2.1[${PYTHON_USEDEP}]
diff --git a/dev-python/pyrax/pyrax-1.9.7.ebuild b/dev-python/pyrax/pyrax-1.9.7.ebuild
index 364b110b6959..3e870a1e7e98 100644
--- a/dev-python/pyrax/pyrax-1.9.7.ebuild
+++ b/dev-python/pyrax/pyrax-1.9.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
CDEPEND="
dev-python/keyring[${PYTHON_USEDEP}]
diff --git a/dev-python/pyregion/pyregion-1.2.ebuild b/dev-python/pyregion/pyregion-1.2.ebuild
index 1dddc88354d8..d7973d321cd8 100644
--- a/dev-python/pyregion/pyregion-1.2.ebuild
+++ b/dev-python/pyregion/pyregion-1.2.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="MIT"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/pyrfc3339/pyrfc3339-1.0.ebuild b/dev-python/pyrfc3339/pyrfc3339-1.0.ebuild
index 791994860ba3..d29ff3a820e3 100644
--- a/dev-python/pyrfc3339/pyrfc3339-1.0.ebuild
+++ b/dev-python/pyrfc3339/pyrfc3339-1.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]"
DEPEND="test? ( ${RDEPEND}
diff --git a/dev-python/pyrfc3339/pyrfc3339-1.1.ebuild b/dev-python/pyrfc3339/pyrfc3339-1.1.ebuild
index 993518840760..115153b6cbbb 100644
--- a/dev-python/pyrfc3339/pyrfc3339-1.1.ebuild
+++ b/dev-python/pyrfc3339/pyrfc3339-1.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]"
DEPEND="test? ( ${RDEPEND}
diff --git a/dev-python/pyro/pyro-4.41.ebuild b/dev-python/pyro/pyro-4.41.ebuild
index 663c361e21d2..6b4ee7831ab4 100644
--- a/dev-python/pyro/pyro-4.41.ebuild
+++ b/dev-python/pyro/pyro-4.41.ebuild
@@ -19,6 +19,7 @@ LICENSE="MIT"
SLOT="4"
KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
!dev-python/pyro:0
diff --git a/dev-python/pyro/pyro-4.56.ebuild b/dev-python/pyro/pyro-4.56.ebuild
index bd7f0075e168..ed08f8770641 100644
--- a/dev-python/pyro/pyro-4.56.ebuild
+++ b/dev-python/pyro/pyro-4.56.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="4"
KEYWORDS="amd64 ~arm64 ppc x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
!dev-python/pyro:0
diff --git a/dev-python/pyrqlite/pyrqlite-2.0.ebuild b/dev-python/pyrqlite/pyrqlite-2.0.ebuild
index 2415bd2ca11c..2e76d738d2c8 100644
--- a/dev-python/pyrqlite/pyrqlite-2.0.ebuild
+++ b/dev-python/pyrqlite/pyrqlite-2.0.ebuild
@@ -19,6 +19,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
diff --git a/dev-python/pyrqlite/pyrqlite-9999.ebuild b/dev-python/pyrqlite/pyrqlite-9999.ebuild
index 6cd8821a5d3c..10dad0faa6f3 100644
--- a/dev-python/pyrqlite/pyrqlite-9999.ebuild
+++ b/dev-python/pyrqlite/pyrqlite-9999.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
diff --git a/dev-python/pyscaffold/pyscaffold-2.4.4.ebuild b/dev-python/pyscaffold/pyscaffold-2.4.4.ebuild
index 203a183d07fd..7c52e325bf8d 100644
--- a/dev-python/pyscaffold/pyscaffold-2.4.4.ebuild
+++ b/dev-python/pyscaffold/pyscaffold-2.4.4.ebuild
@@ -18,6 +18,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/pyshark/pyshark-0.3.7.2-r1.ebuild b/dev-python/pyshark/pyshark-0.3.7.2-r1.ebuild
index 761cfea65af2..2eb2fe6fc11b 100644
--- a/dev-python/pyshark/pyshark-0.3.7.2-r1.ebuild
+++ b/dev-python/pyshark/pyshark-0.3.7.2-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
# See pyshark.egg-info/requires.txt
RDEPEND="
diff --git a/dev-python/pyshark/pyshark-0.4.2.3.ebuild b/dev-python/pyshark/pyshark-0.4.2.3.ebuild
index 5e6234567d6c..a08edb82c674 100644
--- a/dev-python/pyshark/pyshark-0.4.2.3.ebuild
+++ b/dev-python/pyshark/pyshark-0.4.2.3.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
# See pyshark.egg-info/requires.txt
RDEPEND="
diff --git a/dev-python/pyspf/pyspf-2.0.12.ebuild b/dev-python/pyspf/pyspf-2.0.12.ebuild
index b2e0e22303f1..845adc1e79e6 100644
--- a/dev-python/pyspf/pyspf-2.0.12.ebuild
+++ b/dev-python/pyspf/pyspf-2.0.12.ebuild
@@ -15,6 +15,7 @@ LICENSE="PSF-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="ipv6 test"
+RESTRICT="!test? ( test )"
# >=python-3.3 comes with the built-in ipaddress module
RDEPEND="dev-python/authres[${PYTHON_USEDEP}]
diff --git a/dev-python/pysrt/pysrt-1.1.1-r1.ebuild b/dev-python/pysrt/pysrt-1.1.1-r1.ebuild
index d0c3e8487d25..ccdb27d86e71 100644
--- a/dev-python/pysrt/pysrt-1.1.1-r1.ebuild
+++ b/dev-python/pysrt/pysrt-1.1.1-r1.ebuild
@@ -20,6 +20,7 @@ fi
LICENSE="GPL-3+"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/pysrt/pysrt-1.1.1.ebuild b/dev-python/pysrt/pysrt-1.1.1.ebuild
index b726bb8aa87d..55c76a4fe685 100644
--- a/dev-python/pysrt/pysrt-1.1.1.ebuild
+++ b/dev-python/pysrt/pysrt-1.1.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/pysrt/pysrt-9999.ebuild b/dev-python/pysrt/pysrt-9999.ebuild
index d0c3e8487d25..ccdb27d86e71 100644
--- a/dev-python/pysrt/pysrt-9999.ebuild
+++ b/dev-python/pysrt/pysrt-9999.ebuild
@@ -20,6 +20,7 @@ fi
LICENSE="GPL-3+"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/pystache/pystache-0.5.4.ebuild b/dev-python/pystache/pystache-0.5.4.ebuild
index d9c956b08ff6..e99fa0b8ea97 100644
--- a/dev-python/pystache/pystache-0.5.4.ebuild
+++ b/dev-python/pystache/pystache-0.5.4.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/pytables/pytables-3.4.4.ebuild b/dev-python/pytables/pytables-3.4.4.ebuild
index 1ab4fea44a60..6fe874de62ae 100644
--- a/dev-python/pytables/pytables-3.4.4.ebuild
+++ b/dev-python/pytables/pytables-3.4.4.ebuild
@@ -19,6 +19,7 @@ SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
app-arch/bzip2:0=
diff --git a/dev-python/pyte/pyte-0.5.2-r2.ebuild b/dev-python/pyte/pyte-0.5.2-r2.ebuild
index 4f8a8b012f02..47eff703bfce 100644
--- a/dev-python/pyte/pyte-0.5.2-r2.ebuild
+++ b/dev-python/pyte/pyte-0.5.2-r2.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="LGPL-3"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/wcwidth[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/pyte/pyte-0.8.0-r1.ebuild b/dev-python/pyte/pyte-0.8.0-r1.ebuild
index 5abf1ea7afa6..637664f315ee 100644
--- a/dev-python/pyte/pyte-0.8.0-r1.ebuild
+++ b/dev-python/pyte/pyte-0.8.0-r1.ebuild
@@ -17,6 +17,7 @@ SLOT="0"
LICENSE="LGPL-3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/wcwidth[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/pytest-catchlog/pytest-catchlog-1.2.2.ebuild b/dev-python/pytest-catchlog/pytest-catchlog-1.2.2.ebuild
index dff5651809be..a09d764a1f84 100644
--- a/dev-python/pytest-catchlog/pytest-catchlog-1.2.2.ebuild
+++ b/dev-python/pytest-catchlog/pytest-catchlog-1.2.2.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND=">=dev-python/py-1.1.1[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
index 14976f71122d..314b91f54867 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 sparc x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/py-1.4.22[${PYTHON_USEDEP}]
diff --git a/dev-python/pytest-cov/pytest-cov-2.6.1.ebuild b/dev-python/pytest-cov/pytest-cov-2.6.1.ebuild
index 561079a4ff46..7eee71a66189 100644
--- a/dev-python/pytest-cov/pytest-cov-2.6.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.6.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/py-1.4.22[${PYTHON_USEDEP}]
diff --git a/dev-python/pytest-datafiles/pytest-datafiles-2.0.ebuild b/dev-python/pytest-datafiles/pytest-datafiles-2.0.ebuild
index cea7ea4d7031..20f0b2542b7d 100644
--- a/dev-python/pytest-datafiles/pytest-datafiles-2.0.ebuild
+++ b/dev-python/pytest-datafiles/pytest-datafiles-2.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/pytest-flakes/pytest-flakes-4.0.0.ebuild b/dev-python/pytest-flakes/pytest-flakes-4.0.0.ebuild
index adbbf8912f9a..3acf89ce4257 100644
--- a/dev-python/pytest-flakes/pytest-flakes-4.0.0.ebuild
+++ b/dev-python/pytest-flakes/pytest-flakes-4.0.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]"
diff --git a/dev-python/pytest-localserver/pytest-localserver-0.3.7.ebuild b/dev-python/pytest-localserver/pytest-localserver-0.3.7.ebuild
index 8ee1e2de01fc..d910ab0320fc 100644
--- a/dev-python/pytest-localserver/pytest-localserver-0.3.7.ebuild
+++ b/dev-python/pytest-localserver/pytest-localserver-0.3.7.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/werkzeug-0.10[${PYTHON_USEDEP}]"
DEPEND="test? ( ${RDEPEND}
diff --git a/dev-python/pytest-pylint/pytest-pylint-0.14.1.ebuild b/dev-python/pytest-pylint/pytest-pylint-0.14.1.ebuild
index 4e165ea01922..d6b1b1a0dca3 100644
--- a/dev-python/pytest-pylint/pytest-pylint-0.14.1.ebuild
+++ b/dev-python/pytest-pylint/pytest-pylint-0.14.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
diff --git a/dev-python/pytest-pylint/pytest-pylint-0.7.1.ebuild b/dev-python/pytest-pylint/pytest-pylint-0.7.1.ebuild
index af94d60d1cb8..69d21c81b464 100644
--- a/dev-python/pytest-pylint/pytest-pylint-0.7.1.ebuild
+++ b/dev-python/pytest-pylint/pytest-pylint-0.7.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
diff --git a/dev-python/pytest-runner/pytest-runner-2.11.1.ebuild b/dev-python/pytest-runner/pytest-runner-2.11.1.ebuild
index 2308e3e9a79a..746367bac74c 100644
--- a/dev-python/pytest-runner/pytest-runner-2.11.1.ebuild
+++ b/dev-python/pytest-runner/pytest-runner-2.11.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild b/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild
index 32cb651eba5f..90aae11c1a84 100644
--- a/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild
+++ b/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/pytest-testmon/pytest-testmon-0.9.15.ebuild b/dev-python/pytest-testmon/pytest-testmon-0.9.15.ebuild
index 4174bff0067b..9b55f300ceea 100644
--- a/dev-python/pytest-testmon/pytest-testmon-0.9.15.ebuild
+++ b/dev-python/pytest-testmon/pytest-testmon-0.9.15.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]"
diff --git a/dev-python/python-afl/python-afl-0.6.1.ebuild b/dev-python/python-afl/python-afl-0.6.1.ebuild
index 4ce5f9fddf67..2298e1450cda 100644
--- a/dev-python/python-afl/python-afl-0.6.1.ebuild
+++ b/dev-python/python-afl/python-afl-0.6.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="app-forensics/afl"
DEPEND=">=dev-python/cython-0.19[${PYTHON_USEDEP}]
diff --git a/dev-python/python-afl/python-afl-0.7.1.ebuild b/dev-python/python-afl/python-afl-0.7.1.ebuild
index 4ce5f9fddf67..2298e1450cda 100644
--- a/dev-python/python-afl/python-afl-0.7.1.ebuild
+++ b/dev-python/python-afl/python-afl-0.7.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="app-forensics/afl"
DEPEND=">=dev-python/cython-0.19[${PYTHON_USEDEP}]
diff --git a/dev-python/python-bugzilla/python-bugzilla-2.1.0.ebuild b/dev-python/python-bugzilla/python-bugzilla-2.1.0.ebuild
index 912c341ab018..ab05a46e0e7f 100644
--- a/dev-python/python-bugzilla/python-bugzilla-2.1.0.ebuild
+++ b/dev-python/python-bugzilla/python-bugzilla-2.1.0.ebuild
@@ -13,6 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
LICENSE="GPL-2+"
SLOT="0"
diff --git a/dev-python/python-daemon/python-daemon-1.6-r1.ebuild b/dev-python/python-daemon/python-daemon-1.6-r1.ebuild
index ab45831357e3..a5ea5015d0e5 100644
--- a/dev-python/python-daemon/python-daemon-1.6-r1.ebuild
+++ b/dev-python/python-daemon/python-daemon-1.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ LICENSE="PSF-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/lockfile-0.9[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/python-daemon/python-daemon-2.1.1.ebuild b/dev-python/python-daemon/python-daemon-2.1.1.ebuild
index 6fe25a4b2bab..652178c26af0 100644
--- a/dev-python/python-daemon/python-daemon-2.1.1.ebuild
+++ b/dev-python/python-daemon/python-daemon-2.1.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/lockfile-0.9[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/python-dateutil/python-dateutil-2.7.1.ebuild b/dev-python/python-dateutil/python-dateutil-2.7.1.ebuild
index d3c2e12925e7..92741e351bb8 100644
--- a/dev-python/python-dateutil/python-dateutil-2.7.1.ebuild
+++ b/dev-python/python-dateutil/python-dateutil-2.7.1.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.5[${PYTHON_USEDEP}]
diff --git a/dev-python/python-dateutil/python-dateutil-2.7.2-r1.ebuild b/dev-python/python-dateutil/python-dateutil-2.7.2-r1.ebuild
index 622a31889071..37827fa357b2 100644
--- a/dev-python/python-dateutil/python-dateutil-2.7.2-r1.ebuild
+++ b/dev-python/python-dateutil/python-dateutil-2.7.2-r1.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.5[${PYTHON_USEDEP}]
diff --git a/dev-python/python-dateutil/python-dateutil-2.7.2.ebuild b/dev-python/python-dateutil/python-dateutil-2.7.2.ebuild
index d3c2e12925e7..92741e351bb8 100644
--- a/dev-python/python-dateutil/python-dateutil-2.7.2.ebuild
+++ b/dev-python/python-dateutil/python-dateutil-2.7.2.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.5[${PYTHON_USEDEP}]
diff --git a/dev-python/python-dateutil/python-dateutil-2.7.3.ebuild b/dev-python/python-dateutil/python-dateutil-2.7.3.ebuild
index ba162a6c3851..7453572a2ce9 100644
--- a/dev-python/python-dateutil/python-dateutil-2.7.3.ebuild
+++ b/dev-python/python-dateutil/python-dateutil-2.7.3.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.5[${PYTHON_USEDEP}]
diff --git a/dev-python/python-dateutil/python-dateutil-2.7.4.ebuild b/dev-python/python-dateutil/python-dateutil-2.7.4.ebuild
index 4ce8e0be7d4e..1b253f58b9f0 100644
--- a/dev-python/python-dateutil/python-dateutil-2.7.4.ebuild
+++ b/dev-python/python-dateutil/python-dateutil-2.7.4.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.5[${PYTHON_USEDEP}]
diff --git a/dev-python/python-dateutil/python-dateutil-2.7.5.ebuild b/dev-python/python-dateutil/python-dateutil-2.7.5.ebuild
index 4ce8e0be7d4e..1b253f58b9f0 100644
--- a/dev-python/python-dateutil/python-dateutil-2.7.5.ebuild
+++ b/dev-python/python-dateutil/python-dateutil-2.7.5.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.5[${PYTHON_USEDEP}]
diff --git a/dev-python/python-dateutil/python-dateutil-2.8.0.ebuild b/dev-python/python-dateutil/python-dateutil-2.8.0.ebuild
index 85cbca5c74f6..77611b296b39 100644
--- a/dev-python/python-dateutil/python-dateutil-2.8.0.ebuild
+++ b/dev-python/python-dateutil/python-dateutil-2.8.0.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.5[${PYTHON_USEDEP}]
diff --git a/dev-python/python-digest/python-digest-1.7-r1.ebuild b/dev-python/python-digest/python-digest-1.7-r1.ebuild
index 00d7359225a0..d5d48380fd2b 100644
--- a/dev-python/python-digest/python-digest-1.7-r1.ebuild
+++ b/dev-python/python-digest/python-digest-1.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -11,6 +11,7 @@ HOMEPAGE="https://pypi.org/project/python-digest/ https://bitbucket.org/akoha/py
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DISTUTILS_IN_SOURCE_BUILD=1
LICENSE="BSD"
diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild
index 599aa3fe2e11..0cf77cb9873f 100644
--- a/dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild
+++ b/dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild
index f870cfc550a7..532623b92a62 100644
--- a/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild
+++ b/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
diff --git a/dev-python/python-etcd/python-etcd-0.4.5-r1.ebuild b/dev-python/python-etcd/python-etcd-0.4.5-r1.ebuild
index 31aa61ab47fa..82174597f8e9 100644
--- a/dev-python/python-etcd/python-etcd-0.4.5-r1.ebuild
+++ b/dev-python/python-etcd/python-etcd-0.4.5-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/dnspython[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
diff --git a/dev-python/python-fastimport/python-fastimport-0.9.2-r1.ebuild b/dev-python/python-fastimport/python-fastimport-0.9.2-r1.ebuild
index b490c3a40783..bbff297ec58d 100644
--- a/dev-python/python-fastimport/python-fastimport-0.9.2-r1.ebuild
+++ b/dev-python/python-fastimport/python-fastimport-0.9.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/python-fastimport/python-fastimport-0.9.6.ebuild b/dev-python/python-fastimport/python-fastimport-0.9.6.ebuild
index 6621e6e7c586..17053b741e12 100644
--- a/dev-python/python-fastimport/python-fastimport-0.9.6.ebuild
+++ b/dev-python/python-fastimport/python-fastimport-0.9.6.ebuild
@@ -17,6 +17,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/python-fastimport/python-fastimport-0.9.8.ebuild b/dev-python/python-fastimport/python-fastimport-0.9.8.ebuild
index da87fbdbbc0d..fa56f0c35f0a 100644
--- a/dev-python/python-fastimport/python-fastimport-0.9.8.ebuild
+++ b/dev-python/python-fastimport/python-fastimport-0.9.8.ebuild
@@ -17,6 +17,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/python-gammu/python-gammu-2.11.ebuild b/dev-python/python-gammu/python-gammu-2.11.ebuild
index c681534281fa..d9fffc345eb7 100644
--- a/dev-python/python-gammu/python-gammu-2.11.ebuild
+++ b/dev-python/python-gammu/python-gammu-2.11.ebuild
@@ -14,6 +14,7 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=app-mobilephone/gammu-1.34.0"
DEPEND="${RDEPEND}
diff --git a/dev-python/python-glanceclient/python-glanceclient-2.13.1.ebuild b/dev-python/python-glanceclient/python-glanceclient-2.13.1.ebuild
index 1b8c2685a8bd..a74f2f029072 100644
--- a/dev-python/python-glanceclient/python-glanceclient-2.13.1.ebuild
+++ b/dev-python/python-glanceclient/python-glanceclient-2.13.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( doc )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
diff --git a/dev-python/python-glanceclient/python-glanceclient-2.16.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-2.16.0.ebuild
index 8c0dda871d11..b4327bb76bde 100644
--- a/dev-python/python-glanceclient/python-glanceclient-2.16.0.ebuild
+++ b/dev-python/python-glanceclient/python-glanceclient-2.16.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0"
diff --git a/dev-python/python-heatclient/python-heatclient-1.16.2.ebuild b/dev-python/python-heatclient/python-heatclient-1.16.2.ebuild
index 275a9a5320de..ca6084da9933 100644
--- a/dev-python/python-heatclient/python-heatclient-1.16.2.ebuild
+++ b/dev-python/python-heatclient/python-heatclient-1.16.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/python-heatclient/python-heatclient-1.17.0.ebuild b/dev-python/python-heatclient/python-heatclient-1.17.0.ebuild
index a1e520b4d915..8fbca8919e8c 100644
--- a/dev-python/python-heatclient/python-heatclient-1.17.0.ebuild
+++ b/dev-python/python-heatclient/python-heatclient-1.17.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/python-ironicclient/python-ironicclient-1.17.0.ebuild b/dev-python/python-ironicclient/python-ironicclient-1.17.0.ebuild
index a4871c43ffd0..acc37b62ff69 100644
--- a/dev-python/python-ironicclient/python-ironicclient-1.17.0.ebuild
+++ b/dev-python/python-ironicclient/python-ironicclient-1.17.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
diff --git a/dev-python/python-ironicclient/python-ironicclient-2.2.1.ebuild b/dev-python/python-ironicclient/python-ironicclient-2.2.1.ebuild
index 1765b56df128..7aca05744d5b 100644
--- a/dev-python/python-ironicclient/python-ironicclient-2.2.1.ebuild
+++ b/dev-python/python-ironicclient/python-ironicclient-2.2.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
diff --git a/dev-python/python-ironicclient/python-ironicclient-2.7.1.ebuild b/dev-python/python-ironicclient/python-ironicclient-2.7.1.ebuild
index 580c14e0457a..d8c21c3cfdb4 100644
--- a/dev-python/python-ironicclient/python-ironicclient-2.7.1.ebuild
+++ b/dev-python/python-ironicclient/python-ironicclient-2.7.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
diff --git a/dev-python/python-ironicclient/python-ironicclient-2.7.2.ebuild b/dev-python/python-ironicclient/python-ironicclient-2.7.2.ebuild
index 580c14e0457a..d8c21c3cfdb4 100644
--- a/dev-python/python-ironicclient/python-ironicclient-2.7.2.ebuild
+++ b/dev-python/python-ironicclient/python-ironicclient-2.7.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
diff --git a/dev-python/python-ldap/python-ldap-3.1.0-r1.ebuild b/dev-python/python-ldap/python-ldap-3.1.0-r1.ebuild
index 3a795cea5dab..e3f987032f38 100644
--- a/dev-python/python-ldap/python-ldap-3.1.0-r1.ebuild
+++ b/dev-python/python-ldap/python-ldap-3.1.0-r1.ebuild
@@ -20,6 +20,7 @@ fi
LICENSE="PSF-2"
SLOT="0"
IUSE="doc examples sasl ssl test"
+RESTRICT="!test? ( test )"
# We do not need OpenSSL, it is never directly used:
# https://github.com/python-ldap/python-ldap/issues/224
diff --git a/dev-python/python-ldap/python-ldap-9999.ebuild b/dev-python/python-ldap/python-ldap-9999.ebuild
index 942fe968c6ea..6b3d8ed6b43b 100644
--- a/dev-python/python-ldap/python-ldap-9999.ebuild
+++ b/dev-python/python-ldap/python-ldap-9999.ebuild
@@ -21,6 +21,7 @@ fi
LICENSE="PSF-2"
SLOT="0"
IUSE="doc examples sasl ssl test"
+RESTRICT="!test? ( test )"
# We do not need OpenSSL, it is never directly used:
# https://github.com/python-ldap/python-ldap/issues/224
diff --git a/dev-python/python-lzo/python-lzo-1.11.ebuild b/dev-python/python-lzo/python-lzo-1.11.ebuild
index c0d5ae3b4a7b..b7cc40dd10e9 100644
--- a/dev-python/python-lzo/python-lzo-1.11.ebuild
+++ b/dev-python/python-lzo/python-lzo-1.11.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/lzo:2"
DEPEND="${RDEPEND}
diff --git a/dev-python/python-lzo/python-lzo-1.12-r1.ebuild b/dev-python/python-lzo/python-lzo-1.12-r1.ebuild
index 4da9abd075e7..839499710bda 100644
--- a/dev-python/python-lzo/python-lzo-1.12-r1.ebuild
+++ b/dev-python/python-lzo/python-lzo-1.12-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/lzo:2"
diff --git a/dev-python/python-lzo/python-lzo-1.12.ebuild b/dev-python/python-lzo/python-lzo-1.12.ebuild
index e9131cd70d45..073715623bb4 100644
--- a/dev-python/python-lzo/python-lzo-1.12.ebuild
+++ b/dev-python/python-lzo/python-lzo-1.12.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/lzo:2"
diff --git a/dev-python/python-magic/python-magic-0.4.15-r1.ebuild b/dev-python/python-magic/python-magic-0.4.15-r1.ebuild
index 3952794c7958..5bdd8c4f02e1 100644
--- a/dev-python/python-magic/python-magic-0.4.15-r1.ebuild
+++ b/dev-python/python-magic/python-magic-0.4.15-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ia64 ~x86 ~amd64-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="sys-apps/file[-python]"
BDEPEND="
diff --git a/dev-python/python-mpd/python-mpd-0.5.5.ebuild b/dev-python/python-mpd/python-mpd-0.5.5.ebuild
index e97fcd039b01..e07d5ff3dc60 100644
--- a/dev-python/python-mpd/python-mpd-0.5.5.ebuild
+++ b/dev-python/python-mpd/python-mpd-0.5.5.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-3"
KEYWORDS="amd64 ~ppc ~ppc64 x86"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )
dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild b/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild
index 0a6996ca9ef8..dd950ff29ec5 100644
--- a/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild
+++ b/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD-2 ISC"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_PN}-${PV}"
diff --git a/dev-python/python-neutronclient/python-neutronclient-6.12.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-6.12.0.ebuild
index e5c439a68a15..7d22558a6124 100644
--- a/dev-python/python-neutronclient/python-neutronclient-6.12.0.ebuild
+++ b/dev-python/python-neutronclient/python-neutronclient-6.12.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0"
diff --git a/dev-python/python-neutronclient/python-neutronclient-6.9.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-6.9.0.ebuild
index 47b674027b38..69e0d901dfb7 100644
--- a/dev-python/python-neutronclient/python-neutronclient-6.9.0.ebuild
+++ b/dev-python/python-neutronclient/python-neutronclient-6.9.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( doc )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
diff --git a/dev-python/python-redmine/python-redmine-2.0.2.ebuild b/dev-python/python-redmine/python-redmine-2.0.2.ebuild
index 831ec7d5c52b..04f68b9d4b7a 100644
--- a/dev-python/python-redmine/python-redmine-2.0.2.ebuild
+++ b/dev-python/python-redmine/python-redmine-2.0.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
diff --git a/dev-python/python-saharaclient/python-saharaclient-2.2.1.ebuild b/dev-python/python-saharaclient/python-saharaclient-2.2.1.ebuild
index 6b8d67117b5d..ddfc3a9f41b8 100644
--- a/dev-python/python-saharaclient/python-saharaclient-2.2.1.ebuild
+++ b/dev-python/python-saharaclient/python-saharaclient-2.2.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/python-sqlparse/python-sqlparse-0.2.3.ebuild b/dev-python/python-sqlparse/python-sqlparse-0.2.3.ebuild
index 3920837f0161..200f8f09164a 100644
--- a/dev-python/python-sqlparse/python-sqlparse-0.2.3.ebuild
+++ b/dev-python/python-sqlparse/python-sqlparse-0.2.3.ebuild
@@ -18,6 +18,7 @@ SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
LICENSE="BSD-2"
IUSE="doc test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
diff --git a/dev-python/python-sqlparse/python-sqlparse-0.2.4.ebuild b/dev-python/python-sqlparse/python-sqlparse-0.2.4.ebuild
index ca3f6ecf6a22..c80e76ba6a54 100644
--- a/dev-python/python-sqlparse/python-sqlparse-0.2.4.ebuild
+++ b/dev-python/python-sqlparse/python-sqlparse-0.2.4.ebuild
@@ -18,6 +18,7 @@ SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
LICENSE="BSD-2"
IUSE="doc test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
diff --git a/dev-python/python-sqlparse/python-sqlparse-0.3.0.ebuild b/dev-python/python-sqlparse/python-sqlparse-0.3.0.ebuild
index eca64775215c..c838e4174db6 100644
--- a/dev-python/python-sqlparse/python-sqlparse-0.3.0.ebuild
+++ b/dev-python/python-sqlparse/python-sqlparse-0.3.0.ebuild
@@ -18,6 +18,7 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD-2"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/python-swiftclient/python-swiftclient-3.7.0.ebuild b/dev-python/python-swiftclient/python-swiftclient-3.7.0.ebuild
index bff140f95608..8f417eead1e2 100644
--- a/dev-python/python-swiftclient/python-swiftclient-3.7.0.ebuild
+++ b/dev-python/python-swiftclient/python-swiftclient-3.7.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/pbr[${PYTHON_USEDEP}]
diff --git a/dev-python/python-systemd/python-systemd-233.ebuild b/dev-python/python-systemd/python-systemd-233.ebuild
index 3033c400befb..42fb78362679 100644
--- a/dev-python/python-systemd/python-systemd-233.ebuild
+++ b/dev-python/python-systemd/python-systemd-233.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm ppc ppc64 sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="
sys-apps/systemd:0=
diff --git a/dev-python/python-troveclient/python-troveclient-1.3.0.ebuild b/dev-python/python-troveclient/python-troveclient-1.3.0.ebuild
index 6f756660db26..b1f084ec9275 100644
--- a/dev-python/python-troveclient/python-troveclient-1.3.0.ebuild
+++ b/dev-python/python-troveclient/python-troveclient-1.3.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]
<dev-python/pbr-2.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/python-troveclient/python-troveclient-2.17.0.ebuild b/dev-python/python-troveclient/python-troveclient-2.17.0.ebuild
index 5f06554da565..2802dab16329 100644
--- a/dev-python/python-troveclient/python-troveclient-2.17.0.ebuild
+++ b/dev-python/python-troveclient/python-troveclient-2.17.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/python-troveclient/python-troveclient-2.5.0.ebuild b/dev-python/python-troveclient/python-troveclient-2.5.0.ebuild
index d05497238be2..1f872f63ea65 100644
--- a/dev-python/python-troveclient/python-troveclient-2.5.0.ebuild
+++ b/dev-python/python-troveclient/python-troveclient-2.5.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/python-twitter/python-twitter-3.4.2.ebuild b/dev-python/python-twitter/python-twitter-3.4.2.ebuild
index 4ff9c2b81f86..da36830fd41e 100644
--- a/dev-python/python-twitter/python-twitter-3.4.2.ebuild
+++ b/dev-python/python-twitter/python-twitter-3.4.2.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-macos"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
# https://bugs.gentoo.org/624916
RDEPEND="
diff --git a/dev-python/python-urljr/python-urljr-1.0.1-r1.ebuild b/dev-python/python-urljr/python-urljr-1.0.1-r1.ebuild
index 65ba00ef80e3..2451a5c0f226 100644
--- a/dev-python/python-urljr/python-urljr-1.0.1-r1.ebuild
+++ b/dev-python/python-urljr/python-urljr-1.0.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="curl test"
+RESTRICT="!test? ( test )"
RDEPEND="curl? ( >=dev-python/pycurl-7.15.1[${PYTHON_USEDEP}] )"
DEPEND=""
diff --git a/dev-python/pytidylib/pytidylib-0.2.4.ebuild b/dev-python/pytidylib/pytidylib-0.2.4.ebuild
index 89230169237f..f353923ffe99 100644
--- a/dev-python/pytidylib/pytidylib-0.2.4.ebuild
+++ b/dev-python/pytidylib/pytidylib-0.2.4.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="app-text/htmltidy"
DEPEND="${RDEPEND}
diff --git a/dev-python/pytidylib/pytidylib-0.3.2.ebuild b/dev-python/pytidylib/pytidylib-0.3.2.ebuild
index f9f102feed23..9bfe08e55fa1 100644
--- a/dev-python/pytidylib/pytidylib-0.3.2.ebuild
+++ b/dev-python/pytidylib/pytidylib-0.3.2.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="app-text/htmltidy
dev-python/setuptools"
diff --git a/dev-python/pytoml/pytoml-0.1.14.ebuild b/dev-python/pytoml/pytoml-0.1.14.ebuild
index 738cf0b1eb84..b5ed300fec3d 100644
--- a/dev-python/pytoml/pytoml-0.1.14.ebuild
+++ b/dev-python/pytoml/pytoml-0.1.14.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/pytoml/pytoml-0.1.18.ebuild b/dev-python/pytoml/pytoml-0.1.18.ebuild
index 738cf0b1eb84..b5ed300fec3d 100644
--- a/dev-python/pytoml/pytoml-0.1.18.ebuild
+++ b/dev-python/pytoml/pytoml-0.1.18.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/pytoml/pytoml-0.1.20.ebuild b/dev-python/pytoml/pytoml-0.1.20.ebuild
index 7c1a378738d4..7274d7f58682 100644
--- a/dev-python/pytoml/pytoml-0.1.20.ebuild
+++ b/dev-python/pytoml/pytoml-0.1.20.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/pytools/pytools-2016.2.6-r1.ebuild b/dev-python/pytools/pytools-2016.2.6-r1.ebuild
index 9b0ef2667240..e12ecdd1e1a4 100644
--- a/dev-python/pytools/pytools-2016.2.6-r1.ebuild
+++ b/dev-python/pytools/pytools-2016.2.6-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
diff --git a/dev-python/pytools/pytools-2017.4-r1.ebuild b/dev-python/pytools/pytools-2017.4-r1.ebuild
index c7e6e71a0800..554e7083d1d8 100644
--- a/dev-python/pytools/pytools-2017.4-r1.ebuild
+++ b/dev-python/pytools/pytools-2017.4-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
diff --git a/dev-python/pytools/pytools-9999.ebuild b/dev-python/pytools/pytools-9999.ebuild
index 223f5b415ba8..4c530168de65 100644
--- a/dev-python/pytools/pytools-9999.ebuild
+++ b/dev-python/pytools/pytools-9999.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
diff --git a/dev-python/pyu2f/pyu2f-0.1.4.ebuild b/dev-python/pyu2f/pyu2f-0.1.4.ebuild
index 59de7660cc44..b3fff3594026 100644
--- a/dev-python/pyu2f/pyu2f-0.1.4.ebuild
+++ b/dev-python/pyu2f/pyu2f-0.1.4.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/pyudev/pyudev-0.20.0-r1.ebuild b/dev-python/pyudev/pyudev-0.20.0-r1.ebuild
index 542c886a26fe..7c77d831d72c 100644
--- a/dev-python/pyudev/pyudev-0.20.0-r1.ebuild
+++ b/dev-python/pyudev/pyudev-0.20.0-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 x86"
IUSE="pygobject test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/pyudev/pyudev-0.21.0.ebuild b/dev-python/pyudev/pyudev-0.21.0.ebuild
index cd821566e554..894790a5b1df 100644
--- a/dev-python/pyudev/pyudev-0.21.0.ebuild
+++ b/dev-python/pyudev/pyudev-0.21.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ~mips x86"
IUSE="pygobject qt5 test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="pygobject? ( || ( $(python_gen_useflags 'python2*') ) )"
RDEPEND="
diff --git a/dev-python/pywavelets/pywavelets-0.5.2-r1.ebuild b/dev-python/pywavelets/pywavelets-0.5.2-r1.ebuild
index 4efbea0aa77b..f144305566ef 100644
--- a/dev-python/pywavelets/pywavelets-0.5.2-r1.ebuild
+++ b/dev-python/pywavelets/pywavelets-0.5.2-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/pywavelets/pywavelets-0.5.2.ebuild b/dev-python/pywavelets/pywavelets-0.5.2.ebuild
index 6c05e6d6f2d1..561c7746aaf9 100644
--- a/dev-python/pywavelets/pywavelets-0.5.2.ebuild
+++ b/dev-python/pywavelets/pywavelets-0.5.2.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/pyxdg/pyxdg-0.25-r1.ebuild b/dev-python/pyxdg/pyxdg-0.25-r1.ebuild
index 1eb8770f2f7b..1aafbcf3b5f0 100644
--- a/dev-python/pyxdg/pyxdg-0.25-r1.ebuild
+++ b/dev-python/pyxdg/pyxdg-0.25-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}]
x11-themes/hicolor-icon-theme )"
diff --git a/dev-python/pyxdg/pyxdg-0.26-r1.ebuild b/dev-python/pyxdg/pyxdg-0.26-r1.ebuild
index 5f35d816c408..9bba552677dc 100644
--- a/dev-python/pyxdg/pyxdg-0.26-r1.ebuild
+++ b/dev-python/pyxdg/pyxdg-0.26-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
test? (
diff --git a/dev-python/pyxdg/pyxdg-0.26.ebuild b/dev-python/pyxdg/pyxdg-0.26.ebuild
index ac1a8b515a6f..d3266af2214a 100644
--- a/dev-python/pyxdg/pyxdg-0.26.ebuild
+++ b/dev-python/pyxdg/pyxdg-0.26.ebuild
@@ -16,6 +16,7 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
test? (
diff --git a/dev-python/pyzbar/pyzbar-0.1.5.ebuild b/dev-python/pyzbar/pyzbar-0.1.5.ebuild
index eb56c2648436..e060e95abcca 100644
--- a/dev-python/pyzbar/pyzbar-0.1.5.ebuild
+++ b/dev-python/pyzbar/pyzbar-0.1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pillow[${PYTHON_USEDEP}]
diff --git a/dev-python/pyzbar/pyzbar-0.1.7.ebuild b/dev-python/pyzbar/pyzbar-0.1.7.ebuild
index eb56c2648436..e060e95abcca 100644
--- a/dev-python/pyzbar/pyzbar-0.1.7.ebuild
+++ b/dev-python/pyzbar/pyzbar-0.1.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pillow[${PYTHON_USEDEP}]
diff --git a/dev-python/pyzmq/pyzmq-16.0.2.ebuild b/dev-python/pyzmq/pyzmq-16.0.2.ebuild
index 4395c1c34c80..8e8ecf5271ef 100644
--- a/dev-python/pyzmq/pyzmq-16.0.2.ebuild
+++ b/dev-python/pyzmq/pyzmq-16.0.2.ebuild
@@ -16,6 +16,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=net-libs/zeromq-4.1.2:=
diff --git a/dev-python/pyzmq/pyzmq-17.1.0.ebuild b/dev-python/pyzmq/pyzmq-17.1.0.ebuild
index ac2e78fd6184..e44725afeb4f 100644
--- a/dev-python/pyzmq/pyzmq-17.1.0.ebuild
+++ b/dev-python/pyzmq/pyzmq-17.1.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=net-libs/zeromq-4.2.2-r2:=[drafts]
diff --git a/dev-python/pyzor/pyzor-1.0.0-r1.ebuild b/dev-python/pyzor/pyzor-1.0.0-r1.ebuild
index 446605cf56fa..77b1ba63737d 100644
--- a/dev-python/pyzor/pyzor-1.0.0-r1.ebuild
+++ b/dev-python/pyzor/pyzor-1.0.0-r1.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="doc gdbm gevent mysql pyzord redis test"
+RESTRICT="!test? ( test )"
# The mysql-python library is always required for the MySQL engine. We
# depend on it conditionally here because otherwise repoman will balk at
diff --git a/dev-python/qserve/qserve-0.2.8-r1.ebuild b/dev-python/qserve/qserve-0.2.8-r1.ebuild
index 7bab50ad7890..fd04ac880766 100644
--- a/dev-python/qserve/qserve-0.2.8-r1.ebuild
+++ b/dev-python/qserve/qserve-0.2.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/gevent[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/qtconsole/qtconsole-4.3.1.ebuild b/dev-python/qtconsole/qtconsole-4.3.1.ebuild
index d09cfd497eaa..187e9119d4e3 100644
--- a/dev-python/qtconsole/qtconsole-4.3.1.ebuild
+++ b/dev-python/qtconsole/qtconsole-4.3.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/ipykernel[${PYTHON_USEDEP}]
diff --git a/dev-python/radon/radon-1.4.2.ebuild b/dev-python/radon/radon-1.4.2.ebuild
index 3613677cc569..963e8c527236 100644
--- a/dev-python/radon/radon-1.4.2.ebuild
+++ b/dev-python/radon/radon-1.4.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RCDEPEND="
diff --git a/dev-python/raet/raet-0.6.8.ebuild b/dev-python/raet/raet-0.6.8.ebuild
index 49b857be0fc1..002fcb44de2c 100644
--- a/dev-python/raet/raet-0.6.8.ebuild
+++ b/dev-python/raet/raet-0.6.8.ebuild
@@ -13,6 +13,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/six-1.6.1[${PYTHON_USEDEP}]
>=dev-python/libnacl-1.4.3[${PYTHON_USEDEP}]
diff --git a/dev-python/ramlfications/ramlfications-0.1.9_p20160718.ebuild b/dev-python/ramlfications/ramlfications-0.1.9_p20160718.ebuild
index 5d364a32452d..ab64a8eb7d78 100644
--- a/dev-python/ramlfications/ramlfications-0.1.9_p20160718.ebuild
+++ b/dev-python/ramlfications/ramlfications-0.1.9_p20160718.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/ratelimit/ratelimit-1.4.1.ebuild b/dev-python/ratelimit/ratelimit-1.4.1.ebuild
index 42549871566b..b00ca5aa7deb 100644
--- a/dev-python/ratelimit/ratelimit-1.4.1.ebuild
+++ b/dev-python/ratelimit/ratelimit-1.4.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
diff --git a/dev-python/raven/raven-5.33.0.ebuild b/dev-python/raven/raven-5.33.0.ebuild
index 8500da95bca0..57367eaa0448 100644
--- a/dev-python/raven/raven-5.33.0.ebuild
+++ b/dev-python/raven/raven-5.33.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/contextlib2[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/rdflib/rdflib-4.2.1.ebuild b/dev-python/rdflib/rdflib-4.2.1.ebuild
index a0d27c6232ad..eb48466e8ea6 100644
--- a/dev-python/rdflib/rdflib-4.2.1.ebuild
+++ b/dev-python/rdflib/rdflib-4.2.1.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
IUSE="doc berkdb examples mysql redland sqlite test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/isodate[${PYTHON_USEDEP}]
diff --git a/dev-python/rdflib/rdflib-4.2.2.ebuild b/dev-python/rdflib/rdflib-4.2.2.ebuild
index 32f070a4bb51..53e245c83d46 100644
--- a/dev-python/rdflib/rdflib-4.2.2.ebuild
+++ b/dev-python/rdflib/rdflib-4.2.2.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
IUSE="doc berkdb examples mysql redland sqlite test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/isodate[${PYTHON_USEDEP}]
diff --git a/dev-python/readme_renderer/readme_renderer-17.2.ebuild b/dev-python/readme_renderer/readme_renderer-17.2.ebuild
index 85eb80547ff6..60a9e955c7e7 100644
--- a/dev-python/readme_renderer/readme_renderer-17.2.ebuild
+++ b/dev-python/readme_renderer/readme_renderer-17.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/bleach-2.0[${PYTHON_USEDEP}]
diff --git a/dev-python/rebulk/rebulk-0.9.0.ebuild b/dev-python/rebulk/rebulk-0.9.0.ebuild
index 3072adafecbf..4f58410daaa7 100644
--- a/dev-python/rebulk/rebulk-0.9.0.ebuild
+++ b/dev-python/rebulk/rebulk-0.9.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/rebulk/rebulk-9999.ebuild b/dev-python/rebulk/rebulk-9999.ebuild
index 40653a7d2299..3dce8ff53b0d 100644
--- a/dev-python/rebulk/rebulk-9999.ebuild
+++ b/dev-python/rebulk/rebulk-9999.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT Apache-2.0"
SLOT="0"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/redis-py/redis-py-2.10.5.ebuild b/dev-python/redis-py/redis-py-2.10.5.ebuild
index b819c32a8562..f12abebfef1c 100644
--- a/dev-python/redis-py/redis-py-2.10.5.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.5.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/redis-py/redis-py-2.10.6.ebuild b/dev-python/redis-py/redis-py-2.10.6.ebuild
index 87b68b86621d..74ead466b5ae 100644
--- a/dev-python/redis-py/redis-py-2.10.6.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.6.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/redis-py/redis-py-2.9.1.ebuild b/dev-python/redis-py/redis-py-2.9.1.ebuild
index f2df9ae43b49..e0002c9cb7bf 100644
--- a/dev-python/redis-py/redis-py-2.9.1.ebuild
+++ b/dev-python/redis-py/redis-py-2.9.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-db/redis )"
diff --git a/dev-python/redis-py/redis-py-3.2.1.ebuild b/dev-python/redis-py/redis-py-3.2.1.ebuild
index c32fb107d671..ee675a119cc8 100644
--- a/dev-python/redis-py/redis-py-3.2.1.ebuild
+++ b/dev-python/redis-py/redis-py-3.2.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/regendoc/regendoc-0.6.1.ebuild b/dev-python/regendoc/regendoc-0.6.1.ebuild
index 21e80e71a5ac..9b7f9e55814c 100644
--- a/dev-python/regendoc/regendoc-0.6.1.ebuild
+++ b/dev-python/regendoc/regendoc-0.6.1.ebuild
@@ -19,6 +19,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/click[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/regions/regions-0.2.ebuild b/dev-python/regions/regions-0.2.ebuild
index 404abbfa45c4..2f039902cba9 100644
--- a/dev-python/regions/regions-0.2.ebuild
+++ b/dev-python/regions/regions-0.2.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/astropy[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/reproject/reproject-0.3.1.ebuild b/dev-python/reproject/reproject-0.3.1.ebuild
index 00122bec7dfc..9feca262dff7 100644
--- a/dev-python/reproject/reproject-0.3.1.ebuild
+++ b/dev-python/reproject/reproject-0.3.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/requests-kerberos/requests-kerberos-0.12.0.ebuild b/dev-python/requests-kerberos/requests-kerberos-0.12.0.ebuild
index 70a9b702a77c..336dae61cf10 100644
--- a/dev-python/requests-kerberos/requests-kerberos-0.12.0.ebuild
+++ b/dev-python/requests-kerberos/requests-kerberos-0.12.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/requests-1.1.0[${PYTHON_USEDEP}]
|| ( >=dev-python/pykerberos-1.1.8[${PYTHON_USEDEP}] <dev-python/pykerberos-2[${PYTHON_USEDEP}] )"
diff --git a/dev-python/requests-mock/requests-mock-1.2.0.ebuild b/dev-python/requests-mock/requests-mock-1.2.0.ebuild
index 85b54d3b7352..31add56643a5 100644
--- a/dev-python/requests-mock/requests-mock-1.2.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.2.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/requests-mock/requests-mock-1.5.0.ebuild b/dev-python/requests-mock/requests-mock-1.5.0.ebuild
index 5acc51e0ab89..5f2ab13e4535 100644
--- a/dev-python/requests-mock/requests-mock-1.5.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.5.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/requests-mock/requests-mock-1.5.2.ebuild b/dev-python/requests-mock/requests-mock-1.5.2.ebuild
index dc44ba69ad99..9a9f3b312ca4 100644
--- a/dev-python/requests-mock/requests-mock-1.5.2.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.5.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/requests-oauthlib/requests-oauthlib-0.7.0.ebuild b/dev-python/requests-oauthlib/requests-oauthlib-0.7.0.ebuild
index 330856e9ece8..88b1db707b88 100644
--- a/dev-python/requests-oauthlib/requests-oauthlib-0.7.0.ebuild
+++ b/dev-python/requests-oauthlib/requests-oauthlib-0.7.0.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="ISC"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? (
dev-python/mock[${PYTHON_USEDEP}]
diff --git a/dev-python/responses/responses-0.6.0.ebuild b/dev-python/responses/responses-0.6.0.ebuild
index 5913b5c73db8..053e092e215d 100644
--- a/dev-python/responses/responses-0.6.0.ebuild
+++ b/dev-python/responses/responses-0.6.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/requests-2.0[${PYTHON_USEDEP}]
dev-python/cookies[${PYTHON_USEDEP}]
diff --git a/dev-python/responses/responses-0.9.0.ebuild b/dev-python/responses/responses-0.9.0.ebuild
index 89f4ab099d7d..abf3afebb1c7 100644
--- a/dev-python/responses/responses-0.9.0.ebuild
+++ b/dev-python/responses/responses-0.9.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/requests-2.0[${PYTHON_USEDEP}]
diff --git a/dev-python/restkit/restkit-4.2.2.ebuild b/dev-python/restkit/restkit-4.2.2.ebuild
index 318b8760818b..3cba895c0bee 100644
--- a/dev-python/restkit/restkit-4.2.2.ebuild
+++ b/dev-python/restkit/restkit-4.2.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ppc64 s390 ~sh x86"
IUSE="+cli doc examples test"
+RESTRICT="!test? ( test )"
PY27_USEDEP="$(python_gen_usedep python2_7)"
RDEPEND="cli? ( dev-python/ipython[${PY27_USEDEP}] )
diff --git a/dev-python/rfc3986/rfc3986-0.3.1.ebuild b/dev-python/rfc3986/rfc3986-0.3.1.ebuild
index bea78dfa82bc..302595e93329 100644
--- a/dev-python/rfc3986/rfc3986-0.3.1.ebuild
+++ b/dev-python/rfc3986/rfc3986-0.3.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~s390 sh sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/rfc3986/rfc3986-0.4.1.ebuild b/dev-python/rfc3986/rfc3986-0.4.1.ebuild
index 72ea8fbc766e..2f2d2417c6a1 100644
--- a/dev-python/rfc3986/rfc3986-0.4.1.ebuild
+++ b/dev-python/rfc3986/rfc3986-0.4.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/rfc3986/rfc3986-1.1.0.ebuild b/dev-python/rfc3986/rfc3986-1.1.0.ebuild
index 3b60aef73c2e..0d79bb6f9e10 100644
--- a/dev-python/rfc3986/rfc3986-1.1.0.ebuild
+++ b/dev-python/rfc3986/rfc3986-1.1.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/rfc3986/rfc3986-1.2.0.ebuild b/dev-python/rfc3986/rfc3986-1.2.0.ebuild
index 21da327e4a5c..4dacfdcd805c 100644
--- a/dev-python/rfc3986/rfc3986-1.2.0.ebuild
+++ b/dev-python/rfc3986/rfc3986-1.2.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/rfc3986/rfc3986-1.3.2.ebuild b/dev-python/rfc3986/rfc3986-1.3.2.ebuild
index bd688f4924c2..905aee9d6bab 100644
--- a/dev-python/rfc3986/rfc3986-1.3.2.ebuild
+++ b/dev-python/rfc3986/rfc3986-1.3.2.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="idna test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/rnc2rng/rnc2rng-2.4.1.ebuild b/dev-python/rnc2rng/rnc2rng-2.4.1.ebuild
index 29072cf3694f..eb1856a44077 100644
--- a/dev-python/rnc2rng/rnc2rng-2.4.1.ebuild
+++ b/dev-python/rnc2rng/rnc2rng-2.4.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/rply[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
diff --git a/dev-python/rnc2rng/rnc2rng-2.4.ebuild b/dev-python/rnc2rng/rnc2rng-2.4.ebuild
index 29072cf3694f..eb1856a44077 100644
--- a/dev-python/rnc2rng/rnc2rng-2.4.ebuild
+++ b/dev-python/rnc2rng/rnc2rng-2.4.ebuild
@@ -15,6 +15,7 @@ LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/rply[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
diff --git a/dev-python/rnc2rng/rnc2rng-2.5.ebuild b/dev-python/rnc2rng/rnc2rng-2.5.ebuild
index 2dc7788f0234..228fd5462e5e 100644
--- a/dev-python/rnc2rng/rnc2rng-2.5.ebuild
+++ b/dev-python/rnc2rng/rnc2rng-2.5.ebuild
@@ -14,6 +14,7 @@ LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/rply[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
diff --git a/dev-python/roman/roman-2.0.0.ebuild b/dev-python/roman/roman-2.0.0.ebuild
index ceb1591cee82..0fcb9761e7d6 100644
--- a/dev-python/roman/roman-2.0.0.ebuild
+++ b/dev-python/roman/roman-2.0.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="PSF-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="!<dev-python/docutils-0.9[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/roman/roman-3.0.ebuild b/dev-python/roman/roman-3.0.ebuild
index 42afbb8c5d87..198c432c0f3f 100644
--- a/dev-python/roman/roman-3.0.ebuild
+++ b/dev-python/roman/roman-3.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
!<dev-python/docutils-0.9[${PYTHON_USEDEP}]"
diff --git a/dev-python/root_numpy/root_numpy-4.4.0.ebuild b/dev-python/root_numpy/root_numpy-4.4.0.ebuild
index c472f85d8226..9df21e010097 100644
--- a/dev-python/root_numpy/root_numpy-4.4.0.ebuild
+++ b/dev-python/root_numpy/root_numpy-4.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/root_numpy/root_numpy-4.7.3.ebuild b/dev-python/root_numpy/root_numpy-4.7.3.ebuild
index 7561d10b0391..0e4f2ac58248 100644
--- a/dev-python/root_numpy/root_numpy-4.7.3.ebuild
+++ b/dev-python/root_numpy/root_numpy-4.7.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/rosdistro/rosdistro-0.7.2.ebuild b/dev-python/rosdistro/rosdistro-0.7.2.ebuild
index e7e27bc9f9fc..ef8fe8bcb38d 100644
--- a/dev-python/rosdistro/rosdistro-0.7.2.ebuild
+++ b/dev-python/rosdistro/rosdistro-0.7.2.ebuild
@@ -25,6 +25,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/catkin_pkg[${PYTHON_USEDEP}]
diff --git a/dev-python/rosdistro/rosdistro-0.7.4.ebuild b/dev-python/rosdistro/rosdistro-0.7.4.ebuild
index e7e27bc9f9fc..ef8fe8bcb38d 100644
--- a/dev-python/rosdistro/rosdistro-0.7.4.ebuild
+++ b/dev-python/rosdistro/rosdistro-0.7.4.ebuild
@@ -25,6 +25,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/catkin_pkg[${PYTHON_USEDEP}]
diff --git a/dev-python/rosdistro/rosdistro-9999.ebuild b/dev-python/rosdistro/rosdistro-9999.ebuild
index e7e27bc9f9fc..ef8fe8bcb38d 100644
--- a/dev-python/rosdistro/rosdistro-9999.ebuild
+++ b/dev-python/rosdistro/rosdistro-9999.ebuild
@@ -25,6 +25,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/catkin_pkg[${PYTHON_USEDEP}]
diff --git a/dev-python/rospkg/rospkg-1.1.10.ebuild b/dev-python/rospkg/rospkg-1.1.10.ebuild
index 0e81f9b79bb0..4043929c6edf 100644
--- a/dev-python/rospkg/rospkg-1.1.10.ebuild
+++ b/dev-python/rospkg/rospkg-1.1.10.ebuild
@@ -28,6 +28,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
BDEPEND="
diff --git a/dev-python/rospkg/rospkg-1.1.9.ebuild b/dev-python/rospkg/rospkg-1.1.9.ebuild
index 0e81f9b79bb0..4043929c6edf 100644
--- a/dev-python/rospkg/rospkg-1.1.9.ebuild
+++ b/dev-python/rospkg/rospkg-1.1.9.ebuild
@@ -28,6 +28,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
BDEPEND="
diff --git a/dev-python/rospkg/rospkg-9999.ebuild b/dev-python/rospkg/rospkg-9999.ebuild
index 0e81f9b79bb0..4043929c6edf 100644
--- a/dev-python/rospkg/rospkg-9999.ebuild
+++ b/dev-python/rospkg/rospkg-9999.ebuild
@@ -28,6 +28,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
BDEPEND="
diff --git a/dev-python/rply/rply-0.7.4.ebuild b/dev-python/rply/rply-0.7.4.ebuild
index 52e81cb0fbb1..b8b99dc9e4fc 100644
--- a/dev-python/rply/rply-0.7.4.ebuild
+++ b/dev-python/rply/rply-0.7.4.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/appdirs[${PYTHON_USEDEP}]
diff --git a/dev-python/rply/rply-0.7.5.ebuild b/dev-python/rply/rply-0.7.5.ebuild
index 39beb558b58d..c72956f10c12 100644
--- a/dev-python/rply/rply-0.7.5.ebuild
+++ b/dev-python/rply/rply-0.7.5.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/appdirs[${PYTHON_USEDEP}]
diff --git a/dev-python/rpy/rpy-2.6.2.ebuild b/dev-python/rpy/rpy-2.6.2.ebuild
index 4477de50a245..c6cba764b411 100644
--- a/dev-python/rpy/rpy-2.6.2.ebuild
+++ b/dev-python/rpy/rpy-2.6.2.ebuild
@@ -21,6 +21,7 @@ LICENSE="AGPL-3 GPL-2 LGPL-2.1 MPL-1.1"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-lang/R-3.1
diff --git a/dev-python/rsa/rsa-3.2.3-r1.ebuild b/dev-python/rsa/rsa-3.2.3-r1.ebuild
index 1b78e5ccf7a3..7fd8e2da41a2 100644
--- a/dev-python/rsa/rsa-3.2.3-r1.ebuild
+++ b/dev-python/rsa/rsa-3.2.3-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/pyasn1-0.1.3[${PYTHON_USEDEP}]
diff --git a/dev-python/rsa/rsa-3.4.2.ebuild b/dev-python/rsa/rsa-3.4.2.ebuild
index 5e3e347dadbe..ba8945a9ad8f 100644
--- a/dev-python/rsa/rsa-3.4.2.ebuild
+++ b/dev-python/rsa/rsa-3.4.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/pyasn1-0.1.3[${PYTHON_USEDEP}]
diff --git a/dev-python/rst-linker/rst-linker-1.11.ebuild b/dev-python/rst-linker/rst-linker-1.11.ebuild
index 272998c48ed4..a590722d60c0 100644
--- a/dev-python/rst-linker/rst-linker-1.11.ebuild
+++ b/dev-python/rst-linker/rst-linker-1.11.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/importlib_metadata[${PYTHON_USEDEP}]
diff --git a/dev-python/rst-linker/rst-linker-1.9-r1.ebuild b/dev-python/rst-linker/rst-linker-1.9-r1.ebuild
index ca82c108b2b6..11d52d1516bd 100644
--- a/dev-python/rst-linker/rst-linker-1.9-r1.ebuild
+++ b/dev-python/rst-linker/rst-linker-1.9-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/python-dateutil[${PYTHON_USEDEP}]
diff --git a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.3.ebuild b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.3.ebuild
index 2b49051b9e24..212734f33457 100644
--- a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.3.ebuild
+++ b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.3.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.4.ebuild b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.4.ebuild
index 7e6f20629557..7340d6159323 100644
--- a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.4.ebuild
+++ b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.4.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.15.35.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.15.35.ebuild
index 83169494dbdd..beef8a3d2526 100644
--- a/dev-python/ruamel-yaml/ruamel-yaml-0.15.35.ebuild
+++ b/dev-python/ruamel-yaml/ruamel-yaml-0.15.35.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
${PYTHON_DEPS}
diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.15.96.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.15.96.ebuild
index 156a753c41eb..ae2feb5bec63 100644
--- a/dev-python/ruamel-yaml/ruamel-yaml-0.15.96.ebuild
+++ b/dev-python/ruamel-yaml/ruamel-yaml-0.15.96.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
${PYTHON_DEPS}
diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.15.97.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.15.97.ebuild
index f1dd453a1207..9c18de145ac1 100644
--- a/dev-python/ruamel-yaml/ruamel-yaml-0.15.97.ebuild
+++ b/dev-python/ruamel-yaml/ruamel-yaml-0.15.97.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/s3fs/s3fs-0.1.2.ebuild b/dev-python/s3fs/s3fs-0.1.2.ebuild
index f3a95e473290..4ff765562de6 100644
--- a/dev-python/s3fs/s3fs-0.1.2.ebuild
+++ b/dev-python/s3fs/s3fs-0.1.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/boto3[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/s3fs/s3fs-0.1.5.ebuild b/dev-python/s3fs/s3fs-0.1.5.ebuild
index a97c590b933d..ef6a5239c888 100644
--- a/dev-python/s3fs/s3fs-0.1.5.ebuild
+++ b/dev-python/s3fs/s3fs-0.1.5.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/boto3[${PYTHON_USEDEP}]"
diff --git a/dev-python/s3transfer/s3transfer-0.1.13-r1.ebuild b/dev-python/s3transfer/s3transfer-0.1.13-r1.ebuild
index e7e8602ccb7a..1416953e14ce 100644
--- a/dev-python/s3transfer/s3transfer-0.1.13-r1.ebuild
+++ b/dev-python/s3transfer/s3transfer-0.1.13-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="
dev-python/botocore[${PYTHON_USEDEP}]
diff --git a/dev-python/s3transfer/s3transfer-0.2.0.ebuild b/dev-python/s3transfer/s3transfer-0.2.0.ebuild
index f7b87cfd423d..ded47b3ba007 100644
--- a/dev-python/s3transfer/s3transfer-0.2.0.ebuild
+++ b/dev-python/s3transfer/s3transfer-0.2.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="
dev-python/botocore[${PYTHON_USEDEP}]
diff --git a/dev-python/s3transfer/s3transfer-0.2.1.ebuild b/dev-python/s3transfer/s3transfer-0.2.1.ebuild
index d48af8926036..38bf130d07c8 100644
--- a/dev-python/s3transfer/s3transfer-0.2.1.ebuild
+++ b/dev-python/s3transfer/s3transfer-0.2.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="
dev-python/botocore[${PYTHON_USEDEP}]
diff --git a/dev-python/sabyenc/sabyenc-3.3.5.ebuild b/dev-python/sabyenc/sabyenc-3.3.5.ebuild
index 7c8c926ed06c..19496b287d76 100644
--- a/dev-python/sabyenc/sabyenc-3.3.5.ebuild
+++ b/dev-python/sabyenc/sabyenc-3.3.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -14,6 +14,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
diff --git a/dev-python/scandir/scandir-1.10.0-r1.ebuild b/dev-python/scandir/scandir-1.10.0-r1.ebuild
index 3f36724638a7..fcda1e7fad72 100644
--- a/dev-python/scandir/scandir-1.10.0-r1.ebuild
+++ b/dev-python/scandir/scandir-1.10.0-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/scandir/scandir-1.10.0.ebuild b/dev-python/scandir/scandir-1.10.0.ebuild
index 76c5fef1cedd..1b4f2b7430b0 100644
--- a/dev-python/scandir/scandir-1.10.0.ebuild
+++ b/dev-python/scandir/scandir-1.10.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/scapy-python3/scapy-python3-0.18-r1.ebuild b/dev-python/scapy-python3/scapy-python3-0.18-r1.ebuild
index 276805cf9ba4..2c3264e9aaaf 100644
--- a/dev-python/scapy-python3/scapy-python3-0.18-r1.ebuild
+++ b/dev-python/scapy-python3/scapy-python3-0.18-r1.ebuild
@@ -6,6 +6,7 @@ EAPI=5
PYTHON_COMPAT=( python3_5 )
IUSE="test"
+RESTRICT="!test? ( test )"
inherit distutils-r1
DESCRIPTION="Packet crafting/sending/... PCAP processing tool with python3 compatibility"
diff --git a/dev-python/scapy-python3/scapy-python3-0.21.ebuild b/dev-python/scapy-python3/scapy-python3-0.21.ebuild
index 276805cf9ba4..2c3264e9aaaf 100644
--- a/dev-python/scapy-python3/scapy-python3-0.21.ebuild
+++ b/dev-python/scapy-python3/scapy-python3-0.21.ebuild
@@ -6,6 +6,7 @@ EAPI=5
PYTHON_COMPAT=( python3_5 )
IUSE="test"
+RESTRICT="!test? ( test )"
inherit distutils-r1
DESCRIPTION="Packet crafting/sending/... PCAP processing tool with python3 compatibility"
diff --git a/dev-python/scapy-python3/scapy-python3-0.23.ebuild b/dev-python/scapy-python3/scapy-python3-0.23.ebuild
index cc1082e12e90..0648689c4c71 100644
--- a/dev-python/scapy-python3/scapy-python3-0.23.ebuild
+++ b/dev-python/scapy-python3/scapy-python3-0.23.ebuild
@@ -6,6 +6,7 @@ EAPI=5
PYTHON_COMPAT=( python3_{5,6} )
IUSE="test"
+RESTRICT="!test? ( test )"
inherit distutils-r1
DESCRIPTION="Packet crafting/sending/... PCAP processing tool with python3 compatibility"
diff --git a/dev-python/schedule/schedule-0.4.2.ebuild b/dev-python/schedule/schedule-0.4.2.ebuild
index 978e286c0e00..fc5673e058f8 100644
--- a/dev-python/schedule/schedule-0.4.2.ebuild
+++ b/dev-python/schedule/schedule-0.4.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( >=dev-python/mock-2.0.0
diff --git a/dev-python/schedule/schedule-0.5.0.ebuild b/dev-python/schedule/schedule-0.5.0.ebuild
index 0ecdab0f3980..e4799c721d68 100644
--- a/dev-python/schedule/schedule-0.5.0.ebuild
+++ b/dev-python/schedule/schedule-0.5.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/scrypt/scrypt-0.8.13.ebuild b/dev-python/scrypt/scrypt-0.8.13.ebuild
index b1de37480d91..bb3e776a695a 100644
--- a/dev-python/scrypt/scrypt-0.8.13.ebuild
+++ b/dev-python/scrypt/scrypt-0.8.13.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD-2"
KEYWORDS="amd64 ~arm ~arm64 x86"
SLOT="0"
IUSE="test doc"
+RESTRICT="!test? ( test )"
RDEPEND="dev-libs/openssl:0="
DEPEND="${RDEPEND}
diff --git a/dev-python/seaborn/seaborn-0.7.1.ebuild b/dev-python/seaborn/seaborn-0.7.1.ebuild
index 147b531e7427..63e40e478cf6 100644
--- a/dev-python/seaborn/seaborn-0.7.1.ebuild
+++ b/dev-python/seaborn/seaborn-0.7.1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/matplotlib[${PYTHON_USEDEP}]
diff --git a/dev-python/seaborn/seaborn-0.8.1.ebuild b/dev-python/seaborn/seaborn-0.8.1.ebuild
index 147b531e7427..63e40e478cf6 100644
--- a/dev-python/seaborn/seaborn-0.8.1.ebuild
+++ b/dev-python/seaborn/seaborn-0.8.1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/matplotlib[${PYTHON_USEDEP}]
diff --git a/dev-python/seaborn/seaborn-0.9.0.ebuild b/dev-python/seaborn/seaborn-0.9.0.ebuild
index 147b531e7427..63e40e478cf6 100644
--- a/dev-python/seaborn/seaborn-0.9.0.ebuild
+++ b/dev-python/seaborn/seaborn-0.9.0.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/matplotlib[${PYTHON_USEDEP}]
diff --git a/dev-python/secretstorage/secretstorage-3.1.0.ebuild b/dev-python/secretstorage/secretstorage-3.1.0.ebuild
index d05e995ee3db..7552a0485127 100644
--- a/dev-python/secretstorage/secretstorage-3.1.0.ebuild
+++ b/dev-python/secretstorage/secretstorage-3.1.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/cryptography[${PYTHON_USEDEP}]
diff --git a/dev-python/secretstorage/secretstorage-3.1.1.ebuild b/dev-python/secretstorage/secretstorage-3.1.1.ebuild
index d05e995ee3db..7552a0485127 100644
--- a/dev-python/secretstorage/secretstorage-3.1.1.ebuild
+++ b/dev-python/secretstorage/secretstorage-3.1.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/cryptography[${PYTHON_USEDEP}]
diff --git a/dev-python/semantic_version/semantic_version-2.6.0-r1.ebuild b/dev-python/semantic_version/semantic_version-2.6.0-r1.ebuild
index c03cd743d66b..0882933a69a1 100644
--- a/dev-python/semantic_version/semantic_version-2.6.0-r1.ebuild
+++ b/dev-python/semantic_version/semantic_version-2.6.0-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/django[${PYTHON_USEDEP}] )"
diff --git a/dev-python/semantic_version/semantic_version-2.6.0-r2.ebuild b/dev-python/semantic_version/semantic_version-2.6.0-r2.ebuild
index eadd3d400098..cd93fd604422 100644
--- a/dev-python/semantic_version/semantic_version-2.6.0-r2.ebuild
+++ b/dev-python/semantic_version/semantic_version-2.6.0-r2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/semver/semver-2.8.1.ebuild b/dev-python/semver/semver-2.8.1.ebuild
index b7312e165270..fb57bc48207b 100644
--- a/dev-python/semver/semver-2.8.1.ebuild
+++ b/dev-python/semver/semver-2.8.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/serverfiles/serverfiles-0.2.1.ebuild b/dev-python/serverfiles/serverfiles-0.2.1.ebuild
index 877d60b2f273..73a27519ef26 100644
--- a/dev-python/serverfiles/serverfiles-0.2.1.ebuild
+++ b/dev-python/serverfiles/serverfiles-0.2.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/requests-2.11.1[${PYTHON_USEDEP}]"
DEPEND="${DEPEND}
diff --git a/dev-python/setproctitle/setproctitle-1.1.10-r1.ebuild b/dev-python/setproctitle/setproctitle-1.1.10-r1.ebuild
index 40b3511fcb0b..9c136256bd0c 100644
--- a/dev-python/setproctitle/setproctitle-1.1.10-r1.ebuild
+++ b/dev-python/setproctitle/setproctitle-1.1.10-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/setproctitle/setproctitle-1.1.10.ebuild b/dev-python/setproctitle/setproctitle-1.1.10.ebuild
index a72496126fa4..f78908e3083e 100644
--- a/dev-python/setproctitle/setproctitle-1.1.10.ebuild
+++ b/dev-python/setproctitle/setproctitle-1.1.10.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/setproctitle/setproctitle-1.1.8.ebuild b/dev-python/setproctitle/setproctitle-1.1.8.ebuild
index 7dccbd4436ae..f385f2f49521 100644
--- a/dev-python/setproctitle/setproctitle-1.1.8.ebuild
+++ b/dev-python/setproctitle/setproctitle-1.1.8.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
diff --git a/dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild b/dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild
index b32a5923e372..45b2f30c034b 100644
--- a/dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild
+++ b/dev-python/sexpdata/sexpdata-0.0.3-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
diff --git a/dev-python/simplebayes/simplebayes-1.5.7.ebuild b/dev-python/simplebayes/simplebayes-1.5.7.ebuild
index c2f29f4a8cec..9b847a519d56 100644
--- a/dev-python/simplebayes/simplebayes-1.5.7.ebuild
+++ b/dev-python/simplebayes/simplebayes-1.5.7.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/simples3/simples3-1.0.ebuild b/dev-python/simples3/simples3-1.0.ebuild
index 9f465e5aae4d..449bbf00f11b 100644
--- a/dev-python/simples3/simples3-1.0.ebuild
+++ b/dev-python/simples3/simples3-1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
diff --git a/dev-python/simpy/simpy-3.0.8.ebuild b/dev-python/simpy/simpy-3.0.8.ebuild
index f957fab4c29a..571c717572f5 100644
--- a/dev-python/simpy/simpy-3.0.8.ebuild
+++ b/dev-python/simpy/simpy-3.0.8.ebuild
@@ -18,6 +18,7 @@ SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="${PYTHON_DEPS}"
DEPEND="${RDEPEND}
diff --git a/dev-python/slimit/slimit-0.8.1-r1.ebuild b/dev-python/slimit/slimit-0.8.1-r1.ebuild
index b3c65679a475..63cf71e71ec6 100644
--- a/dev-python/slimit/slimit-0.8.1-r1.ebuild
+++ b/dev-python/slimit/slimit-0.8.1-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/slixmpp/slixmpp-1.4.0.ebuild b/dev-python/slixmpp/slixmpp-1.4.0.ebuild
index be8cfcfecb51..5fa849c70abc 100644
--- a/dev-python/slixmpp/slixmpp-1.4.0.ebuild
+++ b/dev-python/slixmpp/slixmpp-1.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,6 +11,7 @@ HOMEPAGE="https://dev.louiz.org/projects/slixmpp"
LICENSE="MIT"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://lab.louiz.org/poezio/${PN}.git"
diff --git a/dev-python/slixmpp/slixmpp-1.4.2.ebuild b/dev-python/slixmpp/slixmpp-1.4.2.ebuild
index aebd4d6f2603..0f216ad7e875 100644
--- a/dev-python/slixmpp/slixmpp-1.4.2.ebuild
+++ b/dev-python/slixmpp/slixmpp-1.4.2.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://dev.louiz.org/projects/slixmpp"
LICENSE="MIT"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://lab.louiz.org/poezio/${PN}.git"
diff --git a/dev-python/slixmpp/slixmpp-9999.ebuild b/dev-python/slixmpp/slixmpp-9999.ebuild
index aebd4d6f2603..0f216ad7e875 100644
--- a/dev-python/slixmpp/slixmpp-9999.ebuild
+++ b/dev-python/slixmpp/slixmpp-9999.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://dev.louiz.org/projects/slixmpp"
LICENSE="MIT"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://lab.louiz.org/poezio/${PN}.git"
diff --git a/dev-python/smmap/smmap-0.9.0.ebuild b/dev-python/smmap/smmap-0.9.0.ebuild
index 7adbf6e4ff06..c8a12637386d 100644
--- a/dev-python/smmap/smmap-0.9.0.ebuild
+++ b/dev-python/smmap/smmap-0.9.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
KEYWORDS="amd64 ~arm64 x86"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/smmap2/smmap2-2.0.3.ebuild b/dev-python/smmap2/smmap2-2.0.3.ebuild
index ce30b37d29fd..2f298840a67e 100644
--- a/dev-python/smmap2/smmap2-2.0.3.ebuild
+++ b/dev-python/smmap2/smmap2-2.0.3.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
KEYWORDS="amd64 arm64 ~x86"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/socketio-client/socketio-client-0.6.6.ebuild b/dev-python/socketio-client/socketio-client-0.6.6.ebuild
index 08d93ea72434..9fa4e7c123f0 100644
--- a/dev-python/socketio-client/socketio-client-0.6.6.ebuild
+++ b/dev-python/socketio-client/socketio-client-0.6.6.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
diff --git a/dev-python/socketpool/socketpool-0.5.3-r1.ebuild b/dev-python/socketpool/socketpool-0.5.3-r1.ebuild
index 3c5c95d94476..b4e7c0ab25f1 100644
--- a/dev-python/socketpool/socketpool-0.5.3-r1.ebuild
+++ b/dev-python/socketpool/socketpool-0.5.3-r1.ebuild
@@ -13,6 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
LICENSE="|| ( MIT public-domain )"
SLOT="0"
diff --git a/dev-python/socketpool/socketpool-0.5.3.ebuild b/dev-python/socketpool/socketpool-0.5.3.ebuild
index 29b047ec4ce8..84cda4f5142f 100644
--- a/dev-python/socketpool/socketpool-0.5.3.ebuild
+++ b/dev-python/socketpool/socketpool-0.5.3.ebuild
@@ -12,6 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="amd64 arm ~arm64 ppc ppc64 s390 ~sh ~sparc x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
LICENSE="|| ( MIT public-domain )"
SLOT="0"
diff --git a/dev-python/sortedcollections/sortedcollections-0.5.3.ebuild b/dev-python/sortedcollections/sortedcollections-0.5.3.ebuild
index c91d6e17f37d..d8c90690393f 100644
--- a/dev-python/sortedcollections/sortedcollections-0.5.3.ebuild
+++ b/dev-python/sortedcollections/sortedcollections-0.5.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/sortedcontainers[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/sortedcontainers/sortedcontainers-1.5.7.ebuild b/dev-python/sortedcontainers/sortedcontainers-1.5.7.ebuild
index 44c10be531c8..d7b83d580b0a 100644
--- a/dev-python/sortedcontainers/sortedcontainers-1.5.7.ebuild
+++ b/dev-python/sortedcontainers/sortedcontainers-1.5.7.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/spark-parser/spark-parser-1.5.1-r1.ebuild b/dev-python/spark-parser/spark-parser-1.5.1-r1.ebuild
index 7ebbafb5a268..1e2513ff4794 100644
--- a/dev-python/spark-parser/spark-parser-1.5.1-r1.ebuild
+++ b/dev-python/spark-parser/spark-parser-1.5.1-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/spark-parser/spark-parser-1.6.0.ebuild b/dev-python/spark-parser/spark-parser-1.6.0.ebuild
index 2941f264793c..03de6c2eca5f 100644
--- a/dev-python/spark-parser/spark-parser-1.6.0.ebuild
+++ b/dev-python/spark-parser/spark-parser-1.6.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/spark-parser/spark-parser-1.6.1.ebuild b/dev-python/spark-parser/spark-parser-1.6.1.ebuild
index 2941f264793c..03de6c2eca5f 100644
--- a/dev-python/spark-parser/spark-parser-1.6.1.ebuild
+++ b/dev-python/spark-parser/spark-parser-1.6.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/spark-parser/spark-parser-1.8.5.ebuild b/dev-python/spark-parser/spark-parser-1.8.5.ebuild
index 2941f264793c..03de6c2eca5f 100644
--- a/dev-python/spark-parser/spark-parser-1.8.5.ebuild
+++ b/dev-python/spark-parser/spark-parser-1.8.5.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/speaklater/speaklater-1.3-r1.ebuild b/dev-python/speaklater/speaklater-1.3-r1.ebuild
index d7f0e2ce18b5..321e2f29a60b 100644
--- a/dev-python/speaklater/speaklater-1.3-r1.ebuild
+++ b/dev-python/speaklater/speaklater-1.3-r1.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=""
diff --git a/dev-python/spectral-cube/spectral-cube-0.4.0.ebuild b/dev-python/spectral-cube/spectral-cube-0.4.0.ebuild
index 77585a589452..858ca8c5b280 100644
--- a/dev-python/spectral-cube/spectral-cube-0.4.0.ebuild
+++ b/dev-python/spectral-cube/spectral-cube-0.4.0.ebuild
@@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/astropy[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/specutils/specutils-0.2.2.ebuild b/dev-python/specutils/specutils-0.2.2.ebuild
index 37dc2a58f1d4..75a2d1dbf032 100644
--- a/dev-python/specutils/specutils-0.2.2.ebuild
+++ b/dev-python/specutils/specutils-0.2.2.ebuild
@@ -14,6 +14,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DOCS=( README.rst )
RDEPEND="
diff --git a/dev-python/specutils/specutils-0.2.ebuild b/dev-python/specutils/specutils-0.2.ebuild
index 04986fa4c927..971d6abbee42 100644
--- a/dev-python/specutils/specutils-0.2.ebuild
+++ b/dev-python/specutils/specutils-0.2.ebuild
@@ -14,6 +14,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DOCS=( README.rst )
RDEPEND="
diff --git a/dev-python/sphinx-jinja/sphinx-jinja-0.2.1.ebuild b/dev-python/sphinx-jinja/sphinx-jinja-0.2.1.ebuild
index 23f97622f8ed..0abd8871a294 100644
--- a/dev-python/sphinx-jinja/sphinx-jinja-0.2.1.ebuild
+++ b/dev-python/sphinx-jinja/sphinx-jinja-0.2.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pbr[${PYTHON_USEDEP}]
diff --git a/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild b/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild
index 23f97622f8ed..0abd8871a294 100644
--- a/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild
+++ b/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pbr[${PYTHON_USEDEP}]
diff --git a/dev-python/sphinx-testing/sphinx-testing-0.7.2.ebuild b/dev-python/sphinx-testing/sphinx-testing-0.7.2.ebuild
index e56e51ec4256..be983e78be85 100644
--- a/dev-python/sphinx-testing/sphinx-testing-0.7.2.ebuild
+++ b/dev-python/sphinx-testing/sphinx-testing-0.7.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]"
diff --git a/dev-python/sphinx_celery/sphinx_celery-1.3.1.ebuild b/dev-python/sphinx_celery/sphinx_celery-1.3.1.ebuild
index 7f3ce6c704b1..8165361615aa 100644
--- a/dev-python/sphinx_celery/sphinx_celery-1.3.1.ebuild
+++ b/dev-python/sphinx_celery/sphinx_celery-1.3.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/sphinx-1.4[${PYTHON_USEDEP}]"
diff --git a/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r1.ebuild b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r1.ebuild
index 282bbfe7c4d9..3a5c2666b3e8 100644
--- a/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r1.ebuild
+++ b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/requests-0.13[${PYTHON_USEDEP}]
diff --git a/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild
index c0b1da187fe6..971ff1b20fb0 100644
--- a/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild
+++ b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
diff --git a/dev-python/sphinxcontrib-napoleon/sphinxcontrib-napoleon-0.5.2.ebuild b/dev-python/sphinxcontrib-napoleon/sphinxcontrib-napoleon-0.5.2.ebuild
index f2176a906c46..19cc3532cc1e 100644
--- a/dev-python/sphinxcontrib-napoleon/sphinxcontrib-napoleon-0.5.2.ebuild
+++ b/dev-python/sphinxcontrib-napoleon/sphinxcontrib-napoleon-0.5.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=test
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.11.ebuild b/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.11.ebuild
index eb638c1affad..4ccfbe6596e7 100644
--- a/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.11.ebuild
+++ b/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.11.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]"
diff --git a/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.8.ebuild b/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.8.ebuild
index 6f48cb0cc92f..24754c6574ba 100644
--- a/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.8.ebuild
+++ b/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.8.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/sphinx-1.1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-2.1.2.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-2.1.2.ebuild
index 5b2cac39391b..56af8616c682 100644
--- a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-2.1.2.ebuild
+++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-2.1.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND="
dev-python/pbr[${PYTHON_USEDEP}]
diff --git a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild
index 68ca06ae40ef..61359df3df8a 100644
--- a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild
+++ b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/sqlalchemy-0.9[${PYTHON_USEDEP}]
diff --git a/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild b/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild
index 77b6a487a7d7..7060d4ab3036 100644
--- a/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild
+++ b/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild
@@ -19,6 +19,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/pyrqlite[${PYTHON_USEDEP}]
diff --git a/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild b/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild
index 772c21d97880..65fd04d1333f 100644
--- a/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild
+++ b/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/pyrqlite[${PYTHON_USEDEP}]
diff --git a/dev-python/sqlalchemy/sqlalchemy-0.7.10.ebuild b/dev-python/sqlalchemy/sqlalchemy-0.7.10.ebuild
index 58d35ddc15f1..900e011459cf 100644
--- a/dev-python/sqlalchemy/sqlalchemy-0.7.10.ebuild
+++ b/dev-python/sqlalchemy/sqlalchemy-0.7.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ia64 ~ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc examples mssql mysql postgres +sqlite test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
mssql? ( dev-python/pymssql )
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.2.18.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.2.18.ebuild
index 0983825757bc..02f3f4cba2a5 100644
--- a/dev-python/sqlalchemy/sqlalchemy-1.2.18.ebuild
+++ b/dev-python/sqlalchemy/sqlalchemy-1.2.18.ebuild
@@ -19,6 +19,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="doc examples +sqlite test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( sqlite )"
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.3.3.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.3.3.ebuild
index cbf891587597..1585d6c5e281 100644
--- a/dev-python/sqlalchemy/sqlalchemy-1.3.3.ebuild
+++ b/dev-python/sqlalchemy/sqlalchemy-1.3.3.ebuild
@@ -19,6 +19,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="doc examples +sqlite test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( sqlite )"
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.3.4.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.3.4.ebuild
index b26e2080f865..0759f412b978 100644
--- a/dev-python/sqlalchemy/sqlalchemy-1.3.4.ebuild
+++ b/dev-python/sqlalchemy/sqlalchemy-1.3.4.ebuild
@@ -19,6 +19,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="doc examples +sqlite test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( sqlite )"
diff --git a/dev-python/sqlite3dbm/sqlite3dbm-0.1.4-r1.ebuild b/dev-python/sqlite3dbm/sqlite3dbm-0.1.4-r1.ebuild
index d5abe83b6cb1..3de881942ef0 100644
--- a/dev-python/sqlite3dbm/sqlite3dbm-0.1.4-r1.ebuild
+++ b/dev-python/sqlite3dbm/sqlite3dbm-0.1.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -18,6 +18,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/statsd/statsd-3.2.1.ebuild b/dev-python/statsd/statsd-3.2.1.ebuild
index 879a7537a617..cb5b1dceae7b 100644
--- a/dev-python/statsd/statsd-3.2.1.ebuild
+++ b/dev-python/statsd/statsd-3.2.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/statsd/statsd-3.3.0.ebuild b/dev-python/statsd/statsd-3.3.0.ebuild
index b10fc5af3fd0..3a62aa344d8b 100644
--- a/dev-python/statsd/statsd-3.3.0.ebuild
+++ b/dev-python/statsd/statsd-3.3.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/statsmodels/statsmodels-0.6.1.ebuild b/dev-python/statsmodels/statsmodels-0.6.1.ebuild
index 8a45ae4cd997..ffd1a3d0f625 100644
--- a/dev-python/statsmodels/statsmodels-0.6.1.ebuild
+++ b/dev-python/statsmodels/statsmodels-0.6.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/numpy-1.5.1[${PYTHON_USEDEP}]
diff --git a/dev-python/statsmodels/statsmodels-0.8.0.ebuild b/dev-python/statsmodels/statsmodels-0.8.0.ebuild
index 0ca626956ed2..672a73ce3ce9 100644
--- a/dev-python/statsmodels/statsmodels-0.8.0.ebuild
+++ b/dev-python/statsmodels/statsmodels-0.8.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
CDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/statsmodels/statsmodels-0.9.0.ebuild b/dev-python/statsmodels/statsmodels-0.9.0.ebuild
index d995aab43ee2..03b23eb7f0d3 100644
--- a/dev-python/statsmodels/statsmodels-0.9.0.ebuild
+++ b/dev-python/statsmodels/statsmodels-0.9.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/statsmodels/statsmodels-9999.ebuild b/dev-python/statsmodels/statsmodels-9999.ebuild
index 2a58fc3b7d09..dce6c0a6892d 100644
--- a/dev-python/statsmodels/statsmodels-9999.ebuild
+++ b/dev-python/statsmodels/statsmodels-9999.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
CDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/stevedore/stevedore-1.25.1.ebuild b/dev-python/stevedore/stevedore-1.25.1.ebuild
index 18bc813a3402..2852ae1281c0 100644
--- a/dev-python/stevedore/stevedore-1.25.1.ebuild
+++ b/dev-python/stevedore/stevedore-1.25.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/stevedore/stevedore-1.28.0.ebuild b/dev-python/stevedore/stevedore-1.28.0.ebuild
index 59bc3cbd00fc..e0182c84691b 100644
--- a/dev-python/stevedore/stevedore-1.28.0.ebuild
+++ b/dev-python/stevedore/stevedore-1.28.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/stevedore/stevedore-1.30.1.ebuild b/dev-python/stevedore/stevedore-1.30.1.ebuild
index 3ad9d997958e..56667d8099e6 100644
--- a/dev-python/stevedore/stevedore-1.30.1.ebuild
+++ b/dev-python/stevedore/stevedore-1.30.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/storm/storm-0.20-r1.ebuild b/dev-python/storm/storm-0.20-r1.ebuild
index 5e5fc2e5688d..a08b6d56c609 100644
--- a/dev-python/storm/storm-0.20-r1.ebuild
+++ b/dev-python/storm/storm-0.20-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -17,6 +17,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="mysql postgres sqlite test"
+RESTRICT="!test? ( test )"
RDEPEND="mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
postgres? ( =dev-python/psycopg-2*[${PYTHON_USEDEP}] )"
diff --git a/dev-python/stripe/stripe-2.10.1.ebuild b/dev-python/stripe/stripe-2.10.1.ebuild
index 55f8f61f14bc..fd2bb82718a0 100644
--- a/dev-python/stripe/stripe-2.10.1.ebuild
+++ b/dev-python/stripe/stripe-2.10.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/requests-2[${PYTHON_USEDEP}]' 'python3*' pypy3)
diff --git a/dev-python/stripe/stripe-2.3.0.ebuild b/dev-python/stripe/stripe-2.3.0.ebuild
index facf6a065d1e..f7f075eb7ee2 100644
--- a/dev-python/stripe/stripe-2.3.0.ebuild
+++ b/dev-python/stripe/stripe-2.3.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/requests-0.8.8"
DEPEND="${RDEPEND}"
diff --git a/dev-python/stripe/stripe-2.34.0.ebuild b/dev-python/stripe/stripe-2.34.0.ebuild
index 6c3d8ebe9fbd..c7cee4c2e881 100644
--- a/dev-python/stripe/stripe-2.34.0.ebuild
+++ b/dev-python/stripe/stripe-2.34.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/requests-2.20[${PYTHON_USEDEP}]' 'python3*' pypy3)
diff --git a/dev-python/subprocess32/subprocess32-3.2.7.ebuild b/dev-python/subprocess32/subprocess32-3.2.7.ebuild
index 0d41da79953f..fc8dd9d2170a 100644
--- a/dev-python/subprocess32/subprocess32-3.2.7.ebuild
+++ b/dev-python/subprocess32/subprocess32-3.2.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -15,6 +15,7 @@ LICENSE="PSF-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
PATCHES=( "${FILESDIR}"/${P}-sandbox-test-fix.patch )
diff --git a/dev-python/subprocess32/subprocess32-3.5.4.ebuild b/dev-python/subprocess32/subprocess32-3.5.4.ebuild
index 169b8059498b..a6aea7803361 100644
--- a/dev-python/subprocess32/subprocess32-3.5.4.ebuild
+++ b/dev-python/subprocess32/subprocess32-3.5.4.ebuild
@@ -15,6 +15,7 @@ LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
python_test() {
"${PYTHON}" test_subprocess32.py || die "Tests fail with ${EPYTHON}"
diff --git a/dev-python/subunit/subunit-1.2.0-r1.ebuild b/dev-python/subunit/subunit-1.2.0-r1.ebuild
index 2a5a4c13138e..fae3d07142e2 100644
--- a/dev-python/subunit/subunit-1.2.0-r1.ebuild
+++ b/dev-python/subunit/subunit-1.2.0-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0 BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
diff --git a/dev-python/subvertpy/subvertpy-0.10.1.ebuild b/dev-python/subvertpy/subvertpy-0.10.1.ebuild
index 3059a5d2052e..ba73dd838da4 100644
--- a/dev-python/subvertpy/subvertpy-0.10.1.ebuild
+++ b/dev-python/subvertpy/subvertpy-0.10.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="|| ( LGPL-2.1 LGPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-vcs/subversion-1.4"
DEPEND="${RDEPEND}
diff --git a/dev-python/subvertpy/subvertpy-0.9.1.ebuild b/dev-python/subvertpy/subvertpy-0.9.1.ebuild
index 979bff9695a2..9802235b08b1 100644
--- a/dev-python/subvertpy/subvertpy-0.9.1.ebuild
+++ b/dev-python/subvertpy/subvertpy-0.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ LICENSE="|| ( LGPL-2.1 LGPL-3 )"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-vcs/subversion-1.4"
DEPEND="${RDEPEND}
diff --git a/dev-python/suds/suds-0.6-r1.ebuild b/dev-python/suds/suds-0.6-r1.ebuild
index 7940768cda3f..01d1f425961d 100644
--- a/dev-python/suds/suds-0.6-r1.ebuild
+++ b/dev-python/suds/suds-0.6-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="doc? ( $(python_gen_useflags python2_7) )"
diff --git a/dev-python/sunpy/sunpy-0.8.0.ebuild b/dev-python/sunpy/sunpy-0.8.0.ebuild
index 955f2d29834e..c0c051c1581d 100644
--- a/dev-python/sunpy/sunpy-0.8.0.ebuild
+++ b/dev-python/sunpy/sunpy-0.8.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="jpeg2k test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/astropy-2[${PYTHON_USEDEP}]
diff --git a/dev-python/superlance/superlance-0.14.ebuild b/dev-python/superlance/superlance-0.14.ebuild
index 77b342974b4f..e84aeb9d1ee1 100644
--- a/dev-python/superlance/superlance-0.14.ebuild
+++ b/dev-python/superlance/superlance-0.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -15,6 +15,7 @@ LICENSE="repoze"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="app-admin/supervisor[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/superlance/superlance-1.0.0.ebuild b/dev-python/superlance/superlance-1.0.0.ebuild
index 77b342974b4f..e84aeb9d1ee1 100644
--- a/dev-python/superlance/superlance-1.0.0.ebuild
+++ b/dev-python/superlance/superlance-1.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -15,6 +15,7 @@ LICENSE="repoze"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="app-admin/supervisor[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/sure/sure-1.2.24.ebuild b/dev-python/sure/sure-1.2.24.ebuild
index 1da83f1fe7e2..c1938b2a835b 100644
--- a/dev-python/sure/sure-1.2.24.ebuild
+++ b/dev-python/sure/sure-1.2.24.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ppc64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="
dev-python/mock[${PYTHON_USEDEP}]
diff --git a/dev-python/sure/sure-1.2.5-r1.ebuild b/dev-python/sure/sure-1.2.5-r1.ebuild
index c8e34b799a8b..2104788a61a8 100644
--- a/dev-python/sure/sure-1.2.5-r1.ebuild
+++ b/dev-python/sure/sure-1.2.5-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
diff --git a/dev-python/svgwrite/svgwrite-1.2.1.ebuild b/dev-python/svgwrite/svgwrite-1.2.1.ebuild
index e79b3edf3a5c..75441f65484c 100644
--- a/dev-python/svgwrite/svgwrite-1.2.1.ebuild
+++ b/dev-python/svgwrite/svgwrite-1.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/pyparsing-2.0.1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/symengine/symengine-0.3.0.ebuild b/dev-python/symengine/symengine-0.3.0.ebuild
index ca09177f2d7e..9a03e24d150f 100644
--- a/dev-python/symengine/symengine-0.3.0.ebuild
+++ b/dev-python/symengine/symengine-0.3.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
sci-libs/symengine"
diff --git a/dev-python/sympy/sympy-1.0-r1.ebuild b/dev-python/sympy/sympy-1.0-r1.ebuild
index 719584259fe7..90812d1744ea 100644
--- a/dev-python/sympy/sympy-1.0-r1.ebuild
+++ b/dev-python/sympy/sympy-1.0-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc examples gtk imaging ipython latex mathml opengl pdf png pyglet test texmacs theano"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
doc? ( || ( $(python_gen_useflags 'python2*') ) )
diff --git a/dev-python/tempita/tempita-0.5.3-r2.ebuild b/dev-python/tempita/tempita-0.5.3-r2.ebuild
index 03186ba1fdbc..b26f6be9b70a 100644
--- a/dev-python/tempita/tempita-0.5.3-r2.ebuild
+++ b/dev-python/tempita/tempita-0.5.3-r2.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/tempora/tempora-1.12.ebuild b/dev-python/tempora/tempora-1.12.ebuild
index e7ee70bd0ac6..83ee056710a7 100644
--- a/dev-python/tempora/tempora-1.12.ebuild
+++ b/dev-python/tempora/tempora-1.12.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~sparc ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pytz[${PYTHON_USEDEP}]
diff --git a/dev-python/tempora/tempora-1.14.1.ebuild b/dev-python/tempora/tempora-1.14.1.ebuild
index 7dc141194dc0..2914a9aa1bbb 100644
--- a/dev-python/tempora/tempora-1.14.1.ebuild
+++ b/dev-python/tempora/tempora-1.14.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}]
diff --git a/dev-python/tempora/tempora-1.14.ebuild b/dev-python/tempora/tempora-1.14.ebuild
index 252b06eaaa3b..ca308edec773 100644
--- a/dev-python/tempora/tempora-1.14.ebuild
+++ b/dev-python/tempora/tempora-1.14.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}]
diff --git a/dev-python/tempora/tempora-1.7.ebuild b/dev-python/tempora/tempora-1.7.ebuild
index 114fcdbcbafe..64281dd389f3 100644
--- a/dev-python/tempora/tempora-1.7.ebuild
+++ b/dev-python/tempora/tempora-1.7.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pytz[${PYTHON_USEDEP}]
diff --git a/dev-python/terminado/terminado-0.5.ebuild b/dev-python/terminado/terminado-0.5.ebuild
index 7f6c3c2f50f9..8cc26dfab287 100644
--- a/dev-python/terminado/terminado-0.5.ebuild
+++ b/dev-python/terminado/terminado-0.5.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD-2"
KEYWORDS="amd64 arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/ptyprocess[${PYTHON_USEDEP}]
diff --git a/dev-python/terminado/terminado-0.6.ebuild b/dev-python/terminado/terminado-0.6.ebuild
index c77b5193fed5..f7fb4eeca29e 100644
--- a/dev-python/terminado/terminado-0.6.ebuild
+++ b/dev-python/terminado/terminado-0.6.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD-2"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/ptyprocess[${PYTHON_USEDEP}]
diff --git a/dev-python/terminado/terminado-0.8.1.ebuild b/dev-python/terminado/terminado-0.8.1.ebuild
index 747051399e6b..dc08973aa49d 100644
--- a/dev-python/terminado/terminado-0.8.1.ebuild
+++ b/dev-python/terminado/terminado-0.8.1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD-2"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/ptyprocess[${PYTHON_USEDEP}]
diff --git a/dev-python/testfixtures/testfixtures-4.9.1.ebuild b/dev-python/testfixtures/testfixtures-4.9.1.ebuild
index 7d585ee2f5c8..9b1e98b9d195 100644
--- a/dev-python/testfixtures/testfixtures-4.9.1.ebuild
+++ b/dev-python/testfixtures/testfixtures-4.9.1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/testfixtures/testfixtures-6.8.2.ebuild b/dev-python/testfixtures/testfixtures-6.8.2.ebuild
index 9944852b60cd..bb48ad733d3c 100644
--- a/dev-python/testfixtures/testfixtures-6.8.2.ebuild
+++ b/dev-python/testfixtures/testfixtures-6.8.2.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/testify/testify-0.11.0.ebuild b/dev-python/testify/testify-0.11.0.ebuild
index e87432c8261a..a8c182ff48ae 100644
--- a/dev-python/testify/testify-0.11.0.ebuild
+++ b/dev-python/testify/testify-0.11.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/sqlalchemy[${PYTHON_USEDEP}]
diff --git a/dev-python/testpath/testpath-0.3.1.ebuild b/dev-python/testpath/testpath-0.3.1.ebuild
index cc6b95a23d9d..dbe3bab5dd70 100644
--- a/dev-python/testpath/testpath-0.3.1.ebuild
+++ b/dev-python/testpath/testpath-0.3.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 ~sparc x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
test? (
diff --git a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
index 5f83f40f2b34..780d759e2eb1 100644
--- a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/subunit-0.0.10[${PYTHON_USEDEP}]
diff --git a/dev-python/testrepository/testrepository-0.0.20.ebuild b/dev-python/testrepository/testrepository-0.0.20.ebuild
index 33f1f086e2a3..6b59ff42d96e 100644
--- a/dev-python/testrepository/testrepository-0.0.20.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.20.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
diff --git a/dev-python/testresources/testresources-0.2.7-r2.ebuild b/dev-python/testresources/testresources-0.2.7-r2.ebuild
index f3681abb9afd..c844e0b15bff 100644
--- a/dev-python/testresources/testresources-0.2.7-r2.ebuild
+++ b/dev-python/testresources/testresources-0.2.7-r2.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/testresources/testresources-1.0.0.ebuild b/dev-python/testresources/testresources-1.0.0.ebuild
index daa0f21f84da..e45cb397ea84 100644
--- a/dev-python/testresources/testresources-1.0.0.ebuild
+++ b/dev-python/testresources/testresources-1.0.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/testresources/testresources-2.0.1.ebuild b/dev-python/testresources/testresources-2.0.1.ebuild
index 0ca2d4cc661b..cac85cb34dfe 100644
--- a/dev-python/testresources/testresources-2.0.1.ebuild
+++ b/dev-python/testresources/testresources-2.0.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/testscenarios/testscenarios-0.5.0.ebuild b/dev-python/testscenarios/testscenarios-0.5.0.ebuild
index a88d808efff6..6a1e86af6505 100644
--- a/dev-python/testscenarios/testscenarios-0.5.0.ebuild
+++ b/dev-python/testscenarios/testscenarios-0.5.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/testtools[${PYTHON_USEDEP}]"
diff --git a/dev-python/testtools/testtools-2.3.0.ebuild b/dev-python/testtools/testtools-2.3.0.ebuild
index 1cb310078c5e..e5492540dcc4 100644
--- a/dev-python/testtools/testtools-2.3.0.ebuild
+++ b/dev-python/testtools/testtools-2.3.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/extras-1.0.0[${PYTHON_USEDEP}]
diff --git a/dev-python/tgmochikit/tgmochikit-1.4.2-r1.ebuild b/dev-python/tgmochikit/tgmochikit-1.4.2-r1.ebuild
index 4685623156d3..3fef61a99830 100644
--- a/dev-python/tgmochikit/tgmochikit-1.4.2-r1.ebuild
+++ b/dev-python/tgmochikit/tgmochikit-1.4.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -17,6 +17,7 @@ LICENSE="|| ( AFL-2.1 MIT )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
diff --git a/dev-python/theano/theano-0.7.0.ebuild b/dev-python/theano/theano-0.7.0.ebuild
index 2a907d6fd4c4..9765e72f92ac 100644
--- a/dev-python/theano/theano-0.7.0.ebuild
+++ b/dev-python/theano/theano-0.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -17,6 +17,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
SLOT="0"
LICENSE="BSD"
IUSE="test"
+RESTRICT="!test? ( test )"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
RDEPEND="
diff --git a/dev-python/theano/theano-0.8.2.ebuild b/dev-python/theano/theano-0.8.2.ebuild
index 71eca8bb9981..de0279333ae3 100644
--- a/dev-python/theano/theano-0.8.2.ebuild
+++ b/dev-python/theano/theano-0.8.2.ebuild
@@ -17,6 +17,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
SLOT="0"
LICENSE="BSD"
IUSE="doc test"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
diff --git a/dev-python/theano/theano-0.9.0.ebuild b/dev-python/theano/theano-0.9.0.ebuild
index 929453753f45..1de50901c43b 100644
--- a/dev-python/theano/theano-0.9.0.ebuild
+++ b/dev-python/theano/theano-0.9.0.ebuild
@@ -17,6 +17,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
SLOT="0"
LICENSE="BSD"
IUSE="doc test"
+RESTRICT="!test? ( test )"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
diff --git a/dev-python/timelib/timelib-0.2.4-r1.ebuild b/dev-python/timelib/timelib-0.2.4-r1.ebuild
index a269e77685a4..4467adb1fca2 100644
--- a/dev-python/timelib/timelib-0.2.4-r1.ebuild
+++ b/dev-python/timelib/timelib-0.2.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,6 +15,7 @@ LICENSE="PHP-3.01 ZLIB"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/cython[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/tinycss2/tinycss2-1.0.2.ebuild b/dev-python/tinycss2/tinycss2-1.0.2.ebuild
index 40307a78ea0c..308e5b1ea73a 100644
--- a/dev-python/tinycss2/tinycss2-1.0.2.ebuild
+++ b/dev-python/tinycss2/tinycss2-1.0.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/webencodings-0.4[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/toro/toro-1.0.1.ebuild b/dev-python/toro/toro-1.0.1.ebuild
index 3934e28b624a..899e5b879b4e 100644
--- a/dev-python/toro/toro-1.0.1.ebuild
+++ b/dev-python/toro/toro-1.0.1.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
virtual/python-futures[${PYTHON_USEDEP}]
diff --git a/dev-python/tqdm/tqdm-4.33.0.ebuild b/dev-python/tqdm/tqdm-4.33.0.ebuild
index cb6e5161d4e0..832cf02c5bbe 100644
--- a/dev-python/tqdm/tqdm-4.33.0.ebuild
+++ b/dev-python/tqdm/tqdm-4.33.0.ebuild
@@ -21,6 +21,7 @@ HOMEPAGE="https://github.com/tqdm/tqdm"
LICENSE="MIT"
SLOT="0"
IUSE="examples test"
+RESTRICT="!test? ( test )"
# Uses pkg_resources
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/traitlets/traitlets-4.3.2.ebuild b/dev-python/traitlets/traitlets-4.3.2.ebuild
index 7878b9fd3299..889182ebe6d3 100644
--- a/dev-python/traitlets/traitlets-4.3.2.ebuild
+++ b/dev-python/traitlets/traitlets-4.3.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/decorator[${PYTHON_USEDEP}]
diff --git a/dev-python/treq/treq-0.2.1.ebuild b/dev-python/treq/treq-0.2.1.ebuild
index d200c5e21af5..3ca277aaa03b 100644
--- a/dev-python/treq/treq-0.2.1.ebuild
+++ b/dev-python/treq/treq-0.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/treq/treq-16.12.0.ebuild b/dev-python/treq/treq-16.12.0.ebuild
index af48a5a5a4f2..ee407be18652 100644
--- a/dev-python/treq/treq-16.12.0.ebuild
+++ b/dev-python/treq/treq-16.12.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/treq/treq-17.3.1.ebuild b/dev-python/treq/treq-17.3.1.ebuild
index cd86421d623d..42cf044eb013 100644
--- a/dev-python/treq/treq-17.3.1.ebuild
+++ b/dev-python/treq/treq-17.3.1.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/incremental[${PYTHON_USEDEP}]
diff --git a/dev-python/treq/treq-17.8.0.ebuild b/dev-python/treq/treq-17.8.0.ebuild
index 4498125e41bd..5e1eee117998 100644
--- a/dev-python/treq/treq-17.8.0.ebuild
+++ b/dev-python/treq/treq-17.8.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/incremental[${PYTHON_USEDEP}]
diff --git a/dev-python/turbocheetah/turbocheetah-1.0-r1.ebuild b/dev-python/turbocheetah/turbocheetah-1.0-r1.ebuild
index cd6ed286b06a..9551732a6011 100644
--- a/dev-python/turbocheetah/turbocheetah-1.0-r1.ebuild
+++ b/dev-python/turbocheetah/turbocheetah-1.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -19,6 +19,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/cheetah-2.0.1[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/turbokid/turbokid-1.0.5-r1.ebuild b/dev-python/turbokid/turbokid-1.0.5-r1.ebuild
index 7a632c3c26ed..32970473dfd7 100644
--- a/dev-python/turbokid/turbokid-1.0.5-r1.ebuild
+++ b/dev-python/turbokid/turbokid-1.0.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_P}"
diff --git a/dev-python/twine/twine-1.11.0.ebuild b/dev-python/twine/twine-1.11.0.ebuild
index 57447fb1ddfc..b94c9a70e0d6 100644
--- a/dev-python/twine/twine-1.11.0.ebuild
+++ b/dev-python/twine/twine-1.11.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${CDEPEND}
diff --git a/dev-python/twisted-core/twisted-core-15.2.1.ebuild b/dev-python/twisted-core/twisted-core-15.2.1.ebuild
index 0231f4ebb270..a209312861f5 100644
--- a/dev-python/twisted-core/twisted-core-15.2.1.ebuild
+++ b/dev-python/twisted-core/twisted-core-15.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -11,6 +11,7 @@ DESCRIPTION="An asynchronous networking framework written in Python"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="crypt gtk serial test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/zope-interface-3.6.0[${PYTHON_USEDEP}]
crypt? ( >=dev-python/pyopenssl-0.10[${PYTHON_USEDEP}]
diff --git a/dev-python/txaio/txaio-2.7.1.ebuild b/dev-python/txaio/txaio-2.7.1.ebuild
index 8901073f9252..a78e8f899d97 100644
--- a/dev-python/txaio/txaio-2.7.1.ebuild
+++ b/dev-python/txaio/txaio-2.7.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/trollius-2.0[${PYTHON_USEDEP}]' python2_7)
diff --git a/dev-python/txaio/txaio-2.9.0.ebuild b/dev-python/txaio/txaio-2.9.0.ebuild
index d177b3d17f37..4afc3b046889 100644
--- a/dev-python/txaio/txaio-2.9.0.ebuild
+++ b/dev-python/txaio/txaio-2.9.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/trollius-2.0[${PYTHON_USEDEP}]' python2_7)
diff --git a/dev-python/txgithub/txgithub-15.0.0-r1.ebuild b/dev-python/txgithub/txgithub-15.0.0-r1.ebuild
index a26e64b670ee..7c5d187e20b1 100644
--- a/dev-python/txgithub/txgithub-15.0.0-r1.ebuild
+++ b/dev-python/txgithub/txgithub-15.0.0-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
|| ( >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
diff --git a/dev-python/txtorcon/txtorcon-0.19.3-r1.ebuild b/dev-python/txtorcon/txtorcon-0.19.3-r1.ebuild
index 9d430018e40a..c72dc95ff5b9 100644
--- a/dev-python/txtorcon/txtorcon-0.19.3-r1.ebuild
+++ b/dev-python/txtorcon/txtorcon-0.19.3-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/automat[${PYTHON_USEDEP}]
diff --git a/dev-python/ufoLib/ufoLib-3.0.0.ebuild b/dev-python/ufoLib/ufoLib-3.0.0.ebuild
index 65da61081413..ba58e081657d 100644
--- a/dev-python/ufoLib/ufoLib-3.0.0.ebuild
+++ b/dev-python/ufoLib/ufoLib-3.0.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
test? (
diff --git a/dev-python/ujson/ujson-1.33.ebuild b/dev-python/ujson/ujson-1.33.ebuild
index 436155a5b533..21bf458e20fc 100644
--- a/dev-python/ujson/ujson-1.33.ebuild
+++ b/dev-python/ujson/ujson-1.33.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/uncertainties/uncertainties-3.0.1.ebuild b/dev-python/uncertainties/uncertainties-3.0.1.ebuild
index afeaffaa8632..d3cb81ec37a3 100644
--- a/dev-python/uncertainties/uncertainties-3.0.1.ebuild
+++ b/dev-python/uncertainties/uncertainties-3.0.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/uncompyle6/uncompyle6-2.10.1.ebuild b/dev-python/uncompyle6/uncompyle6-2.10.1.ebuild
index 5e96750c9ea4..b4ca9f67d466 100644
--- a/dev-python/uncompyle6/uncompyle6-2.10.1.ebuild
+++ b/dev-python/uncompyle6/uncompyle6-2.10.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/xdis-3.3.1
diff --git a/dev-python/uranium/uranium-3.6.0-r1.ebuild b/dev-python/uranium/uranium-3.6.0-r1.ebuild
index e1473dfc7e25..50fb43634038 100644
--- a/dev-python/uranium/uranium-3.6.0-r1.ebuild
+++ b/dev-python/uranium/uranium-3.6.0-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
diff --git a/dev-python/uranium/uranium-4.2.0.ebuild b/dev-python/uranium/uranium-4.2.0.ebuild
index 4818481b4a53..d6cad85692f6 100644
--- a/dev-python/uranium/uranium-4.2.0.ebuild
+++ b/dev-python/uranium/uranium-4.2.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
BDEPEND="${PYTHON_DEPS}
diff --git a/dev-python/uranium/uranium-4.3.0.ebuild b/dev-python/uranium/uranium-4.3.0.ebuild
index 00956f788e6d..1024b2dba671 100644
--- a/dev-python/uranium/uranium-4.3.0.ebuild
+++ b/dev-python/uranium/uranium-4.3.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
BDEPEND="${PYTHON_DEPS}
diff --git a/dev-python/urdf_parser_py/urdf_parser_py-0.4.0.ebuild b/dev-python/urdf_parser_py/urdf_parser_py-0.4.0.ebuild
index 77da74e0a690..85329b4ee3d4 100644
--- a/dev-python/urdf_parser_py/urdf_parser_py-0.4.0.ebuild
+++ b/dev-python/urdf_parser_py/urdf_parser_py-0.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND="${DEPEND}
diff --git a/dev-python/uvloop/uvloop-0.8.1.ebuild b/dev-python/uvloop/uvloop-0.8.1.ebuild
index 84f83ea36651..39102e922c84 100644
--- a/dev-python/uvloop/uvloop-0.8.1.ebuild
+++ b/dev-python/uvloop/uvloop-0.8.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,6 +14,7 @@ KEYWORDS="~amd64 ~x86"
LICENSE="MIT"
SLOT="0"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-libs/libuv-1.11.0:="
DEPEND="
diff --git a/dev-python/vatnumber/vatnumber-1.1-r1.ebuild b/dev-python/vatnumber/vatnumber-1.1-r1.ebuild
index c3c287524f3c..2bbe7ec2c0e9 100644
--- a/dev-python/vatnumber/vatnumber-1.1-r1.ebuild
+++ b/dev-python/vatnumber/vatnumber-1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -14,6 +14,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test vies"
+RESTRICT="!test? ( test )"
RDEPEND="vies? ( dev-python/suds[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
diff --git a/dev-python/vcrpy/vcrpy-1.10.3.ebuild b/dev-python/vcrpy/vcrpy-1.10.3.ebuild
index ec84d3164ef3..de91d5b7b15b 100644
--- a/dev-python/vcrpy/vcrpy-1.10.3.ebuild
+++ b/dev-python/vcrpy/vcrpy-1.10.3.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
diff --git a/dev-python/vcrpy/vcrpy-1.11.1.ebuild b/dev-python/vcrpy/vcrpy-1.11.1.ebuild
index 60bb7552c703..51472b897932 100644
--- a/dev-python/vcrpy/vcrpy-1.11.1.ebuild
+++ b/dev-python/vcrpy/vcrpy-1.11.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
diff --git a/dev-python/vcrpy/vcrpy-1.12.0.ebuild b/dev-python/vcrpy/vcrpy-1.12.0.ebuild
index 079ad48bf317..6d3160563e14 100644
--- a/dev-python/vcrpy/vcrpy-1.12.0.ebuild
+++ b/dev-python/vcrpy/vcrpy-1.12.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
diff --git a/dev-python/vcstools/vcstools-0.1.40.ebuild b/dev-python/vcstools/vcstools-0.1.40.ebuild
index 388682fd4ace..2526583e223a 100644
--- a/dev-python/vcstools/vcstools-0.1.40.ebuild
+++ b/dev-python/vcstools/vcstools-0.1.40.ebuild
@@ -27,6 +27,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pyyaml[${PYTHON_USEDEP}]
diff --git a/dev-python/vcstools/vcstools-0.1.42.ebuild b/dev-python/vcstools/vcstools-0.1.42.ebuild
index 388682fd4ace..2526583e223a 100644
--- a/dev-python/vcstools/vcstools-0.1.42.ebuild
+++ b/dev-python/vcstools/vcstools-0.1.42.ebuild
@@ -27,6 +27,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pyyaml[${PYTHON_USEDEP}]
diff --git a/dev-python/vcstools/vcstools-9999.ebuild b/dev-python/vcstools/vcstools-9999.ebuild
index 388682fd4ace..2526583e223a 100644
--- a/dev-python/vcstools/vcstools-9999.ebuild
+++ b/dev-python/vcstools/vcstools-9999.ebuild
@@ -27,6 +27,7 @@ fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pyyaml[${PYTHON_USEDEP}]
diff --git a/dev-python/vdirsyncer/vdirsyncer-0.16.3.ebuild b/dev-python/vdirsyncer/vdirsyncer-0.16.3.ebuild
index 779c27342fd1..b71f1d3ed37d 100644
--- a/dev-python/vdirsyncer/vdirsyncer-0.16.3.ebuild
+++ b/dev-python/vdirsyncer/vdirsyncer-0.16.3.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/click-5.0[${PYTHON_USEDEP}]
>=dev-python/click-log-0.2.0[${PYTHON_USEDEP}]
diff --git a/dev-python/vdirsyncer/vdirsyncer-0.16.4.ebuild b/dev-python/vdirsyncer/vdirsyncer-0.16.4.ebuild
index 779c27342fd1..b71f1d3ed37d 100644
--- a/dev-python/vdirsyncer/vdirsyncer-0.16.4.ebuild
+++ b/dev-python/vdirsyncer/vdirsyncer-0.16.4.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/click-5.0[${PYTHON_USEDEP}]
>=dev-python/click-log-0.2.0[${PYTHON_USEDEP}]
diff --git a/dev-python/vdirsyncer/vdirsyncer-0.16.6.ebuild b/dev-python/vdirsyncer/vdirsyncer-0.16.6.ebuild
index 420764b27eaf..b3a7e313b673 100644
--- a/dev-python/vdirsyncer/vdirsyncer-0.16.6.ebuild
+++ b/dev-python/vdirsyncer/vdirsyncer-0.16.6.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/click-5.0[${PYTHON_USEDEP}]
>=dev-python/click-log-0.3.0[${PYTHON_USEDEP}]
diff --git a/dev-python/vdirsyncer/vdirsyncer-0.16.7.ebuild b/dev-python/vdirsyncer/vdirsyncer-0.16.7.ebuild
index 420764b27eaf..b3a7e313b673 100644
--- a/dev-python/vdirsyncer/vdirsyncer-0.16.7.ebuild
+++ b/dev-python/vdirsyncer/vdirsyncer-0.16.7.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/click-5.0[${PYTHON_USEDEP}]
>=dev-python/click-log-0.3.0[${PYTHON_USEDEP}]
diff --git a/dev-python/venusian/venusian-1.0.ebuild b/dev-python/venusian/venusian-1.0.ebuild
index bce38ce52a49..4b0fe61727e0 100644
--- a/dev-python/venusian/venusian-1.0.ebuild
+++ b/dev-python/venusian/venusian-1.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="repoze"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
"
diff --git a/dev-python/venusian/venusian-1.0_p20161030.ebuild b/dev-python/venusian/venusian-1.0_p20161030.ebuild
index 90fe724da8e0..4fa1f2230896 100644
--- a/dev-python/venusian/venusian-1.0_p20161030.ebuild
+++ b/dev-python/venusian/venusian-1.0_p20161030.ebuild
@@ -17,6 +17,7 @@ LICENSE="repoze"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
"
diff --git a/dev-python/vertex/vertex-0.3.1-r1.ebuild b/dev-python/vertex/vertex-0.3.1-r1.ebuild
index 96cb433a368a..63a926e81a05 100644
--- a/dev-python/vertex/vertex-0.3.1-r1.ebuild
+++ b/dev-python/vertex/vertex-0.3.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -12,6 +12,7 @@ SRC_URI="mirror://pypi/${TWISTED_PN:0:1}/${TWISTED_PN}/${TWISTED_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="libressl test"
+RESTRICT="!test? ( test )"
RDEPEND="
!libressl? ( dev-libs/openssl:0 )
diff --git a/dev-python/vine/vine-1.1.3.ebuild b/dev-python/vine/vine-1.1.3.ebuild
index 0f6ea4654289..1fdad51c3851 100644
--- a/dev-python/vine/vine-1.1.3.ebuild
+++ b/dev-python/vine/vine-1.1.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/vine/vine-1.3.0.ebuild b/dev-python/vine/vine-1.3.0.ebuild
index 5123b36f2266..99a42afb5a80 100644
--- a/dev-python/vine/vine-1.3.0.ebuild
+++ b/dev-python/vine/vine-1.3.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/virtualenv/virtualenv-15.1.0.ebuild b/dev-python/virtualenv/virtualenv-15.1.0.ebuild
index 17fae3396765..13f9106f31b0 100644
--- a/dev-python/virtualenv/virtualenv-15.1.0.ebuild
+++ b/dev-python/virtualenv/virtualenv-15.1.0.ebuild
@@ -19,6 +19,7 @@ LICENSE="MIT"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/virtualenv/virtualenv-16.0.0.ebuild b/dev-python/virtualenv/virtualenv-16.0.0.ebuild
index ccaec3b3c8a4..278cc5a64b9d 100644
--- a/dev-python/virtualenv/virtualenv-16.0.0.ebuild
+++ b/dev-python/virtualenv/virtualenv-16.0.0.ebuild
@@ -19,6 +19,7 @@ LICENSE="MIT"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/visitor/visitor-0.1.3.ebuild b/dev-python/visitor/visitor-0.1.3.ebuild
index 0a18b297354a..85cbd4c0a5c7 100644
--- a/dev-python/visitor/visitor-0.1.3.ebuild
+++ b/dev-python/visitor/visitor-0.1.3.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/waitress/waitress-1.0.1.ebuild b/dev-python/waitress/waitress-1.0.1.ebuild
index b0cfa6e3e46b..49c2de61f54a 100644
--- a/dev-python/waitress/waitress-1.0.1.ebuild
+++ b/dev-python/waitress/waitress-1.0.1.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/waitress/waitress-1.0.2-r1.ebuild b/dev-python/waitress/waitress-1.0.2-r1.ebuild
index 0f543470de21..965eb82e14b5 100644
--- a/dev-python/waitress/waitress-1.0.2-r1.ebuild
+++ b/dev-python/waitress/waitress-1.0.2-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/waitress/waitress-1.0.2.ebuild b/dev-python/waitress/waitress-1.0.2.ebuild
index 920bb4e84c90..2d480ebbcb12 100644
--- a/dev-python/waitress/waitress-1.0.2.ebuild
+++ b/dev-python/waitress/waitress-1.0.2.ebuild
@@ -17,6 +17,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 ~sh sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/warlock/warlock-1.1.0.ebuild b/dev-python/warlock/warlock-1.1.0.ebuild
index ab7277021e2d..37b4aab18ef5 100644
--- a/dev-python/warlock/warlock-1.1.0.ebuild
+++ b/dev-python/warlock/warlock-1.1.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/warlock/warlock-1.2.0.ebuild b/dev-python/warlock/warlock-1.2.0.ebuild
index ab7277021e2d..37b4aab18ef5 100644
--- a/dev-python/warlock/warlock-1.2.0.ebuild
+++ b/dev-python/warlock/warlock-1.2.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/warlock/warlock-1.3.0.ebuild b/dev-python/warlock/warlock-1.3.0.ebuild
index 49335f642f35..1df7e0b2e108 100644
--- a/dev-python/warlock/warlock-1.3.0.ebuild
+++ b/dev-python/warlock/warlock-1.3.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/watchdog/watchdog-0.8.3-r1.ebuild b/dev-python/watchdog/watchdog-0.8.3-r1.ebuild
index 2d0a1217a704..adddcf54e178 100644
--- a/dev-python/watchdog/watchdog-0.8.3-r1.ebuild
+++ b/dev-python/watchdog/watchdog-0.8.3-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
RDEPEND="${CDEPEND}
diff --git a/dev-python/watchdog/watchdog-0.8.3-r2.ebuild b/dev-python/watchdog/watchdog-0.8.3-r2.ebuild
index ef395f386614..b3659f601242 100644
--- a/dev-python/watchdog/watchdog-0.8.3-r2.ebuild
+++ b/dev-python/watchdog/watchdog-0.8.3-r2.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
RDEPEND="${CDEPEND}
diff --git a/dev-python/watchdog/watchdog-0.9.0.ebuild b/dev-python/watchdog/watchdog-0.9.0.ebuild
index 3f69c35283a1..4dbe580e9f7c 100644
--- a/dev-python/watchdog/watchdog-0.9.0.ebuild
+++ b/dev-python/watchdog/watchdog-0.9.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
RDEPEND="${CDEPEND}
diff --git a/dev-python/wcsaxes/wcsaxes-0.8.ebuild b/dev-python/wcsaxes/wcsaxes-0.8.ebuild
index 9abe1e93938b..0e4957138866 100644
--- a/dev-python/wcsaxes/wcsaxes-0.8.ebuild
+++ b/dev-python/wcsaxes/wcsaxes-0.8.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/wcsaxes/wcsaxes-0.9-r1.ebuild b/dev-python/wcsaxes/wcsaxes-0.9-r1.ebuild
index 53edfad62b3c..e24c215eabfd 100644
--- a/dev-python/wcsaxes/wcsaxes-0.9-r1.ebuild
+++ b/dev-python/wcsaxes/wcsaxes-0.9-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/wcsaxes/wcsaxes-0.9.ebuild b/dev-python/wcsaxes/wcsaxes-0.9.ebuild
index 4a1cda7bdebd..89e7d6c0fe06 100644
--- a/dev-python/wcsaxes/wcsaxes-0.9.ebuild
+++ b/dev-python/wcsaxes/wcsaxes-0.9.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
diff --git a/dev-python/weasyprint/weasyprint-43.ebuild b/dev-python/weasyprint/weasyprint-43.ebuild
index 3863bc1fcd01..9208904696c2 100644
--- a/dev-python/weasyprint/weasyprint-43.ebuild
+++ b/dev-python/weasyprint/weasyprint-43.ebuild
@@ -17,6 +17,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="jpeg test tiff"
+RESTRICT="!test? ( test )"
# Note: specific subslot of pango since it inlines some of pango headers.
RDEPEND="
diff --git a/dev-python/webassets/webassets-0.12.1.ebuild b/dev-python/webassets/webassets-0.12.1.ebuild
index 69ca324502f7..407dc4b0da8d 100644
--- a/dev-python/webassets/webassets-0.12.1.ebuild
+++ b/dev-python/webassets/webassets-0.12.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/webassets/webassets-0.12.ebuild b/dev-python/webassets/webassets-0.12.ebuild
index 422eb3ab8258..c33b8e317594 100644
--- a/dev-python/webassets/webassets-0.12.ebuild
+++ b/dev-python/webassets/webassets-0.12.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/webcolors/webcolors-1.5.ebuild b/dev-python/webcolors/webcolors-1.5.ebuild
index e5bc0d05e617..cbfd85cc8131 100644
--- a/dev-python/webcolors/webcolors-1.5.ebuild
+++ b/dev-python/webcolors/webcolors-1.5.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
test? ( dev-python/nose[${PYTHON_USEDEP}] )
diff --git a/dev-python/webcolors/webcolors-1.8.1.ebuild b/dev-python/webcolors/webcolors-1.8.1.ebuild
index c99231e08856..babe836529e7 100644
--- a/dev-python/webcolors/webcolors-1.8.1.ebuild
+++ b/dev-python/webcolors/webcolors-1.8.1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
diff --git a/dev-python/weberror/weberror-0.13.1.ebuild b/dev-python/weberror/weberror-0.13.1.ebuild
index 42505277f3c6..660a60547994 100644
--- a/dev-python/weberror/weberror-0.13.1.ebuild
+++ b/dev-python/weberror/weberror-0.13.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/paste-1.7.1[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
diff --git a/dev-python/webhelpers/webhelpers-1.3-r1.ebuild b/dev-python/webhelpers/webhelpers-1.3-r1.ebuild
index 1c36380eac3b..591aa7b96271 100644
--- a/dev-python/webhelpers/webhelpers-1.3-r1.ebuild
+++ b/dev-python/webhelpers/webhelpers-1.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/markupsafe-0.9.2[${PYTHON_USEDEP}]
dev-python/webob[${PYTHON_USEDEP}]
diff --git a/dev-python/websocket-client/websocket-client-0.48.0.ebuild b/dev-python/websocket-client/websocket-client-0.48.0.ebuild
index a4aa8ba3d1e5..e12b85e733c8 100644
--- a/dev-python/websocket-client/websocket-client-0.48.0.ebuild
+++ b/dev-python/websocket-client/websocket-client-0.48.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~x64-macos"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/webtest/webtest-2.0.21.ebuild b/dev-python/webtest/webtest-2.0.21.ebuild
index 3c08f04477b3..f3092e31f450 100644
--- a/dev-python/webtest/webtest-2.0.21.ebuild
+++ b/dev-python/webtest/webtest-2.0.21.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc64 ~s390 ~sh sparc x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# nose<1.3.0 appears a leftover never updated in requires.txt. tests pass fine with latest
RDEPEND="
diff --git a/dev-python/webtest/webtest-2.0.29-r1.ebuild b/dev-python/webtest/webtest-2.0.29-r1.ebuild
index f7ea291c78c0..677e6864e782 100644
--- a/dev-python/webtest/webtest-2.0.29-r1.ebuild
+++ b/dev-python/webtest/webtest-2.0.29-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# nose<1.3.0 appears a leftover never updated in requires.txt. tests pass fine with latest
RDEPEND="
diff --git a/dev-python/webtest/webtest-2.0.29.ebuild b/dev-python/webtest/webtest-2.0.29.ebuild
index 9a6df7650d61..71fe717f0d03 100644
--- a/dev-python/webtest/webtest-2.0.29.ebuild
+++ b/dev-python/webtest/webtest-2.0.29.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc64 s390 ~sh sparc x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# nose<1.3.0 appears a leftover never updated in requires.txt. tests pass fine with latest
RDEPEND="
diff --git a/dev-python/wehjit/wehjit-0.2.2-r1.ebuild b/dev-python/wehjit/wehjit-0.2.2-r1.ebuild
index 4e5915f50607..246e57dcb6ec 100644
--- a/dev-python/wehjit/wehjit-0.2.2-r1.ebuild
+++ b/dev-python/wehjit/wehjit-0.2.2-r1.ebuild
@@ -15,6 +15,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/genshi
dev-python/assets[${PYTHON_USEDEP}]
diff --git a/dev-python/whichcraft/whichcraft-0.4.1.ebuild b/dev-python/whichcraft/whichcraft-0.4.1.ebuild
index f2072fae85fa..6b6c363b9ee2 100644
--- a/dev-python/whichcraft/whichcraft-0.4.1.ebuild
+++ b/dev-python/whichcraft/whichcraft-0.4.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst )
diff --git a/dev-python/whisper/whisper-1.1.3.ebuild b/dev-python/whisper/whisper-1.1.3.ebuild
index d3e4034eedd2..e3945a05af6f 100644
--- a/dev-python/whisper/whisper-1.1.3.ebuild
+++ b/dev-python/whisper/whisper-1.1.3.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
KEYWORDS="~amd64 ~x86 ~x64-solaris"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/whisper/whisper-1.1.5.ebuild b/dev-python/whisper/whisper-1.1.5.ebuild
index ffb0ba4a8fde..2ef09aa76867 100644
--- a/dev-python/whisper/whisper-1.1.5.ebuild
+++ b/dev-python/whisper/whisper-1.1.5.ebuild
@@ -17,6 +17,7 @@ LICENSE="Apache-2.0"
KEYWORDS="~amd64 ~x86 ~x64-solaris"
SLOT="0"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/whoosh/whoosh-2.6.0.ebuild b/dev-python/whoosh/whoosh-2.6.0.ebuild
index 4321937d5fb9..16bbc949684c 100644
--- a/dev-python/whoosh/whoosh-2.6.0.ebuild
+++ b/dev-python/whoosh/whoosh-2.6.0.ebuild
@@ -21,6 +21,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_PN}-${PV}"
diff --git a/dev-python/whoosh/whoosh-2.7.4.ebuild b/dev-python/whoosh/whoosh-2.7.4.ebuild
index 8ad0bc36723e..c668760eefec 100644
--- a/dev-python/whoosh/whoosh-2.7.4.ebuild
+++ b/dev-python/whoosh/whoosh-2.7.4.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~x64-solaris"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/wrapt/wrapt-1.10.10.ebuild b/dev-python/wrapt/wrapt-1.10.10.ebuild
index ffe90a99cdf1..fcc8e568b133 100644
--- a/dev-python/wrapt/wrapt-1.10.10.ebuild
+++ b/dev-python/wrapt/wrapt-1.10.10.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 sparc x86 ~amd64-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
diff --git a/dev-python/wrapt/wrapt-1.10.11.ebuild b/dev-python/wrapt/wrapt-1.10.11.ebuild
index e8ec9dbb2717..813011fb8cc2 100644
--- a/dev-python/wrapt/wrapt-1.10.11.ebuild
+++ b/dev-python/wrapt/wrapt-1.10.11.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
diff --git a/dev-python/wrapt/wrapt-1.11.2.ebuild b/dev-python/wrapt/wrapt-1.11.2.ebuild
index fb3261b28fc7..425c5ca2bd41 100644
--- a/dev-python/wrapt/wrapt-1.11.2.ebuild
+++ b/dev-python/wrapt/wrapt-1.11.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="doc test"
+RESTRICT="!test? ( test )"
DEPEND="
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
diff --git a/dev-python/ws4py/ws4py-0.3.4-r1.ebuild b/dev-python/ws4py/ws4py-0.3.4-r1.ebuild
index 368c7cbfb4d9..1a4959e9d0ff 100644
--- a/dev-python/ws4py/ws4py-0.3.4-r1.ebuild
+++ b/dev-python/ws4py/ws4py-0.3.4-r1.ebuild
@@ -26,6 +26,7 @@ HOMEPAGE="https://github.com/Lawouach/WebSocket-for-Python"
LICENSE="BSD"
SLOT="0"
IUSE="+client +server test +threads"
+RESTRICT="!test? ( test )"
# doc build requires sphinxcontrib ext packages absent from portage
RDEPEND=">=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}]
diff --git a/dev-python/ws4py/ws4py-0.3.4.ebuild b/dev-python/ws4py/ws4py-0.3.4.ebuild
index 977e97d27341..25713f224f72 100644
--- a/dev-python/ws4py/ws4py-0.3.4.ebuild
+++ b/dev-python/ws4py/ws4py-0.3.4.ebuild
@@ -26,6 +26,7 @@ HOMEPAGE="https://github.com/Lawouach/WebSocket-for-Python"
LICENSE="BSD"
SLOT="0"
IUSE="+client +server test +threads"
+RESTRICT="!test? ( test )"
# doc build requires sphinxcontrib ext packages absent from portage
RDEPEND=">=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}]
diff --git a/dev-python/ws4py/ws4py-0.5.1.ebuild b/dev-python/ws4py/ws4py-0.5.1.ebuild
index dab2141bc49a..d02c9669d063 100644
--- a/dev-python/ws4py/ws4py-0.5.1.ebuild
+++ b/dev-python/ws4py/ws4py-0.5.1.ebuild
@@ -26,6 +26,7 @@ HOMEPAGE="https://github.com/Lawouach/WebSocket-for-Python"
LICENSE="BSD"
SLOT="0"
IUSE="+client +server test +threads"
+RESTRICT="!test? ( test )"
# doc build requires sphinxcontrib ext packages absent from portage
RDEPEND=">=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}]
diff --git a/dev-python/ws4py/ws4py-9999.ebuild b/dev-python/ws4py/ws4py-9999.ebuild
index 903c9290ae01..5b8f748142d8 100644
--- a/dev-python/ws4py/ws4py-9999.ebuild
+++ b/dev-python/ws4py/ws4py-9999.ebuild
@@ -26,6 +26,7 @@ HOMEPAGE="https://github.com/Lawouach/WebSocket-for-Python"
LICENSE="BSD"
SLOT="0"
IUSE="+client +server test +threads"
+RESTRICT="!test? ( test )"
# doc build requires sphinxcontrib ext packages absent from portage
RDEPEND=">=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}]
diff --git a/dev-python/wsaccel/wsaccel-0.6.2_p20170108.ebuild b/dev-python/wsaccel/wsaccel-0.6.2_p20170108.ebuild
index 56673cfd1393..819e425d4a2b 100644
--- a/dev-python/wsaccel/wsaccel-0.6.2_p20170108.ebuild
+++ b/dev-python/wsaccel/wsaccel-0.6.2_p20170108.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="amd64 arm ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
diff --git a/dev-python/wsgiintercept/wsgiintercept-1.3.1.ebuild b/dev-python/wsgiintercept/wsgiintercept-1.3.1.ebuild
index deaf879cc80f..8cef5d0ea96b 100644
--- a/dev-python/wsgiintercept/wsgiintercept-1.3.1.ebuild
+++ b/dev-python/wsgiintercept/wsgiintercept-1.3.1.ebuild
@@ -18,6 +18,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/wsproto/wsproto-0.11.0.ebuild b/dev-python/wsproto/wsproto-0.11.0.ebuild
index 6e936e5de835..2e95b72af236 100644
--- a/dev-python/wsproto/wsproto-0.11.0.ebuild
+++ b/dev-python/wsproto/wsproto-0.11.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
=dev-python/h11-0.7*[${PYTHON_USEDEP}]
diff --git a/dev-python/wsproto/wsproto-0.12.0.ebuild b/dev-python/wsproto/wsproto-0.12.0.ebuild
index 98cb9d8b563b..481b1f3a18e3 100644
--- a/dev-python/wsproto/wsproto-0.12.0.ebuild
+++ b/dev-python/wsproto/wsproto-0.12.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
=dev-python/h11-0.8*[${PYTHON_USEDEP}]
diff --git a/dev-python/wstools/wstools-0.4.5-r1.ebuild b/dev-python/wstools/wstools-0.4.5-r1.ebuild
index fba653df953e..aff7b8f136ef 100644
--- a/dev-python/wstools/wstools-0.4.5-r1.ebuild
+++ b/dev-python/wstools/wstools-0.4.5-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
diff --git a/dev-python/wtf-peewee/wtf-peewee-0.2.6.ebuild b/dev-python/wtf-peewee/wtf-peewee-0.2.6.ebuild
index b856097295b7..09df137ad8bf 100644
--- a/dev-python/wtf-peewee/wtf-peewee-0.2.6.ebuild
+++ b/dev-python/wtf-peewee/wtf-peewee-0.2.6.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/peewee-2.7.4[${PYTHON_USEDEP}]
dev-python/wtforms[${PYTHON_USEDEP}]"
diff --git a/dev-python/wtf-peewee/wtf-peewee-3.0.0.ebuild b/dev-python/wtf-peewee/wtf-peewee-3.0.0.ebuild
index cc0428d47874..51b1dbdb04ed 100644
--- a/dev-python/wtf-peewee/wtf-peewee-3.0.0.ebuild
+++ b/dev-python/wtf-peewee/wtf-peewee-3.0.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="examples test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/peewee-3[${PYTHON_USEDEP}]
dev-python/wtforms[${PYTHON_USEDEP}]"
diff --git a/dev-python/wtforms/wtforms-2.1.ebuild b/dev-python/wtforms/wtforms-2.1.ebuild
index 8bfc1510c613..955e22368cc8 100644
--- a/dev-python/wtforms/wtforms-2.1.ebuild
+++ b/dev-python/wtforms/wtforms-2.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_P}"
diff --git a/dev-python/wtforms/wtforms-2.2.1.ebuild b/dev-python/wtforms/wtforms-2.2.1.ebuild
index 47641f5a7123..7e05ab5ba319 100644
--- a/dev-python/wtforms/wtforms-2.2.1.ebuild
+++ b/dev-python/wtforms/wtforms-2.2.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_P}"
diff --git a/dev-python/www-authenticate/www-authenticate-0.9.2.ebuild b/dev-python/www-authenticate/www-authenticate-0.9.2.ebuild
index 860efe8b1dc6..36d6618eef34 100644
--- a/dev-python/www-authenticate/www-authenticate-0.9.2.ebuild
+++ b/dev-python/www-authenticate/www-authenticate-0.9.2.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/wxpython/wxpython-4.0.6.ebuild b/dev-python/wxpython/wxpython-4.0.6.ebuild
index 04e6a637c7d4..50dc98771f85 100644
--- a/dev-python/wxpython/wxpython-4.0.6.ebuild
+++ b/dev-python/wxpython/wxpython-4.0.6.ebuild
@@ -20,6 +20,7 @@ LICENSE="wxWinLL-3"
SLOT="4.0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
IUSE="test webkit"
+RESTRICT="!test? ( test )"
# wxPython doesn't seem to be able to optionally disable features. webkit is
# optionally patched out because it's so huge, but other elements are not,
diff --git a/dev-python/xarray/xarray-0.10.8.ebuild b/dev-python/xarray/xarray-0.10.8.ebuild
index 2f32c26bec2e..9e06329a6be7 100644
--- a/dev-python/xarray/xarray-0.10.8.ebuild
+++ b/dev-python/xarray/xarray-0.10.8.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/numpy-1.14[${PYTHON_USEDEP}]
diff --git a/dev-python/xarray/xarray-0.12.1.ebuild b/dev-python/xarray/xarray-0.12.1.ebuild
index c6f3b7e7c290..37987da80dca 100644
--- a/dev-python/xarray/xarray-0.12.1.ebuild
+++ b/dev-python/xarray/xarray-0.12.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/numpy-1.14[${PYTHON_USEDEP}]
diff --git a/dev-python/xcffib/xcffib-0.5.1.ebuild b/dev-python/xcffib/xcffib-0.5.1.ebuild
index afff48e3b649..93726e016cc5 100644
--- a/dev-python/xcffib/xcffib-0.5.1.ebuild
+++ b/dev-python/xcffib/xcffib-0.5.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="x11-libs/libxcb"
RDEPEND="
diff --git a/dev-python/xcffib/xcffib-0.6.0.ebuild b/dev-python/xcffib/xcffib-0.6.0.ebuild
index 8d9e817989fa..60fabee1d1fc 100644
--- a/dev-python/xcffib/xcffib-0.6.0.ebuild
+++ b/dev-python/xcffib/xcffib-0.6.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="x11-libs/libxcb"
RDEPEND="
diff --git a/dev-python/xcffib/xcffib-0.7.0.ebuild b/dev-python/xcffib/xcffib-0.7.0.ebuild
index e69fc4245584..077a6308d0c8 100644
--- a/dev-python/xcffib/xcffib-0.7.0.ebuild
+++ b/dev-python/xcffib/xcffib-0.7.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="x11-libs/libxcb"
RDEPEND="
diff --git a/dev-python/xcffib/xcffib-0.8.1.ebuild b/dev-python/xcffib/xcffib-0.8.1.ebuild
index 528b8913b976..dd399875ee49 100644
--- a/dev-python/xcffib/xcffib-0.8.1.ebuild
+++ b/dev-python/xcffib/xcffib-0.8.1.ebuild
@@ -15,6 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
COMMON_DEPEND="x11-libs/libxcb"
RDEPEND="
diff --git a/dev-python/xdis/xdis-3.3.1.ebuild b/dev-python/xdis/xdis-3.3.1.ebuild
index 6ed74943cec9..37b1b7b57c76 100644
--- a/dev-python/xdis/xdis-3.3.1.ebuild
+++ b/dev-python/xdis/xdis-3.3.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/six-1.10.0[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/xdis/xdis-3.6.0.ebuild b/dev-python/xdis/xdis-3.6.0.ebuild
index 864ad6f9de55..bc4f16dc68c9 100644
--- a/dev-python/xdis/xdis-3.6.0.ebuild
+++ b/dev-python/xdis/xdis-3.6.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/six-1.10.0[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
diff --git a/dev-python/xlsxwriter/xlsxwriter-0.9.8.ebuild b/dev-python/xlsxwriter/xlsxwriter-0.9.8.ebuild
index c7788814ae2a..d62a705dd5cf 100644
--- a/dev-python/xlsxwriter/xlsxwriter-0.9.8.ebuild
+++ b/dev-python/xlsxwriter/xlsxwriter-0.9.8.ebuild
@@ -21,6 +21,7 @@ SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
diff --git a/dev-python/xlutils/xlutils-1.7.1.ebuild b/dev-python/xlutils/xlutils-1.7.1.ebuild
index a5280d83e9f4..9bbfcb5a0ba0 100644
--- a/dev-python/xlutils/xlutils-1.7.1.ebuild
+++ b/dev-python/xlutils/xlutils-1.7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -13,6 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
LICENSE="MIT"
SLOT="0"
diff --git a/dev-python/xlutils/xlutils-2.0.0-r1.ebuild b/dev-python/xlutils/xlutils-2.0.0-r1.ebuild
index 1da8b0f0d4bc..daa9a99667b1 100644
--- a/dev-python/xlutils/xlutils-2.0.0-r1.ebuild
+++ b/dev-python/xlutils/xlutils-2.0.0-r1.ebuild
@@ -13,6 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
LICENSE="MIT"
SLOT="0"
diff --git a/dev-python/xlwt/xlwt-1.2.0.ebuild b/dev-python/xlwt/xlwt-1.2.0.ebuild
index a3441356b00e..13c0fa724781 100644
--- a/dev-python/xlwt/xlwt-1.2.0.ebuild
+++ b/dev-python/xlwt/xlwt-1.2.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/xlwt/xlwt-1.3.0.ebuild b/dev-python/xlwt/xlwt-1.3.0.ebuild
index 64bd2dff33b4..52f830bcf7de 100644
--- a/dev-python/xlwt/xlwt-1.3.0.ebuild
+++ b/dev-python/xlwt/xlwt-1.3.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/xmltodict/xmltodict-0.11.0.ebuild b/dev-python/xmltodict/xmltodict-0.11.0.ebuild
index 82cdb090f37b..4270a7ed57b6 100644
--- a/dev-python/xmltodict/xmltodict-0.11.0.ebuild
+++ b/dev-python/xmltodict/xmltodict-0.11.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
diff --git a/dev-python/xmltodict/xmltodict-0.12.0.ebuild b/dev-python/xmltodict/xmltodict-0.12.0.ebuild
index 66d1067a4219..d6ee8799fb4c 100644
--- a/dev-python/xmltodict/xmltodict-0.12.0.ebuild
+++ b/dev-python/xmltodict/xmltodict-0.12.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
diff --git a/dev-python/xstatic-bootstrap-scss/xstatic-bootstrap-scss-3.3.7.1.ebuild b/dev-python/xstatic-bootstrap-scss/xstatic-bootstrap-scss-3.3.7.1.ebuild
index 973a3164b0f8..a2271525ed81 100644
--- a/dev-python/xstatic-bootstrap-scss/xstatic-bootstrap-scss-3.3.7.1.ebuild
+++ b/dev-python/xstatic-bootstrap-scss/xstatic-bootstrap-scss-3.3.7.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/xstatic[${PYTHON_USEDEP}]"
diff --git a/dev-python/xstatic-datatables/xstatic-datatables-1.10.15.1.ebuild b/dev-python/xstatic-datatables/xstatic-datatables-1.10.15.1.ebuild
index 0d6083ab06d7..245797a9a3c9 100644
--- a/dev-python/xstatic-datatables/xstatic-datatables-1.10.15.1.ebuild
+++ b/dev-python/xstatic-datatables/xstatic-datatables-1.10.15.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/xstatic[${PYTHON_USEDEP}]"
diff --git a/dev-python/xstatic-jquery/xstatic-jquery-1.10.2.1.ebuild b/dev-python/xstatic-jquery/xstatic-jquery-1.10.2.1.ebuild
index 44e7df5af10d..75b9718b71ef 100644
--- a/dev-python/xstatic-jquery/xstatic-jquery-1.10.2.1.ebuild
+++ b/dev-python/xstatic-jquery/xstatic-jquery-1.10.2.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/xstatic[${PYTHON_USEDEP}]"
diff --git a/dev-python/xstatic-patternfly-bootstrap-treeview/xstatic-patternfly-bootstrap-treeview-2.1.3.2.ebuild b/dev-python/xstatic-patternfly-bootstrap-treeview/xstatic-patternfly-bootstrap-treeview-2.1.3.2.ebuild
index ab3751b62fac..b70c7512aa6e 100644
--- a/dev-python/xstatic-patternfly-bootstrap-treeview/xstatic-patternfly-bootstrap-treeview-2.1.3.2.ebuild
+++ b/dev-python/xstatic-patternfly-bootstrap-treeview/xstatic-patternfly-bootstrap-treeview-2.1.3.2.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/xstatic[${PYTHON_USEDEP}]"
diff --git a/dev-python/xstatic-patternfly/xstatic-patternfly-3.21.0.1.ebuild b/dev-python/xstatic-patternfly/xstatic-patternfly-3.21.0.1.ebuild
index eff32e63a08a..adad943042de 100644
--- a/dev-python/xstatic-patternfly/xstatic-patternfly-3.21.0.1.ebuild
+++ b/dev-python/xstatic-patternfly/xstatic-patternfly-3.21.0.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/xstatic[${PYTHON_USEDEP}]"
diff --git a/dev-python/xstatic/xstatic-1.0.1.ebuild b/dev-python/xstatic/xstatic-1.0.1.ebuild
index ce1ea013ccd7..42d620704bfe 100644
--- a/dev-python/xstatic/xstatic-1.0.1.ebuild
+++ b/dev-python/xstatic/xstatic-1.0.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/xvfbwrapper/xvfbwrapper-0.2.8.ebuild b/dev-python/xvfbwrapper/xvfbwrapper-0.2.8.ebuild
index ca6c26d4f697..1c0f153e9c63 100644
--- a/dev-python/xvfbwrapper/xvfbwrapper-0.2.8.ebuild
+++ b/dev-python/xvfbwrapper/xvfbwrapper-0.2.8.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="x11-base/xorg-server[xvfb]"
DEPEND="${RDEPEND}
diff --git a/dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild b/dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild
index 8a48d3941df5..853148cacf6d 100644
--- a/dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild
+++ b/dev-python/xvfbwrapper/xvfbwrapper-0.2.9.ebuild
@@ -14,6 +14,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="x11-base/xorg-server[xvfb]"
DEPEND="${RDEPEND}
diff --git a/dev-python/yapf/yapf-0.24.0.ebuild b/dev-python/yapf/yapf-0.24.0.ebuild
index 599e8fcc6053..21bdf0621cf0 100644
--- a/dev-python/yapf/yapf-0.24.0.ebuild
+++ b/dev-python/yapf/yapf-0.24.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
diff --git a/dev-python/yapf/yapf-0.28.0.ebuild b/dev-python/yapf/yapf-0.28.0.ebuild
index b405b45fdc9b..b4316410d2b9 100644
--- a/dev-python/yapf/yapf-0.28.0.ebuild
+++ b/dev-python/yapf/yapf-0.28.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
diff --git a/dev-python/yappi/yappi-0.98.ebuild b/dev-python/yappi/yappi-0.98.ebuild
index 32b4a8f02a91..e5279a984a08 100644
--- a/dev-python/yappi/yappi-0.98.ebuild
+++ b/dev-python/yappi/yappi-0.98.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/yappi/yappi-1.0.ebuild b/dev-python/yappi/yappi-1.0.ebuild
index 83b910c85909..c8a9ad21d60a 100644
--- a/dev-python/yappi/yappi-1.0.ebuild
+++ b/dev-python/yappi/yappi-1.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/yarl/yarl-1.1.1.ebuild b/dev-python/yarl/yarl-1.1.1.ebuild
index 098909c235ec..94d7db354fc8 100644
--- a/dev-python/yarl/yarl-1.1.1.ebuild
+++ b/dev-python/yarl/yarl-1.1.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/multidict-4.0[${PYTHON_USEDEP}]
diff --git a/dev-python/yarl/yarl-1.3.0.ebuild b/dev-python/yarl/yarl-1.3.0.ebuild
index b346c4d1db88..821f1853688c 100644
--- a/dev-python/yarl/yarl-1.3.0.ebuild
+++ b/dev-python/yarl/yarl-1.3.0.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/multidict-4.0[${PYTHON_USEDEP}]
diff --git a/dev-python/zake/zake-0.2.1.ebuild b/dev-python/zake/zake-0.2.1.ebuild
index 5d12d30a4332..dda899e8e298 100644
--- a/dev-python/zake/zake-0.2.1.ebuild
+++ b/dev-python/zake/zake-0.2.1.ebuild
@@ -14,6 +14,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild b/dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild
index 09b8ca0a5ec4..fdff18c3a853 100644
--- a/dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild
+++ b/dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild
@@ -17,6 +17,7 @@ LICENSE="ZPL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/setuptools-3.3[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/zc-lockfile/zc-lockfile-1.4.ebuild b/dev-python/zc-lockfile/zc-lockfile-1.4.ebuild
index 79e0ce90c734..fc3baf934bd3 100644
--- a/dev-python/zc-lockfile/zc-lockfile-1.4.ebuild
+++ b/dev-python/zc-lockfile/zc-lockfile-1.4.ebuild
@@ -17,6 +17,7 @@ LICENSE="ZPL"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/setuptools-3.3[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/zict/zict-0.1.2.ebuild b/dev-python/zict/zict-0.1.2.ebuild
index eda2846f11ae..4c2d7c728f81 100644
--- a/dev-python/zict/zict-0.1.2.ebuild
+++ b/dev-python/zict/zict-0.1.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/HeapDict[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/zict/zict-0.1.3.ebuild b/dev-python/zict/zict-0.1.3.ebuild
index 78a99d7b7c28..4dff93e158f6 100644
--- a/dev-python/zict/zict-0.1.3.ebuild
+++ b/dev-python/zict/zict-0.1.3.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/HeapDict[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/zict/zict-0.1.4.ebuild b/dev-python/zict/zict-0.1.4.ebuild
index 7c2c1e3d994b..8b99ec6752a8 100644
--- a/dev-python/zict/zict-0.1.4.ebuild
+++ b/dev-python/zict/zict-0.1.4.ebuild
@@ -14,6 +14,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/HeapDict[${PYTHON_USEDEP}]"
DEPEND="
diff --git a/dev-python/zipp/zipp-0.5.2.ebuild b/dev-python/zipp/zipp-0.5.2.ebuild
index 366b54407418..550d4f714b81 100644
--- a/dev-python/zipp/zipp-0.5.2.ebuild
+++ b/dev-python/zipp/zipp-0.5.2.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/zipp/zipp-0.6.0.ebuild b/dev-python/zipp/zipp-0.6.0.ebuild
index 46f6ff270793..e24fe1387bde 100644
--- a/dev-python/zipp/zipp-0.6.0.ebuild
+++ b/dev-python/zipp/zipp-0.6.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/more-itertools[${PYTHON_USEDEP}]"
BDEPEND="
diff --git a/dev-python/zope-deprecation/zope-deprecation-4.2.0.ebuild b/dev-python/zope-deprecation/zope-deprecation-4.2.0.ebuild
index beb9d76ed2ef..dae11d667c5d 100644
--- a/dev-python/zope-deprecation/zope-deprecation-4.2.0.ebuild
+++ b/dev-python/zope-deprecation/zope-deprecation-4.2.0.ebuild
@@ -17,6 +17,7 @@ LICENSE="ZPL"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]"
# note: nosetests are not actually used or enforced via test_requires