Browse Source

python-* new upstream

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2258 ec354946-7b23-47d6-9f5a-488ba84defc7
owa 13 years ago
parent
commit
2a8b3718f0

+ 7 - 3
p/python-django/python-django-vl.spec

@@ -1,8 +1,8 @@
 Summary: A high-level Python Web framework
 Summary(ja): Python の高度なウェブフレームワーク
 Name: python-django
-Version: 1.2.1
-Release: 2%{?_dist_release}
+Version: 1.2.3
+Release: 1%{?_dist_release}
 Group: Development/Languages
 BuildArch: noarch
 License: BSD
@@ -43,7 +43,7 @@ Python Web framework.
 
 %prep
 %setup -q -n Django-%{version}
-%patch0 -p3
+#%patch0 -p3
 
 # remove bundled simplejson
 cd django/utils/simplejson/
@@ -133,6 +133,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Dec 01 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.3-1
+- updated Django to 1.2.3
+- dropt Django-hash-compat-13310.patch
+
 * Thu Sep 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.1-2
 - added simplejson-init.py: removed bundled simplejson, and put the __init__.py
 - added Django-hash-compat-13310.patch: http://code.djangoproject.com/changeset/13310 per BZ#601212

+ 4 - 1
p/python-simplejson/python-simplejson-vl.spec

@@ -6,7 +6,7 @@
 
 Name:           python-simplejson
 
-Version:        2.1.1
+Version:        2.1.2
 Release:        1%{?_dist_release}
 Summary:        Simple, fast, extensible JSON encoder/decoder for Python
 
@@ -71,6 +71,9 @@ nosetests -q
 
 
 %changelog
+* Wed Dec 01 2010 Shu KONNO <owa@bg.wakwak.com> - 2.1.2-1
+- updated simplejson to 2.1.2
+
 * Mon Aug 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> - 2.1.1-1
 - initial build based on Fedora development
 

+ 7 - 5
p/python-sphinx/python-sphinx-vl.spec

@@ -1,11 +1,10 @@
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 
 %global upstream_name Sphinx
-%global prerel b2
 
 Name:       python-sphinx
-Version:    1.0
-Release:    1.%{?prerel}%{?_dist_release}
+Version:    1.0.5
+Release:    1%{?_dist_release}
 Summary:    Python documentation generator
 
 Group:      Development/Tools
@@ -16,7 +15,7 @@ Group:      Development/Tools
 # jquery (MIT or GPLv2)
 License: BSD and Public Domain and Python and (MIT or GPLv2)
 URL:        http://sphinx.pocoo.org/
-Source0:    http://pypi.python.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}%{?prerel}.tar.gz
+Source0:    http://pypi.python.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
 
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildArch:     noarch
@@ -78,7 +77,7 @@ This package contains documentation in reST and HTML formats.
 
 
 %prep
-%setup -q -n %{upstream_name}-%{version}%{?prerel}
+%setup -q -n %{upstream_name}-%{version}
 %__sed '1d' -i sphinx/pycode/pgen2/token.py
 
 %build
@@ -153,6 +152,9 @@ popd
 
 
 %changelog
+* Wed Dec 01 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.5-1
+- update sphinx to 1.0.5
+
 * Mon Aug 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-1.b2
 - initial build based on Fedora development
 

+ 16 - 12
p/python-tornado/python-tornado-vl.spec

@@ -1,23 +1,22 @@
-#%define python_sitelib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(0)')
-#%define python_platlib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)')
 %define tornado tornado
 Summary: Tornado is a web server and tools
 Summary(ja): Tornado 高速 Web フレームワーク
 Name: python-%{tornado}
 Group: Development/Web Applications
-Version: 0.2
-Release: 2%{?_dist_release}
+Version: 1.1
+Release: 1%{?_dist_release}
 License: Apache Licence, Version 2.0
 URL: http://www.tornadoweb.org/
 Source0: %{url}/static/%{tornado}-%{version}.tar.gz
 Requires: python >= 2.5
-Requires: python-pycurl python-simplejson
+Requires: python-pycurl
+Requires: python-simplejson
 BuildRequires: python-devel
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-
-Packager: <owa>
+BuildArch: noarch
 Vendor: Project Vine
 Distribution: Vine Linux
+Packager: owa
 
 %description
 Tornado is an open source version of the scalable, non-blocking web server
@@ -35,11 +34,12 @@ python setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install --prefix=$RPM_BUILD_ROOT/usr
+mkdir -p $RPM_BUILD_ROOT%{python_sitelib}
+export PYTHONPATH=$PYTHONPATH:$RPM_BUILD_ROOT%{python_sitelib}
+python setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
 
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{tornado}-%{version}
 cp -a demos $RPM_BUILD_ROOT/%{_datadir}/%{tornado}-%{version}/
-chmod 644 $RPM_BUILD_ROOT/%{_datadir}/%{tornado}-%{version}/demos/django/testdjango/testapp/tests.py
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -47,17 +47,21 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-, root, root)
 %doc PKG-INFO README
-#%{python_sitearch}
+%{python_sitelib}/easy-install.pth
+%{python_sitelib}/tornado-1.1-py2.6.egg
 %{_datadir}/%{tornado}-%{version}/demos/appengine
 %{_datadir}/%{tornado}-%{version}/demos/auth
 %{_datadir}/%{tornado}-%{version}/demos/blog
 %{_datadir}/%{tornado}-%{version}/demos/chat
-%{_datadir}/%{tornado}-%{version}/demos/django
 %{_datadir}/%{tornado}-%{version}/demos/facebook
 %{_datadir}/%{tornado}-%{version}/demos/helloworld
-%{_datadir}/%{tornado}-%{version}/demos/wsgi
+%exclude %{python_sitelib}/site.py*
 
 %changelog
+* Wed Dec 01 2010 Shu KONNO <owa@bg.wakwak.com> 1.1-1
+- updated tornado to 1.1
+- added BuildArch: noarch
+
 * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.2-2
 - rebuild with python-2.6
 

+ 8 - 8
p/python-twisted/python-twisted-vl.spec

@@ -1,13 +1,10 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 %define	pyver		%(python -c 'import sys;print(sys.version[0:3])')
-
-%define pkg_release	2%{?_dist_release}
-
 Summary:	Event-driven networking engine in Python 
 Summary(ja): 	Pythonで書かれたイベントドリブンなネットワークエンジン
 Name:		python-twisted	
-Version:	8.1.0
-Release: 	%{pkg_release}
+Version:	10.2.0
+Release: 	1%{?_dist_release}
 Source0:	http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/Twisted-%{version}.tar.bz2
 License:	MIT
 Group:		Development/Languages
@@ -79,17 +76,17 @@ python -c "from twisted.plugin import IPlugin, getPlugins;list(getPlugins(IPlugi
 %files
 %defattr(-,root,root)
 %doc INSTALL LICENSE NEWS README
-%{_bindir}/bookify
+#%{_bindir}/bookify
 %{_bindir}/cftp
 %{_bindir}/ckeygen
 %{_bindir}/conch
-%{_bindir}/im
+#%{_bindir}/im
 %{_bindir}/lore
 %{_bindir}/mailmail
 %{_bindir}/manhole
 %{_bindir}/mktap
 %{_bindir}/pyhtmlizer
-%{_bindir}/t-im
+#%{_bindir}/t-im
 %{_bindir}/tap2deb
 %{_bindir}/tap2rpm
 %{_bindir}/tapconvert
@@ -106,6 +103,9 @@ python -c "from twisted.plugin import IPlugin, getPlugins;list(getPlugins(IPlugi
 
 
 %changelog
+* Wed Dec 01 2010 Shu KONNO <owa@bg.wakwak.com> 10.2.0-1
+- updated twisted to 10.2.0
+
 * Thu Feb 04 2010 Shu KONNO <owa@bg.wakwak.com> 8.1.0-2
 - rebuilt with python-2.6.4-3
 

+ 10 - 11
p/python-zope-interface/python-zope-interface-vl.spec

@@ -1,13 +1,12 @@
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%define pyver %(python -c 'import sys;print(sys.version[0:3])')
-%define pkg_release	2%{?_dist_release}
+#%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+#%define pyver %(python -c 'import sys;print(sys.version[0:3])')
 
 Summary:	Zope 3 Interface Infrastructure 
 Summary(ja): 	Zope 3 インターフェース・インフラストラクチャ
 Name:		python-zope-interface
-Version:	3.5.0
-Release: 	%{pkg_release}
-Source0:	http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.zip
+Version:	3.6.1
+Release: 	1%{?_dist_release}
+Source0:	http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
 License:	ZPL (Zope Public License 2.1)
 Group:		Development/Languages
 URL:		http://pypi.python.org/pypi/zope.interface
@@ -26,7 +25,6 @@ python-zope-interface は Zope 3 で利用されている zope.interface
 を、単体で分離して配布しているパッケージです。
 
 %prep
-
 %setup -q -n zope.interface-%{version}
 
 
@@ -47,12 +45,13 @@ python-zope-interface は Zope 3 で利用されている zope.interface
 %defattr(-,root,root)
 %doc CHANGES.txt PKG-INFO README.txt 
 %{python_sitearch}/zope
-#%{python_sitearch}/zope.interface-3.5.0-py2.5.egg-info
-#%{python_sitearch}/zope.interface-3.5.0-py2.5-nspkg.pth
-%{python_sitearch}/zope.interface-3.5.0-py%{pyver}.egg-info
-%{python_sitearch}/zope.interface-3.5.0-py%{pyver}-nspkg.pth
+%{python_sitearch}/zope.interface-%{version}-py%{pyver}.egg-info
+%{python_sitearch}/zope.interface-%{version}-py%{pyver}-nspkg.pth
 
 %changelog
+* Wed Dec 01 2010 Shu KONNO <owa@bg.wakwak.com> 3.6.1-1
+- updated zope.interface to 3.6.1
+
 * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.5.0-2
 - rebuild with python-2.6
 - fixed path