diff options
Diffstat (limited to 'dev-python/reportlab')
-rw-r--r-- | dev-python/reportlab/Manifest | 3 | ||||
-rw-r--r-- | dev-python/reportlab/files/reportlab-2.3-external_libart_lgpl.patch | 62 | ||||
-rw-r--r-- | dev-python/reportlab/reportlab-2.3-r1.ebuild | 85 |
3 files changed, 0 insertions, 150 deletions
diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest index ff8b04e9319c..6eaeff0dd199 100644 --- a/dev-python/reportlab/Manifest +++ b/dev-python/reportlab/Manifest @@ -1,9 +1,6 @@ AUX reportlab-2.2_qa_msg.patch 736 RMD160 3ee7043a9c5f999b097e4800c5fcda57d732e4b4 SHA1 4f8b90dee2c9e5cf71c05af91484c0440009581d SHA256 e4913decadf05228b1cb76da8cade26b76feb4d69c317c828ee0ba1eb8d66a58 -AUX reportlab-2.3-external_libart_lgpl.patch 3135 RMD160 c688797106ec0dcd2b07d37a81120b0ce25674a1 SHA1 3614d1aefa993a6757b3af17bf4e626ae77f2226 SHA256 35b93bc6231d9651adc41ee4a1edf6bdaa846ab41280000e3b037568f5b5d063 AUX reportlab-2.4-external_libart_lgpl.patch 3304 RMD160 4881b7e8914630c87c642fa704ebbfd869550af7 SHA1 daad396df4711d75b0aeae4ae13288de95f19519 SHA256 93a5afda9e4bee650545912362dd3a23c12a5aebcec3ef2691ab675fe114af01 -DIST ReportLab_2_3.tar.gz 1857239 RMD160 ebb347765d516e74b965ec89c7909ec7592e3f54 SHA1 cb5e27fef02eceaab79236d5a074cdfb92bff179 SHA256 b63872c4b29063f0e0c2fe56223585175f03c7a6991e2a8bc9a221ae5ee2c092 DIST ReportLab_2_4.tar.gz 1884175 RMD160 7a7198b9934b1f993dbb49705d93cc4b78b45012 SHA1 31ecc9ff0f55ce3c5fddaa909dd48b6e9e9a20ce SHA256 e82a4ff45e405b6cf8ed607ea87203b3ceb22aaa8b6f2298ceb40bde2304741d -EBUILD reportlab-2.3-r1.ebuild 2234 RMD160 aabe9fd2e2710a7023a8aa555afc56a46478af07 SHA1 7e62213e62de2a3457ccaac3e3ddb7d4c23e750b SHA256 5e615d3df39c8ce9dbf9b6b91219eddcd4296a592cb26ba6619bb84f6b47694f EBUILD reportlab-2.4.ebuild 2025 RMD160 cf76dba5aa772c3e4b97991421bd8ee3d87244b1 SHA1 27e0a9ec715cf376585643d0b7a7ac5a4910f177 SHA256 2ac5d487e8a74ff8141cce2c91f664daddb3b99fdcb8ce5ebcace358fc3a94af MISC ChangeLog 9636 RMD160 c633ab09ed259f5cd524873f0ca1e1ab9cf33f62 SHA1 13e1315b4469a57937d8c3bad24acc31a97cfd23 SHA256 f6ebaf5a46347bef38bce1b6488c63dc8eb19fb82f49cdeb6e9967bcdc68431d MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/reportlab/files/reportlab-2.3-external_libart_lgpl.patch b/dev-python/reportlab/files/reportlab-2.3-external_libart_lgpl.patch deleted file mode 100644 index 2843b8154865..000000000000 --- a/dev-python/reportlab/files/reportlab-2.3-external_libart_lgpl.patch +++ /dev/null @@ -1,62 +0,0 @@ ---- setup.py -+++ setup.py -@@ -260,21 +260,11 @@ - infoline( '################################################') - infoline( '#Attempting install of _renderPM') - infoline( '#extensions from %r'%RENDERPM) -- LIBART_DIR=pjoin(RENDERPM,'libart_lgpl') -+ LIBART_DIR='/usr/include/libart-2.0' -+ LIBART_LIB=['art_lgpl_2'] - 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')] -- LIBART_SRCS=glob.glob(pjoin(LIBART_DIR, 'art_*.c')) - GT1_DIR=pjoin(RENDERPM,'gt1') - LIBS = [] #assume empty libraries list - -@@ -319,18 +309,10 @@ - infoline('# installing without freetype no ttf, sorry!') - - LIBRARIES+= [ -- ('_renderPM_libart', -- { -- 'sources': LIBART_SRCS, -- 'include_dirs': [RENDERPM,LIBART_DIR,], -- 'macros': [('LIBART_COMPILATION',None),]+BIGENDIAN('WORDS_BIGENDIAN')+MACROS, -- #'extra_compile_args':['/Z7'], -- } -- ), - ('_renderPM_gt1', - { - 'sources': pfxJoin(GT1_DIR,'gt1-dict.c','gt1-namecontext.c','gt1-parset1.c','gt1-region.c','parseAFM.c'), -- 'include_dirs': [RENDERPM,GT1_DIR,], -+ 'include_dirs': [RENDERPM,GT1_DIR,LIBART_DIR], - 'macros': MACROS, - #'extra_compile_args':['/Z7'], - } -@@ -340,12 +322,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=LIBS+FT_LIB, -- #extra_objects=['gt1.lib','libart.lib',], -+ libraries=LIBS+FT_LIB+LIBART_LIB, -+ #extra_objects=['gt1.lib'], - #extra_compile_args=['/Z7'], - extra_link_args=[] - ), diff --git a/dev-python/reportlab/reportlab-2.3-r1.ebuild b/dev-python/reportlab/reportlab-2.3-r1.ebuild deleted file mode 100644 index 014cf74bb042..000000000000 --- a/dev-python/reportlab/reportlab-2.3-r1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-2.3-r1.ebuild,v 1.10 2010/02/06 21:35:27 arfrever Exp $ - -EAPI="2" -SUPPORT_PYTHON_ABIS="1" - -inherit distutils eutils versionator - -MY_PN="ReportLab" -MY_PV="$(replace_all_version_separators _)" - -DESCRIPTION="Tools for generating printable PDF documents from any data source." -HOMEPAGE="http://www.reportlab.org/ http://pypi.python.org/pypi/reportlab" -SRC_URI="http://www.reportlab.org/ftp/${MY_PN}_${MY_PV}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="doc examples test" - -DEPEND="dev-python/imaging - media-fonts/ttf-bitstream-vera - media-libs/libart_lgpl - sys-libs/zlib" -RDEPEND="${DEPEND}" -RESTRICT_PYTHON_ABIS="3.*" - -S="${WORKDIR}/${MY_PN}_${MY_PV}" - -src_prepare() { - 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}/${P}-external_libart_lgpl.patch" -} - -src_compile() { - distutils_src_compile - - documentation_built="0" - build_documentation() { - [[ "${documentation_built}" == "1" ]] && return - - # One of tests already builds documentation. - if use doc && ! use test; then - cd docs - PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" genAll.py || die "genAll.py failed" - fi - - documentation_build="1" - } - python_execute_function -q build_documentation - unset documentation_built -} - -src_test() { - testing() { - "$(PYTHON)" setup.py tests-preinstall - } - python_execute_function testing -} - -src_install() { - distutils_src_install - - if use doc; then - # docs/reference/reportlab-reference.pdf is identical with docs/reportlab-reference.pdf - rm -f docs/reference/reportlab-reference.pdf - - insinto /usr/share/doc/${PF} - doins -r docs/* - fi - 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 -} |