Skip to content

Commit

Permalink
textproc/py-readchar: Update to 3.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
0mp committed Apr 15, 2021
1 parent 860af5d commit 6258f1a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 21 deletions.
3 changes: 2 additions & 1 deletion textproc/py-readchar/Makefile
@@ -1,5 +1,6 @@
PORTNAME= readchar
PORTVERSION= 2.0.0
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.4
CATEGORIES= textproc devel
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

Expand Down
6 changes: 3 additions & 3 deletions textproc/py-readchar/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1605719262
SHA256 (magmax-python-readchar-2.0.0_GH0.tar.gz) = 503c96fbdaa5e96162535dc0a8fb8525582a18a42214909d751f150c8029d694
SIZE (magmax-python-readchar-2.0.0_GH0.tar.gz) = 6046
TIMESTAMP = 1618495881
SHA256 (magmax-python-readchar-v3.0.4_GH0.tar.gz) = c5a1d5c6c22a6a59b76786a6d6731d5dcde168a105704f5ff7dca6a959e07275
SIZE (magmax-python-readchar-v3.0.4_GH0.tar.gz) = 7280
16 changes: 8 additions & 8 deletions textproc/py-readchar/files/patch-readchar_readchar.py
@@ -1,11 +1,11 @@
--- readchar/readchar.py.orig 2020-11-18 17:42:51 UTC
--- readchar/readchar.py.orig 2021-04-15 14:19:54 UTC
+++ readchar/readchar.py
@@ -9,6 +9,8 @@ if sys.platform.startswith('linux'):
@@ -6,6 +6,8 @@ import sys
if sys.platform.startswith("linux"):
from .readchar_linux import readchar
elif sys.platform == 'darwin':
from .readchar_linux import readchar
+elif sys.platform.startswith('freebsd'):
+elif sys.platform.startswith("freebsd"):
+ from .readchar_linux import readchar
elif sys.platform in ('win32', 'cygwin'):
import msvcrt
from .readchar_windows import readchar
elif sys.platform == "darwin":
from .readchar_linux import readchar
elif sys.platform in ("win32", "cygwin"):
14 changes: 5 additions & 9 deletions textproc/py-readchar/files/patch-setup.py
@@ -1,13 +1,9 @@
--- setup.py.orig 2020-11-18 17:14:13 UTC
--- setup.py.orig 2021-04-15 14:15:08 UTC
+++ setup.py
@@ -75,7 +75,7 @@ setup(
@@ -82,6 +82,5 @@ setup(
],
install_requires=[
install_requires=[],
setup_requires=[
- "flake8",
],
- setup_requires=[
- 'flake8',
- ],
+ #setup_requires=[
+ # 'flake8',
+ #],
)

0 comments on commit 6258f1a

Please sign in to comment.