1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

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
This commit is contained in:
Muhammad Moinur Rahman 2022-03-10 04:01:32 -06:00
parent 5d9614866d
commit aed79866d4
3 changed files with 27 additions and 18 deletions

View File

@ -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

View File

@ -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

View File

@ -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]