# HG changeset patch # User Michael Schloh von Bennewitz # Date 1300909456 -3600 # Node ID 855a9d44e7aa7ab6d16cc68215e8defb8e6c41bb # Parent 153998c81c45df222378ea4f5f73059d3b77940b Import new package spec for introduction into repository, and prepare to develop new CDR-Stats package dependencies. diff -r 153998c81c45 -r 855a9d44e7aa python-dateutil/python-dateutil.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-dateutil/python-dateutil.spec Wed Mar 23 20:44:16 2011 +0100 @@ -0,0 +1,83 @@ +## +## python-dateutil.spec -- OpenPKG RPM Package Specification +## Copyright (c) 2011 Michael Schloh von Bennewitz +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package version +%define V_python 2.3 +%define V_dateutil 1.5 + +# package information +Name: python-dateutil +Summary: Python World Timezone Definitions +URL: http://niemeyer.net/python-dateutil/ +Vendor: Gustavo Niemeyer +Packager: Michael Schloh von Bennewitz +Distribution: Michael Schloh von Bennewitz +Class: EVAL +Group: Language +License: MIT +Version: %{V_dateutil} +Release: 20110300 + +# list of sources +Source0: http://niemeyer.net/download/python-dateutil/python-dateutil-%{version}.tar.gz + +# build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20060823 +PreReq: OpenPKG, openpkg >= 20060823 +BuildPreReq: python >= %{V_python}, python-setup +PreReq: python >= %{V_python} +AutoReq: no +AutoReqProv: no + +%description + The Python dateutil module provides powerful extensions to + the standard Python datetime module. + +%track + prog python-dateutil = { + version = %{version} + url = http://niemeyer.net/download/python-dateutil + regex = python-dateutil-(__VER__)\.tar\.gz + } + +%prep + %setup -q -n python-dateutil-%{version} + +%build + %{l_prefix}/bin/python setup.py build + +%install + rm -rf $RPM_BUILD_ROOT + %{l_prefix}/bin/python setup.py install \ + --skip-build \ + --root=$RPM_BUILD_ROOT \ + --prefix=%{l_prefix} + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} + +%files -f files + +%clean + rm -rf $RPM_BUILD_ROOT + diff -r 153998c81c45 -r 855a9d44e7aa python-dateutils/python-dateutils.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-dateutils/python-dateutils.spec Wed Mar 23 20:44:16 2011 +0100 @@ -0,0 +1,79 @@ +## +## python-dateutils.spec -- OpenPKG RPM Package Specification +## Copyright (c) 2011 Michael Schloh von Bennewitz +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package information +Name: python-dateutils +Summary: Python DateUtils +URL: http://pypi.python.org/pypi/DateUtils/ +Vendor: Jeremy Cantrell +Packager: Michael Schloh von Bennewitz +Distribution: Michael Schloh von Bennewitz +Class: EVAL +Group: Language +License: GPL +Version: 0.5.1 +Release: 20110300 + +# list of sources +Source0: http://pypi.python.org/packages/source/D/DateUtils/DateUtils-%{version}.tar.gz + +# build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20060823 +PreReq: OpenPKG, openpkg >= 20060823 +BuildPreReq: python, python-setup +PreReq: python, python-dateutil, python-pytz +AutoReq: no +AutoReqProv: no + +%description + Python DateUtils provides various utilities for working + with Python datetime objects. + +%track + prog python-dateutils = { + version = %{version} + url = http://pypi.python.org/packages/source/D/DateUtils + regex = /DateUtils-(__VER__)\.tar\.gz + } + +%prep + %setup -q -n DateUtils-%{version} + +%build + %{l_prefix}/bin/python setup.py build + +%install + rm -rf $RPM_BUILD_ROOT + %{l_prefix}/bin/python setup.py install \ + --skip-build \ + --root=$RPM_BUILD_ROOT \ + --prefix=%{l_prefix} + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} + +%files -f files + +%clean + rm -rf $RPM_BUILD_ROOT + diff -r 153998c81c45 -r 855a9d44e7aa python-pytz/python-pytz.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pytz/python-pytz.spec Wed Mar 23 20:44:16 2011 +0100 @@ -0,0 +1,84 @@ +## +## python-pytz.spec -- OpenPKG RPM Package Specification +## Copyright (c) 2011 Michael Schloh von Bennewitz +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package version +%define V_python 2.3 +%define V_pytz 2011d + +# package information +Name: python-pytz +Summary: Python World Timezone Definitions +URL: http://pytz.sourceforge.net/ +Vendor: Stuart Bishop +Packager: Michael Schloh von Bennewitz +Distribution: Michael Schloh von Bennewitz +Class: EVAL +Group: Language +License: MIT +Version: %{V_pytz} +Release: 20110300 + +# list of sources +Source0: http://pypi.python.org/packages/source/p/pytz/pytz-%{version}.tar.bz2 + +# build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20060823, python >= %{V_python} +PreReq: OpenPKG, openpkg >= 20060823, python >= %{V_python} +AutoReq: no +AutoReqProv: no + +%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, as specified in the Python Library Reference + section datetime.tzinfo. + +%track + prog python-pytz = { + version = %{version} + url = http://pypi.python.org/packages/source/p/pytz + regex = /pytz-(__VER__)\.tar\.bz2 + } + +%prep + %setup -q -n pytz-%{version} + +%build + %{l_prefix}/bin/python setup.py build + +%install + rm -rf $RPM_BUILD_ROOT + %{l_prefix}/bin/python setup.py install \ + --skip-build \ + --root=$RPM_BUILD_ROOT \ + --prefix=%{l_prefix} + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} + +%files -f files + +%clean + rm -rf $RPM_BUILD_ROOT + diff -r 153998c81c45 -r 855a9d44e7aa python-uniform/python-uniform.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-uniform/python-uniform.spec Wed Mar 23 20:44:16 2011 +0100 @@ -0,0 +1,82 @@ +## +## python-uniform.spec -- OpenPKG RPM Package Specification +## Copyright (c) 2011 Michael Schloh von Bennewitz +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package information +Name: python-uniform +Summary: Django Uni-Form div based forms +URL: http://pydanny.github.com/django-uni-form/ +Vendor: Daniel Greenfeld +Packager: Michael Schloh von Bennewitz +Distribution: Michael Schloh von Bennewitz +Class: EVAL +Group: Language +License: BSD +Version: 0.7.1 +Release: 20110300 + +# list of sources +Source0: http://download.github.com/areski/django-uni-form/areski-django-uni-form-%{version}.tar.gz + +# build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20060823 +PreReq: OpenPKG, openpkg >= 20060823 +BuildPreReq: python, python-django, python-setup +PreReq: python, python-django +AutoReq: no +AutoReqProv: no + +%description + Freeing the developer from hand coding elegantly rendered div based + forms, Django Uni-Form helps by easily displaying the forms as divs. + Its purpose is to provide a simple tag and filter that quickly + renders forms in a div format. Uni-form has been selected as the + base model for the design of the forms. + +%track + prog python-uniform = { + version = %{version} + url = http://download.github.com/areski/django-uni-form + regex = areski-django-uni-form-(__VER__)\.tar\.gz + } + +%prep + %setup -q -n areski-django-uni-form-%{version} + +%build + %{l_prefix}/bin/python setup.py build + +%install + rm -rf $RPM_BUILD_ROOT + %{l_prefix}/bin/python setup.py install \ + --skip-build \ + --root=$RPM_BUILD_ROOT \ + --prefix=%{l_prefix} + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} + +%files -f files + +%clean + rm -rf $RPM_BUILD_ROOT +