mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
528736998d
- Convert to PYDISTUTILS_AUTOPLIST - Bump PORTREVISION
32 lines
675 B
Makefile
32 lines
675 B
Makefile
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= praw
|
|
PORTVERSION= 2.1.11
|
|
PORTREVISION= 2
|
|
CATEGORIES= www python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
COMMENT= Python Reddit API Wrapper
|
|
|
|
LICENSE= GPLv3
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests1>=1.2.0:${PORTSDIR}/www/py-requests1 \
|
|
${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
|
|
TEST_DEPENDS:= ${RUN_DEPENDS}
|
|
|
|
USE_GITHUB= yes
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
GH_ACCOUNT= praw-dev
|
|
GH_TAGNAME= v${DISTVERSION}
|
|
GH_COMMIT= a36c3f1
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
|
|
|
.include <bsd.port.mk>
|