From e32f0a0ed74e141ccc7666de108e975a400161ac Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:49:10 +0100 Subject: [PATCH] python 2.7 mass rebuild [release 2012h-2mamba;Fri May 17 2013] --- README.md | 4 +++ python-tz.spec | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 python-tz.spec diff --git a/README.md b/README.md index 5acb615..f1eb3b1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # python-tz +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). + diff --git a/python-tz.spec b/python-tz.spec new file mode 100644 index 0000000..bcf53e9 --- /dev/null +++ b/python-tz.spec @@ -0,0 +1,72 @@ +Name: python-tz +Version: 2012h +Release: 2mamba +Summary: World Timezone Definitions for Python +Group: System/Libraries/Python +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://pytz.sourceforge.net +Source: http://pypi.python.org/packages/source/p/pytz/pytz-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildArch: noarch + +%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). + +%prep +%setup -q -n pytz-%{version} + +%build +%{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --single-version-externally-managed \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.filelist +%defattr(-,root,root) +%doc CHANGES.txt LICENSE.txt README.txt + +%changelog +* Fri May 17 2013 Silvan Calarco 2012h-2mamba +- python 2.7 mass rebuild + +* Sun Nov 04 2012 Automatic Build System 2012h-1mamba +- automatic version update by autodist + +* Wed Oct 31 2012 Automatic Build System 2012g-1mamba +- automatic version update by autodist + +* Thu Oct 11 2012 Automatic Build System 2012f-1mamba +- automatic version update by autodist + +* Thu Aug 09 2012 Automatic Build System 2012d-1mamba +- automatic version update by autodist + +* Sat Mar 10 2012 Automatic Build System 2012b-1mamba +- automatic version update by autodist + +* Sat Mar 12 2011 Automatic Build System 2011c-1mamba +- automatic update by autodist + +* Mon Oct 11 2010 Stefano Cotta Ramusino 2010l-1mamba +- package created by autospec