Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2024 16:01:51 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4c3e63af680f - main - devel/py-python-mimeparse: Update to 2.0.0
Message-ID:  <202412311601.4BVG1pww086923@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4c3e63af680f827527a0c47e27d8818dcd27627e

commit 4c3e63af680f827527a0c47e27d8818dcd27627e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-12-31 15:49:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-12-31 15:49:11 +0000

    devel/py-python-mimeparse: Update to 2.0.0
    
    - Update WWW
    - Convert to USE_PYTHON=pytest
    
    Changes:        https://github.com/falconry/python-mimeparse/releases
---
 devel/py-python-mimeparse/Makefile | 15 ++++++---------
 devel/py-python-mimeparse/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/devel/py-python-mimeparse/Makefile b/devel/py-python-mimeparse/Makefile
index 19ab658c3cd9..e24bc62fcf12 100644
--- a/devel/py-python-mimeparse/Makefile
+++ b/devel/py-python-mimeparse/Makefile
@@ -1,26 +1,23 @@
 PORTNAME=	python-mimeparse
-PORTVERSION=	1.6.0
-PORTREVISION=	1
+PORTVERSION=	2.0.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	python_mimeparse-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Basic functions for handling mime-types in Python
-WWW=		http://code.google.com/p/mimeparse/
+WWW=		https://github.com/falconry/python-mimeparse
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=47:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0.34:devel/py-wheel@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent pep517
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
-do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} mimeparse_test.py
-
 .include <bsd.port.mk>
diff --git a/devel/py-python-mimeparse/distinfo b/devel/py-python-mimeparse/distinfo
index 8636cbc4afdb..a928b28819f9 100644
--- a/devel/py-python-mimeparse/distinfo
+++ b/devel/py-python-mimeparse/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1531934853
-SHA256 (python-mimeparse-1.6.0.tar.gz) = 76e4b03d700a641fd7761d3cd4fdbbdcd787eade1ebfac43f877016328334f78
-SIZE (python-mimeparse-1.6.0.tar.gz) = 6541
+TIMESTAMP = 1735227910
+SHA256 (python_mimeparse-2.0.0.tar.gz) = 5b9a9dcf7aa82465e31bd667f5cb7000604811dce83554f1c8a43693a32cb303
+SIZE (python_mimeparse-2.0.0.tar.gz) = 7162



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412311601.4BVG1pww086923>