aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-08 20:07:35 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-08 20:16:39 +0000
commit9e4bbaa48bff12bb0898748c969f37ba7483f01b (patch)
tree6ce256c17c13c71b968e568ee83dc25409a555a6
parente8c9de3e6f5e1a21136d44451af306badf793d81 (diff)
downloadports-9e4bbaa48bff12bb0898748c969f37ba7483f01b.tar.gz
ports-9e4bbaa48bff12bb0898748c969f37ba7483f01b.zip
devel/py-backports.tarfile: Add py-backports.tarfile 1.0.0
backports.tarfile is the backport of CPython tarfile module for Python 3.11 or below.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-backports.tarfile/Makefile23
-rw-r--r--devel/py-backports.tarfile/distinfo3
-rw-r--r--devel/py-backports.tarfile/pkg-descr2
4 files changed, 29 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 0eeb99d916cc..500362cdfe56 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4417,6 +4417,7 @@
SUBDIR += py-backports.cached-property
SUBDIR += py-backports.csv
SUBDIR += py-backports.entry-points-selectable
+ SUBDIR += py-backports.tarfile
SUBDIR += py-backports.zoneinfo
SUBDIR += py-banal
SUBDIR += py-bandit
diff --git a/devel/py-backports.tarfile/Makefile b/devel/py-backports.tarfile/Makefile
new file mode 100644
index 000000000000..4fc365d9f80c
--- /dev/null
+++ b/devel/py-backports.tarfile/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= backports.tarfile
+PORTVERSION= 1.0.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Backport of CPython tarfile module
+WWW= https://github.com/jaraco/backports.tarfile
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=56:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.1:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-backports.tarfile/distinfo b/devel/py-backports.tarfile/distinfo
new file mode 100644
index 000000000000..89fc12b1ce29
--- /dev/null
+++ b/devel/py-backports.tarfile/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1712580496
+SHA256 (backports.tarfile-1.0.0.tar.gz) = 2688f159c21afd56a07b75f01306f9f52c79aebcc5f4a117fb8fbb4445352c75
+SIZE (backports.tarfile-1.0.0.tar.gz) = 32952
diff --git a/devel/py-backports.tarfile/pkg-descr b/devel/py-backports.tarfile/pkg-descr
new file mode 100644
index 000000000000..d4006e2c610b
--- /dev/null
+++ b/devel/py-backports.tarfile/pkg-descr
@@ -0,0 +1,2 @@
+backports.tarfile is the backport of CPython tarfile module for Python 3.11 or
+below.