Files
ports/devel/py-pygithub/Makefile
Goran Mekic e6ec12f664 www/py-pyjwt: Rename to www/py-pyjwt1
To make it possible to easily import py-pyjwt v2.x move the current port
to a versioned directory. Bump consumers after rename of the dependency.

PR:		254038
2021-10-04 19:10:05 +02:00

29 lines
679 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
PORTNAME= pygithub
PORTVERSION= 1.54
PORTREVISION= 1
CATEGORIES= devel www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyGithub-${PORTVERSION}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Python library implementing the full GitHub API v3
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.14.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyjwt1>0:www/py-pyjwt1@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>