Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/libs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26084
Added Files:
libxml2-py.info libxml2-py.patch
Log Message:
New packages.
--- NEW FILE: libxml2-py.patch ---
diff -Nurd -x'*~' libxml2-2.6.20.orig/python/setup.py
libxml2-2.6.20/python/setup.py
--- libxml2-2.6.20.orig/python/setup.py 2005-07-10 18:53:45.000000000 -0400
+++ libxml2-2.6.20/python/setup.py 2005-08-25 12:19:56.000000000 -0400
@@ -231,7 +231,7 @@
author = "Daniel Veillard",
author_email = "[EMAIL PROTECTED]",
url = "http://xmlsoft.org/python.html",
- licence="MIT Licence",
+ license="MIT Licence",
py_modules=modules,
ext_modules=extens,
ext_package=ext_package,
diff -Nurd -x'*~' libxml2-2.6.20.orig/python/tests/Makefile
libxml2-2.6.20/python/tests/Makefile
--- libxml2-2.6.20.orig/python/tests/Makefile 2005-08-25 12:18:59.000000000
-0400
+++ libxml2-2.6.20/python/tests/Makefile 2005-08-25 12:19:56.000000000
-0400
@@ -53,20 +53,22 @@
EXTRA_DIST = $(PYTESTS) $(XMLS)
-if WITH_PYTHON
tests: $(PYTESTS)
@echo "## running Python regression tests"
- -@(PYTHONPATH="..:../.libs:$(srcdir)/..:$$PYTHONPATH" ; \
- export PYTHONPATH; \
- LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
- export LD_LIBRARY_PATH; \
+ @rm -f test.out
+ -@( ; \
for test in $(PYTESTS) ; \
- do log=`$(PYTHON) $(srcdir)/$$test` ; \
- if [ "`echo $$log | grep OK`" = "" ] ; then \
- echo "-- $$test" ; echo "$$log" ; fi ; done)
-else
-tests:
-endif
+ do log=`$(PYTHON) ./$$test 2>&1` ; \
+ if [ "`echo $$log | grep OK`" = "" ] ; then \
+ echo "-- FAILED $$test" ; \
+ echo "$$log" ; \
+ echo " $$test" >> test.out ; \
+ else \
+ echo "-- OK $$test" ; \
+ fi ; \
+ done; \
+ )
+ @[ ! -s test.out ]
clean:
rm -f *.pyc core
--- NEW FILE: libxml2-py.info ---
Info2: <<
Package: libxml2-py%type_pkg[python]
Version: 2.6.20
Revision: 1
Maintainer: Daniel Macks <[EMAIL PROTECTED]>
Type: python (2.3 2.4)
Depends: libxml2-shlibs (>= %v-1), libiconv, python%type_pkg[python]
BuildDepends: libxml2 (>= %v-1), libiconv-dev
Source: mirror:gnome:sources/libxml2/2.6/libxml2-%v.tar.bz2
Source-MD5: 342f722d1770071be19253f229fef677
PatchScript: <<
cp python/tests/Makefile.am python/tests/Makefile
patch -p1 < %a/%{ni}.patch
<<
CompileScript: <<
#!/bin/sh -ev
CPPFLAGS="`%p/bin/pkg-config --cflags libxml-2.0` $CPPFLAGS"
LDFLAGS="`%p/bin/pkg-config --libs libxml-2.0` $LDFLAGS"
export PYTHON=%p/bin/python%type_raw[python]
cd python
$PYTHON setup.py build
cd tests && make tests PYTHONPATH="`%p/bin/python%type_raw[python] -c 'import
sys;from distutils.util import get_platform; print "../build/lib.%%s-%%s" %%
(get_platform(), sys.version[0:3])'`:$PYTHONPATH"
<<
InstallScript: <<
#!/bin/sh -ev
cd python
%p/bin/python%type_raw[python] setup.py install --root %d
<<
DocFiles: AUTHORS Copyright NEWS README python/README:README.py-bindings TODO
python/TODO:TODO.py-bindings
Description: Python bindings for libxml2 library
DescPort: <<
We only need to build the python stuff and link against an
already-installed lib that comes from the top-level build, so don't
bother doing the top-level build. By using the python-standard
package script setup.py we don't even need the python/ autoconf
stuff so we can skip ./configure completely. To get tests, hack the
relevant parts of the Makefile.am template into a proper Makefile.
Fix tests target so that it gives cleaner feedback and propagates
failures correctly to the caller's shell.
build-lib path determination based on python2.4 distutils/command/build.py
<<
License: LGPL
Homepage: http://www.xmlsoft.org/
<<
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits