git: 0fd28ad31fd3 - main - devel/py-jsmin: Update to 3.0.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 25 Jan 2022 19:53:50 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0fd28ad31fd338ef7f35ee309f7adf4ec2b16b50

commit 0fd28ad31fd338ef7f35ee309f7adf4ec2b16b50
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-25 19:21:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-25 19:50:16 +0000

    devel/py-jsmin: Update to 3.0.1
    
    Changes:        https://github.com/tikitu/jsmin/blob/master/CHANGELOG.txt
                    https://github.com/tikitu/jsmin/commits/master
---
 devel/py-jsmin/Makefile                  |  2 +-
 devel/py-jsmin/distinfo                  |  6 +++---
 devel/py-jsmin/files/patch-jsmin-test.py | 19 -------------------
 3 files changed, 4 insertions(+), 23 deletions(-)

diff --git a/devel/py-jsmin/Makefile b/devel/py-jsmin/Makefile
index 5cdfc5e1d11c..3203db3eb4f2 100644
--- a/devel/py-jsmin/Makefile
+++ b/devel/py-jsmin/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chien Lin <linpc@cs.nctu.edu.tw>
 
 PORTNAME=	jsmin
-PORTVERSION=	3.0.0
+PORTVERSION=	3.0.1
 CATEGORIES=	devel www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-jsmin/distinfo b/devel/py-jsmin/distinfo
index 7845ee9eb843..e6f2e1cc2665 100644
--- a/devel/py-jsmin/distinfo
+++ b/devel/py-jsmin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1632037082
-SHA256 (jsmin-3.0.0.tar.gz) = 88fc1bd6033a47c5911dbcada7d279c7a8b7ad0841909590f6a742c20c4d2e08
-SIZE (jsmin-3.0.0.tar.gz) = 11519
+TIMESTAMP = 1643133749
+SHA256 (jsmin-3.0.1.tar.gz) = c0959a121ef94542e807a674142606f7e90214a2b3d1eb17300244bbb5cc2bfc
+SIZE (jsmin-3.0.1.tar.gz) = 13925
diff --git a/devel/py-jsmin/files/patch-jsmin-test.py b/devel/py-jsmin/files/patch-jsmin-test.py
deleted file mode 100644
index e88efb9d182a..000000000000
--- a/devel/py-jsmin/files/patch-jsmin-test.py
+++ /dev/null
@@ -1,19 +0,0 @@
---- jsmin/test.py.orig	2021-09-16 18:39:59 UTC
-+++ jsmin/test.py
-@@ -592,15 +592,7 @@ console.log('hello!');}/*! Copyright blah blah
- class RegexTests(unittest.TestCase):
- 
-     def regex_recognise(self, js):
--        if not jsmin.is_3:
--            if jsmin.cStringIO and not isinstance(js, unicode):
--                # strings can use cStringIO for a 3x performance
--                # improvement, but unicode (in python2) cannot
--                klass = jsmin.cStringIO.StringIO
--            else:
--                klass = jsmin.StringIO.StringIO
--        else:
--            klass = jsmin.io.StringIO
-+        klass = jsmin.io.StringIO
-         ins = klass(js[2:])
-         outs = klass()
-         jsmin.JavascriptMinify(ins, outs).regex_literal(js[0], js[1])