Date: Sat, 12 Mar 2022 10:36:31 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: aed79866d4c7 - main - net/py-twitter-tools: Update version 1.18.0=>1.19.3 Message-ID: <202203121036.22CAaVHh039765@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=aed79866d4c7fee24b9be37fcad41a82f330e14f commit aed79866d4c7fee24b9be37fcad41a82f330e14f Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2022-03-10 10:01:32 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2022-03-12 10:36:26 +0000 net/py-twitter-tools: Update version 1.18.0=>1.19.3 Relnotes: https://github.com/python-twitter-tools/twitter/releases/tag/twitter-1.19.3 --- net/py-twitter-tools/Makefile | 5 ++--- net/py-twitter-tools/distinfo | 6 +++--- net/py-twitter-tools/files/patch-setup.py | 34 ++++++++++++++++++++----------- 3 files changed, 27 insertions(+), 18 deletions(-) diff --git a/net/py-twitter-tools/Makefile b/net/py-twitter-tools/Makefile index 3d1f9f518930..a9094df81ef6 100644 --- a/net/py-twitter-tools/Makefile +++ b/net/py-twitter-tools/Makefile @@ -1,7 +1,7 @@ # Created by: Kubilay Kocak <koobs@FreeBSD.org> PORTNAME= twitter -PORTVERSION= 1.18.0 +PORTVERSION= 1.19.3 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,9 +17,8 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} USES= python:3.6+ USE_GITHUB= yes -USE_PYTHON= distutils concurrent autoplist - GH_ACCOUNT= sixohsix +USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/net/py-twitter-tools/distinfo b/net/py-twitter-tools/distinfo index f7932ac02bc3..6eb820ec9f93 100644 --- a/net/py-twitter-tools/distinfo +++ b/net/py-twitter-tools/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1556188728 -SHA256 (sixohsix-twitter-twitter-1.18.0_GH0.tar.gz) = 561483b319aa153f94b334266341351c4dee9934835db976a030906a5d931567 -SIZE (sixohsix-twitter-twitter-1.18.0_GH0.tar.gz) = 47400 +TIMESTAMP = 1646762565 +SHA256 (sixohsix-twitter-twitter-1.19.3_GH0.tar.gz) = 91261e8e69c469ee4a9ddb4df2eae09a836e4ad358592d1a2e3b9bc82aca4ee3 +SIZE (sixohsix-twitter-twitter-1.19.3_GH0.tar.gz) = 49104 diff --git a/net/py-twitter-tools/files/patch-setup.py b/net/py-twitter-tools/files/patch-setup.py index c8959569b971..33f22689bee4 100644 --- a/net/py-twitter-tools/files/patch-setup.py +++ b/net/py-twitter-tools/files/patch-setup.py @@ -1,17 +1,27 @@ # Fix UnicodeDecodeError: 'ascii' codec can't decode error ---- setup.py.orig 2019-04-25 10:41:18 UTC +--- setup.py.orig 2021-06-18 10:28:47 UTC +++ setup.py -@@ -1,11 +1,7 @@ - from setuptools import setup, find_packages - import sys, os +@@ -3,12 +3,8 @@ with open("README") as f: + with open("README") as f: + long_description = f.read() --try: -- import pypandoc -- long_description = pypandoc.convert('README', 'rst', format='md') --except ImportError: -- long_description = open('./README', 'r').read() -+long_description = open('./README', 'rb').read().decode("utf-8") - - version = '1.18.0' ++version = '1.19.3' +-def local_scheme(version): +- """Skip the local version (eg. +xyz of 0.6.1.dev4+gdf99fe2) +- to be able to upload to Test PyPI""" +- return "" +- + setup(name='twitter', + description="An API and command-line toolset for Twitter (twitter.com)", + long_description=long_description, +@@ -43,8 +39,6 @@ setup(name='twitter', + packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), + include_package_data=True, + zip_safe=True, +- use_scm_version={"local_scheme": local_scheme}, +- setup_requires=["setuptools_scm"], + entry_points=""" + # -*- Entry points: -*- + [console_scripts]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203121036.22CAaVHh039765>