www/py-dj40-django-auth-ldap: Switch to PEP517
* Bump PORTREVISION as the package no longer contains byte-code.
This commit is contained in:
parent
da141b603d
commit
3fb91363d0
2 changed files with 6 additions and 11 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= django-auth-ldap
|
||||
PORTVERSION= 4.1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www security python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40-
|
||||
|
@ -11,12 +12,13 @@ WWW= https://github.com/django-auth-ldap/django-auth-ldap
|
|||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR}
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}ldap>=3.1:net/py-ldap@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
|
@ -24,11 +26,9 @@ NO_ARCH= yes
|
|||
PORTDOCS= *
|
||||
OPTIONS_DEFINE= DOCS
|
||||
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
|
||||
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
|
||||
|
||||
# Workaround to make the port still buildable with "distutils"
|
||||
post-extract:
|
||||
@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
|
||||
post-build-DOCS-on:
|
||||
${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} -d ${WRKDIR} -b html ${WRKSRC}/docs ${WRKSRC}/build/sphinx/html
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
# Taken from the previous release (= 3.0.0)
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
setup()
|
Loading…
Reference in a new issue