git: 07dde5ad28a2 - main - www/py-fake-useragent: Update to 0.1.14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Nov 2022 10:06:26 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=07dde5ad28a28deafee40a03e2d2b77e1a539c67
commit 07dde5ad28a28deafee40a03e2d2b77e1a539c67
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-11-12 10:06:21 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-11-12 10:06:21 +0000
www/py-fake-useragent: Update to 0.1.14
---
www/py-fake-useragent/Makefile | 5 ++++-
www/py-fake-useragent/distinfo | 6 +++---
www/py-fake-useragent/files/patch-setup.py | 6 ++++++
3 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/www/py-fake-useragent/Makefile b/www/py-fake-useragent/Makefile
index 3191041d6be8..7858296b078a 100644
--- a/www/py-fake-useragent/Makefile
+++ b/www/py-fake-useragent/Makefile
@@ -1,5 +1,5 @@
PORTNAME= fake-useragent
-PORTVERSION= 0.1.11
+PORTVERSION= 0.1.14
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,4 +16,7 @@ USE_PYTHON= autoplist distutils
NO_ARCH= yes
+do-test:
+ @${PYTHON_CMD} -m pytest -v -rs
+
.include <bsd.port.mk>
diff --git a/www/py-fake-useragent/distinfo b/www/py-fake-useragent/distinfo
index dcd26c297f91..4bac482716b5 100644
--- a/www/py-fake-useragent/distinfo
+++ b/www/py-fake-useragent/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1549877247
-SHA256 (fake-useragent-0.1.11.tar.gz) = c104998b750eb097eefc28ae28e92d66397598d2cf41a31aa45d5559ef1adf35
-SIZE (fake-useragent-0.1.11.tar.gz) = 13200
+TIMESTAMP = 1668241100
+SHA256 (fake-useragent-0.1.14.tar.gz) = 470c509fc645a4fb2799a6cdf35982c3d27e57af04f601b3f37ac0b5e46c0cc7
+SIZE (fake-useragent-0.1.14.tar.gz) = 19247
diff --git a/www/py-fake-useragent/files/patch-setup.py b/www/py-fake-useragent/files/patch-setup.py
new file mode 100644
index 000000000000..130806a8f6f1
--- /dev/null
+++ b/www/py-fake-useragent/files/patch-setup.py
@@ -0,0 +1,6 @@
+--- setup.py.orig 2022-11-12 09:41:13 UTC
++++ setup.py
+@@ -0,0 +1,3 @@
++import setuptools
++if __name__ == "__main__":
++ setuptools.setup(use_scm_version=False)