2016-08-04 15:21:41 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pywapi
|
|
|
|
PORTVERSION= 0.3.8
|
|
|
|
CATEGORIES= astro python
|
|
|
|
MASTER_SITES= http://launchpad.net/python-weather-api/trunk/${PORTVERSION}/+download/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2018-01-12 11:21:07 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2016-08-04 15:21:41 +00:00
|
|
|
COMMENT= Python wrapper around different weather APIs
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
NO_ARCH= yes
|
2020-12-28 23:02:12 +00:00
|
|
|
USES= python:3.6+
|
2016-08-04 15:21:41 +00:00
|
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|