From ecf6a1fe8c02dc7d47ad93f42fc0ae3c510d689b Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 30 Apr 2009 20:22:06 +0000 Subject: qt4: adding mkbuild ; adding tracwikiprint and dependencies git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@445 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- dev/python/html5lib/Manifest | 23 ++++ dev/python/html5lib/html5lib.mkbuild | 190 +++++++++++++++++++++++++++++++++ dev/python/imaging/Imaging.mkbuild | 190 +++++++++++++++++++++++++++++++++ dev/python/imaging/Manifest | 23 ++++ dev/python/pisa/Manifest | 24 +++++ dev/python/pisa/pisa.mkbuild | 190 +++++++++++++++++++++++++++++++++ dev/python/pypdf/Manifest | 23 ++++ dev/python/pypdf/pyPdf.mkbuild | 190 +++++++++++++++++++++++++++++++++ dev/python/reportlab/Manifest | 23 ++++ dev/python/reportlab/ReportLab.mkbuild | 190 +++++++++++++++++++++++++++++++++ 10 files changed, 1066 insertions(+) create mode 100644 dev/python/html5lib/Manifest create mode 100644 dev/python/html5lib/html5lib.mkbuild create mode 100644 dev/python/imaging/Imaging.mkbuild create mode 100644 dev/python/imaging/Manifest create mode 100644 dev/python/pisa/Manifest create mode 100644 dev/python/pisa/pisa.mkbuild create mode 100644 dev/python/pypdf/Manifest create mode 100644 dev/python/pypdf/pyPdf.mkbuild create mode 100644 dev/python/reportlab/Manifest create mode 100644 dev/python/reportlab/ReportLab.mkbuild (limited to 'dev/python') diff --git a/dev/python/html5lib/Manifest b/dev/python/html5lib/Manifest new file mode 100644 index 0000000..d4ff9af --- /dev/null +++ b/dev/python/html5lib/Manifest @@ -0,0 +1,23 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST html5lib-0.11.1.zip 375892 MD5 f0981fcec3d69789f12f52779c55fa29 RMD160 ac00975e5ea8b20606531e631274c1a8985110c9 SHA1 157506319e40f5d973c128e5e2b826cd1bee471e SHA256 e5a26cb5eda1101871ea3a1199de47311f75e72921583d417b44bcff60f8746e SHA512 1c613a01f5cbf62e392aae3819fdfa36fdefc06812f1916534c82a4293cd03f202bc4b509818486df474954440ef7d0c5bca24144b332888483b0bc0d3a21d30 +MKBUILD html5lib.mkbuild 5041 MD5 ed86a2485167fb0ada14972aa381f416 RMD160 930e7e93c606fc8f8327332c9116206dc0e44a0e SHA1 f117d278534152a50751f46efc0f51ac62eaa91e SHA256 ef08f3daad8d2fd3cea4c57007f505a7e8ae1b658248c9f98fb327803963b063 SHA512 b2e88bf20b2e22ba8f9bfd85ba3cf374a37ced8c55a8b731e3edf8300513c4c1fadd49bf5864c141f1fd62422b8e8f425275974d2213139f84ba818f078e7a0b +SLACKBUILD html5lib.SlackBuild 6762 MD5 3e5ea7fefe02006e682df3def520684a RMD160 9da4dd9270cea73cc36de08f48d1d677f518fa6f SHA1 d01a1a9864dd51e1266c30d1ce507e1a70d6bed8 SHA256 2784ed05ec9795f6f37c3d7416c178a54620e0b1011efb18a90dcbfd7964c3bf SHA512 95014d33fc5ddaf470706223d3cbc3e10c70e703ff7f66452a61310b74c7d790bf2f81a91f2e3b70f7089de5c2dc20125d8b2273784e4d122c3bc9e27adb0579 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iQIcBAEBAgAGBQJJ+e7iAAoJEEHL93ESzgeiW2QP/3LSOMds1XLlwjr1X8TXA1Z4 +26KR/mu1MVGcK0E1HQGGLfcw7OO+/+MZftov5gCBigNGfGW2T36a8qMnqTj0CGDM +JGP+Bvv3RhSkxqwJpDVGv6VDMgbEW4xp4wiBEiU4OcIM2P8pmOK3us5ZsQW62wyC +bZksSfJm8Y62q4jmjkzWLdAQECe2es6uVtjb/QdNMRtnz/Nf+vx/LylA4P4vTjkM +hneczGG7iwmv5UAoSmeZe1AOZJC+rbYXKv9b54opIYcno6lwlB4yy+yUkj5PoBIQ +EfS5fV6ZjjznfEf2RsH+24EG+TmJaEsxmkTPl2QDx3EbjQ8SQZ+yYUq6iGb1pTY4 +diRIKt7bVZ2jyLo477htkn+hGBt0YY0XsRope7+DX/HC26XeB8msRKFevKxxQC3c +OYy5Sk86SdQl1tHfjP/SdUlq5X+9N+kAnsYM84FS2revLeNY4bCZzcv58GLwnVgq +ILmpDveYrMwE3drOk90koNoCJVVZJuLHUutlYWEaevz4dlZ5HvCUz9mn91ybxhJH +XvTu6Ubpvavwwos3cheuc7P/X8Yq9nwomh3wnKjAACLBlAAvrIq9hF+ypWgL+FH8 +i8HiDlQGkwYMKPmm/zFR6Js80VCAX8dlhu2c2DI1IFMdW9vgi3mea+pEc0PDC3zU +hjIL1im7tQ2UePmxQKvX +=AvCE +-----END PGP SIGNATURE----- diff --git a/dev/python/html5lib/html5lib.mkbuild b/dev/python/html5lib/html5lib.mkbuild new file mode 100644 index 0000000..406a3e3 --- /dev/null +++ b/dev/python/html5lib/html5lib.mkbuild @@ -0,0 +1,190 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# +# Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +# Version $Rev: 803 $ - $Author: rhatto $ + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://html5lib.googlecode.com/files/html5lib-0.11.1.zip" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="0.11.1" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="zip" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="unzip" +[[UNPACKER FLAGS]]="-u" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[SIGNING URL]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +#[[REST OF DOINST.SH]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="dev/python/html5lib" +[[SLACKBUILD PATH]]="dev/python/html5lib" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: download_patches +off: svn_source +off: git_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: manifest_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script +off: slack_required + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +html5lib: html5lib +html5lib: +html5lib: A ruby/python based HTML parser/tokenizer based on the +html5lib: WHATWG HTML5 specification for maximum compatibility +html5lib: with major desktop web browsers. +html5lib: +html5lib: +html5lib: +html5lib: +html5lib: +html5lib: +#make_package +# Build and install package +python setup.py build install --root=$PKG || exit $ERROR_INSTALL +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: download_patches +off: svn_source +off: git_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: manifest_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script +off: slack_required + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +Imaging: Imaging +Imaging: +Imaging: The Python Imaging Library (PIL) adds image processing +Imaging: capabilities to your Python interpreter. This library +Imaging: supports many file formats, and provides powerful image +Imaging: processing and graphics capabilities. +Imaging: +Imaging: +Imaging: +Imaging: +Imaging: +#make_package +# Build and install package +python setup.py build install --root=$PKG || exit $ERROR_INSTALL +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: download_patches +off: svn_source +off: git_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: manifest_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script +off: slack_required + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +pisa: pisa +pisa: +pisa: pisa is a html2pdf converter using the ReportLab Toolkit, +pisa: the HTML5lib and pyPdf. It supports HTML 5 and CSS 2.1 +pisa: (and some of CSS 3). It is completely written in pure +pisa: Python so it is platform independent. The main benefit +pisa: of this tool that a user with Web skills like HTML and +pisa: CSS is able to generate PDF templates very quickly +pisa: without learning new technologies. +pisa: +pisa: +#make_package +# Build and install package +python setup.py build install --root=$PKG || exit $ERROR_INSTALL +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: download_patches +off: svn_source +off: git_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: manifest_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script +off: slack_required + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +pyPdf: pyPdf +pyPdf: +pyPdf: A Pure-Python library built as a PDF toolkit. It is capable of: +pyPdf: +pyPdf: * extracting document information (title, author, ...), +pyPdf: * splitting documents page by page, +pyPdf: * merging documents page by page, +pyPdf: * cropping pages, +pyPdf: * merging multiple pages into a single page, +pyPdf: * encrypting and decrypting PDF files. +pyPdf: +#make_package +# Build and install package +python setup.py build install --root=$PKG || exit $ERROR_INSTALL +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: download_patches +off: svn_source +off: git_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: manifest_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script +off: slack_required + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +ReportLab: ReportLab +ReportLab: +ReportLab: The ReportLab PDF Library is a Python package that +ReportLab: runs on all platforms. It can also make use of code +ReportLab: written in C, which needs to be compiled. However, +ReportLab: if a compiler is not available, it can perform +ReportLab: satisfactorily without the C component. +ReportLab: +ReportLab: +ReportLab: +ReportLab: +#make_package +# Build and install package +python setup.py build install --root=$PKG || exit $ERROR_INSTALL +#