Package python-module-pytz: Specfile
Name: python-module-pytz Version: 2010o Release: alt1 %setup_python_module pytz Summary: World timezone definitions, modern and historical Source0: %modulename-%version.tar License: MIT Group: Development/Python BuildArch: noarch Url: http://pytz.sourceforge.net Packager: Python Development Team <python@packages.altlinux.org> %description pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.3 or higher. It also solves the issue of ambiguous times at the end of daylight savings, which you can read more about in the Python Library Reference (datetime.tzinfo). %package tests Summary: Tests for pytz Group: Development/Python Requires: %name = %version-%release %description tests pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.3 or higher. It also solves the issue of ambiguous times at the end of daylight savings, which you can read more about in the Python Library Reference (datetime.tzinfo). This package contains tests for pytz. %prep %setup -n %modulename-%version %build %python_build %install python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES install -d %buildroot%python_sitelibdir/%modulename/tests install -p -m644 %modulename/tests/* \ %buildroot%python_sitelibdir/%modulename/tests touch %buildroot%python_sitelibdir/%modulename/tests/__init__.py %files -f INSTALLED_FILES %python_sitelibdir/%modulename %exclude %python_sitelibdir/%modulename/tests %doc *.txt %files tests %python_sitelibdir/%modulename/tests %changelog * Sun Nov 28 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2010o-alt1 - Version 2010o * Tue Aug 03 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2010k-alt1 - Version 2010k - Added tests * Fri Nov 13 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2009j-alt4.1 - Rebuilt with python 2.6 * Tue Jul 14 2009 Ivan Fedorov <ns@altlinux.org> 2009j-alt4 - fix unowned directories * Tue Jul 14 2009 Ivan Fedorov <ns@altlinux.org> 2009j-alt3 - fix building * Tue Jul 14 2009 Ivan Fedorov <ns@altlinux.org> 2009j-alt2 - fix building * Mon Jul 13 2009 Ivan Fedorov <ns@altlinux.org> 2009j-alt1 - 2009j * Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 2006p-alt1.1 - Rebuilt with python-2.5. * Sun Feb 18 2007 Ivan Fedorov <ns@altlinux.ru> 2006p-alt1 - 2006p * Thu Feb 02 2006 Ivan Fedorov <ns@altlinux.ru> 2005r-alt1 - 2005r * Tue Oct 04 2005 Ivan Fedorov <ns@altlinux.ru> 2005m-alt1 - Initial build for ALT Linux. |