77d68471ad
PR: 267994 Differential revision: D37518 Approved by: bapt
25 lines
583 B
Makefile
25 lines
583 B
Makefile
PORTNAME= korean-lunar-calendar
|
|
DISTVERSION= 0.3.1
|
|
CATEGORIES= korean python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Korean Lunar Calendar
|
|
WWW= https://github.com/usingsky/korean_lunar_calendar_py
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= distutils autoplist pytest
|
|
|
|
NO_ARCH= yes
|
|
|
|
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
do-test:
|
|
@${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${FILESDIR}/test.py
|
|
|
|
.include <bsd.port.mk>
|