git: 856115917f07 - main - security/py-pycryptodome-test-vectors: Update to 1.0.20
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Oct 2024 07:05:09 UTC
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=856115917f070f8b15a5ab54031b5ea465eb5a4c
commit 856115917f070f8b15a5ab54031b5ea465eb5a4c
Author: John W. O'Brien <john@saltant.com>
AuthorDate: 2024-10-28 07:04:21 +0000
Commit: Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2024-10-28 07:04:46 +0000
security/py-pycryptodome-test-vectors: Update to 1.0.20
PR: 282361
---
security/py-pycryptodome-test-vectors/Makefile | 3 +--
security/py-pycryptodome-test-vectors/distinfo | 6 +++---
.../files/patch-setup.py | 20 ++++++++++++++++++++
3 files changed, 24 insertions(+), 5 deletions(-)
diff --git a/security/py-pycryptodome-test-vectors/Makefile b/security/py-pycryptodome-test-vectors/Makefile
index 8de07c9652ad..2fb7af9b7be9 100644
--- a/security/py-pycryptodome-test-vectors/Makefile
+++ b/security/py-pycryptodome-test-vectors/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pycryptodome-test-vectors
-DISTVERSION= 1.0.14
+DISTVERSION= 1.0.20
CATEGORIES= security python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,6 @@ LICENSE= BSD2CLAUSE APACHE20
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
-# Officially: 2.7, 3.5-3.12 (same as security/py-cryptodome)
USES= cpe python zip
CPE_VENDOR= python
USE_PYTHON= autoplist distutils
diff --git a/security/py-pycryptodome-test-vectors/distinfo b/security/py-pycryptodome-test-vectors/distinfo
index e257f5eb9ee7..b2315f93444d 100644
--- a/security/py-pycryptodome-test-vectors/distinfo
+++ b/security/py-pycryptodome-test-vectors/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1705348297
-SHA256 (pycryptodome-test-vectors-1.0.14.zip) = d437b44a35dcafc0626c3561bfb1b506a1b7c7445cc5fb9d36e2374161bc9a37
-SIZE (pycryptodome-test-vectors-1.0.14.zip) = 12541357
+TIMESTAMP = 1729970234
+SHA256 (pycryptodome-test-vectors-1.0.20.zip) = fc7ff17f2632017b2b98f00e7c3e749cfada95ed69cba01fa62951cd4baab9f9
+SIZE (pycryptodome-test-vectors-1.0.20.zip) = 12591386
diff --git a/security/py-pycryptodome-test-vectors/files/patch-setup.py b/security/py-pycryptodome-test-vectors/files/patch-setup.py
new file mode 100644
index 000000000000..fe707059a431
--- /dev/null
+++ b/security/py-pycryptodome-test-vectors/files/patch-setup.py
@@ -0,0 +1,20 @@
+--- setup.py.orig 2024-10-26 19:40:19 UTC
++++ setup.py
+@@ -29,7 +29,7 @@ import os
+ # ===================================================================
+
+ import os
+-from setuptools import setup, find_packages
++from setuptools import setup, find_namespace_packages
+
+ project_name = "pycryptodome-test-vectors"
+ project_dir = "pycryptodome_test_vectors"
+@@ -61,7 +61,7 @@ setup(
+ author_email="helderijs@gmail.com",
+ platforms='Posix; MacOS X; Windows',
+ zip_safe=False,
+- packages=find_packages(),
++ packages=find_namespace_packages(),
+ include_package_data=True,
+ license="BSD, Apache",
+ long_description=longdesc,