It does.

setup.py:

#!/usr/bin/env python3

#         Python Stream Deck Library
#      Released under the MIT license
#
#   dean [at] fourwalledcubicle [dot] com
#         www.fourwalledcubicle.com
#

import argparse
import logging
import os
import sys

sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../src'))

from StreamDeck.DeviceManager import DeviceManager
from StreamDeck.ImageHelpers import PILHelper
from PIL import ImageDraw
import pytest

<snip>

Charlie Li <[email protected]> escreveu (quinta, 4/09/2025 à(s) 21:38):

> Nuno Teixeira wrote:
> > Hello Charlie,
> >
> > Sorry but I didn't understanded your explanation.
> > What we got is that if I'll do the following changes to port: comms/py-
> > streamdeck, PYTEST_ARGS isn't respected:
> >
> > - USES= dos2unix pytest python
> > + USES= dos2unix python
> > - USE_PYTHON= autoplist pep517
> > + USE_PYTHON= autoplist pep517 pytest
> > PYTEST_ARGS= test.py
> >
> ${PYTEST_ARGS} is not respected with USE_PYTHON=pytest because
> ${PYTEST_ARGS} is not used at all. USE_PYTHON=pytest executes pytest
> directly, with the only arguments dealing with individual tests to skip.
>
> This particular port/package does not use or mention pytest at all, so
> it is wrong to have pytest specified. The correct way here is to define
> do-test to execute test.py.
>
> --
> Charlie Li
> ...nope, still don't have an exit line.
>


-- 
Nuno Teixeira
FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org

Reply via email to