From 06f9d00224492ecc7afd1a9aad4cac12c9f862de Mon Sep 17 00:00:00 2001 From: Luke Macken Date: Feb 18 2011 20:16:53 +0000 Subject: Initial import of python-venusian into rawhide --- diff --git a/.gitignore b/.gitignore index e69de29..9cfe7f3 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/venusian-0.6.tar.gz diff --git a/python-venusian.spec b/python-venusian.spec new file mode 100644 index 0000000..64d4454 --- /dev/null +++ b/python-venusian.spec @@ -0,0 +1,48 @@ +%global modname venusian + +Name: python-%{modname} +Version: 0.6 +Release: 1%{?dist} +Summary: A library for deferring decorator actions + +Group: Development/Libraries +License: BSD +URL: http://pypi.python.org/pypi/venusian +Source0: http://pypi.python.org/packages/source/v/venusian/%{modname}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: python-setuptools-devel +BuildRequires: python2-devel +BuildRequires: python-nose + +%description +Venusian is a library which allows framework authors to defer decorator +actions. Instead of taking actions when a function (or class) decorator is +executed at import time, you can defer the action usually taken by the +decorator until a separate "scan" phase. + +%prep +%setup -q -n %{modname}-%{version} + +%build +%{__python} setup.py build + +%install +rm -rf %{buildroot} +%{__python} setup.py install -O1 --skip-build --root %{buildroot} + +%check +%{__python} setup.py test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc README.txt LICENSE.txt +%{python_sitelib}/* + +%changelog +* Wed Jan 2 2010 Luke Macken - 0.6-1 +- Initial package diff --git a/sources b/sources index e69de29..d96e994 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e2d37698f0f63d1c128f31f0d073db9f venusian-0.6.tar.gz