diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2021-03-27 03:33:35 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2021-03-27 03:33:35 +0000 |
commit | 566798056751bf658d7f55797c0650e500662008 (patch) | |
tree | 700fa5ac060efc8387ce5662089b4e3c0937cb23 | |
parent | security/libgcrypt: Fix armv7 build (diff) |
Re-add net/py-tweepy: Update 3.5.0 -> 3.10.0
Notes
Notes:
svn path=/head/; revision=569291
-rw-r--r-- | MOVED | 1 | ||||
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/py-tweepy/Makefile | 40 | ||||
-rw-r--r-- | net/py-tweepy/distinfo | 3 | ||||
-rw-r--r-- | net/py-tweepy/pkg-descr | 4 |
5 files changed, 48 insertions, 1 deletions
@@ -13639,7 +13639,6 @@ x11-toolkits/linux-c6-pango|x11-toolkits/linux-c7-pango|2019-12-31|Has expired: x11-toolkits/linux-c6-qt47-x11|x11-toolkits/linux-c7-qt-x11|2019-12-31|Has expired: Superseded by CentOS 7 x11-toolkits/linux-c6-tk85|x11-toolkits/linux-c7-tk85|2019-12-31|Has expired: Superseded by CentOS 7 lang/gnatdroid-x86||2019-12-31|Has expired: Unfetchable, unmaintained -net/py-tweepy||2019-12-31|Has expired: Broken for more than 6 months archivers/squeeze|archivers/xarchiver|2020-01-01|Removed, dead upstream and depends on expired x11-fm/thunar-vfs x11-fm/thunar-vfs||2020-01-01|Has expired: Functionality included in Thunar sysutils/ansible1||2020-01-01|Has expired: please upgrade to sysutils/ansible diff --git a/net/Makefile b/net/Makefile index 0782339d5c8a..1f66cd3a560b 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1123,6 +1123,7 @@ SUBDIR += py-tofu SUBDIR += py-transip SUBDIR += py-trio + SUBDIR += py-tweepy SUBDIR += py-twitter-tools SUBDIR += py-txamqp SUBDIR += py-txrestapi diff --git a/net/py-tweepy/Makefile b/net/py-tweepy/Makefile new file mode 100644 index 000000000000..651516fa0de5 --- /dev/null +++ b/net/py-tweepy/Makefile @@ -0,0 +1,40 @@ +# Created by: Cheng-Lung Sung <clsung@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= tweepy +PORTVERSION= 3.10.0 +DISTVERSIONPREFIX= v +CATEGORIES= net python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs@FreeBSD.org +COMMENT= Twitter API library for Python + +LICENSE= MIT + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.11.1:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>0:www/py-requests-oauthlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.3.3:devel/py-nose@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}vcrpy>=1.10.3:devel/py-vcrpy@${PY_FLAVOR} + +USES= python +USE_GITHUB= yes +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +TEST_ENV= USE_REPLAY=1 + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3000 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2@${PY_FLAVOR} +.endif + +do-test: + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} -v tests.test_cursors tests.test_api tests.test_utils + +.include <bsd.port.post.mk> diff --git a/net/py-tweepy/distinfo b/net/py-tweepy/distinfo new file mode 100644 index 000000000000..1769d39d09ea --- /dev/null +++ b/net/py-tweepy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1616815345 +SHA256 (tweepy-tweepy-v3.10.0_GH0.tar.gz) = c29dea6ef56dd433a850b4a54214eeb61c555a81b4454bbba4376bf7a2f11c55 +SIZE (tweepy-tweepy-v3.10.0_GH0.tar.gz) = 459678 diff --git a/net/py-tweepy/pkg-descr b/net/py-tweepy/pkg-descr new file mode 100644 index 000000000000..8f474fdf7901 --- /dev/null +++ b/net/py-tweepy/pkg-descr @@ -0,0 +1,4 @@ +A Python library for accessing the Twitter.com API. +Supports OAuth, covers the entire API, and streaming API. + +WWW: https://github.com/tweepy/tweepy |