[CalendarServer-changes] [14266] CalendarServer/trunk

source_changes at macosforge.org source_changes at macosforge.org
Wed Jan 7 19:09:19 PST 2015


Revision: 14266
          http://trac.calendarserver.org//changeset/14266
Author:   wsanchez at apple.com
Date:     2015-01-07 19:09:19 -0800 (Wed, 07 Jan 2015)
Log Message:
-----------
revert r14265

Revision Links:
--------------
    http://trac.calendarserver.org//changeset/14265

Modified Paths:
--------------
    CalendarServer/trunk/requirements-stable.txt
    CalendarServer/trunk/setup.py
    CalendarServer/trunk/support/Apple.make

Modified: CalendarServer/trunk/requirements-stable.txt
===================================================================
--- CalendarServer/trunk/requirements-stable.txt	2015-01-08 03:08:38 UTC (rev 14265)
+++ CalendarServer/trunk/requirements-stable.txt	2015-01-08 03:09:19 UTC (rev 14266)
@@ -1,77 +1,34 @@
-##
-#
-# Specify specific versions of our dependencies here.
-#
-##
-#
-# This defines the versions of dependencies that we are developing and
-# testing with.
-#
-# Other versions of dependencies are likely to work in most cases, but
-# here you can see what our automated builds are using, so this
-# combination is known to work.
-#
-##
-#
-# This file should contain every module in the output of:
-#   ./bin/dependencies -a
-#
-##
+# This file should contain everything in the output of:
+#   ./bin/python -m pip freeze --local
+# with the exception of any modules obtained via requirements-dev.plist
 
--e .  # calendarserver
+# For CalendarServer development, don't try to get these projects from PyPI; use svn.
 
-  zope.interface==4.1.1
+-e .
+-e svn+http://svn.calendarserver.org/repository/calendarserver/twext/trunk@14260#egg=twextpy
+-e svn+http://svn.calendarserver.org/repository/calendarserver/PyKerberos/trunk@13420#egg=kerberos
+-e svn+http://svn.calendarserver.org/repository/calendarserver/PyCalendar/trunk@14245#egg=pycalendar
 
-  Twisted==14.0.2
-    #zope.interface
-    # NOTE: Twisted also uses pyOpenSSL, pycrypto and service_identity,
-    #   but doesn't specify them as dependencies, so that are explicitly
-    #   added to calendarserver.
-    #pyOpenSSL
-    service_identity==14.0.0
-      characteristic==14.0.0
-      pyasn1==0.1.7
-      pyasn1-modules==0.0.5
-      #pyOpenSSL  
-    pycrypto==2.6.1
+# Specify specific versions of our dependencies so that we're all testing the same config.
 
-  -e svn+http://svn.calendarserver.org/repository/calendarserver/twext/trunk@14260#egg=twextpy
-    cffi==0.8.6
-      pycparser==2.10
-    #twisted
-    #[DAL]
-      sqlparse==0.1.14
-
-  pyOpenSSL==0.14
-    cryptography==0.7.1
-      #cffi
-      setuptools==11.3.1
-      #six
-    six==1.9.0
-
-  -e svn+http://svn.calendarserver.org/repository/calendarserver/PyKerberos/trunk@13420#egg=kerberos
-
-  xattr==0.7.5
-    #cffi
-
-  python-dateutil==1.5  # Note: v2.0+ is for Python 3
-
-  pytz==2014.10
-
-  -e svn+http://svn.calendarserver.org/repository/calendarserver/PyCalendar/trunk@14245#egg=pycalendar
-
-  psutil==2.1.3
-
-  setproctitle==1.1.8
-
-  # LDAP extra
-  python-ldap==2.4.18
-
-  # OpenDirectory extra
-  #pyobjc-framework-opendirectory  # Use system module
-
-  # Postgres extra
-  PyGreSQL==4.1.1
-
-  # Oracle extra
-  #cx-oracle  # Not in PyPI
+cffi==0.8.6
+funcparserlib==0.3.6
+psutil==2.1.3
+pyasn1==0.1.7
+pyasn1_modules==0.0.5
+pycparser==2.10
+pycrypto==2.6.1
+PyGreSQL==4.1.1
+pyOpenSSL==0.14
+service_identity==14.0.0
+cryptography==0.6.1
+characteristic==14.0.0
+python-dateutil==1.5  # Note: v2.0+ is for Python 3
+python-ldap==2.4.18
+pytz==2014.10
+setproctitle==1.1.8
+sqlparse==0.1.14
+Twisted==14.0.2
+wheel==0.24.0
+xattr==0.7.5
+zope.interface==4.1.1

Modified: CalendarServer/trunk/setup.py
===================================================================
--- CalendarServer/trunk/setup.py	2015-01-08 03:08:38 UTC (rev 14265)
+++ CalendarServer/trunk/setup.py	2015-01-08 03:09:19 UTC (rev 14266)
@@ -235,9 +235,12 @@
     "twextpy",
 
     # Security frameworks
-    "pyOpenSSL>=0.13.1",  # also for Twisted
-    "service_identity",   # for Twisted
-    "pycrypto",           # for Twisted
+    "pyOpenSSL>=0.13.1",
+    "service_identity",
+    "pycrypto",
+    "pyasn1",
+    "pyasn1_modules",
+    "characteristic",
     "kerberos",
 
     # Data store

Modified: CalendarServer/trunk/support/Apple.make
===================================================================
--- CalendarServer/trunk/support/Apple.make	2015-01-08 03:08:38 UTC (rev 14265)
+++ CalendarServer/trunk/support/Apple.make	2015-01-08 03:09:19 UTC (rev 14266)
@@ -89,10 +89,7 @@
 	@echo "Creating virtual environment...";
 	$(_v) $(RMDIR) "$(DSTROOT)$(CS_VIRTUALENV)";
 	$(_v) PYTHONPATH="$(BuildDirectory)/pytools/lib" \
-	          "$(PYTHON)" -m virtualenv              \
-		          --system-site-packages             \
-		          --always-copy                      \
-		          "$(DSTROOT)$(CS_VIRTUALENV)";
+	          "$(PYTHON)" -m virtualenv --system-site-packages "$(DSTROOT)$(CS_VIRTUALENV)";
 	@#
 	@# Use the pip in the virtual environment to install.
 	@# It knows about where things go in the virtual environment.
@@ -121,18 +118,18 @@
 	@echo "Putting comments into empty files...";
 	$(_v) find "$(DSTROOT)$(CS_VIRTUALENV)" -type f -size 0 -name "*.py" -exec sh -c 'printf "# empty\n" > {}' ";";
 	$(_v) find "$(DSTROOT)$(CS_VIRTUALENV)" -type f -size 0 -name "*.h" -exec sh -c 'printf "/* empty */\n" > {}' ";";
-	# @echo "Replacing symbolic links...";
-	# $(_v) find "$(DSTROOT)$(CS_VIRTUALENV)" -type l |                       \
-	#           while read link; do                                           \
-	#               target="$$(readlink "$${link}")";                         \
-	#               if [ "$$(echo $${target} | cut -f 1 -d /)" == "" ]; then  \
-	#                   rm -fv "$${link}";                                    \
-	#                   cp -aLfv "$${target}" "$${link}" || {                 \
-	#                       rm -rfv "$${link}";                               \
-	#                       ln -sfv "$${target}" "$${link}";                  \
-	#                   }                                                     \
-	#               fi;                                                       \
-	#           done;
+	@echo "Replacing symbolic links...";
+	$(_v) find "$(DSTROOT)$(CS_VIRTUALENV)" -type l |                       \
+	          while read link; do                                           \
+	              target="$$(readlink "$${link}")";                         \
+	              if [ "$$(echo $${target} | cut -f 1 -d /)" == "" ]; then  \
+	                  rm -fv "$${link}";                                    \
+	                  cp -aLfv "$${target}" "$${link}" || {                 \
+	                      rm -rfv "$${link}";                               \
+	                      ln -sfv "$${target}" "$${link}";                  \
+	                  }                                                     \
+	              fi;                                                       \
+	          done;
 
 install:: install-config
 install-config::
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150107/e6bdde02/attachment-0001.html>


More information about the calendarserver-changes mailing list