DISTFILES: util-vserver: util-vserver-0.30.216-pre3038.tar.bz2 vproc-0.01.tar.bz2 PLD-2.0-Ac-GPG-key.asc PLD-3.0-Th-GPG-key.asc

2013-03-16 Thread arekm

Files fetched: 1

STORED: 
http://people.linux-vserver.org/~dhozac/t/uv-testing/util-vserver-0.30.216-pre3038.tar.bz2
21ae909b16d57fdb169743cde35e896d  util-vserver-0.30.216-pre3038.tar.bz2
Size: 762540 bytes
ALREADY GOT: 
http://www.13thfloor.at/vserver/s_release/v1.2.10/vproc-0.01.tar.bz2
1d030717bdbc958ea4b35fd2410dad85  vproc-0.01.tar.bz2
ALREADY GOT: ftp://ftp.pld-linux.org/dists/ac/PLD-2.0-Ac-GPG-key.asc
8e7574d1de2fa95c2c54cd2ee03364c1  PLD-2.0-Ac-GPG-key.asc
ALREADY GOT: ftp://ftp.pld-linux.org/dists/th/PLD-3.0-Th-GPG-key.asc
08b29584dd349aac9caa7610131a0a88  PLD-3.0-Th-GPG-key.asc


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: python-django-south: south-0.7.6.tar.gz

2013-03-16 Thread glen

Files fetched: 1

STORED: http://www.aeracode.org/releases/south/south-0.7.6.tar.gz
6089871449006d45d06c409b42d8bd44  south-0.7.6.tar.gz
Size: 91528 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-django-south] up to 0.7.6

2013-03-16 Thread glen
commit 8d9731c6983e598600180847afb06bd223aa2444
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sat Mar 16 23:58:09 2013 +0200

up to 0.7.6

 python-django-south.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-django-south.spec b/python-django-south.spec
index 03c6c37..310d681 100644
--- a/python-django-south.spec
+++ b/python-django-south.spec
@@ -1,12 +1,12 @@
 Summary:   Intelligent schema migrations for Django apps
 Name:  python-django-south
-Version:   0.7.5
+Version:   0.7.6
 Release:   1
 License:   ASL 2.0
 Group: Development/Languages
 URL:   http://south.aeracode.org
 Source0:   http://www.aeracode.org/releases/south/south-%{version}.tar.gz
-# Source0-md5: 69c73d67c953249f9c33a85de3ed5321
+# Source0-md5: 6089871449006d45d06c409b42d8bd44
 BuildRequires: python-devel
 BuildRequires: python-distribute
 BuildRequires: python-modules


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-django-south.git/commitdiff/8d9731c6983e598600180847afb06bd223aa2444

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-argparse] rebuild with egg deps

2013-03-16 Thread glen
commit c097b91d9aa90b8829a63ceb12f3e0e142760c6b
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 00:19:43 2013 +0200

rebuild with egg deps

 python-argparse.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python-argparse.spec b/python-argparse.spec
index 08a7122..a52598b 100644
--- a/python-argparse.spec
+++ b/python-argparse.spec
@@ -6,7 +6,7 @@
 Summary:   Optparse inspired command line parser for Python
 Name:  python-argparse
 Version:   1.1
-Release:   1
+Release:   2
 License:   ASL 2.0
 Group: Development/Languages
 URL:   http://code.google.com/p/argparse/


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-argparse.git/commitdiff/c097b91d9aa90b8829a63ceb12f3e0e142760c6b

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-argparse] up to 1.2.1. note this library is included in python 2.7/3.2 distribution

2013-03-16 Thread glen
commit 01917236a64c1aa0246fa4ec37543d14525d8703
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 00:23:24 2013 +0200

up to 1.2.1. note this library is included in python 2.7/3.2 distribution

 python-argparse.spec | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/python-argparse.spec b/python-argparse.spec
index a52598b..4d71a4a 100644
--- a/python-argparse.spec
+++ b/python-argparse.spec
@@ -1,3 +1,5 @@
+# NOTE
+# - The argparse module is now part of the Python standard library since 2.7, 
3.2
 #
 # Conditional build:
 %bcond_without tests   # do not perform make test
@@ -5,18 +7,17 @@
 %definemodule  argparse
 Summary:   Optparse inspired command line parser for Python
 Name:  python-argparse
-Version:   1.1
-Release:   2
+Version:   1.2.1
+Release:   1
 License:   ASL 2.0
 Group: Development/Languages
 URL:   http://code.google.com/p/argparse/
-Source0:   http://argparse.googlecode.com/files/%{module}-%{version}.zip
-# Source0-md5: e62565cde81a8deb61f90dcb5e8861a4
+Source0:   
https://argparse.googlecode.com/files/%{module}-%{version}.tar.gz
+# Source0-md5: 2fbef8cb61e506c706957ab6e135840c
 BuildRequires: python-distribute
 BuildRequires: python-modules
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) = 1.553
-BuildRequires: unzip
 BuildArch: noarch
 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -36,8 +37,8 @@ optparse API.
 
 %prep
 %setup -q -n %{module}-%{version}
-%undos README.txt doc/_static/pygments.css
-%{__rm} -rf doc/source
+%undos README.txt
+%{__rm} -r doc/source
 
 %build
 %{__python} setup.py build


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-argparse.git/commitdiff/01917236a64c1aa0246fa4ec37543d14525d8703

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: python-argparse: argparse-1.2.1.tar.gz

2013-03-16 Thread glen

Files fetched: 1

STORED: https://argparse.googlecode.com/files/argparse-1.2.1.tar.gz
2fbef8cb61e506c706957ab6e135840c  argparse-1.2.1.tar.gz
Size: 69297 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python] python-argparse included in 2.7 distribution

2013-03-16 Thread glen
commit d99711427e756e592284dd108544290ad5449f55
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 00:28:39 2013 +0200

python-argparse included in 2.7 distribution

see argparse homepage:
https://code.google.com/p/argparse/

 python.spec | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python.spec b/python.spec
index 3ee3c0d..3286c4d 100644
--- a/python.spec
+++ b/python.spec
@@ -43,7 +43,7 @@ Summary(tr.UTF-8):X arayüzlü, yüksek düzeyli, kabuk 
yorumlayıcı dili
 Summary(uk.UTF-8): Мова програмування дуже високого рівня з X-інтерфейсом
 Name:  python
 Version:   %{py_ver}.3
-Release:   6
+Release:   7
 Epoch: 1
 License:   PSF
 Group: Development/Languages/Python
@@ -229,8 +229,11 @@ Summary:   Python modules
 Summary(pl.UTF-8): Moduły języka Python
 Group: Libraries/Python
 Requires:  %{name}-libs = %{epoch}:%{version}-%{release}
+Provides:  python-argparse = 1.1
 Provides:  python-cElementTree
 Provides:  python-elementtree
+Provides:  pythonegg(argparse) = 1.1
+Obsoletes: python-argparse  1.1.99
 Obsoletes: python-cElementTree
 Obsoletes: python-ctypes
 Obsoletes: python-curses


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python.git/commitdiff/d99711427e756e592284dd108544290ad5449f55

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-django-voting] Created branch master

2013-03-16 Thread glen
The branch 'master' was created.

Summary of new commits:

  b16f754... new, version 0.2
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-django-voting] new, version 0.2

2013-03-16 Thread glen
commit b16f754c9fee07fe6862b75fc4c8da4dd5a064ed
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 00:33:28 2013 +0200

new, version 0.2

 python-django-voting.spec | 51 +++
 1 file changed, 51 insertions(+)
---
diff --git a/python-django-voting.spec b/python-django-voting.spec
new file mode 100644
index 000..fb66e8a
--- /dev/null
+++ b/python-django-voting.spec
@@ -0,0 +1,51 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform make test
+
+%definemodule  django-voting
+Summary:   Generic voting application for Django
+Name:  python-%{module}
+Version:   0.2
+Release:   1
+License:   BSD
+Group: Libraries/Python
+Source0:   
https://pypi.python.org/packages/source/d/django-voting/django-voting-%{version}.tar.gz
+# Source0-md5: d4dbc8c0530f127027f6af6e76f91ead
+URL:   https://pypi.python.org/pypi/django-voting
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) = 1.219
+Requires:  python-modules
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a generic voting application for Django projects.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+   --skip-build \
+   --optimize=2 \
+   --root=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/voting/tests
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.txt INSTALL.txt LICENSE.txt README.txt docs/overview.txt
+%dir %{py_sitescriptdir}/voting
+%{py_sitescriptdir}/voting/*.py[co]
+%{py_sitescriptdir}/voting/migrations
+%{py_sitescriptdir}/voting/templatetags
+%{py_sitescriptdir}/django_voting-%{version}-py*.egg-info


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-django-voting.git/commitdiff/b16f754c9fee07fe6862b75fc4c8da4dd5a064ed

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: python-django-voting: django-voting-0.2.tar.gz

2013-03-16 Thread glen

Files fetched: 1

STORED: 
https://pypi.python.org/packages/source/d/django-voting/django-voting-0.2.tar.gz
d4dbc8c0530f127027f6af6e76f91ead  django-voting-0.2.tar.gz
Size: 14724 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-flexmock] Created branch master

2013-03-16 Thread glen
The branch 'master' was created.

Summary of new commits:

  bbd43d3... new, version 0.9.6
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-flexmock] new, version 0.9.6

2013-03-16 Thread glen
commit bbd43d3c35ae0a9637edbbb5b2a9ae0c9d6e02b8
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 01:00:45 2013 +0200

new, version 0.9.6

based on fedora packages
4dc1735cdcee45a8bb99677921232b431c4e9078

 python-flexmock.spec | 119 +++
 1 file changed, 119 insertions(+)
---
diff --git a/python-flexmock.spec b/python-flexmock.spec
new file mode 100644
index 000..2902c50
--- /dev/null
+++ b/python-flexmock.spec
@@ -0,0 +1,119 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform make test
+%bcond_without python3 # CPython 3.x module
+
+%definemodule  flexmock
+Summary:   Testing library that makes it easy to create mocks, stubs and 
fakes
+Name:  python-%{module}
+Version:   0.9.6
+Release:   1
+License:   BSD
+Group: Libraries/Python
+Source0:   
http://pypi.python.org/packages/source/f/flexmock/flexmock-%{version}.tar.gz
+# Source0-md5: f91c7b608fb4235419d75fe9274f7f0c
+# git clone https://github.com/has207/flexmock.git  cd flexmock
+# git checkout 0.9.6  tar -czf python-flexmock-0.9.6-tests.tgz tests/
+Source1:   %{name}-%{version}-tests.tgz
+# Source1-md5: 6cecfda41b4b86a66dc9b6fc3aa9b002
+URL:   https://github.com/has207/flexmock
+BuildRequires: python-devel
+BuildRequires: python-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) = 1.219
+BuildRequires: sed = 4.0
+%if %{with python3}
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Flexmock is a testing library for Python that makes it easy to create
+mocks, stubs and fakes. The API is inspired by a Ruby library of the
+same name, but Python flexmock is not a clone of the Ruby version. It
+omits a number of redundancies in the Ruby flexmock API, alters some
+defaults, and introduces a number of Python-only features.
+
+%package -n python3-flexmock
+Summary:   Testing library that makes it easy to create mocks, stubs and 
fakes
+Group: Libraries/Python
+
+%description -n python3-flexmock
+Flexmock is a testing library for Python that makes it easy to create
+mocks, stubs and fakes. The API is inspired by a Ruby library of the
+same name, but Python flexmock is not a clone of the Ruby version. It
+omits a number of redundancies in the Ruby flexmock API, alters some
+defaults, and introduces a number of Python-only features.
+
+%prep
+%setup -q -n %{module}-%{version}
+install -d build/lib
+%{__tar} xf %{SOURCE1} -C build/lib
+
+%if %{with python3}
+rm -rf build-3
+set -- *
+install -d build-3
+cp -a $@ build-3
+find build-3 -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
+%endif
+
+%build
+%{__python} setup.py build
+
+%if %{with python3}
+cd build-3
+%{__python3} setup.py build
+cd -
+%endif
+
+%if %{with tests}
+cd build/lib
+PYTHONPATH=. %{__python} tests/flexmock_unittest_test.py
+cd -
+
+%if %{with python3}
+cd build-3/build/lib
+PYTHONPATH=. %{__python3} tests/flexmock_unittest_test.py
+cd -
+%endif
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%if %{with python3}
+%{__python3} setup.py \
+   build -b build-3 \
+   install \
+   --root=$RPM_BUILD_ROOT \
+   --optimize=2
+%endif
+
+%{__python} setup.py install \
+   --skip-build \
+   --optimize=2 \
+   --root=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/tests
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md CHANGELOG
+%{py_sitescriptdir}/flexmock.py[co]
+%{py_sitescriptdir}/flexmock-%{version}-py*.egg-info
+
+%if %{with python3}
+%files -n python3-flexmock
+%defattr(644,root,root,755)
+%doc LICENSE README.md CHANGELOG
+%{py3_sitescriptdir}/__pycache__/%{module}.*.py[co]
+%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
+%{py3_sitescriptdir}/%{module}.py
+%endif


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-flexmock.git/commitdiff/bbd43d3c35ae0a9637edbbb5b2a9ae0c9d6e02b8

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: python-flexmock: flexmock-0.9.6.tar.gz python-flexmock-0.9.6-tests.tgz

2013-03-16 Thread glen

Files fetched: 2

STORED: http://pypi.python.org/packages/source/f/flexmock/flexmock-0.9.6.tar.gz
f91c7b608fb4235419d75fe9274f7f0c  flexmock-0.9.6.tar.gz
Size: 24891 bytes
STORED: no-url://python-flexmock-0.9.6-tests.tgz
6cecfda41b4b86a66dc9b6fc3aa9b002  python-flexmock-0.9.6-tests.tgz
Size: 9591 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-flexmock] BR python3-modules for python3 build

2013-03-16 Thread glen
commit 369b77cd15fb62e2b73eb912b19ba4cef5b3db45
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 01:04:07 2013 +0200

BR python3-modules for python3 build

 python-flexmock.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/python-flexmock.spec b/python-flexmock.spec
index 2902c50..05eff17 100644
--- a/python-flexmock.spec
+++ b/python-flexmock.spec
@@ -24,6 +24,7 @@ BuildRequires:rpmbuild(macros) = 1.219
 BuildRequires: sed = 4.0
 %if %{with python3}
 BuildRequires: python3-devel
+BuildRequires: python3-modules
 BuildRequires: python3-setuptools
 %endif
 BuildArch: noarch


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-flexmock.git/commitdiff/369b77cd15fb62e2b73eb912b19ba4cef5b3db45

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-py] up to 1.4.13; add python3 package

2013-03-16 Thread glen
commit 8e9dea4c7aa02f46eba0056ebf5638f4f76dc5ff
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 01:43:08 2013 +0200

up to 1.4.13; add python3 package

 python-py.spec | 74 +++---
 1 file changed, 61 insertions(+), 13 deletions(-)
---
diff --git a/python-py.spec b/python-py.spec
index 73a1adb..3f21474 100644
--- a/python-py.spec
+++ b/python-py.spec
@@ -1,34 +1,39 @@
 #
 # Conditional build:
 %bcond_without doc # HTML documentation build
-#
+%bcond_without python3 # CPython 3.x module
+
 %definemodule  py
-#
 Summary:   Library with cross-python path, ini-parsing, io, code, log 
facilities
 Summary(pl.UTF-8): Biblioteka wspierająca obsługę ścieżek, ini, we/wy, 
kodowania i logowania w wielu Pythonach
 Name:  python-%{module}
-Version:   1.4.9
+Version:   1.4.13
 Release:   1
 License:   MIT
 Group: Development/Languages/Python
-Source0:   
http://pypi.python.org/packages/source/p/py/%{module}-%{version}.zip
-# Source0-md5: 471a88edcdae2f9689c0193972a1a1f8
-Source1:   http://docs.python.org/objects.inv#/python-objects.inv
-# Source1-md5: 9128e774ec21dcd62dc5bca61cdd91ee
+Source0:   http://pypi.python.org/packages/source/p/py/py-%{version}.tar.gz
+# Source0-md5: 3857dc8309d5f284669b81184253c2bb
+Source1:   http://docs.python.org/objects.inv?/python-objects.inv
+# Source1-md5: 3d3c0b594b2e91d559418c107d973633
 Patch0:%{name}-offline.patch
 URL:   http://pylib.org/
 BuildRequires: python-devel = 1:2.5
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) = 1.219
 %{?with_doc:BuildRequires: sphinx-pdg = 1.0}
+%if %{with python3}
+BuildRequires: python3-devel
+BuildRequires: python3-modules
+BuildRequires: python3-setuptools
+%endif
 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The py lib is a Python development support library featuring the
 following tools and modules:
- - py.path:  uniform local and svn path objects
- - py.apipkg:  explicit API control and lazy-importing
- - py.iniconfig:  easy parsing of .ini files
+ - py.path: uniform local and svn path objects
+ - py.apipkg: explicit API control and lazy-importing
+ - py.iniconfig: easy parsing of .ini files
  - py.code: dynamic code generation and introspection
 
 %description -l pl.UTF-8
@@ -39,15 +44,41 @@ Pythonie. Zawiera następujące narzędzia i moduły:
  - py.iniconfig - łatwa analiza plików .ini
  - py.code - dynamiczne generowanie kodu i introspekcji
 
+%package -n python3-py
+Summary:   Library with cross-python path, ini-parsing, io, code, log 
facilities
+Group: Development/Languages/Python
+Requires:  python3-setuptools
+
+%description -n python3-py
+The py lib is a Python development support library featuring the
+following tools and modules:
+- py.path: uniform local and svn path objects
+- py.apipkg: explicit API control and lazy-importing
+- py.iniconfig: easy parsing of .ini files
+- py.code: dynamic code generation and introspection
+- py.path: uniform local and svn path objects
+
 %prep
 %setup -q -n %{module}-%{version}
 %patch0 -p1
 
+%if %{with python3a}
+rm -rf build-3
+set -- *
+install -d build-3
+cp -a $@ build-3
+%endif
+
 cp -p %{SOURCE1} doc
 
 %build
 %{__python} setup.py build
 
+%if %{with python3}
+%{__python3} setup.py \
+   build -b build-3
+%endif
+
 %if %{with doc}
 PYTHONPATH=$(pwd) \
 %{__make} -C doc html
@@ -55,18 +86,35 @@ PYTHONPATH=$(pwd) \
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__python} setup.py install \
--root=$RPM_BUILD_ROOT \
--optimize=2
 
 %py_postclean
 
+%if %{with python3}
+%{__python3} -- setup.py \
+   build -b build-3 \
+   install \
+   --root=$RPM_BUILD_ROOT \
+   --optimize=2
+
+%{__rm} $RPM_BUILD_ROOT%{py3_sitescriptdir}/py/test.py
+%endif
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG LICENSE README.txt %{?with_doc:doc/_build/html}
-%{py_sitescriptdir}/py
-%{py_sitescriptdir}/py-%{version}-py*.egg-info
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
+
+%if %{with python3}
+%files -n python3-py
+%defattr(644,root,root,755)
+%doc CHANGELOG LICENSE README.txt %{?with_doc:doc/_build/html}
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
+%endif


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-py.git/commitdiff/8e9dea4c7aa02f46eba0056ebf5638f4f76dc5ff

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: python-py: py-1.4.13.tar.gz python-objects.inv

2013-03-16 Thread glen

Files fetched: 2

STORED: http://pypi.python.org/packages/source/p/py/py-1.4.13.tar.gz
3857dc8309d5f284669b81184253c2bb  py-1.4.13.tar.gz
Size: 189278 bytes
STORED: http://docs.python.org/objects.inv?/python-objects.inv
3d3c0b594b2e91d559418c107d973633  python-objects.inv
Size: 114620 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-py] BR python3-distribute

2013-03-16 Thread glen
commit 02637c55f64d50ac45e63a152fb7bb7c34fe7c19
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 02:03:20 2013 +0200

BR python3-distribute

 python-py.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python-py.spec b/python-py.spec
index 3f21474..dcc4e46 100644
--- a/python-py.spec
+++ b/python-py.spec
@@ -24,7 +24,7 @@ BuildRequires:rpmbuild(macros) = 1.219
 %if %{with python3}
 BuildRequires: python3-devel
 BuildRequires: python3-modules
-BuildRequires: python3-setuptools
+BuildRequires: python3-distribute
 %endif
 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-py.git/commitdiff/02637c55f64d50ac45e63a152fb7bb7c34fe7c19

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-py] doc building needs pdb module

2013-03-16 Thread glen
commit 87d7dbd0fa8efef8cc67400b68ce0de1d9e7a217
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 02:07:02 2013 +0200

doc building needs pdb module

 python-py.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/python-py.spec b/python-py.spec
index dcc4e46..3624280 100644
--- a/python-py.spec
+++ b/python-py.spec
@@ -21,6 +21,7 @@ BuildRequires:python-devel = 1:2.5
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) = 1.219
 %{?with_doc:BuildRequires: sphinx-pdg = 1.0}
+%{?with_doc:BuildRequires: python-devel-tools}
 %if %{with python3}
 BuildRequires: python3-devel
 BuildRequires: python3-modules


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-py.git/commitdiff/87d7dbd0fa8efef8cc67400b68ce0de1d9e7a217

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-pytest] up to 2.3.4, add python3 package

2013-03-16 Thread glen
commit e49832385cc4b5b7bc5f91c0856479fce84e1795
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 01:26:24 2013 +0200

up to 2.3.4, add python3 package

 python-pytest.spec | 75 ++
 1 file changed, 65 insertions(+), 10 deletions(-)
---
diff --git a/python-pytest.spec b/python-pytest.spec
index 217ac73..06169f7 100644
--- a/python-pytest.spec
+++ b/python-pytest.spec
@@ -1,25 +1,35 @@
 #
 # Conditional build:
 %bcond_without doc # HTML documentation build
-#
+%bcond_without python3 # CPython 3.x module
+
+%definepylib_version   1.4.12
+%definemodule  pytest
 Summary:   Simple and popular testing tool for Python
 Summary(pl.UTF-8): Proste i popularne narzędzie testujące dla Pythona
-Name:  python-pytest
-Version:   2.2.4
+Name:  python-%{module}
+Version:   2.3.4
 Release:   1
 License:   MIT
 Group: Development/Languages/Python
 Source0:   
http://pypi.python.org/packages/source/p/pytest/pytest-%{version}.zip
-# Source0-md5: 73ed098e39978890b83cbea1f1ab2a74
+# Source0-md5: db319fef9c310dc46798b285d3da3aa1
 URL:   http://pytest.org/
 BuildRequires: python-devel = 2.4
+BuildRequires: python-py = %{pylib_version}
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) = 1.219
+BuildRequires: sed = 4.0
 %if %{with doc}
-BuildRequires: python-py = 1.4.8
 BuildRequires: sphinx-pdg = 1.0
 %endif
-Requires:  python-py = 1.4.8
+%if %{with python3}
+BuildRequires: python3-devel
+BuildRequires: python3-modules
+BuildRequires: python3-py = %{pylib_version}
+BuildRequires: python3-setuptools
+%endif
+Requires:  python-py = %{pylib_version}
 BuildArch: noarch
 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -29,19 +39,53 @@ py.test is a simple and popular testing tool for Python.
 %description -l pl.UTF-8
 py.test to proste i popularne narzędzie testujące dla Pythona.
 
+%package -n python3-pytest
+Summary:   Simple powerful testing with Python
+Group: Development/Languages
+Requires:  python3-py = %{pylib_version}
+Requires:  python3-setuptools
+
+%description -n python3-pytest
+py.test provides simple, yet powerful testing for Python.
+
 %prep
-%setup -q -n pytest-%{version}
+%setup -q -n %{module}-%{version}
+
+%if %{with python3}
+rm -rf build-3
+set -- *
+install -d build-3
+cp -a $@ build-3
+find build-3 -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
+%endif
 
 %build
 %{__python} setup.py build
 
+%if %{with python3}
+%{__python3} setup.py \
+   build -b build-3
+%endif
+
 %if %{with doc}
-PYTHONPATH=$(pwd) \
-%{__make} -C doc html
+install -d _htmldocs/html
+for l in doc/*; do
+   PYTHONPATH=$(pwd) \
+   %{__make} -C $l html
+   # remove hidden file
+   rm $l/_build/html/.buildinfo
+   mv $l/_build/html _htmldocs/html/${l##doc/}
+done
 %endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
+%{__python3} -- setup.py \
+   build -b build-3 \
+   install \
+   --root=$RPM_BUILD_ROOT \
+   --optimize=2
+
 %{__python} setup.py install \
--optimize=2 \
--root=$RPM_BUILD_ROOT
@@ -53,9 +97,20 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGELOG LICENSE README.txt %{?with_doc:doc/_build/html}
+%doc CHANGELOG LICENSE README.txt %{?with_doc:_htmldocs/html}
 %attr(755,root,root) %{_bindir}/py.test
 %attr(755,root,root) %{_bindir}/py.test-%{py_ver}
 %{py_sitescriptdir}/pytest.py[co]
 %{py_sitescriptdir}/_pytest
 %{py_sitescriptdir}/pytest-%{version}-py*.egg-info
+
+%if %{with python3}
+%files -n python3-pytest
+%defattr(644,root,root,755)
+%doc CHANGELOG LICENSE README.txt %{?with_doc:_htmldocs/html}
+%attr(755,root,root) %{_bindir}/py.test-%{py3_ver}
+%{py3_sitescriptdir}/%{module}.py
+%{py3_sitescriptdir}/_pytest
+%{py3_sitescriptdir}/__pycache__/%{module}.*.py[co]
+%{py3_sitescriptdir}/pytest-%{version}-py*.egg-info
+%endif


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pytest.git/commitdiff/e49832385cc4b5b7bc5f91c0856479fce84e1795

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: python-pytest: pytest-2.3.4.zip

2013-03-16 Thread glen

Files fetched: 1

STORED: http://pypi.python.org/packages/source/p/pytest/pytest-2.3.4.zip
db319fef9c310dc46798b285d3da3aa1  pytest-2.3.4.zip
Size: 527214 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-jinja2] build noarch; cosmetics

2013-03-16 Thread glen
commit 22da3d42ec08c2a58225994443b5d58b7d380f47
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 02:34:41 2013 +0200

build noarch; cosmetics

 python-jinja2.spec | 35 ---
 1 file changed, 16 insertions(+), 19 deletions(-)
---
diff --git a/python-jinja2.spec b/python-jinja2.spec
index 1fa7513..cb0a90c 100644
--- a/python-jinja2.spec
+++ b/python-jinja2.spec
@@ -3,13 +3,13 @@
 %bcond_without doc # API documentation
 %bcond_without python2 # Python 2.x modules
 %bcond_without python3 # Python 3.x modules
-#
-%define module jinja2
+
+%definemodule  jinja2
 Summary:   Jinja2 Template engine for Python 2.x
 Summary(pl.UTF-8): Silnik szablonów Jinja2 dla Pythona 2.x
 Name:  python-%{module}
 Version:   2.6
-Release:   2
+Release:   3
 License:   BSD
 Group: Development/Languages/Python
 Source0:   
http://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
@@ -28,9 +28,8 @@ BuildRequires:python3-modules
 %if %{with doc}
 BuildRequires: sphinx-pdg
 %endif
-%if %{with python2}
-%pyrequires_eq python-modules
-%endif
+Requires:  python-modules
+BuildArch: noarch
 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -46,11 +45,9 @@ ograniczonym środowisku.
 
 %package -n python3-%{module}
 Summary:   Template engine Jinja2 for Python 3.x
-Summary(pl.UTF-8):  Silnik szablonów Jinja2 dla Pythona 3.x
-Group:  Development/Languages/Python
-%if %{with python3}
-%pyrequires_eq python3-modules
-%endif
+Summary(pl.UTF-8): Silnik szablonów Jinja2 dla Pythona 3.x
+Group: Development/Languages/Python
+Requires:  python3-modules
 
 %description -n python3-%{module}
 A small but fast and easy to use stand-alone template engine written
@@ -66,7 +63,7 @@ ograniczonym środowisku.
 %package apidoc
 Summary:   Jinja2 template engine API documentation
 Summary(pl.UTF-8): Dokumentacja API silnika szablonów Jinja2
-Group:  Development/Languages/Python
+Group: Development/Languages/Python
 
 %description apidoc
 API documentation for Jinja2 template engine.
@@ -79,10 +76,10 @@ Dokumentacja API silnika szablonów Jinja2.
 
 %build
 %if %{with python2}
-%{__python} setup.py build --build-base py2
+%{__python} setup.py build --build-base build-2
 %endif
 %if %{with python3}
-%{__python3} setup.py build --build-base py3
+%{__python3} setup.py build --build-base build-3
 %endif
 
 %if %{with doc}
@@ -96,7 +93,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %if %{with python2}
 %{__python} setup.py \
-   build --build-base py2 \
+   build --build-base build-2 \
install \
--root=$RPM_BUILD_ROOT \
--optimize=2
@@ -106,7 +103,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %if %{with python3}
 %{__python3} setup.py \
-   build --build-base py3 \
+   build --build-base build-3 \
install \
--root=$RPM_BUILD_ROOT \
--optimize=2
@@ -118,7 +115,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python2}
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES LICENSE PKG-INFO
+%doc AUTHORS CHANGES LICENSE
 %{py_sitescriptdir}/%{module}
 %{py_sitescriptdir}/Jinja2-%{version}-py*.egg-info
 %endif
@@ -126,7 +123,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python3}
 %files -n python3-%{module}
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES LICENSE PKG-INFO
+%doc AUTHORS CHANGES LICENSE
 %{py3_sitescriptdir}/%{module}
 %{py3_sitescriptdir}/Jinja2-%{version}-py*.egg-info
 %endif
@@ -134,5 +131,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with doc}
 %files apidoc
 %defattr(644,root,root,755)
-%doc docs/_build/html
+%doc docs/_build/html/*
 %endif


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-jinja2.git/commitdiff/22da3d42ec08c2a58225994443b5d58b7d380f47

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/pyp2rpm] Created branch master

2013-03-16 Thread glen
The branch 'master' was created.

Summary of new commits:

  20e7220... new, version 1.0.1
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/pyp2rpm] new, version 1.0.1

2013-03-16 Thread glen
commit 20e722016f2375763cd621072cbcc22478cec331
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 02:44:30 2013 +0200

new, version 1.0.1

based on fedora package
6e2a556138b968ecda2f299c5dcc1b7044a53a97

 pyp2rpm.spec | 68 
 1 file changed, 68 insertions(+)
---
diff --git a/pyp2rpm.spec b/pyp2rpm.spec
new file mode 100644
index 000..b7737ac
--- /dev/null
+++ b/pyp2rpm.spec
@@ -0,0 +1,68 @@
+#
+# Conditional build:
+%bcond_withtests   # do not perform make test
+
+Summary:   Convert Python packages to RPM .spec files
+Name:  pyp2rpm
+Version:   1.0.1
+Release:   1
+License:   Applications
+Group: Libraries/Python
+Source0:   
http://pypi.python.org/packages/source/p/pyp2rpm/%{name}-%{version}.tar.gz
+# Source0-md5: 1e9a514d8dab9782f699ded2eb268237
+# to get tests:
+# git clone g...@bitbucket.org:bkabrda/pyp2rpm.git  cd pyp2rpm
+# git checkout v1.0.1  tar czf pyp2rpm-1.0.1-tests.tgz tests/
+Source1:   %{name}-%{version}-tests.tgz
+URL:   https://pypi.python.org/pypi/pyp2rpm
+BuildRequires: python-devel
+BuildRequires: python-distribute
+BuildRequires: python-flexmock = 0.9.3
+BuildRequires: python-jinja2
+BuildRequires: python-pytest
+BuildRequires: python-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) = 1.219
+Requires:  python-jinja2
+Requires:  python-setuptools
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Convert Python packages to RPM .spec.
+
+Users can provide their own templates for rendering the package
+metadata. Both the package source and metadata can be extracted from
+PyPI or from local filesystem (local file doesn't provide that much
+information though).
+
+%prep
+%setup -q -a1
+# Remove bundled egg-info
+rm -r %{name}.egg-info
+
+%build
+%{__python} setup.py build
+
+%if %{with tests}
+PYTHONPATH=$(pwd) py.test
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+   --skip-build \
+   --optimize=2 \
+   --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst LICENSE
+%attr(755,root,root) %{_bindir}/pyp2rpm
+%{py_sitescriptdir}/%{name}
+%{py_sitescriptdir}/%{name}-%{version}-py*.egg-info


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pyp2rpm.git/commitdiff/20e722016f2375763cd621072cbcc22478cec331

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: pyp2rpm: pyp2rpm-1.0.1.tar.gz

2013-03-16 Thread glen

Files fetched: 1

STORED: http://pypi.python.org/packages/source/p/pyp2rpm/pyp2rpm-1.0.1.tar.gz
1e9a514d8dab9782f699ded2eb268237  pyp2rpm-1.0.1.tar.gz
Size: 17462 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: pyp2rpm: pyp2rpm-1.0.1.tar.gz

2013-03-16 Thread glen

Files fetched: 0

ALREADY GOT: 
http://pypi.python.org/packages/source/p/pyp2rpm/pyp2rpm-1.0.1.tar.gz
1e9a514d8dab9782f699ded2eb268237  pyp2rpm-1.0.1.tar.gz


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-webtest] missing dir

2013-03-16 Thread glen
commit 2ab6b7bd6b61bcb1e6cff39fe97b6b2d56745994
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 02:58:47 2013 +0200

missing dir

 python-webtest.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python-webtest.spec b/python-webtest.spec
index ad941a8..3a614b3 100644
--- a/python-webtest.spec
+++ b/python-webtest.spec
@@ -10,7 +10,7 @@
 Summary:   Helper to test WSGI applications
 Name:  python-%{module}
 Version:   1.3.4
-Release:   1
+Release:   2
 License:   MIT
 Group: Libraries/Python
 URL:   http://pythonpaste.org/webtest/
@@ -111,6 +111,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc docs/*
 %{py3_sitescriptdir}/WebTest-%{version}-py*.egg-info
+%dir %{py3_sitescriptdir}/webtest
 %{py3_sitescriptdir}/%{module}/*.py
 %{py3_sitescriptdir}/%{module}/__pycache__
 %endif


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-webtest.git/commitdiff/2ab6b7bd6b61bcb1e6cff39fe97b6b2d56745994

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/pyp2rpm] cleanup deps; enable tests

2013-03-16 Thread glen
commit c1f920374ff0297fccd9ceff7ac2e3d36dcc68b7
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 03:07:58 2013 +0200

cleanup deps; enable tests

 pyp2rpm.spec | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/pyp2rpm.spec b/pyp2rpm.spec
index b7737ac..81444ff 100644
--- a/pyp2rpm.spec
+++ b/pyp2rpm.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_withtests   # do not perform make test
+%bcond_without tests   # do not perform make test
 
 Summary:   Convert Python packages to RPM .spec files
 Name:  pyp2rpm
@@ -14,11 +14,9 @@ Source0: 
http://pypi.python.org/packages/source/p/pyp2rpm/%{name}-%{version}.tar
 # git clone g...@bitbucket.org:bkabrda/pyp2rpm.git  cd pyp2rpm
 # git checkout v1.0.1  tar czf pyp2rpm-1.0.1-tests.tgz tests/
 Source1:   %{name}-%{version}-tests.tgz
+# Source1-md5: d6ffe3cd0acb10af01c99a77e6bd51f3
 URL:   https://pypi.python.org/pypi/pyp2rpm
-BuildRequires: python-devel
-BuildRequires: python-distribute
 BuildRequires: python-flexmock = 0.9.3
-BuildRequires: python-jinja2
 BuildRequires: python-pytest
 BuildRequires: python-setuptools
 BuildRequires: rpm-pythonprov
@@ -37,7 +35,7 @@ PyPI or from local filesystem (local file doesn't provide 
that much
 information though).
 
 %prep
-%setup -q -a1
+%setup -q
 # Remove bundled egg-info
 rm -r %{name}.egg-info
 


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pyp2rpm.git/commitdiff/c1f920374ff0297fccd9ceff7ac2e3d36dcc68b7

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: pyp2rpm: pyp2rpm-1.0.1.tar.gz pyp2rpm-1.0.1-tests.tgz

2013-03-16 Thread glen

Files fetched: 1

ALREADY GOT: 
http://pypi.python.org/packages/source/p/pyp2rpm/pyp2rpm-1.0.1.tar.gz
1e9a514d8dab9782f699ded2eb268237  pyp2rpm-1.0.1.tar.gz
STORED: no-url://pyp2rpm-1.0.1-tests.tgz
d6ffe3cd0acb10af01c99a77e6bd51f3  pyp2rpm-1.0.1-tests.tgz
Size: 1738615 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/pyp2rpm] default savepath to current dir

2013-03-16 Thread glen
commit aa1c3d8d89ad449f1bb0dd8b2a9efa887b1a44b0
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 03:12:04 2013 +0200

default savepath  to current dir

~/rpmbuild/SOURCES is wrong, and querying rpm is too heavy, besides
usually you just expect it to save to current dir

 default-savepath.patch | 11 +++
 pyp2rpm.spec   |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/pyp2rpm.spec b/pyp2rpm.spec
index 81444ff..d7bf7dc 100644
--- a/pyp2rpm.spec
+++ b/pyp2rpm.spec
@@ -15,6 +15,7 @@ Source0:  
http://pypi.python.org/packages/source/p/pyp2rpm/%{name}-%{version}.tar
 # git checkout v1.0.1  tar czf pyp2rpm-1.0.1-tests.tgz tests/
 Source1:   %{name}-%{version}-tests.tgz
 # Source1-md5: d6ffe3cd0acb10af01c99a77e6bd51f3
+Patch0:default-savepath.patch
 URL:   https://pypi.python.org/pypi/pyp2rpm
 BuildRequires: python-flexmock = 0.9.3
 BuildRequires: python-pytest
@@ -36,6 +37,7 @@ information though).
 
 %prep
 %setup -q
+%patch0 -p1
 # Remove bundled egg-info
 rm -r %{name}.egg-info
 
diff --git a/default-savepath.patch b/default-savepath.patch
new file mode 100644
index 000..d57a35f
--- /dev/null
+++ b/default-savepath.patch
@@ -0,0 +1,11 @@
+--- pyp2rpm-1.0.1/pyp2rpm/settings.py~ 2012-11-26 15:22:18.0 +0200
 pyp2rpm-1.0.1/pyp2rpm/settings.py  2013-03-17 03:10:31.762499704 +0200
+@@ -5,7 +5,7 @@
+ DEFAULT_METADATA_SOURCE = 'pypi'
+ DEFAULT_TEMPLATE = 'fedora'
+ DEFAULT_DISTRO = 'fedora'
+-DEFAULT_PKG_SAVE_PATH = os.path.expanduser('~/rpmbuild/SOURCES/')
++DEFAULT_PKG_SAVE_PATH = os.path.expanduser('.')
+ KNOWN_DISTROS = ['fedora', 'mageia']
+ ARCHIVE_SUFFIXES = ['.tar', '.tgz', '.tar.gz', '.tar.bz2', '.gz', '.bz2', 
'.zip', '.egg']
+ EXTENSION_SUFFIXES = ['.c', '.cpp']


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pyp2rpm.git/commitdiff/86badbede143960b5b5318bb6d47cd7ef1be482d

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/pyp2rpm] do not assume we're on fedora

2013-03-16 Thread glen
commit 86badbede143960b5b5318bb6d47cd7ef1be482d
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 03:21:03 2013 +0200

do not assume we're on fedora

rpmdev-packager is fedora tool, we don't have it and it's wrong to call
it unconditionally

 no-rpmdev-packager.patch | 21 +
 pyp2rpm.spec |  2 ++
 2 files changed, 23 insertions(+)
---
diff --git a/pyp2rpm.spec b/pyp2rpm.spec
index d7bf7dc..aa4ffa3 100644
--- a/pyp2rpm.spec
+++ b/pyp2rpm.spec
@@ -16,6 +16,7 @@ Source0:  
http://pypi.python.org/packages/source/p/pyp2rpm/%{name}-%{version}.tar
 Source1:   %{name}-%{version}-tests.tgz
 # Source1-md5: d6ffe3cd0acb10af01c99a77e6bd51f3
 Patch0:default-savepath.patch
+Patch1:no-rpmdev-packager.patch
 URL:   https://pypi.python.org/pypi/pyp2rpm
 BuildRequires: python-flexmock = 0.9.3
 BuildRequires: python-pytest
@@ -38,6 +39,7 @@ information though).
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 # Remove bundled egg-info
 rm -r %{name}.egg-info
 
diff --git a/no-rpmdev-packager.patch b/no-rpmdev-packager.patch
new file mode 100644
index 000..f0e313f
--- /dev/null
+++ b/no-rpmdev-packager.patch
@@ -0,0 +1,21 @@
+--- pyp2rpm-1.0.1/pyp2rpm/package_data.py~ 2012-11-26 15:22:18.0 
+0200
 pyp2rpm-1.0.1/pyp2rpm/package_data.py  2013-03-17 03:19:21.866958954 
+0200
+@@ -1,6 +1,7 @@
+ import subprocess
+ import time
+ import locale
++import os
+ 
+ from pyp2rpm import version
+ 
+@@ -50,7 +51,9 @@
+ def changelog_date_packager(self):
+ Returns part of the changelog entry, containing date and packager.
+ 
+-packager = subprocess.Popen('rpmdev-packager', stdout = 
subprocess.PIPE).communicate()[0].strip()
++packager = 'unknown'
++if os.has_key('USER'):
++packager = os.environ['USER']
+ date_str = time.strftime('%a %b %d %Y', time.gmtime())
+ encoding = locale.getpreferredencoding()
+ return '{0} {1}'.format(date_str, packager.decode(encoding))


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pyp2rpm.git/commitdiff/86badbede143960b5b5318bb6d47cd7ef1be482d

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/pyp2rpm] fix license and group mixup

2013-03-16 Thread glen
commit 14705ca70424aa12c9150a33a53db047fca27e18
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 03:23:17 2013 +0200

fix license and group mixup

 pyp2rpm.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pyp2rpm.spec b/pyp2rpm.spec
index aa4ffa3..45e2f6f 100644
--- a/pyp2rpm.spec
+++ b/pyp2rpm.spec
@@ -6,8 +6,8 @@ Summary:Convert Python packages to RPM .spec files
 Name:  pyp2rpm
 Version:   1.0.1
 Release:   1
-License:   Applications
-Group: Libraries/Python
+License:   MIT
+Group: Applications
 Source0:   
http://pypi.python.org/packages/source/p/pyp2rpm/%{name}-%{version}.tar.gz
 # Source0-md5: 1e9a514d8dab9782f699ded2eb268237
 # to get tests:


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pyp2rpm.git/commitdiff/14705ca70424aa12c9150a33a53db047fca27e18

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-webassets] Created branch master

2013-03-16 Thread glen
The branch 'master' was created.

Summary of new commits:

  db769f1... new, version 0.7.1
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-webassets] new, version 0.7.1

2013-03-16 Thread glen
commit db769f147afb11f6ed41b0b9828f5dc366a9b904
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 03:56:20 2013 +0200

new, version 0.7.1

based on fedora packages
5ab041d85b442f83009fad4e40f1ba89572ad5fc

 python-webassets.spec | 89 +++
 1 file changed, 89 insertions(+)
---
diff --git a/python-webassets.spec b/python-webassets.spec
new file mode 100644
index 000..452e19b
--- /dev/null
+++ b/python-webassets.spec
@@ -0,0 +1,89 @@
+%definemodule  webassets
+Summary:   Media asset management for python
+Name:  python-%{module}
+Version:   0.7.1
+Release:   1
+License:   BSD
+Group: Development/Libraries
+URL:   http://github.com/miracle2k/%{module}
+# Because jsmin.py is non-free, we have to make a clean source tarball.
+# First, get the original source:
+# Source0:  
http://pypi.python.org/packages/source/w/%{module}/%{module}-%{version}.tar.gz
+# Then, unpack it, and delete src/webassets/filter/jsmin/jsmin.py
+# tar xf %{module}-%{version}.tar.gz
+# rm -rf %{module}-%{version}/src/webassets/filter/jsmin/jsmin.py
+# tar cfz %{module}-%{version}-clean.tar.gz %{module}-%{version}
+Source0:   %{module}-%{version}-clean.tar.gz
+# Source0-md5: 548e2a4125a11c0bf30398357059a725
+BuildRequires: python-devel
+BuildRequires: python-setuptools
+BuildRequires: rpmbuild(macros) = 1.553
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Merges, minifies and compresses Javascript and CSS files, supporting a
+variety of different filters, including YUI, jsmin, jspacker or CSS
+tidy. Also supports URL rewriting in CSS files.
+
+%prep
+%setup -q -n %{module}-%{version}
+%undos README.rst docs/{*.rst,Makefile,django/jinja2.rst}
+
+rm src/django_assets/models.py
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+   --skip-build \
+   --optimize=2 \
+   --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst CHANGES LICENSE docs
+%attr(755,root,root) %{_bindir}/webassets
+%dir %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}/*.py[co]
+
+%dir %{py_sitescriptdir}/%{module}/ext
+%{py_sitescriptdir}/%{module}/ext/__init__.py[co]
+%{py_sitescriptdir}/%{module}/ext/jinja2.py[co]
+%{py_sitescriptdir}/%{module}/ext/werkzeug.py[co]
+
+%dir %{py_sitescriptdir}/%{module}/filter
+%{py_sitescriptdir}/%{module}/filter/__init__.py[co]
+%{py_sitescriptdir}/%{module}/filter/clevercss.py[co]
+%{py_sitescriptdir}/%{module}/filter/closure.py[co]
+%{py_sitescriptdir}/%{module}/filter/coffeescript.py[co]
+%{py_sitescriptdir}/%{module}/filter/compass.py[co]
+%{py_sitescriptdir}/%{module}/filter/cssmin.py[co]
+%{py_sitescriptdir}/%{module}/filter/cssprefixer.py[co]
+%{py_sitescriptdir}/%{module}/filter/cssutils.py[co]
+%{py_sitescriptdir}/%{module}/filter/datauri.py[co]
+%{py_sitescriptdir}/%{module}/filter/dust.py[co]
+%{py_sitescriptdir}/%{module}/filter/gzip.py[co]
+%{py_sitescriptdir}/%{module}/filter/handlebars.py[co]
+%{py_sitescriptdir}/%{module}/filter/jst.py[co]
+%{py_sitescriptdir}/%{module}/filter/less.py[co]
+%{py_sitescriptdir}/%{module}/filter/less_ruby.py[co]
+%{py_sitescriptdir}/%{module}/filter/pyscss.py[co]
+%{py_sitescriptdir}/%{module}/filter/sass.py[co]
+%{py_sitescriptdir}/%{module}/filter/uglifyjs.py[co]
+%{py_sitescriptdir}/%{module}/filter/yui.py[co]
+%{py_sitescriptdir}/%{module}/filter/cssrewrite
+%{py_sitescriptdir}/%{module}/filter/jsmin
+%{py_sitescriptdir}/%{module}/filter/jspacker
+%{py_sitescriptdir}/%{module}/filter/rjsmin
+
+%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
+
+%{py_sitescriptdir}/django_assets


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-webassets.git/commitdiff/db769f147afb11f6ed41b0b9828f5dc366a9b904

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: python-webassets: webassets-0.7.1-clean.tar.gz

2013-03-16 Thread glen

Files fetched: 1

STORED: no-url://webassets-0.7.1-clean.tar.gz
548e2a4125a11c0bf30398357059a725  webassets-0.7.1-clean.tar.gz
Size: 153206 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-webassets] BR: rpm-pythonprov

2013-03-16 Thread glen
commit d2952deb2c89b1f0fe3917d78723123116207a70
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 03:58:56 2013 +0200

BR: rpm-pythonprov

AUTO: -- error: Couldn't exec /usr/lib/rpm/pythoneggs.py: No such file or 
directory

 python-webassets.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/python-webassets.spec b/python-webassets.spec
index 452e19b..373126f 100644
--- a/python-webassets.spec
+++ b/python-webassets.spec
@@ -17,6 +17,7 @@ Source0:  %{module}-%{version}-clean.tar.gz
 # Source0-md5: 548e2a4125a11c0bf30398357059a725
 BuildRequires: python-devel
 BuildRequires: python-setuptools
+BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) = 1.553
 BuildArch: noarch
 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-webassets.git/commitdiff/d2952deb2c89b1f0fe3917d78723123116207a70

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-webassets] up to 0.8

2013-03-16 Thread glen
commit d16d23e349a6cbd997170ed3ded98cca50019077
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 04:11:38 2013 +0200

up to 0.8

- bundled jsmin is removed, use python-jsmin package
- django integration has moved to a separate project: python-django-assets

 python-webassets.spec | 41 ++---
 1 file changed, 18 insertions(+), 23 deletions(-)
---
diff --git a/python-webassets.spec b/python-webassets.spec
index 373126f..e50843d 100644
--- a/python-webassets.spec
+++ b/python-webassets.spec
@@ -1,37 +1,29 @@
 %definemodule  webassets
 Summary:   Media asset management for python
 Name:  python-%{module}
-Version:   0.7.1
+Version:   0.8
 Release:   1
 License:   BSD
 Group: Development/Libraries
-URL:   http://github.com/miracle2k/%{module}
-# Because jsmin.py is non-free, we have to make a clean source tarball.
-# First, get the original source:
-# Source0:  
http://pypi.python.org/packages/source/w/%{module}/%{module}-%{version}.tar.gz
-# Then, unpack it, and delete src/webassets/filter/jsmin/jsmin.py
-# tar xf %{module}-%{version}.tar.gz
-# rm -rf %{module}-%{version}/src/webassets/filter/jsmin/jsmin.py
-# tar cfz %{module}-%{version}-clean.tar.gz %{module}-%{version}
-Source0:   %{module}-%{version}-clean.tar.gz
-# Source0-md5: 548e2a4125a11c0bf30398357059a725
+URL:   http://github.com/miracle2k/webassets
+Source0:   
https://pypi.python.org/packages/source/w/webassets/%{module}-%{version}.tar.gz
+# Source0-md5: 6770429350878156e7f574ae772ebc19
 BuildRequires: python-devel
 BuildRequires: python-setuptools
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) = 1.553
+Suggests:  python-jsmin
 BuildArch: noarch
 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Merges, minifies and compresses Javascript and CSS files, supporting a
-variety of different filters, including YUI, jsmin, jspacker or CSS
-tidy. Also supports URL rewriting in CSS files.
+variety of different filters, including YUI, jspacker or CSS tidy.
+Also supports URL rewriting in CSS files.
 
 %prep
 %setup -q -n %{module}-%{version}
-%undos README.rst docs/{*.rst,Makefile,django/jinja2.rst}
-
-rm src/django_assets/models.py
+%undos README.rst docs/{*.rst,Makefile}
 
 %build
 %{__python} setup.py build
@@ -58,10 +50,13 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py_sitescriptdir}/%{module}/ext
 %{py_sitescriptdir}/%{module}/ext/__init__.py[co]
 %{py_sitescriptdir}/%{module}/ext/jinja2.py[co]
-%{py_sitescriptdir}/%{module}/ext/werkzeug.py[co]
 
 %dir %{py_sitescriptdir}/%{module}/filter
+%{py_sitescriptdir}/%{module}/filter/cssrewrite
+%{py_sitescriptdir}/%{module}/filter/jspacker
+%{py_sitescriptdir}/%{module}/filter/rjsmin
 %{py_sitescriptdir}/%{module}/filter/__init__.py[co]
+%{py_sitescriptdir}/%{module}/filter/cleancss.py[co]
 %{py_sitescriptdir}/%{module}/filter/clevercss.py[co]
 %{py_sitescriptdir}/%{module}/filter/closure.py[co]
 %{py_sitescriptdir}/%{module}/filter/coffeescript.py[co]
@@ -73,18 +68,18 @@ rm -rf $RPM_BUILD_ROOT
 %{py_sitescriptdir}/%{module}/filter/dust.py[co]
 %{py_sitescriptdir}/%{module}/filter/gzip.py[co]
 %{py_sitescriptdir}/%{module}/filter/handlebars.py[co]
+%{py_sitescriptdir}/%{module}/filter/jinja2.py[co]
+%{py_sitescriptdir}/%{module}/filter/jsmin.py[co]
 %{py_sitescriptdir}/%{module}/filter/jst.py[co]
 %{py_sitescriptdir}/%{module}/filter/less.py[co]
 %{py_sitescriptdir}/%{module}/filter/less_ruby.py[co]
 %{py_sitescriptdir}/%{module}/filter/pyscss.py[co]
 %{py_sitescriptdir}/%{module}/filter/sass.py[co]
+%{py_sitescriptdir}/%{module}/filter/slimmer.py[co]
+%{py_sitescriptdir}/%{module}/filter/spritemapper.py[co]
+%{py_sitescriptdir}/%{module}/filter/stylus.py[co]
+%{py_sitescriptdir}/%{module}/filter/typescript.py[co]
 %{py_sitescriptdir}/%{module}/filter/uglifyjs.py[co]
 %{py_sitescriptdir}/%{module}/filter/yui.py[co]
-%{py_sitescriptdir}/%{module}/filter/cssrewrite
-%{py_sitescriptdir}/%{module}/filter/jsmin
-%{py_sitescriptdir}/%{module}/filter/jspacker
-%{py_sitescriptdir}/%{module}/filter/rjsmin
 
 %{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
-
-%{py_sitescriptdir}/django_assets


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-webassets.git/commitdiff/d16d23e349a6cbd997170ed3ded98cca50019077

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: python-webassets: webassets-0.8.tar.gz

2013-03-16 Thread glen

Files fetched: 1

STORED: https://pypi.python.org/packages/source/w/webassets/webassets-0.8.tar.gz
6770429350878156e7f574ae772ebc19  webassets-0.8.tar.gz
Size: 151557 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-django-assets] Created branch master

2013-03-16 Thread glen
The branch 'master' was created.

Summary of new commits:

  7d4c3af... new, version 0.8
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-django-assets] new, version 0.8

2013-03-16 Thread glen
commit 7d4c3af3deaba8219cfa564a5cf873669ff5d88f
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 04:25:51 2013 +0200

new, version 0.8

 python-django-assets.spec | 65 +++
 1 file changed, 65 insertions(+)
---
diff --git a/python-django-assets.spec b/python-django-assets.spec
new file mode 100644
index 000..e434961
--- /dev/null
+++ b/python-django-assets.spec
@@ -0,0 +1,65 @@
+#
+# Conditional build:
+%bcond_withtests   # do not perform make test
+
+%definemodule  django-assets
+Summary:   Asset management for Django, to compress and merge CSS and 
Javascript files
+Name:  python-%{module}
+Version:   0.8
+Release:   1
+License:   BSD
+Group: Libraries/Python
+Source0:   
http://pypi.python.org/packages/source/d/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5: 2c7f3876420f825aa39f9bbfe5f7f95d
+URL:   http://github.com/miracle2k/django-assets
+BuildRequires: python-devel
+BuildRequires: python-django
+BuildRequires: python-nose
+BuildRequires: python-sphinx
+BuildRequires: python-webassets = 0.8
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) = 1.219
+Requires:  python-django
+Requires:  python-webassets = 0.8
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Integrates the webassets library with Django, adding support for
+merging, minifying and compiling CSS and Javascript files.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%if %{with tests}
+# Unittests can't be run yet: 
https://github.com/miracle2k/django-assets/issues/10
+%{__python} setup.py test
+%endif
+
+# generate html docs
+sphinx-build docs html
+# remove the sphinx-build leftovers
+rm -r html/.{doctrees,buildinfo}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+   --skip-build \
+   --optimize=2 \
+   --root=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/tests
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc html README.rst LICENSE
+%{py_sitescriptdir}/django_assets
+%{py_sitescriptdir}/django_assets-%{version}-py*.egg-info


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-django-assets.git/commitdiff/7d4c3af3deaba8219cfa564a5cf873669ff5d88f

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: python-django-assets: django-assets-0.8.tar.gz

2013-03-16 Thread glen

Files fetched: 1

STORED: 
http://pypi.python.org/packages/source/d/django-assets/django-assets-0.8.tar.gz
2c7f3876420f825aa39f9bbfe5f7f95d  django-assets-0.8.tar.gz
Size: 28930 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-django-assets] currect dep for sphinx-build package

2013-03-16 Thread glen
commit c46f6b035f1717897e4b100e5f10df838d29643b
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 04:31:04 2013 +0200

currect dep for sphinx-build package

AUTO: -- /var/tmp/rpm-tmp.95593[36]: sphinx-build: not found

 python-django-assets.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python-django-assets.spec b/python-django-assets.spec
index e434961..f06ec33 100644
--- a/python-django-assets.spec
+++ b/python-django-assets.spec
@@ -15,10 +15,10 @@ URL:
http://github.com/miracle2k/django-assets
 BuildRequires: python-devel
 BuildRequires: python-django
 BuildRequires: python-nose
-BuildRequires: python-sphinx
 BuildRequires: python-webassets = 0.8
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) = 1.219
+BuildRequires: sphinx-pdg
 Requires:  python-django
 Requires:  python-webassets = 0.8
 BuildArch: noarch


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-django-assets.git/commitdiff/c46f6b035f1717897e4b100e5f10df838d29643b

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/pyp2rpm] add templates/mageia.spec as pld.spec.tmpl

2013-03-16 Thread glen
commit 8cd0374c37425627ff0fb97e6303c624069880b8
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 04:40:24 2013 +0200

add templates/mageia.spec as pld.spec.tmpl

 pld.spec.tmpl | 115 ++
 1 file changed, 115 insertions(+)
---
diff --git a/pld.spec.tmpl b/pld.spec.tmpl
new file mode 100644
index 000..0ec31d2
--- /dev/null
+++ b/pld.spec.tmpl
@@ -0,0 +1,115 @@
+{{ data.credit_line }}
+{% from 'macros.spec' import dependencies, for_python_versions, 
underscored_or_pypi -%}
+%global pypi_name {{ data.name }}
+{%- for pv in data.python_versions %}
+%global with_python{{ pv }} 1
+{%- endfor %}
+%define version {{ data.version }}
+
+Name:   {{ 
data.pkg_name|name_for_python_version(data.base_python_version) }}
+Version:%{version}
+Release:%mkrel 1
+Group:  Development/Python
+Summary:{{ data.summary }}
+
+License:{{ data.license }}
+URL:{{ data.release_url|replace(data.version, '%{version}') }}
+Source0:{{ data.url|replace(data.version, '%{version}') }}
+
+{%- if not data.has_extension %}
+BuildArch:  noarch
+{%- endif %}
+{{ dependencies(data.build_deps, False, data.base_python_version, 
data.base_python_version) }}
+{%- for pv in data.python_versions %}
+{{ dependencies(data.build_deps, False, pv, data.base_python_version) }}
+{%- endfor %}
+{{ dependencies(data.runtime_deps, True, data.base_python_version, 
data.base_python_version) }}
+
+%description
+{{ data.description|truncate(400)|wordwrap }}
+{% call(pv) for_python_versions(data.python_versions) -%}
+%package -n {{ data.name|macroed_pkg_name|name_for_python_version(pv) }}
+Summary:{{ data.summary }}
+{{ dependencies(data.runtime_deps, True, pv, pv) }}
+
+%description -n {{ data.name|macroed_pkg_name|name_for_python_version(pv) }}
+{{ data.description|truncate(400)|wordwrap }}
+{%- endcall %}
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+{%- if data.has_bundled_egg_info %}
+# Remove bundled egg-info
+rm -rf %{pypi_name}.egg-info
+{%- endif %}
+{% call(pv) for_python_versions([data.base_python_version] + 
data.python_versions, data.base_python_version) -%}
+{%- if pv != data.base_python_version -%}
+rm -rf %{py{{pv}}dir}
+cp -a . %{py{{pv}}dir}
+find %{py{{pv}}dir} -name '*.py' | xargs sed -i 
'1s|^#!python|#!%{__python{{pv}}}|'
+{%- endif %}
+{%- if data.sphinx_dir %}
+# generate html docs {# TODO: generate properly for other versions (pushd/popd 
into their dirs...) #}
+{% if pv != data.base_python_version %}python{{ pv }}-{% endif %}sphinx-build 
{{ data.sphinx_dir }} html
+# remove the sphinx-build leftovers
+rm -rf html/.{doctrees,buildinfo}
+{%- endif %}
+{% endcall %}
+
+%build
+{%- call(pv) for_python_versions([data.base_python_version] + 
data.python_versions, data.base_python_version) -%}
+{%- if pv != data.base_python_version -%}
+pushd %{py{{ pv }}dir}
+{%- endif %}
+{% if data.has_extension %}CFLAGS=$RPM_OPT_FLAGS {% endif %}{{ 
'%{__python}'|python_bin_for_python_version(pv) }} setup.py build
+{% if pv != data.base_python_version -%}
+popd
+{%- endif %}
+{%- endcall %}
+
+%install
+{%- if data.python_versions|length  0 %}
+# Must do the subpackages' install first because the scripts in /usr/bin are
+# overwritten with every setup.py install (and we want the python2 version
+# to be the default for now).
+{%- endif -%}
+{%- call(pv) for_python_versions(data.python_versions + 
[data.base_python_version], data.base_python_version) -%}
+{%- if pv != data.base_python_version -%}
+pushd %{py{{ pv }}dir}
+{%- endif %}
+{{ '%{__python}'|python_bin_for_python_version(pv) }} setup.py install 
--skip-build --root %{buildroot}
+{%- if pv != data.base_python_version %}
+{%- if data.scripts %}
+{%- for script in data.scripts %}
+mv %{buildroot}%{_bindir}/{{ script }} %{buildroot}/%{_bindir}/{{ 
script|script_name_for_python_version(pv) }}
+{%- endfor %}
+{%- endif %}
+popd
+{%- endif %}
+{%- endcall %}
+
+
+{% call(pv) for_python_versions([data.base_python_version] + 
data.python_versions, data.base_python_version) -%}
+%files{% if pv != data.base_python_version %} -n {{ 
data.pkg_name|macroed_pkg_name|name_for_python_version(pv) }}{% endif %}
+%doc {% if data.sphinx_dir %}html {% endif %}{{ data.doc_files|join(' ') }}
+{%- if data.scripts %}
+{%- for script in data.scripts %}
+%{_bindir}/{{ script|script_name_for_python_version(pv) }}
+{%- endfor %}
+{%- endif %}
+{%- if data.has_packages %}
+{{ '%{python_sitelib}'|sitedir_for_python_version(pv) }}/{{ 
underscored_or_pypi(data.name, data.underscored_name) }}
+{%- endif %}
+{%- if data.py_modules %}
+{% for module in data.py_modules -%}
+{%- if pv == '3' -%}
+{{ '%{python_sitelib}'|sitedir_for_python_version(pv) }}/__pycache__/*
+{% endif -%}
+{{ '%{python_sitelib}'|sitedir_for_python_version(pv) }}/{% if data.name == 
module %}%{pypi_name}{% else %}{{ module }}{% endif %}.py{% if pv != '3'%}*{% 
endif %}
+{%- endfor %}
+{%- endif %}
+{{ 

[packages/pyp2rpm] add pld spec template

2013-03-16 Thread glen
commit 41a9b90bdc471e391602a9692cebf9399e6855c0
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 04:44:32 2013 +0200

add pld spec template

 pld.spec.tmpl | 68 ---
 pyp2rpm.spec  | 12 ++-
 2 files changed, 48 insertions(+), 32 deletions(-)
---
diff --git a/pyp2rpm.spec b/pyp2rpm.spec
index 45e2f6f..358fccc 100644
--- a/pyp2rpm.spec
+++ b/pyp2rpm.spec
@@ -15,6 +15,7 @@ Source0:  
http://pypi.python.org/packages/source/p/pyp2rpm/%{name}-%{version}.tar
 # git checkout v1.0.1  tar czf pyp2rpm-1.0.1-tests.tgz tests/
 Source1:   %{name}-%{version}-tests.tgz
 # Source1-md5: d6ffe3cd0acb10af01c99a77e6bd51f3
+Source2:   pld.spec.tmpl
 Patch0:default-savepath.patch
 Patch1:no-rpmdev-packager.patch
 URL:   https://pypi.python.org/pypi/pyp2rpm
@@ -43,6 +44,8 @@ information though).
 # Remove bundled egg-info
 rm -r %{name}.egg-info
 
+cp -p %{SOURCE2} pyp2rpm/templates/pld.spec
+
 %build
 %{__python} setup.py build
 
@@ -66,5 +69,12 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.rst LICENSE
 %attr(755,root,root) %{_bindir}/pyp2rpm
-%{py_sitescriptdir}/%{name}
+%dir %{py_sitescriptdir}/%{name}
+%{py_sitescriptdir}/%{name}/*.py[co]
+%dir %{py_sitescriptdir}/%{name}/templates
+%{py_sitescriptdir}/%{name}/templates/macros.spec
+%{py_sitescriptdir}/%{name}/templates/fedora.spec
+%{py_sitescriptdir}/%{name}/templates/mageia.spec
+%{py_sitescriptdir}/%{name}/templates/pld.spec
 %{py_sitescriptdir}/%{name}-%{version}-py*.egg-info
+
diff --git a/pld.spec.tmpl b/pld.spec.tmpl
index 0ec31d2..6ee900f 100644
--- a/pld.spec.tmpl
+++ b/pld.spec.tmpl
@@ -1,35 +1,32 @@
 {{ data.credit_line }}
 {% from 'macros.spec' import dependencies, for_python_versions, 
underscored_or_pypi -%}
-%global pypi_name {{ data.name }}
 {%- for pv in data.python_versions %}
-%global with_python{{ pv }} 1
+%definewith_python{{ pv }} 1
 {%- endfor %}
-%define version {{ data.version }}
-
-Name:   {{ 
data.pkg_name|name_for_python_version(data.base_python_version) }}
-Version:%{version}
-Release:%mkrel 1
-Group:  Development/Python
-Summary:{{ data.summary }}
-
-License:{{ data.license }}
-URL:{{ data.release_url|replace(data.version, '%{version}') }}
-Source0:{{ data.url|replace(data.version, '%{version}') }}
-
-{%- if not data.has_extension %}
-BuildArch:  noarch
-{%- endif %}
+%definepypi_name   {{ data.name }}
+Summary:   {{ data.summary }}
+Name:  {{ 
data.pkg_name|macroed_pkg_name|name_for_python_version(data.base_python_version)
 }}
+Version:   {{ data.version }}
+Release:   0.1
+License:   {{ data.license }}
+Group: Libraries/Python
+Source0:   {{ data.url|replace(data.version, '%{version}') }}
+# Source0-md5: -
+URL:   {{ data.release_url|replace(data.version, '%{version}') }}
 {{ dependencies(data.build_deps, False, data.base_python_version, 
data.base_python_version) }}
 {%- for pv in data.python_versions %}
 {{ dependencies(data.build_deps, False, pv, data.base_python_version) }}
 {%- endfor %}
 {{ dependencies(data.runtime_deps, True, data.base_python_version, 
data.base_python_version) }}
+{%- if not data.has_extension %}
+BuildArch: noarch
+{%- endif %}
 
 %description
 {{ data.description|truncate(400)|wordwrap }}
 {% call(pv) for_python_versions(data.python_versions) -%}
-%package -n {{ data.name|macroed_pkg_name|name_for_python_version(pv) }}
-Summary:{{ data.summary }}
+%package -n {{ data.name|macroed_pkg_name|name_for_python_version(pv) }}
+Summary:   {{ data.summary }}
 {{ dependencies(data.runtime_deps, True, pv, pv) }}
 
 %description -n {{ data.name|macroed_pkg_name|name_for_python_version(pv) }}
@@ -40,7 +37,7 @@ Summary:{{ data.summary }}
 %setup -q -n %{pypi_name}-%{version}
 {%- if data.has_bundled_egg_info %}
 # Remove bundled egg-info
-rm -rf %{pypi_name}.egg-info
+%{__rm} -r %{pypi_name}.egg-info
 {%- endif %}
 {% call(pv) for_python_versions([data.base_python_version] + 
data.python_versions, data.base_python_version) -%}
 {%- if pv != data.base_python_version -%}
@@ -52,18 +49,21 @@ find %{py{{pv}}dir} -name '*.py' | xargs sed -i 
'1s|^#!python|#!%{__python{{pv}}
 # generate html docs {# TODO: generate properly for other versions (pushd/popd 
into their dirs...) #}
 {% if pv != data.base_python_version %}python{{ pv }}-{% endif %}sphinx-build 
{{ data.sphinx_dir }} html
 # remove the sphinx-build leftovers
-rm -rf html/.{doctrees,buildinfo}
+%{__rm} -r html/.{doctrees,buildinfo}
 {%- endif %}
 {% endcall %}
 
 %build
 {%- call(pv) for_python_versions([data.base_python_version] + 
data.python_versions, data.base_python_version) -%}
 {%- if pv != data.base_python_version -%}
-pushd %{py{{ pv }}dir}
+cd %{py{{ pv }}dir}
 {%- endif %}
-{% if data.has_extension %}CFLAGS=$RPM_OPT_FLAGS {% endif %}{{ 

[packages/python-cssmin] Created branch master

2013-03-16 Thread glen
The branch 'master' was created.

Summary of new commits:

  2f2f2c5... new, version 0.1.4
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/python-cssmin] new, version 0.1.4

2013-03-16 Thread glen
commit 2f2f2c5017d044e4cd216195e5f598fdede9e189
Author: Elan Ruusamäe g...@delfi.ee
Date:   Sun Mar 17 05:10:43 2013 +0200

new, version 0.1.4

 python-cssmin.spec | 43 +++
 1 file changed, 43 insertions(+)
---
diff --git a/python-cssmin.spec b/python-cssmin.spec
new file mode 100644
index 000..57afd69
--- /dev/null
+++ b/python-cssmin.spec
@@ -0,0 +1,43 @@
+%definemodule  cssmin
+Summary:   A Python port of the YUI CSS compression algorithm
+Name:  python-%{module}
+Version:   0.1.4
+Release:   1
+# same as yui?
+License:   BSD
+Group: Libraries/Python
+Source0:   
http://pypi.python.org/packages/source/c/cssmin/cssmin-%{version}.tar.gz
+# Source0-md5: b9149b8a58e70cac5f7972b0dcce776f
+URL:   https://pypi.python.org/pypi/cssmin/
+BuildRequires: python-distribute
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) = 1.219
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Python port of the YUI CSS compression algorithm.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+   --skip-build \
+   --optimize=2 \
+   --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/cssmin
+%{py_sitescriptdir}/%{module}.py[co]
+%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-cssmin.git/commitdiff/2f2f2c5017d044e4cd216195e5f598fdede9e189

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: python-cssmin: cssmin-0.1.4.tar.gz

2013-03-16 Thread glen

Files fetched: 1

STORED: http://pypi.python.org/packages/source/c/cssmin/cssmin-0.1.4.tar.gz
b9149b8a58e70cac5f7972b0dcce776f  cssmin-0.1.4.tar.gz
Size: 7723 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


<    1   2