[python-tg-devtools] Update to the latest 2.3.0 snapshot

Luke Macken lmacken at fedoraproject.org
Mon Apr 8 22:26:10 UTC 2013


commit 37309e53bd9a4922df1ad8b60b37d80d821c4e5e
Author: Luke Macken <lmacken at redhat.com>
Date:   Mon Apr 8 18:08:10 2013 -0400

    Update to the latest 2.3.0 snapshot

 .gitignore                              |    1 +
 python-tg-devtools-repoze-who-dep.patch |   11 ----
 python-tg-devtools.spec                 |   83 ++++++++++++-------------------
 sources                                 |    2 +-
 4 files changed, 34 insertions(+), 63 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2eee2c8..469790e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ tg.devtools-2.1b2.tar.gz
 /tg.devtools-2.1b2dev.tar.gz
 /tg.devtools-2.1.tar.gz
 /tg.devtools-2.1.1.tar.gz
+/tg.devtools-2.3.0.tar.gz
diff --git a/python-tg-devtools.spec b/python-tg-devtools.spec
index d1f672a..5af3bef 100644
--- a/python-tg-devtools.spec
+++ b/python-tg-devtools.spec
@@ -1,55 +1,39 @@
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
 Name:           python-tg-devtools
-Version:        2.1.1
-Release:        6%{?dist}
+Version:        2.3.0
+Release:        0.1%{?dist}
 Summary:        Development tools and templates for TurboGears2
 
 Group:          Development/Languages
 License:        MIT
 URL:            http://www.turbogears.org
-Source0:        http://www.turbogears.org/2.1/downloads/current/tg.devtools-%{version}.tar.gz
-Patch0:         %{name}-repoze-who-dep.patch
+Source0:        http://unstable.tg.gy/20130313/tg.devtools-%{version}.tar.gz
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 BuildRequires:  python-setuptools python-nose python-coverage
-BuildRequires:  python-repoze-tm2 python-turbokid python-turbojson
-BuildRequires:  python-repoze-what-quickstart python-catwalk
-BuildRequires:  python-zope-sqlalchemy
-
-BuildRequires:  python-paste-script python-tempita
-BuildRequires:  python-webtest >= 1.2.3
-BuildRequires:  python-repoze-who python-repoze-who-testutil
-BuildRequires:  python-babel
-BuildRequires:  TurboGears2
-
-Requires:       TurboGears2
-Requires:       python-repoze-what-quickstart >= 1.0
-Requires:       python-repoze-who >= 1.0.10
-Requires:       python-repoze-who-testutil
-Requires:       python-catwalk
+BuildRequires:  python-repoze-tm2
+BuildRequires:  python-turbokid >= 1.0.4
+BuildRequires:  python-turbojson >= 1.3
+BuildRequires:  python-zope-sqlalchemy >= 0.4
+BuildRequires:  python-webtest < 2.0
+BuildRequires:  python-babel >= 0.9.4
+BuildRequires:  python-sqlalchemy >= 0.5
+BuildRequires:  python-tgext-admin >= 0.3.9
+BuildRequires:  TurboGears2 >= 2.3.0
+
+Requires:       TurboGears2 >= 2.3.0
+Requires:       python-repoze-tm2
+Requires:       python-turbokid >= 1.0.4
+Requires:       python-turbojson >= 1.3
+Requires:       python-zope-sqlalchemy >= 0.4
+Requires:       python-webtest < 2.0
+Requires:       python-babel >= 0.9.4
+Requires:       python-sqlalchemy >= 0.5
+Requires:       python-tgext-admin >= 0.3.9
 Requires:       python-babel
-Requires:       python-coverage
-
-%if 0%{?rhel} && 0%{?rhel} <= 5
-Requires:       python-sqlite2
-BuildRequires:  python-sqlite2
-BuildRequires:  python-hashlib
-Requires:       python-hashlib
-%endif
-
-%if 0%{?rhel} && 0%{?rhel} <= 5
-BuildRequires:  python-sqlalchemy0.5
-BuildRequires:  python-migrate0.5
-Requires:       python-sqlalchemy0.5
-Requires:       python-migrate0.5
-%else
-Requires:       python-sqlalchemy
-Requires:       python-migrate
-BuildRequires:  python-migrate
-%endif
+Requires:       python-webtest < 2.0
+Requires:       python-backlash
+Requires:       python-gearbox
 
 
 %description
@@ -59,7 +43,6 @@ TurboGears2 development.
 
 %prep
 %setup -q -n tg.devtools-%{version}
-%patch0 -p1 -b .who
 
 
 %build
@@ -67,29 +50,27 @@ TurboGears2 development.
 
 
 %install
-rm -rf %{buildroot}
 %{__python} setup.py install --skip-build --root %{buildroot}
 # remove wrong script interpreter
-sed -i '1s/^#!python//' %{buildroot}%{python_sitelib}/devtools/templates/turbogears/ez_setup/__init__.py
-sed -i '1s/^#!python//' %{buildroot}%{python_sitelib}/devtools/templates/tgext/ez_setup/__init__.py
+#sed -i '1s/^#!python//' %{buildroot}%{python_sitelib}/devtools/templates/turbogears/ez_setup/__init__.py
+#sed -i '1s/^#!python//' %{buildroot}%{python_sitelib}/devtools/templates/tgext/ez_setup/__init__.py
 
 
 %check
-PYTHONPATH=$(pwd) nosetests -q
-
-
-%clean
-rm -rf %{buildroot}
+PYTHONPATH=$(pwd) nosetests
 
 
 %files
-%defattr(0644,root,root,0755)
 %doc
 %{python_sitelib}/devtools/
 %{python_sitelib}/tg.devtools-%{version}-*.egg-info/
 
 
 %changelog
+* Mon Apr  8 2013 Luke Macken <lmacken at redhat.com> - 2.3.0-0.1
+- Update to the latest 2.3.0 snapshot
+- Modernize specfile and update deps
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.1-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index a8c4ff7..b858cd6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7ff10855733e99c5f136b4d23b8cbedb  tg.devtools-2.1.1.tar.gz
+c4eab207d1d2166a9a0e2e92eead7859  tg.devtools-2.3.0.tar.gz


More information about the scm-commits mailing list