summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-petl/Makefile23
-rw-r--r--textproc/py-petl/distinfo3
-rw-r--r--textproc/py-petl/pkg-descr4
4 files changed, 31 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 0a0defd92960..51096221f205 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1334,6 +1334,7 @@
SUBDIR += py-pdfminer3k
SUBDIR += py-pdfrw
SUBDIR += py-pdftotext
+ SUBDIR += py-petl
SUBDIR += py-pikepdf
SUBDIR += py-precis_i18n
SUBDIR += py-pss
diff --git a/textproc/py-petl/Makefile b/textproc/py-petl/Makefile
new file mode 100644
index 000000000000..30c39ad8774d
--- /dev/null
+++ b/textproc/py-petl/Makefile
@@ -0,0 +1,23 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= petl
+PORTVERSION= 1.6.8
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Extract, transform and load tables of data
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.5.4:devel/py-setuptools_scm@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-petl/distinfo b/textproc/py-petl/distinfo
new file mode 100644
index 000000000000..9ba941176d43
--- /dev/null
+++ b/textproc/py-petl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1604680064
+SHA256 (petl-1.6.8.tar.gz) = 6ae127469b3403029f8431490ac584ab3091b174512b5161494cd4bf85753d92
+SIZE (petl-1.6.8.tar.gz) = 236480
diff --git a/textproc/py-petl/pkg-descr b/textproc/py-petl/pkg-descr
new file mode 100644
index 000000000000..f44114e2ee96
--- /dev/null
+++ b/textproc/py-petl/pkg-descr
@@ -0,0 +1,4 @@
+petl is a general purpose Python package for extracting, transforming and
+loading tables of data.
+
+WWW: https://github.com/petl-developers/petl