Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sequence expression notation in all PYTHON_COMPAT examples #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions any.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ This is best explained using an example:
# Distributed under the terms of the GNU General Public License v2

EAPI=6
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6..8} )

inherit meson python-any-r1

Expand Down Expand Up @@ -163,7 +163,7 @@ need to be wrapped in appropriate USE conditions:

EAPI=7

PYTHON_COMPAT=( python3_{6,7} )
PYTHON_COMPAT=( python3_{6..7} )
inherit python-any-r1

DESCRIPTION="Programmable Completion for bash"
Expand Down Expand Up @@ -212,7 +212,7 @@ a similar condition in ``python_check_deps()``:

EAPI=7

PYTHON_COMPAT=( python3_{6,7} )
PYTHON_COMPAT=( python3_{6..7} )
inherit python-any-r1 cmake

DESCRIPTION="Qt bindings for the Telepathy D-Bus protocol"
Expand Down
2 changes: 1 addition & 1 deletion basic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The valid values are:

Typical use::

PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit python-single-r1


Expand Down
6 changes: 3 additions & 3 deletions buildsys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ to inherit ``python-any-r1``. The eclass takes care of setting

EAPI=7

PYTHON_COMPAT=( python3_{6,7} )
PYTHON_COMPAT=( python3_{6..7} )
inherit python-any-r1 scons-utils toolchain-funcs

COMMIT="6e5e8a57628095d8d0c8bbb38187afb0f3a42112"
Expand Down Expand Up @@ -113,7 +113,7 @@ be combined.

EAPI=7

PYTHON_COMPAT=( python3_{6,7} )
PYTHON_COMPAT=( python3_{6..7} )
inherit python-any-r1 scons-utils toolchain-funcs

MY_P=${PN}-src-r${PV/_rc/-rc}
Expand Down Expand Up @@ -286,7 +286,7 @@ unconditionally.

EAPI=7

PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6..8} )

FORTRAN_NEEDED=fortran
FORTRAN_STANDARD=90
Expand Down
2 changes: 1 addition & 1 deletion depend.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ SQLite support when running tests:
# Distributed under the terms of the GNU General Public License v2

EAPI=7
PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
PYTHON_COMPAT=( python3_{6..8} pypy3 )

inherit distutils-r1

Expand Down
4 changes: 2 additions & 2 deletions distutils-legacy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ The value needs to be set before inheriting the eclass:

EAPI=7

PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
PYTHON_COMPAT=( python2_7 python3_{6..8} pypy3 )
DISTUTILS_USE_SETUPTOOLS=rdepend

inherit distutils-r1
Expand Down Expand Up @@ -276,7 +276,7 @@ files are contained within the copy used for the current interpreter.

EAPI=7
DISTUTILS_USE_SETUPTOOLS=no
PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
PYTHON_COMPAT=( python3_{6..8} pypy3 )
PYTHON_REQ_USE="xml(+)"

inherit distutils-r1
Expand Down
6 changes: 3 additions & 3 deletions distutils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ containing Sphinx documentation:

EAPI=7

PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6..8} )
DISTUTILS_USE_SETUPTOOLS=rdepend

inherit distutils-r1
Expand Down Expand Up @@ -829,7 +829,7 @@ to ``distutils_enable_sphinx``.

EAPI=7

PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
PYTHON_COMPAT=( pypy3 python3_{6..8} )
inherit distutils-r1

DESCRIPTION="Correctly inflect words and numbers"
Expand Down Expand Up @@ -868,7 +868,7 @@ packages.

EAPI=7

PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
PYTHON_COMPAT=( python2_7 python3_{6..8} )
inherit distutils-r1

DESCRIPTION="Python Serial Port extension"
Expand Down
6 changes: 3 additions & 3 deletions expert-multi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies to available targets.

EAPI=7

PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy{,3} )
PYTHON_COMPAT=( python2_7 python3_{6..8} pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1

Expand Down Expand Up @@ -101,7 +101,7 @@ list.

EAPI=7

PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6..8} )
PYTHON_REQ_USE="sqlite"
inherit distutils-r1

Expand Down Expand Up @@ -158,7 +158,7 @@ targets.

EAPI=6

PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
PYTHON_COMPAT=( python2_7 python3_{5..7} )

inherit python-r1 toolchain-funcs

Expand Down
2 changes: 1 addition & 1 deletion multi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ that it is entirely normal that the same environment will be set inside

EAPI="7"

PYTHON_COMPAT=( python{3_6,3_7} )
PYTHON_COMPAT=( python3_{6..7} )
PYTHON_REQ_USE="ncurses,readline"
inherit python-r1

Expand Down
4 changes: 2 additions & 2 deletions single.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ USE-conditional:

EAPI=6

PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6..8} )
PYTHON_REQ_USE="threads(+)"

inherit waf-utils python-single-r1
Expand Down Expand Up @@ -222,7 +222,7 @@ applies to build time (tests) while the other to runtime (bindings).

EAPI=7

PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6..8} )
inherit cmake python-single-r1

DESCRIPTION="Sound design and signal processing system for composition and performance"
Expand Down
8 changes: 4 additions & 4 deletions test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ setting ``RDEPEND``, it also copies it to test dependencies.

EAPI=7

PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
PYTHON_COMPAT=( python2_7 python3_{6..8} pypy3 )
inherit distutils-r1

DESCRIPTION="An easy whitelist-based HTML-sanitizing tool"
Expand Down Expand Up @@ -81,7 +81,7 @@ Please read the section on `undesirable test dependencies`_ too.

EAPI=6

PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
PYTHON_COMPAT=( python2_7 python3_{6..8} pypy3 )
inherit distutils-r1

DESCRIPTION="Universal encoding detector"
Expand Down Expand Up @@ -138,7 +138,7 @@ it call ``distutils-r1_src_test``:

EAPI=7

PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6..8} )
inherit distutils-r1

DESCRIPTION="Extra features for standard library's cmd module"
Expand Down Expand Up @@ -184,7 +184,7 @@ of its logic.

EAPI=7

PYTHON_COMPAT=( python{2_7,3_6,3_7,3_8} pypy3 )
PYTHON_COMPAT=( python2_7 python3_{6..8} pypy3 )
inherit distutils-r1

DESCRIPTION="Bash tab completion for argparse"
Expand Down