git: d07072272048 - main - devel/py-columnize: Update version 0.3.10=>0.3.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Mar 2022 20:57:01 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d07072272048cbf7ec5f3c215cdd2c50aa4101d4
commit d07072272048cbf7ec5f3c215cdd2c50aa4101d4
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-03-13 20:55:36 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-03-13 20:55:36 +0000
devel/py-columnize: Update version 0.3.10=>0.3.11
- Add test framework
Relnotes: https://github.com/rocky/pycolumnize/releases/tag/3.11
---
devel/py-columnize/Makefile | 11 +++++------
devel/py-columnize/distinfo | 6 +++---
devel/py-columnize/files/extra-patch-____pkginfo____.py | 11 -----------
3 files changed, 8 insertions(+), 20 deletions(-)
diff --git a/devel/py-columnize/Makefile b/devel/py-columnize/Makefile
index ab7b0e55ca62..cdc2c14239d1 100644
--- a/devel/py-columnize/Makefile
+++ b/devel/py-columnize/Makefile
@@ -1,5 +1,5 @@
PORTNAME= columnize
-PORTVERSION= 0.3.10
+PORTVERSION= 0.3.11
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -9,15 +9,14 @@ COMMENT= Format a simple (i.e. not nested) list into aligned columns
LICENSE= MIT
-MY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.0:devel/py-nose@${PY_FLAVOR}
-
-BUILD_DEPENDS= ${MY_DEPENDS}
-RUN_DEPENDS= ${MY_DEPENDS}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-____pkginfo____.py
NO_ARCH= yes
+do-test:
+ @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
+
.include <bsd.port.mk>
diff --git a/devel/py-columnize/distinfo b/devel/py-columnize/distinfo
index 00a0ebb57eef..afa5e403ff02 100644
--- a/devel/py-columnize/distinfo
+++ b/devel/py-columnize/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1614668083
-SHA256 (columnize-0.3.10.tar.gz) = 5669984ae49447ee21dc33b6635a23827b25f4015e92c0858e1ac29f4e6cf5cc
-SIZE (columnize-0.3.10.tar.gz) = 9690
+TIMESTAMP = 1647204252
+SHA256 (columnize-0.3.11.tar.gz) = a631b863b310a6c1457629b7bf32a3777ea5a407f8985311ce8c24c31d1d8bb2
+SIZE (columnize-0.3.11.tar.gz) = 18776
diff --git a/devel/py-columnize/files/extra-patch-____pkginfo____.py b/devel/py-columnize/files/extra-patch-____pkginfo____.py
deleted file mode 100644
index 83b00ee7a85d..000000000000
--- a/devel/py-columnize/files/extra-patch-____pkginfo____.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- __pkginfo__.py.orig 2015-10-27 08:06:17 UTC
-+++ __pkginfo__.py
-@@ -28,7 +28,7 @@ web = 'https://github.com/rocky/pycolumn
- zip_safe = False
-
- def read(*rnames):
-- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-+ return open(os.path.join(os.path.dirname(__file__), *rnames), encoding='utf8').read()
-
- readme = 'README.txt'
- if os.path.exists('README.rst'): readme = 'README.rst'