mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
www/py-dj51-django-taggit: Sync with 8ac1760ada
* Remove defunct testsuite because upstream no longer supplies it in the sdist tarballs since release 6.0.0. * Switch to PEP517 build framework while I'm here. * Bump PORTREVISION due changed package contents. MFH: 2025Q2
This commit is contained in:
parent
53c918e581
commit
ee26544d25
1 changed files with 4 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= django-taggit
|
||||
PORTVERSION= 6.1.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51-
|
||||
|
@ -13,17 +13,15 @@ WWW= https://github.com/jazzband/django-taggit
|
|||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=4.1:www/py-django51@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj51-djangorestframework>0:www/py-dj51-djangorestframework@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.10+
|
||||
USE_PYTHON= autoplist distutils
|
||||
USE_PYTHON= autoplist pep517
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m django test --settings=tests.settings -v3
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue