rpms/python-formencode/devel python-formencode-setup.patch, NONE, 1.1 python-formencode.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Oliver Andrich (oa) fedora-extras-commits at redhat.com
Sun Oct 23 09:33:57 UTC 2005


Author: oa

Update of /cvs/extras/rpms/python-formencode/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30919/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-formencode-setup.patch python-formencode.spec 
Log Message:
auto-import python-formencode-0.2.2-2 on branch devel from python-formencode-0.2.2-2.src.rpm

python-formencode-setup.patch:

--- NEW FILE python-formencode-setup.patch ---
*** FormEncode-0.2.1/setup.py.ORIG	2005-08-19 05:22:13.000000000 +0200
--- FormEncode-0.2.1/setup.py	2005-09-20 23:02:55.000000000 +0200
***************
*** 1,7 ****
! from ez_setup import use_setuptools
! use_setuptools()
! from setuptools import setup
! 
  setup(name="FormEncode",
        version="0.2.1",
        description="HTML form validation, generation, and convertion package",
--- 1,12 ----
! # ez_setup doesn't work with Python 2.2, so we use distutils
! # in that case:
! try:
!     from ez_setup import use_setuptools
!     use_setuptools()
!     from setuptools import setup
! except ImportError:
!     from distutils.core import setup
!     
  setup(name="FormEncode",
        version="0.2.1",
        description="HTML form validation, generation, and convertion package",


--- NEW FILE python-formencode.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-formencode
Version:        0.2.2
Release:        2
Summary:        HTML form validation, generation, and convertion package  

Group:          Development/Libraries
License:        PSF
URL:            http://formencode.org/
Source0:        http://cheeseshop.python.org/packages/source/F/FormEncode/FormEncode-%{version}.tar.gz  
Patch0:         python-formencode-setup.patch

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch:      noarch

Requires:       python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")


%description
FormEncode validates and converts nested structures. It allows for a 
declarative form of defining the validation, and decoupled processes 
for filling and generating forms.

%prep
%setup -q -n FormEncode-%{version}
rm -rf ez_setup
%patch0 -p1

%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc PKG-INFO docs

%dir %{python_sitelib}/formencode
%{python_sitelib}/formencode/*.py
%{python_sitelib}/formencode/*.pyc
%ghost %{python_sitelib}/formencode/*.pyo

%dir %{python_sitelib}/formencode/util
%{python_sitelib}/formencode/util/*.py
%{python_sitelib}/formencode/util/*.pyc
%ghost %{python_sitelib}/formencode/util/*.pyo

%dir %{python_sitelib}/formencode/javascript
%{python_sitelib}/formencode/javascript/*.js

%changelog
* Tue Oct 13 2005 Oliver Andrich <oliver.andrich at gmail.com> 0.2.2-2
- fixed the too long description line
- add -O1 to the installation process
- %ghost'ed the *.pyo files

* Tue Oct 06 2005 Oliver Andrich <oliver.andrich at gmail.com> 0.2.2-1
- update to upstream version 0.2.2

* Tue Sep 20 2005 Oliver Andrich <oliver.andrich at gmail.com> 0.2.1-2
- fixed some minor packaging issues for review.

* Tue Sep 20 2005 Oliver Andrich <oliver.andrich at gmail.com> 0.2.1-1
- initial creation
- Version 0.2.1


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-formencode/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Oct 2005 09:33:09 -0000	1.1
+++ .cvsignore	23 Oct 2005 09:33:55 -0000	1.2
@@ -0,0 +1 @@
+FormEncode-0.2.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-formencode/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Oct 2005 09:33:09 -0000	1.1
+++ sources	23 Oct 2005 09:33:55 -0000	1.2
@@ -0,0 +1 @@
+56bb04a6ce9a3dcb187b3db6091ec5d9  FormEncode-0.2.2.tar.gz




More information about the fedora-extras-commits mailing list