git: 3eb36b91d76b - main - www/py-httptools: Update to 0.3.0

Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Sep 21 03:53:28 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3eb36b91d76b017113d25d1970d12823b1bbc46b

commit 3eb36b91d76b017113d25d1970d12823b1bbc46b
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-21 03:17:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-21 03:45:04 +0000

    www/py-httptools: Update to 0.3.0
    
    - Strip shared library
    
    Changes:        https://github.com/MagicStack/httptools/releases
---
 www/py-httptools/Makefile | 5 ++++-
 www/py-httptools/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/www/py-httptools/Makefile b/www/py-httptools/Makefile
index f7ea59d49ce6..aae8b21248f4 100644
--- a/www/py-httptools/Makefile
+++ b/www/py-httptools/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
 
 PORTNAME=	httptools
-PORTVERSION=	0.2.0
+PORTVERSION=	0.3.0
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -20,4 +20,7 @@ USE_PYTHON=	autoplist concurrent distutils
 post-patch:
 	@${RM} -r ${WRKSRC}/vendor/http-parser/
 
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
 .include <bsd.port.mk>
diff --git a/www/py-httptools/distinfo b/www/py-httptools/distinfo
index 3455fcb2a220..403cdb36ec18 100644
--- a/www/py-httptools/distinfo
+++ b/www/py-httptools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1619725373
-SHA256 (httptools-0.2.0.tar.gz) = 94505026be56652d7a530ab03d89474dc6021019d6b8682281977163b3471ea0
-SIZE (httptools-0.2.0.tar.gz) = 169260
+TIMESTAMP = 1632037278
+SHA256 (httptools-0.3.0.tar.gz) = 3f9b4856d46ba1f0c850f4e84b264a9a8b4460acb20e865ec00978ad9fbaa4cf
+SIZE (httptools-0.3.0.tar.gz) = 170395


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