mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
a78b3c7096
Changelog: https://github.com/saghul/pycares/blob/pycares-2.3.0/ChangeLog - Set LICENSE_FILE. - Define the do-test target. - Strip _core.so. PR: 234452 Reviewed by: krion@ Approved by: demon@ (maintainer), krion@ (mentor) Differential Revision: https://reviews.freebsd.org/D18671
29 lines
669 B
Makefile
29 lines
669 B
Makefile
# Created by: Dmitry Sivachenko <mitya@yandex-team.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pycares
|
|
PORTVERSION= 2.3.0
|
|
CATEGORIES= dns python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= demon@FreeBSD.org
|
|
COMMENT= Python interface to c-ares
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist concurrent
|
|
|
|
PYDISTUTILS_BUILD_TARGET= build_ext
|
|
PYDISTUTILS_BUILDARGS= --inplace --force
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/_core.so
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} tests/tests.py
|
|
|
|
.include <bsd.port.mk>
|