Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2021 03:51:18 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: 8655290eddf0 - main - devel/py-google-crc32c: Update to 1.1.5
Message-ID:  <202109210351.18L3pIZS029639@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=8655290eddf0218bdace702756db56a0d14d22bb

commit 8655290eddf0218bdace702756db56a0d14d22bb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-09-21 03:12:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-09-21 03:44:27 +0000

    devel/py-google-crc32c: Update to 1.1.5
    
    Changes:        https://github.com/googleapis/python-crc32c/releases
---
 devel/py-google-crc32c/Makefile             |  4 ++--
 devel/py-google-crc32c/distinfo             |  6 +++---
 devel/py-google-crc32c/files/patch-setup.py | 10 ----------
 devel/py-google-crc32c/patch-setup.py       | 10 ++++++++++
 4 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/devel/py-google-crc32c/Makefile b/devel/py-google-crc32c/Makefile
index 83b3ffe565e8..4acd1888a984 100644
--- a/devel/py-google-crc32c/Makefile
+++ b/devel/py-google-crc32c/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	google-crc32c
-PORTVERSION=	1.1.2
+PORTVERSION=	1.1.5
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,6 +19,6 @@ USES=		localbase python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/google_crc32c/_crc32c_cffi*.so
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
 .include <bsd.port.mk>
diff --git a/devel/py-google-crc32c/distinfo b/devel/py-google-crc32c/distinfo
index 0cbb3dc69b2c..b4b51eacd791 100644
--- a/devel/py-google-crc32c/distinfo
+++ b/devel/py-google-crc32c/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611856548
-SHA256 (google-crc32c-1.1.2.tar.gz) = dff5bd1236737f66950999d25de7a78144548ebac7788d30ada8c1b6ead60b27
-SIZE (google-crc32c-1.1.2.tar.gz) = 12265
+TIMESTAMP = 1632037074
+SHA256 (google-crc32c-1.1.5.tar.gz) = 0d58387206b44fc820ac9cddb367addaa51ae706694f7d15c43abc55bf6a09c1
+SIZE (google-crc32c-1.1.5.tar.gz) = 12097
diff --git a/devel/py-google-crc32c/files/patch-setup.py b/devel/py-google-crc32c/files/patch-setup.py
deleted file mode 100644
index 531b5498efc2..000000000000
--- a/devel/py-google-crc32c/files/patch-setup.py
+++ /dev/null
@@ -1,10 +0,0 @@
---- setup.py.orig	2020-03-21 00:48:10 UTC
-+++ setup.py
-@@ -54,7 +54,6 @@ def main(build_cffi=True):
-     setuptools.setup(
-         packages=["google_crc32c"],
-         package_dir={"": "src"},
--        package_data={"google_crc32c": [os.path.join(_EXTRA_DLL, _DLL_FILENAME)]},
-         setup_requires=[cffi_dep] if build_cffi else [],
-         cffi_modules=[builder] if build_cffi else [],
-         install_requires=[cffi_dep] if build_cffi else [],
diff --git a/devel/py-google-crc32c/patch-setup.py b/devel/py-google-crc32c/patch-setup.py
new file mode 100644
index 000000000000..e39050d903e3
--- /dev/null
+++ b/devel/py-google-crc32c/patch-setup.py
@@ -0,0 +1,10 @@
+--- setup.py.orig	2021-09-07 21:17:59 UTC
++++ setup.py
+@@ -70,7 +70,6 @@ def build_c_extension():
+         packages=["google_crc32c"],
+         package_dir={"": "src"},
+         ext_modules=[module],
+-        cmdclass={"build_ext": BuildExtWithDLL},
+     )
+ 
+ 



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