[csw-devel] SF.net SVN: gar:[14521] csw/mgar/pkg/lang-python/reportlab/trunk

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu May 5 11:25:01 CEST 2011


Revision: 14521
          http://gar.svn.sourceforge.net/gar/?rev=14521&view=rev
Author:   wahwah
Date:     2011-05-05 09:25:01 +0000 (Thu, 05 May 2011)

Log Message:
-----------
pkg/lang-python/reportlab/trunk: Obsoleting packages, patching /usr/local

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/reportlab/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/lang-python/reportlab/trunk/files/0001-Default-location-of-hyphen.mashed.patch

Modified: csw/mgar/pkg/lang-python/reportlab/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/reportlab/trunk/Makefile	2011-05-05 09:14:55 UTC (rev 14520)
+++ csw/mgar/pkg/lang-python/reportlab/trunk/Makefile	2011-05-05 09:25:01 UTC (rev 14521)
@@ -5,7 +5,7 @@
 NAME = reportlab
 VERSION = 2.5
 CATEGORIES = python
-DESCRIPTION = Programatically creating documents in PDF format
+SPKG_DESC_CSWpy-reportlab = Programatically creating documents in PDF format
 define BLURB
   Free Open Source PDF library is suitable for web publishers, developers
   or creative design professionals who need to quickly and easily create
@@ -19,7 +19,19 @@
 endef
 MASTER_SITES = http://www.reportlab.com/ftp/
 DISTFILES  = $(NAME)-$(VERSION).tar.gz
-RUNTIME_DEP_PKGS_CSWreportlab = CSWpil
+PATCHFILES += 0001-Default-location-of-hyphen.mashed.patch
+RUNTIME_DEP_PKGS_CSWpy-reportlab = CSWpil
 TEST_SCRIPTS =
-ARCHALL_CSWpy-reportlab = 1
+OBSOLETED_BY_CSWpy-reportlab  = CSWreportlab
+OBSOLETED_BY_CSWpy-reportlab += CSWrenderpm
+RUNTIME_DEP_PKGS_CSWpy-reportlab += CSWftype2
+RUNTIME_DEP_PKGS_CSWpy-reportlab += CSWlibpython2-6-1-0
+# Some checks in default locations; won't do any harm.
+CHECKPKG_OVERRIDES_CSWpy-reportlab += file-with-bad-content|/usr/local|root/opt/csw/lib/python/site-packages/reportlab/rl_config.py
+CHECKPKG_OVERRIDES_CSWpy-reportlab += file-with-bad-content|/usr/share|root/opt/csw/lib/python/site-packages/reportlab/rl_config.py
+# checkpkg does not detect Python deps; also the Python category causes the
+# transitional packages to depend on Python (which is okay).
+CHECKPKG_OVERRIDES_CSWrenderpm += surplus-dependency|CSWpython
+CHECKPKG_OVERRIDES_CSWreportlab += surplus-dependency|CSWpython
+CHECKPKG_OVERRIDES_CSWpy-reportlab += surplus-dependency|CSWpil
 include gar/category.mk

Added: csw/mgar/pkg/lang-python/reportlab/trunk/files/0001-Default-location-of-hyphen.mashed.patch
===================================================================
--- csw/mgar/pkg/lang-python/reportlab/trunk/files/0001-Default-location-of-hyphen.mashed.patch	                        (rev 0)
+++ csw/mgar/pkg/lang-python/reportlab/trunk/files/0001-Default-location-of-hyphen.mashed.patch	2011-05-05 09:25:01 UTC (rev 14521)
@@ -0,0 +1,25 @@
+From fbf5e90e620e6ecbd8f75d7e79e8d0a7b3b6aac8 Mon Sep 17 00:00:00 2001
+From: Maciej Blizinski <maciej at opencsw.org>
+Date: Thu, 5 May 2011 11:19:33 +0200
+Subject: [PATCH] Default location of hyphen.mashed
+
+---
+ src/rl_addons/rl_accel/pyHnjmodule.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/rl_addons/rl_accel/pyHnjmodule.c b/src/rl_addons/rl_accel/pyHnjmodule.c
+index d03d5cd..7fb68e7 100644
+--- a/src/rl_addons/rl_accel/pyHnjmodule.c
++++ b/src/rl_addons/rl_accel/pyHnjmodule.c
+@@ -209,7 +209,7 @@ newHyphenobject(PyObject *module, PyObject *args) {
+   PyArg_ParseTuple(args, "|s", &filename);
+ 
+   if(filename == NULL)
+-    filename = "/usr/local/share/pyHnj/hyphen.mashed";  /* default */
++    filename = "/opt/csw/lib/python/site-packages/reportlab/lib/hyphen.mashed";  /* default */
+     
+   self = PyObject_NEW(Hyphenobject, &Hyphentype);
+   if (self == NULL)
+-- 
+1.7.3.2
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list