ports/net/py-tweepy/Makefile
Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

33 lines
942 B
Makefile

PORTNAME= tweepy
DISTVERSIONPREFIX= v
PORTVERSION= 4.15.0
PORTREVISION= 1
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Twitter API library for Python
WWW= https://github.com/tweepy/tweepy
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.7.3:www/py-aiohttp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}oauthlib>=3.2.0:security/py-oauthlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=1.2.0:www/py-requests-oauthlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.27.0:www/py-requests@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vcrpy>=1.10.3:devel/py-vcrpy@${PY_FLAVOR}
USES= cpe python
CPE_VENDOR= josh_roesslein
USE_GITHUB= yes
USE_PYTHON= autoplist distutils
TEST_ENV= USE_REPLAY=1
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} -v tests.test_cursors tests.test_api tests.test_utils
.include <bsd.port.mk>