pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-curtsies py-curtsies: updated to 0.3.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2093d478cce6
branches:  trunk
changeset: 449068:2093d478cce6
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Mar 20 15:12:22 2021 +0000

description:
py-curtsies: updated to 0.3.5

0.3.5:
Drop supported for Python 2, 3.4 and 3.5.
Migrate to pytest.
Add new exmples.
Improve error messages.
Replace wcwidth with cwcwidth

diffstat:

 devel/py-curtsies/Makefile               |  12 +++++-------
 devel/py-curtsies/distinfo               |  11 +++++------
 devel/py-curtsies/patches/patch-setup.py |  22 ----------------------
 3 files changed, 10 insertions(+), 35 deletions(-)

diffs (75 lines):

diff -r a71d0959c2da -r 2093d478cce6 devel/py-curtsies/Makefile
--- a/devel/py-curtsies/Makefile        Sat Mar 20 15:10:41 2021 +0000
+++ b/devel/py-curtsies/Makefile        Sat Mar 20 15:12:22 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2020/07/16 06:08:13 adam Exp $
+# $NetBSD: Makefile,v 1.7 2021/03/20 15:12:22 adam Exp $
 
-DISTNAME=      curtsies-0.3.4
+DISTNAME=      curtsies-0.3.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/curtsies/}
@@ -11,17 +11,15 @@
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-blessings>=1.5:../../devel/py-blessings
-DEPENDS+=      ${PYPKGPREFIX}-wcwidth>=0.1.4:../../devel/py-wcwidth
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
-.endif
+DEPENDS+=      ${PYPKGPREFIX}-cwcwidth-[0-9]*:../../devel/py-cwcwidth
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
 TEST_DEPENDS+= ${PYPKGPREFIX}-pyte-[0-9]*:../../devel/py-pyte
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 do-test:
        cd ${WRKSRC}/tests && ${PYTHONBIN} -m unittest discover -v
 
diff -r a71d0959c2da -r 2093d478cce6 devel/py-curtsies/distinfo
--- a/devel/py-curtsies/distinfo        Sat Mar 20 15:10:41 2021 +0000
+++ b/devel/py-curtsies/distinfo        Sat Mar 20 15:12:22 2021 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.7 2020/08/27 12:26:59 joerg Exp $
+$NetBSD: distinfo,v 1.8 2021/03/20 15:12:22 adam Exp $
 
-SHA1 (curtsies-0.3.4.tar.gz) = 336b54a640a02d398ad7bfc8e93d6b8d0ae81be9
-RMD160 (curtsies-0.3.4.tar.gz) = a9839baf73fe50b367899243ee22006cac16d5f1
-SHA512 (curtsies-0.3.4.tar.gz) = 5f65af34f6dd13491acf65311516ed90e57d99f681032ab6b4753710953f5285b012a09de6c56d28ccd5bc942c9886076f04287cddf955ba424205a5c44785b2
-Size (curtsies-0.3.4.tar.gz) = 52733 bytes
-SHA1 (patch-setup.py) = 1d1e21ac1bb8f3a308a1466a53d32c0c253d0515
+SHA1 (curtsies-0.3.5.tar.gz) = f79ea1d728e10e05e9bbd90cf1399ea867cbcc6d
+RMD160 (curtsies-0.3.5.tar.gz) = b3107c9109491dccd1a16b5805c1063366574641
+SHA512 (curtsies-0.3.5.tar.gz) = e46ab3f79e2385055e4f3f9bc1d2c341605b93c21a0e6c42f4807b1801d37f70cfbdd1006db1ec12257e95d91aedddd95aa31a7de99bbfc09a6f0ee473497747
+Size (curtsies-0.3.5.tar.gz) = 53472 bytes
diff -r a71d0959c2da -r 2093d478cce6 devel/py-curtsies/patches/patch-setup.py
--- a/devel/py-curtsies/patches/patch-setup.py  Sat Mar 20 15:10:41 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-setup.py,v 1.3 2020/08/27 12:26:59 joerg Exp $
-
---- setup.py.orig      2020-08-26 11:44:55.860904637 +0000
-+++ setup.py
-@@ -2,7 +2,7 @@ from setuptools import setup
- import ast
- import os
- import io
--
-+import sys
- 
- def version():
-     """Return version string."""
-@@ -16,7 +16,7 @@ setup(
-     name="curtsies",
-     version=version(),
-     description="Curses-like terminal wrapper, with colored strings!",
--    long_description=open("readme.md", encoding="utf-8").read(),
-+    long_description=open("readme.md", **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})).read(),
-     long_description_content_type="text/markdown",
-     url="https://github.com/bpython/curtsies";,
-     author="Thomas Ballinger",



Home | Main Index | Thread Index | Old Index