2021-10-11 19:55:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2021/10/11 17:55:07 adam Exp $
|
2017-02-25 03:15:19 +01:00
|
|
|
|
2021-10-11 19:55:07 +02:00
|
|
|
DISTNAME= iso3166-2.0.2
|
2017-02-25 03:15:19 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
2018-08-07 10:36:58 +02:00
|
|
|
CATEGORIES= devel python
|
2017-02-25 03:15:19 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=i/iso3166/}
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2019-07-03 09:19:03 +02:00
|
|
|
HOMEPAGE= https://github.com/deactivated/python-iso3166
|
2017-02-25 03:15:19 +01:00
|
|
|
COMMENT= Self-contained ISO 3166-1 country definitions
|
|
|
|
LICENSE= mit
|
|
|
|
|
2021-10-11 19:55:07 +02:00
|
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
2020-01-16 11:08:31 +01:00
|
|
|
|
2017-02-25 03:15:19 +01:00
|
|
|
USE_LANGUAGES= # none
|
|
|
|
|
2021-10-11 19:55:07 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
|
2020-01-16 11:08:31 +01:00
|
|
|
do-test:
|
2021-10-11 19:55:07 +02:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
|
2020-01-16 11:08:31 +01:00
|
|
|
|
2017-02-25 03:15:19 +01:00
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|