Skip to content

Commit

Permalink
www/py-django-contact-form: Remove PY_SETUPTOOLS
Browse files Browse the repository at this point in the history
py-setuptools should be used rather than PY_SETUPTOOLS
  • Loading branch information
sunpoet committed Feb 21, 2024
1 parent 0cb0cdf commit 2d5281f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions www/py-django-contact-form/Makefile
Expand Up @@ -11,16 +11,15 @@ WWW= https://github.com/ubernostrum/django-contact-form
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist concurrent pep517

TEST_ENV= DJANGO_SETTINGS_MODULE=tests.settings PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

NO_ARCH= yes
TEST_ENV= DJANGO_SETTINGS_MODULE=tests.settings PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} runtests.py
Expand Down

0 comments on commit 2d5281f

Please sign in to comment.