dev-python/reportlab: Clean old versions up
authorMichał Górny <mgorny@gentoo.org>
Tue, 2 May 2017 17:00:50 +0000 (19:00 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 2 May 2017 17:43:21 +0000 (19:43 +0200)
dev-python/reportlab/Manifest
dev-python/reportlab/files/reportlab-2.2_qa_msg.patch [deleted file]
dev-python/reportlab/files/reportlab-2.4-external_libart_lgpl.patch [deleted file]
dev-python/reportlab/files/reportlab-2.5-pypy-implicit-PyArg_NoArgs.patch [deleted file]
dev-python/reportlab/reportlab-2.6.ebuild [deleted file]
dev-python/reportlab/reportlab-3.1.44-r2.ebuild [deleted file]
dev-python/reportlab/reportlab-3.2.0-r1.ebuild [deleted file]
dev-python/reportlab/reportlab-3.3.0.ebuild [deleted file]

index 146296a469fdc4ab734a0698547c56757cff308f..2ce9d324fac6192952c002e67e2af35d1aa53e41 100644 (file)
@@ -1,5 +1,2 @@
 DIST pfbfer-20070710.zip 677333 SHA256 fb1462ff6ce8efae58a0c496f0537c5ac16d4895c68f1640c2973db574ddb376 SHA512 6fd4a5d955464b10d13a7b748703450c1fe120d5ed09e8cfa1b4dfa9c183c59fe001df29433af551796b0df62544b7ddc364f9bb1bdcc2cd300434340ffcc4f2 WHIRLPOOL 5aad616d063cab1862d77fbbf9f625f20c4bcbf09e45688719e312c1e8d3815f1b295d290b78f6c4789919cef39856ec223c30a2e424eeb1c8137cccc5ceb90f
-DIST reportlab-2.6.tar.gz 1954170 SHA256 76c3cda08f6eac9b0adf0e3c86202fe5e9cb075c00503bef5760cd9e75ec34ff SHA512 d1173231ec6924c225808607edd287b11095cda1856554ff42efb5911285b766f43b79d8747ea2867221aa5c158455ee864dbe903ceffeae535938d2fef59131 WHIRLPOOL ff177ec570d581eee76f9a54ee95b16c928a1351e85f1906baa36aa270dda6ea41d4da6441274cf4eee00624b5ddb2eb855bf4792b1cba658cc4729399598358
-DIST reportlab-3.1.44.tar.gz 1946392 SHA256 f6c22e4afefd1aed0e85f1c1216eee5e74d2eb77d53963feab0172b321b636d5 SHA512 b14b19a1772516ef182fe64ce50f032a1f76834aae9ea4c3f017eec902d84e839a4f3b648bd3ede3579df68654dec027d17c8c9878c580938e16c79ec3ac764f WHIRLPOOL 646e8eb5d4192edb37bc7570629bf2b4e2ff6e6fd35d9e7fa78a0e28be1759793dd4779fff60c7a08522e665c4cb0d3feac4b384324e4f4050be569877154f50
-DIST reportlab-3.2.0.tar.gz 1948090 SHA256 72e687662bd854776407b9108483561831b45546d935df8b0477708199086293 SHA512 7b5c01ec7b9ccd404f98b8db1dbe01cb829cf0f1482c29090874996fb1e2ee9296d860c3ff9b7addecad9769c4e7558c0ea51ae4d9c07cbc0cc5ad69b2d8ea9b WHIRLPOOL 42c1432476b038677b42feeb1fefc6753c01a28e515d1edd4613c21f105d783d3196634b4ca0837359049811439ab7e177cbdb1c153aa8a7e80a34e71149e1da
 DIST reportlab-3.3.0.tar.gz 1959255 SHA256 f48900b9321bcb2871a46543993bd995148d769a11a9e24495f25b4ec0bbe267 SHA512 a6dbe5db13a9e430855ba8139310d8f04ade221c340467c2e0f5bf60c700f17148069358beb057f1667217a09b71ba1ae3112bd02e7c8de00e53a8f852acb8df WHIRLPOOL a62cb9ecd2f85324e8e847365346e4fbd64ef098032a54884149db43f4a9f42a0358747a185f1d87107472689bd08f86f70f976da49d09806fc4acf1b175f4f2
diff --git a/dev-python/reportlab/files/reportlab-2.2_qa_msg.patch b/dev-python/reportlab/files/reportlab-2.2_qa_msg.patch
deleted file mode 100644 (file)
index 490902d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#Patch submitted by Jesus Rivero <neurogeek@gentoo.org>
-#Submitted on 10/04/2008 to upstream
-diff -uNr ReportLab_2_2.orig/src/rl_addons/renderPM/gt1/gt1-namecontext.c ReportLab_2_2/src/rl_addons/renderPM/gt1/gt1-namecontext.c
---- ReportLab_2_2.orig/src/rl_addons/renderPM/gt1/gt1-namecontext.c    2008-10-04 10:28:05.000000000 -0430
-+++ ReportLab_2_2/src/rl_addons/renderPM/gt1/gt1-namecontext.c 2008-10-04 10:28:38.000000000 -0430
-@@ -3,9 +3,7 @@
- #include "gt1-misc.h"
- #include "gt1-namecontext.h"
--#if defined(_WIN32) || defined(macintosh)
--#     include <string.h>
--#endif
-+#include <string.h>
- /* btw, I do not know who wrote the following comment. I modified this
-    file somewhat from gimp's app/procedural_db.c hash function. */
diff --git a/dev-python/reportlab/files/reportlab-2.4-external_libart_lgpl.patch b/dev-python/reportlab/files/reportlab-2.4-external_libart_lgpl.patch
deleted file mode 100644 (file)
index 3d0920a..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -306,39 +306,12 @@
-         infoline( '################################################')
-         infoline( '#Attempting install of _renderPM')
-         infoline( '#extensions from %r'%RENDERPM)
--        LIBART_DIR=pjoin(RENDERPM,'libart_lgpl')
-+        LIBART_DIR='@GENTOO_PORTAGE_EPREFIX@/usr/include/libart-2.0'
-+        LIBART_LIB=['art_lgpl_2']
-         GT1_DIR=pjoin(RENDERPM,'gt1')
-         MACROS=[('ROBIN_DEBUG',None)]
-         MACROS=[]
--        def libart_version():
--            K = ('LIBART_MAJOR_VERSION','LIBART_MINOR_VERSION','LIBART_MICRO_VERSION')
--            D = {}
--            for l in open(pjoin(LIBART_DIR,'configure.in'),'r').readlines():
--                l = l.strip().split('=')
--                if len(l)>1 and l[0].strip() in K:
--                    D[l[0].strip()] = l[1].strip()
--                    if len(D)==3: break
--            return (sys.platform == 'win32' and '\\"%s\\"' or '"%s"') % '.'.join(map(lambda k,D=D: D.get(k,'?'),K))
--        LIBART_VERSION = libart_version()
-         SOURCES=[pjoin(RENDERPM,'_renderPM.c'),
--                    pjoin(LIBART_DIR,'art_vpath_bpath.c'),
--                    pjoin(LIBART_DIR,'art_rgb_pixbuf_affine.c'),
--                    pjoin(LIBART_DIR,'art_rgb_svp.c'),
--                    pjoin(LIBART_DIR,'art_svp.c'),
--                    pjoin(LIBART_DIR,'art_svp_vpath.c'),
--                    pjoin(LIBART_DIR,'art_svp_vpath_stroke.c'),
--                    pjoin(LIBART_DIR,'art_svp_ops.c'),
--                    pjoin(LIBART_DIR,'art_vpath.c'),
--                    pjoin(LIBART_DIR,'art_vpath_dash.c'),
--                    pjoin(LIBART_DIR,'art_affine.c'),
--                    pjoin(LIBART_DIR,'art_rect.c'),
--                    pjoin(LIBART_DIR,'art_rgb_affine.c'),
--                    pjoin(LIBART_DIR,'art_rgb_affine_private.c'),
--                    pjoin(LIBART_DIR,'art_rgb.c'),
--                    pjoin(LIBART_DIR,'art_rgb_rgba_affine.c'),
--                    pjoin(LIBART_DIR,'art_svp_intersect.c'),
--                    pjoin(LIBART_DIR,'art_svp_render_aa.c'),
--                    pjoin(LIBART_DIR,'art_misc.c'),
-                     pjoin(GT1_DIR,'gt1-parset1.c'),
-                     pjoin(GT1_DIR,'gt1-dict.c'),
-                     pjoin(GT1_DIR,'gt1-namecontext.c'),
-@@ -398,12 +371,12 @@
-         EXT_MODULES +=  [Extension( '_renderPM',
-                                         SOURCES,
-                                         include_dirs=[RENDERPM,LIBART_DIR,GT1_DIR]+FT_INC_DIR,
--                                        define_macros=FT_MACROS+[('LIBART_COMPILATION',None)]+MACROS+[('LIBART_VERSION',LIBART_VERSION)],
-+                                        define_macros=FT_MACROS+MACROS,
-                                         library_dirs=[]+FT_LIB_DIR,
-                                         # libraries to link against
--                                        libraries=FT_LIB,
--                                        #extra_objects=['gt1.lib','libart.lib',],
-+                                        libraries=FT_LIB+LIBART_LIB,
-+                                        #extra_objects=['gt1.lib'],
-                                         #extra_compile_args=['/Z7'],
-                                         extra_link_args=[]
-                                         ),
diff --git a/dev-python/reportlab/files/reportlab-2.5-pypy-implicit-PyArg_NoArgs.patch b/dev-python/reportlab/files/reportlab-2.5-pypy-implicit-PyArg_NoArgs.patch
deleted file mode 100644 (file)
index e3d8275..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-PyPy does not provide the PyArg_NoArgs macro.
---- a/src/rl_addons/rl_accel/sgmlop.c
-+++ b/src/rl_addons/rl_accel/sgmlop.c
-@@ -52,6 +52,9 @@
-  * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.  */
- #include "Python.h"
-+#ifndef PyArg_NoArgs
-+#define PyArg_NoArgs(v) PyArg_Parse(v, "")
-+#endif
- #if PY_VERSION_HEX < 0x02050000
- #     define Py_ssize_t int
- #     define lenfunc inquiry
diff --git a/dev-python/reportlab/reportlab-2.6.ebuild b/dev-python/reportlab/reportlab-2.6.ebuild
deleted file mode 100644 (file)
index aec4578..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-# Tests crash with pypy
-
-inherit distutils-r1 eutils flag-o-matic prefix
-
-DESCRIPTION="Tools for generating printable PDF documents from any data source"
-HOMEPAGE="http://www.reportlab.com/ https://pypi.python.org/pypi/reportlab"
-SRC_URI="http://www.reportlab.com/ftp/${P}.tar.gz
-       http://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="doc examples"
-
-RDEPEND="dev-python/pillow
-       media-fonts/ttf-bitstream-vera
-       media-libs/libart_lgpl
-       sys-libs/zlib"
-DEPEND="${RDEPEND}
-       app-arch/unzip"
-
-src_unpack() {
-       unpack ${P}.tar.gz
-       cd ${P}/src/reportlab/fonts || die
-       unpack pfbfer-20070710.zip
-}
-
-python_prepare_all() {
-       sed -i \
-               -e 's|/usr/lib/X11/fonts/TrueType/|/usr/share/fonts/ttf-bitstream-vera/|' \
-               -e 's|/usr/local/Acrobat|/opt/Acrobat|g' \
-               -e 's|%(HOME)s/fonts|%(HOME)s/.fonts|g' \
-               src/reportlab/rl_config.py || die "sed failed"
-
-       epatch "${FILESDIR}/${PN}-2.2_qa_msg.patch"
-
-       rm -fr src/rl_addons/renderPM/libart_lgpl
-       epatch "${FILESDIR}/${PN}-2.4-external_libart_lgpl.patch"
-
-       eprefixify setup.py
-
-       epatch "${FILESDIR}/${PN}-2.5-pypy-implicit-PyArg_NoArgs.patch"
-}
-
-src_compile() {
-       append-cflags -fno-strict-aliasing
-       distutils-r1_src_compile
-}
-
-python_compile_all() {
-       if use doc; then
-               cd docs || die
-               "${PYTHON}" genAll.py || die "docs generation failed"
-       fi
-}
-
-python_test() {
-       pushd tests > /dev/null || die
-       "${PYTHON}" runAll.py || die "Testing failed with ${EPYTHON}"
-       popd > /dev/null || die
-}
-
-python_install_all() {
-       use doc && dodoc docs/*.pdf
-
-       if use examples; then
-               insinto /usr/share/doc/${PF}
-               doins -r demos
-               insinto /usr/share/doc/${PF}/tools/pythonpoint
-               doins -r tools/pythonpoint/demos
-       fi
-       distutils-r1_python_install_all
-}
diff --git a/dev-python/reportlab/reportlab-3.1.44-r2.ebuild b/dev-python/reportlab/reportlab-3.1.44-r2.ebuild
deleted file mode 100644 (file)
index 2c75850..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=( python{2_7,3_4} )
-# Tests crash with pypy
-
-inherit distutils-r1 flag-o-matic prefix
-
-DESCRIPTION="Tools for generating printable PDF documents from any data source"
-HOMEPAGE="http://www.reportlab.com/"
-SRC_URI="
-       mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz
-       http://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="doc examples"
-
-RDEPEND="
-       >=dev-python/pillow-2.4.0[tiff,${PYTHON_USEDEP}]
-       media-fonts/dejavu
-       media-libs/libart_lgpl
-       sys-libs/zlib
-"
-DEPEND="${RDEPEND}
-       >=dev-python/setuptools-2.2[${PYTHON_USEDEP}]
-       app-arch/unzip
-"
-
-PATCHES=(
-       "${FILESDIR}"/reportlab-no-pip.patch
-)
-
-src_unpack() {
-       unpack ${P}.tar.gz
-       cd ${P}/src/reportlab/fonts || die
-       unpack pfbfer-20070710.zip
-}
-
-python_prepare_all() {
-       sed -i \
-               -e "s|/usr/lib/X11/fonts/TrueType/|${EPREFIX}/usr/share/fonts/dejavu/|" \
-               -e 's|/usr/local/Acrobat|/opt/Acrobat|g' \
-               -e 's|%(HOME)s/fonts|%(HOME)s/.fonts|g' \
-               src/reportlab/rl_config.py || die
-
-       eprefixify setup.py
-       distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-       use doc && emake -C docs html
-}
-
-python_compile() {
-       if ! python_is_python3; then
-               local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
-       fi
-       distutils-r1_python_compile
-}
-
-python_test() {
-       pushd tests > /dev/null || die
-       "${PYTHON}" runAll.py || die "Testing failed with ${EPYTHON}"
-       popd > /dev/null || die
-}
-
-python_install_all() {
-       use doc && local HTML_DOCS=( docs/build/html/. )
-       use examples && local EXAMPLES=( demos/. tools/pythonpoint/demos )
-
-       distutils-r1_python_install_all
-}
diff --git a/dev-python/reportlab/reportlab-3.2.0-r1.ebuild b/dev-python/reportlab/reportlab-3.2.0-r1.ebuild
deleted file mode 100644 (file)
index a48a036..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5} ) # Tests crash with pypy
-
-inherit distutils-r1 flag-o-matic prefix
-
-DESCRIPTION="Tools for generating printable PDF documents from any data source"
-HOMEPAGE="http://www.reportlab.com/"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz
-       http://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="doc examples"
-
-RDEPEND="
-       >=dev-python/pillow-2.4.0[tiff,truetype,${PYTHON_USEDEP}]
-       media-libs/libart_lgpl
-       sys-libs/zlib
-"
-DEPEND="${RDEPEND}
-       >=dev-python/setuptools-2.2[${PYTHON_USEDEP}]
-       app-arch/unzip
-"
-
-PATCHES=(
-       "${FILESDIR}"/reportlab-no-pip.patch
-)
-
-src_unpack() {
-       unpack ${P}.tar.gz
-       cd ${P}/src/reportlab/fonts || die
-       unpack pfbfer-20070710.zip
-}
-
-python_prepare_all() {
-       sed -i \
-               -e 's|/usr/local/Acrobat|/opt/Acrobat|g' \
-               -e 's|%(HOME)s/fonts|%(HOME)s/.fonts|g' \
-               src/reportlab/rl_config.py || die
-
-       eprefixify setup.py
-       distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-       use doc && emake -C docs html
-}
-
-python_compile() {
-       if ! python_is_python3; then
-               local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
-       fi
-       distutils-r1_python_compile
-}
-
-python_test() {
-       pushd tests > /dev/null || die
-       "${PYTHON}" runAll.py || die "Testing failed with ${EPYTHON}"
-       popd > /dev/null || die
-}
-
-python_install_all() {
-       use doc && local HTML_DOCS=( docs/build/html/. )
-       use examples && local EXAMPLES=( demos/. tools/pythonpoint/demos )
-
-       distutils-r1_python_install_all
-}
diff --git a/dev-python/reportlab/reportlab-3.3.0.ebuild b/dev-python/reportlab/reportlab-3.3.0.ebuild
deleted file mode 100644 (file)
index cc148f8..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5} ) # Tests crash with pypy
-
-inherit distutils-r1 flag-o-matic prefix
-
-DESCRIPTION="Tools for generating printable PDF documents from any data source"
-HOMEPAGE="http://www.reportlab.com/"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz
-       http://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="doc examples"
-
-RDEPEND="
-       >=dev-python/pillow-2.4.0[tiff,truetype,${PYTHON_USEDEP}]
-       media-libs/libart_lgpl
-       sys-libs/zlib
-"
-DEPEND="${RDEPEND}
-       >=dev-python/setuptools-2.2[${PYTHON_USEDEP}]
-       app-arch/unzip
-"
-
-PATCHES=(
-       "${FILESDIR}"/reportlab-no-pip.patch
-)
-
-src_unpack() {
-       unpack ${P}.tar.gz
-       cd ${P}/src/reportlab/fonts || die
-       unpack pfbfer-20070710.zip
-}
-
-python_prepare_all() {
-       sed -i \
-               -e 's|/usr/local/Acrobat|/opt/Acrobat|g' \
-               -e 's|%(HOME)s/fonts|%(HOME)s/.fonts|g' \
-               src/reportlab/rl_config.py || die
-
-       eprefixify setup.py
-       distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-       use doc && emake -C docs html
-}
-
-python_compile() {
-       if ! python_is_python3; then
-               local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
-       fi
-       distutils-r1_python_compile
-}
-
-python_test() {
-       pushd tests > /dev/null || die
-       "${PYTHON}" runAll.py || die "Testing failed with ${EPYTHON}"
-       popd > /dev/null || die
-}
-
-python_install_all() {
-       use doc && local HTML_DOCS=( docs/build/html/. )
-       use examples && local EXAMPLES=( demos/. tools/pythonpoint/demos )
-
-       distutils-r1_python_install_all
-}