Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/pythonmods
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv3049
Modified Files:
file-py.info
Log Message:
updated to 5.04 and added py27 variant
Index: file-py.info
===================================================================
RCS file:
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/pythonmods/file-py.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- file-py.info 27 Oct 2009 09:26:35 -0000 1.4
+++ file-py.info 17 Oct 2010 10:13:20 -0000 1.5
@@ -1,13 +1,13 @@
Info2: <<
Package: file-py%type_pkg[python]
-Version: 5.03
+Version: 5.04
Revision: 1
Homepage: http://www.darwinsys.com/file/
Maintainer: Kurt Schwehr <[email protected]>
-Type: python (2.5 2.6)
+Type: python (2.5 2.6 2.7)
Depends: python%type_pkg[python], file-shlibs
BuildDepends: file-dev
@@ -20,7 +20,7 @@
eur-de: http://www.go.dlr.de/fresh/unix/src/misc/
eur-de: http://www.uni-koeln.de/ftp/util/
<<
-Source-MD5: d05f08a53e5c2f51f8ee6a4758c0cc53
+Source-MD5: accade81ff1cc774904b47c72c8aeea0
CompileScript: <<
@@ -54,6 +54,22 @@
succeeds causes the file type to be printed.
<<
+DescUsage: <<
+Here is a quick usage of the library identifying a file type:
+
+python
+
+import magic
+
+magicfile = magic.open(magic.MAGIC_NONE)
+
+magicfile.load()
+
+filetype = magicfile.file('somefile.xml')
+
+print filetype
+
+<<
# Info2
<<
\ No newline at end of file
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs