summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2015-10-29 21:35:01 +0000
committerPawel Pekala <pawel@FreeBSD.org>2015-10-29 21:35:01 +0000
commitf12b59b3621a723f58c75669f5dede863995f2e6 (patch)
treeedf99b8252ea3e8f00b442dedf9346e8bf55ce2f /print
parenttextproc/rubygem-html-pipeline: update to 2.2.2 (diff)
PyFPDF is a library for PDF document generation under Python, ported from
PHP (see FPDF "Free"-PDF, a well-known PDFlib-extension replacement with many examples, scripts and derivatives). Compared with other PDF libraries, PyFPDF is simple, small and versatile, with advanced capabilities and easy to learn, extend and maintain. Features * Python 2.5 to 2.7 support (with experimental Python3 support) * Unicode (UTF-8) TrueType font subset embedding * Barcode I2of5 and code39, QR code coming soon ... * PNG, GIF and JPG support (including transparency and alpha channel) * Templates with a visual designer & basic html2pdf * Exceptions support, other minor fixes, improvements and PEP8 code cleanups WWW: https://code.google.com/p/pyfpdf/ PR: 203816 Submitted by: Fabiano Sidler <fabianosidler@swissonline.ch>
Notes
Notes: svn path=/head/; revision=400480
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/py-fpdf/Makefile19
-rw-r--r--print/py-fpdf/distinfo2
-rw-r--r--print/py-fpdf/pkg-descr17
4 files changed, 39 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index ad049027059d..d870b46d5dc7 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -193,6 +193,7 @@
SUBDIR += psutils
SUBDIR += py-cups
SUBDIR += py-fonttools
+ SUBDIR += py-fpdf
SUBDIR += py-pdf
SUBDIR += py-pollyreports
SUBDIR += py-preppy
diff --git a/print/py-fpdf/Makefile b/print/py-fpdf/Makefile
new file mode 100644
index 000000000000..c38a398c7a9d
--- /dev/null
+++ b/print/py-fpdf/Makefile
@@ -0,0 +1,19 @@
+# Created by: Fabiano Sidler <fabianosidler@swissonline.ch>
+# $FreeBSD$
+
+PORTNAME= fpdf
+PORTVERSION= 1.7.2
+CATEGORIES= print python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= fabianosidler@swissonline.ch
+COMMENT= Simple PDF generation for Python
+
+LICENSE= LGPL3
+
+USES= python
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/print/py-fpdf/distinfo b/print/py-fpdf/distinfo
new file mode 100644
index 000000000000..b0a2f7d1f77f
--- /dev/null
+++ b/print/py-fpdf/distinfo
@@ -0,0 +1,2 @@
+SHA256 (fpdf-1.7.2.tar.gz) = 125840783289e7d12552b1e86ab692c37322e7a65b96a99e0ea86cca041b6779
+SIZE (fpdf-1.7.2.tar.gz) = 39504
diff --git a/print/py-fpdf/pkg-descr b/print/py-fpdf/pkg-descr
new file mode 100644
index 000000000000..28584f497225
--- /dev/null
+++ b/print/py-fpdf/pkg-descr
@@ -0,0 +1,17 @@
+PyFPDF is a library for PDF document generation under Python, ported from
+PHP (see FPDF "Free"-PDF, a well-known PDFlib-extension replacement with
+many examples, scripts and derivatives).
+
+Compared with other PDF libraries, PyFPDF is simple, small and versatile,
+with advanced capabilities and easy to learn, extend and maintain.
+
+Features
+ * Python 2.5 to 2.7 support (with experimental Python3 support)
+ * Unicode (UTF-8) TrueType font subset embedding
+ * Barcode I2of5 and code39, QR code coming soon ...
+ * PNG, GIF and JPG support (including transparency and alpha channel)
+ * Templates with a visual designer & basic html2pdf
+ * Exceptions support, other minor fixes, improvements and PEP8 code
+ cleanups
+
+WWW: https://code.google.com/p/pyfpdf/