diff options
author | Robin Lee <robinlee.sysu@gmail.com> | 2010-09-04 15:56:25 +0800 |
---|---|---|
committer | Robin Lee <robinlee.sysu@gmail.com> | 2010-09-04 15:56:25 +0800 |
commit | e5a585113eb19d8892188cacc16a7d4cde70eee3 (patch) | |
tree | e8a7ee85d5b9dca73fcd41a7d024a40f0118afa9 /python3-zope-fixers | |
parent | bfdf22b7befb4f28261a76da3339b73fbd26193d (diff) | |
download | zope-rpm-e5a585113eb19d8892188cacc16a7d4cde70eee3.tar.gz zope-rpm-e5a585113eb19d8892188cacc16a7d4cde70eee3.tar.xz zope-rpm-e5a585113eb19d8892188cacc16a7d4cde70eee3.zip |
zope.fixers, zc.buildout 1.5.1, ZODB3 3.10.0b5
Diffstat (limited to 'python3-zope-fixers')
-rw-r--r-- | python3-zope-fixers/F-13/python3-zope-fixers.spec | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/python3-zope-fixers/F-13/python3-zope-fixers.spec b/python3-zope-fixers/F-13/python3-zope-fixers.spec new file mode 100644 index 0000000..d6c0551 --- /dev/null +++ b/python3-zope-fixers/F-13/python3-zope-fixers.spec @@ -0,0 +1,45 @@ +%global modname zope.fixers + +Summary: 2to3 fixers for Zope +Name: python3-%(echo %{modname} | sed -r 's|\.|-|g') +Version: 1.0 +Release: 1%{?dist} +Source0: http://pypi.python.org/packages/source/%(echo %{modname} | sed -r 's|^(.).*|\1|')/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://svn.zope.org/zope.fixers/ + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + + +%description +Fixers for Zope Component Architecture and the frameworks built with it. + +Currently, there is only one fixer, fix_implements. This fixer will change +all uses of implements(IFoo) in a class body to the class decorator +@implementer(IFoo), which is the most likely Python 3 syntax for +zope.interfaces implements statements. + +%prep +%setup -q -n %{modname}-%{version} + +%build +%{__python3} setup.py build + +%install +%{__python3} setup.py install --root=$RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt ZPL.txt docs/* +%{python3_sitelib}/%(echo %{modname} | sed -r 's|\.|/|g') +%dir %{python3_sitelib}/zope/ +%{python3_sitelib}/%{modname}-*.egg-info +%{python3_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Sep 2 2010 Robin Lee <robinlee.sysu@gmail.com> - 1.0-1 +- Initial packaging |