]> git.pld-linux.org Git - packages/PyFileServer.git/commitdiff
- PyXML is not required during build
authormaciek2w <maciek2w@pld-linux.org>
Sat, 12 Aug 2006 10:20:17 +0000 (10:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PyFileServer-setup_py.patch -> 1.1
    PyFileServer.spec -> 1.5

PyFileServer-setup_py.patch [new file with mode: 0644]
PyFileServer.spec

diff --git a/PyFileServer-setup_py.patch b/PyFileServer-setup_py.patch
new file mode 100644 (file)
index 0000000..2c2b8aa
--- /dev/null
@@ -0,0 +1,25 @@
+--- setup.py.orig      2006-08-12 12:09:21.000000000 +0200
++++ setup.py   2006-08-12 12:09:39.000000000 +0200
+@@ -11,14 +11,14 @@
+ #manual check for dependencies: PyXML - somehow installer unable to find on PyPI.
+ import sys
+-print "\nChecking manual dependencies...\n"
+-try:
+-   import xml.dom.ext
+-   import xml.dom.ext.reader
+-except ImportError:
+-   print "Failed to detect PyXML. PyXML is required for PyFileServer. Please install"
+-   print "PyXML <http://pyxml.sourceforge.net/> before installing PyFileServer"
+-   sys.exit(-1)
++#print "\nChecking manual dependencies...\n"
++#try:
++#   import xml.dom.ext
++#   import xml.dom.ext.reader
++#except ImportError:
++#   print "Failed to detect PyXML. PyXML is required for PyFileServer. Please install"
++#   print "PyXML <http://pyxml.sourceforge.net/> before installing PyFileServer"
++#   sys.exit(-1)
+ from setuptools import setup, find_packages
index dca757296cb0126ab129200dac1854a56fbbb23a..2515d483875965d8474125551013f6b898707c05 100644 (file)
@@ -1,7 +1,3 @@
-#
-# TODO:
-# - check if PyXML is really required during build
-#
 Summary:       A WebDAV server in Python
 Summary(pl):   Serwer WebDAV napisany w Pythonie
 Name:          PyFileServer
 Summary:       A WebDAV server in Python
 Summary(pl):   Serwer WebDAV napisany w Pythonie
 Name:          PyFileServer
@@ -12,6 +8,7 @@ Group:         Networking/Daemons
 Source0:       http://download.berlios.de/pyfilesync/PyFileServer-0.2.1.zip
 # Source0-md5: 7a46d3f94e05d81b4110e6d0780c642b
 URL:           http://pyfilesync.berlios.de/pyfileserver.html
 Source0:       http://download.berlios.de/pyfilesync/PyFileServer-0.2.1.zip
 # Source0-md5: 7a46d3f94e05d81b4110e6d0780c642b
 URL:           http://pyfilesync.berlios.de/pyfileserver.html
+Patch0:                %{name}-setup_py.patch
 BuildRequires: python >= 2.3
 BuildRequires: python-setuptools
 BuildRequires: unzip
 BuildRequires: python >= 2.3
 BuildRequires: python-setuptools
 BuildRequires: unzip
@@ -51,6 +48,7 @@ udost
 
 %prep
 %setup -q -n %{name}
 
 %prep
 %setup -q -n %{name}
+%patch0
 
 %build
 python setup.py build
 
 %build
 python setup.py build
This page took 0.11802 seconds and 4 git commands to generate.