Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2024 03:36:50 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5fed87320e05 - main - devel/py-methodtools: New port: Expand standard functools to methods
Message-ID:  <202406190336.45J3aod1071347@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5fed87320e05d0eb1929966baa8808018cd3d419

commit 5fed87320e05d0eb1929966baa8808018cd3d419
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-19 02:49:35 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-19 03:36:41 +0000

    devel/py-methodtools: New port: Expand standard functools to methods
---
 devel/Makefile                 |  1 +
 devel/py-methodtools/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-methodtools/distinfo  |  3 +++
 devel/py-methodtools/pkg-descr |  2 ++
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index c3181297ad77..25df53d1de4e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5102,6 +5102,7 @@
     SUBDIR += py-memory-allocator
     SUBDIR += py-memory-profiler
     SUBDIR += py-mergedeep
+    SUBDIR += py-methodtools
     SUBDIR += py-microversion-parse
     SUBDIR += py-milc
     SUBDIR += py-mime
diff --git a/devel/py-methodtools/Makefile b/devel/py-methodtools/Makefile
new file mode 100644
index 000000000000..96305ac4c85b
--- /dev/null
+++ b/devel/py-methodtools/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	methodtools
+PORTVERSION=	0.4.7
+CATEGORIES=	devel python
+#MASTER_SITES=	PYPI # no tests
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Expand standard functools to methods
+WWW=		https://pypi.org/project/methodtools/
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wirerope>=0.4.7:devel/py-wirerope@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist pytest
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	youknowone
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-methodtools/distinfo b/devel/py-methodtools/distinfo
new file mode 100644
index 000000000000..69f3fb80649c
--- /dev/null
+++ b/devel/py-methodtools/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1718765140
+SHA256 (youknowone-methodtools-0.4.7_GH0.tar.gz) = 2339bcdc9dfe2df922cf17f7c303824e2702fac28fbec53c65102b0bd1691bb1
+SIZE (youknowone-methodtools-0.4.7_GH0.tar.gz) = 6789
diff --git a/devel/py-methodtools/pkg-descr b/devel/py-methodtools/pkg-descr
new file mode 100644
index 000000000000..32f70a9568e0
--- /dev/null
+++ b/devel/py-methodtools/pkg-descr
@@ -0,0 +1,2 @@
+methodtools allows to expand functools features to methods, classmethods,
+staticmethods and even for (unofficial) hybrid methods.



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