From 31ff6996d277031de3a7f35c6dbb11a1b96639d7 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Nov 04 2013 15:09:36 +0000 Subject: Initial import (#1025292) --- diff --git a/.gitignore b/.gitignore index e69de29..b0b30cd 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Twiggy-0.4.5.tar.gz diff --git a/python-twiggy.spec b/python-twiggy.spec new file mode 100644 index 0000000..2273aa9 --- /dev/null +++ b/python-twiggy.spec @@ -0,0 +1,48 @@ +%global modname twiggy +%global distname Twiggy + +Name: python-twiggy +Version: 0.4.5 +Release: 2%{?dist} +Summary: A Pythonic logger + +Group: Development/Libraries +License: BSD +URL: http://pypi.python.org/pypi/Twiggy +Source0: http://pypi.python.org/packages/source/T/%{distname}/%{distname}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python2-devel +BuildRequires: python-sphinx + +%description +Twiggy is a Pythonic logger. + +%prep +%setup -q -n %{distname}-%{version} + +# Remove bundled egg-info in case it exists +rm -rf %{distname}.egg-info + +%build +%{__python2} setup.py build + +%install +%{__python2} setup.py install -O1 --skip-build --root=%{buildroot} + +# There are errors in the test suite. +#%%check +#./scripts/run-twiggy-tests.sh + +%files +%doc README.rst LICENSE VERSION +%{python2_sitelib}/%{modname}/ +%{python2_sitelib}/%{distname}-%{version}* + +%changelog +* Fri Nov 01 2013 Ralph Bean - 0.4.5-2 +- Modernize python rpm macros as per review feedback. + +* Thu Oct 31 2013 Ralph Bean - 0.4.5-1 +- initial package for Fedora diff --git a/sources b/sources index e69de29..f0798f3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b0dfbbb7f56342e448af4d22a47a339c Twiggy-0.4.5.tar.gz