git: 0f944f3d8a9c - main - www/py-http-parser: minor adjustments

Ruslan Makhmatkhanov rm at FreeBSD.org
Wed Apr 14 12:48:26 UTC 2021


The branch main has been updated by rm:

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

commit 0f944f3d8a9c709575ffd4f7023d296c4ad38aa4
Author:     Ruslan Makhmatkhanov <rm at FreeBSD.org>
AuthorDate: 2021-04-14 12:46:33 +0000
Commit:     Ruslan Makhmatkhanov <rm at FreeBSD.org>
CommitDate: 2021-04-14 12:46:33 +0000

    www/py-http-parser: minor adjustments
    
    - use DISTVERSION instead of PORTVERSION
    - set minimal python version required to 3.6+ (while technically it
      works with anything from 2.6+)
---
 www/py-http-parser/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/py-http-parser/Makefile b/www/py-http-parser/Makefile
index b1ca37494e10..bd735bd5ab42 100644
--- a/www/py-http-parser/Makefile
+++ b/www/py-http-parser/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	http-parser
-PORTVERSION=	0.9.0
+DISTVERSION=	0.9.0
 CATEGORIES=	www
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,7 +10,7 @@ COMMENT=	HTTP request/response parser for python in C
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		python
+USES=		python:3.6+
 USE_PYTHON=	autoplist distutils
 
 post-install:


More information about the dev-commits-ports-all mailing list