git: 244a84012fd5 - main - math/py-gym-notices: Add py-gym-notices 0.0.4

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 07 Mar 2022 18:16:01 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=244a84012fd5b5fca19495363064695e871f3223

commit 244a84012fd5b5fca19495363064695e871f3223
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-07 17:46:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-07 18:10:51 +0000

    math/py-gym-notices: Add py-gym-notices 0.0.4
    
    Gym notices may be displayed on import on internet connected systems, in order
    to give notices if versions have major reproducibility issues, are very old and
    need to be upgraded, or other similar issues. If you're using a current version
    of Gym and nothing extraordinary happens, you'll never see a message from this,
    but I want start including the option to prevent future issues. By pulling the
    error messages from a public git repository, there's absolute transparency and
    versioning in the process.
    
    WWW: https://github.com/Farama-Foundation/gym-notices
---
 math/Makefile                 |  1 +
 math/py-gym-notices/Makefile  | 20 ++++++++++++++++++++
 math/py-gym-notices/distinfo  |  3 +++
 math/py-gym-notices/pkg-descr |  9 +++++++++
 4 files changed, 33 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index c0617a02fd5d..504d32ff2cf2 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -843,6 +843,7 @@
     SUBDIR += py-grandalf
     SUBDIR += py-graphillion
     SUBDIR += py-gym
+    SUBDIR += py-gym-notices
     SUBDIR += py-hdbscan
     SUBDIR += py-hdmedians
     SUBDIR += py-heyoka
diff --git a/math/py-gym-notices/Makefile b/math/py-gym-notices/Makefile
new file mode 100644
index 000000000000..32eacaa2c605
--- /dev/null
+++ b/math/py-gym-notices/Makefile
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	gym-notices
+PORTVERSION=	0.0.4
+CATEGORIES=	math python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Notices for gym
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/math/py-gym-notices/distinfo b/math/py-gym-notices/distinfo
new file mode 100644
index 000000000000..e688c676a5c6
--- /dev/null
+++ b/math/py-gym-notices/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1646057854
+SHA256 (gym-notices-0.0.4.tar.gz) = c490570fa91acafe25768f9877cc0dfe0700d68fb25dc9dfa84512e4bcf01805
+SIZE (gym-notices-0.0.4.tar.gz) = 2531
diff --git a/math/py-gym-notices/pkg-descr b/math/py-gym-notices/pkg-descr
new file mode 100644
index 000000000000..fc15180ddf7e
--- /dev/null
+++ b/math/py-gym-notices/pkg-descr
@@ -0,0 +1,9 @@
+Gym notices may be displayed on import on internet connected systems, in order
+to give notices if versions have major reproducibility issues, are very old and
+need to be upgraded, or other similar issues. If you're using a current version
+of Gym and nothing extraordinary happens, you'll never see a message from this,
+but I want start including the option to prevent future issues. By pulling the
+error messages from a public git repository, there's absolute transparency and
+versioning in the process.
+
+WWW: https://github.com/Farama-Foundation/gym-notices