svn commit: r560040 - in head/devel: . py-watermark py-watermark/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jan 3 19:57:06 UTC 2021
Author: sunpoet
Date: Sun Jan 3 19:57:01 2021
New Revision: 560040
URL: https://svnweb.freebsd.org/changeset/ports/560040
Log:
Add py-watermark 2.1.0
watermark is an IPython magic extension for printing date and time stamps,
version numbers, and hardware information.
WWW: https://github.com/rasbt/watermark
Added:
head/devel/py-watermark/
head/devel/py-watermark/Makefile (contents, props changed)
head/devel/py-watermark/distinfo (contents, props changed)
head/devel/py-watermark/files/
head/devel/py-watermark/files/patch-setup.py (contents, props changed)
head/devel/py-watermark/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun Jan 3 19:56:56 2021 (r560039)
+++ head/devel/Makefile Sun Jan 3 19:57:01 2021 (r560040)
@@ -5172,6 +5172,7 @@
SUBDIR += py-warlock
SUBDIR += py-watchdog
SUBDIR += py-watchgod
+ SUBDIR += py-watermark
SUBDIR += py-wcwidth
SUBDIR += py-weblib
SUBDIR += py-websockets
Added: head/devel/py-watermark/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-watermark/Makefile Sun Jan 3 19:57:01 2021 (r560040)
@@ -0,0 +1,29 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= watermark
+PORTVERSION= 2.1.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= IPython magic function to print date/time stamps and various system information
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipython>=0:devel/ipython@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3800
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
Added: head/devel/py-watermark/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-watermark/distinfo Sun Jan 3 19:57:01 2021 (r560040)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1609598735
+SHA256 (watermark-2.1.0.tar.gz) = 469b7b396b6ab0f564cc36a4cbc39315945e6533901e607a02b10fd8abae44c3
+SIZE (watermark-2.1.0.tar.gz) = 8091
Added: head/devel/py-watermark/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-watermark/files/patch-setup.py Sun Jan 3 19:57:01 2021 (r560040)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2020-11-24 04:17:25 UTC
++++ setup.py
+@@ -23,7 +23,7 @@ setup(
+ packages=find_packages(exclude=[]),
+ install_requires=[
+ "ipython",
+- 'importlib-metadata < 3.0 ; python_version < "3.8"',
++ 'importlib-metadata; python_version < "3.8"',
+ ],
+ long_description=dedent(
+ """\
Added: head/devel/py-watermark/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-watermark/pkg-descr Sun Jan 3 19:57:01 2021 (r560040)
@@ -0,0 +1,4 @@
+watermark is an IPython magic extension for printing date and time stamps,
+version numbers, and hardware information.
+
+WWW: https://github.com/rasbt/watermark
More information about the svn-ports-all
mailing list