31 lines
606 B
Makefile
31 lines
606 B
Makefile
# $OpenBSD: Makefile,v 1.20 2017/01/09 12:08:42 shadchin Exp $
|
|
|
|
COMMENT = country, language, currency and scripts definitions
|
|
|
|
MODPY_EGG_VERSION = 17.1.8
|
|
DISTNAME = pycountry-${MODPY_EGG_VERSION}
|
|
PKGNAME = ${DISTNAME:S/py/py-/}
|
|
|
|
CATEGORIES = devel
|
|
|
|
MAINTAINER = Alexandr Shadchin <shadchin@openbsd.org>
|
|
|
|
# LGPL2.1
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \
|
|
${BASE_PKGPATH}=${MODPY_EGG_VERSION}
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${MODPY_BIN} -m pytest src
|
|
|
|
.include <bsd.port.mk>
|