forked from Lainports/freebsd-ports
* Pet portlint by making the USES block separate while I'm here Changelog since 1.4.2: * Fix broken "sdist". * Fix "console_scripts" entry point syntax. * Add support for JSON output from the CLI. * Add support for installed wheels. E.g., "dist-info/" dirs. * Harden metadata extraction against unexpected encodings. * Update tests to match pip/setuptools use of new metadata version. * Add support for Python 3.6 and 3.7. * Drop support for Python 3.3. PR: 239784 Approved by: maintainer timeout (14 days) MFH: 2019Q3
31 lines
753 B
Makefile
31 lines
753 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pkginfo
|
|
DISTVERSION= 1.5.0.1
|
|
CATEGORIES= sysutils python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= che@bein.link
|
|
COMMENT= Query metadatdata from sdists / bdists / installed packages
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
|
|
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
@(cd ${WRKSRC}/build/sphinx/html && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
|
|
"! -name .buildinfo -and ! -name objects.inv")
|
|
|
|
.include <bsd.port.mk>
|