Hello community,

here is the log from the commit of package python-py2pack for openSUSE:Factory 
checked in at 2014-03-09 20:17:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old)
 and      /work/SRC/openSUSE:Factory/.python-py2pack.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-py2pack"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes    
2014-02-11 11:03:32.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes       
2014-03-09 20:17:25.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Mar  6 09:02:57 UTC 2014 - [email protected]
+
+- Update to version 0.4.10
+  + Fix PyPI URL to avoid 301 moved permanently
+  + Minor bugfixes
+
+------------------------------------------------------------------

Old:
----
  py2pack-0.4.9.tar.gz

New:
----
  py2pack-0.4.10.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-py2pack.spec ++++++
--- /var/tmp/diff_new_pack.1IQXa5/_old  2014-03-09 20:17:26.000000000 +0100
+++ /var/tmp/diff_new_pack.1IQXa5/_new  2014-03-09 20:17:26.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           python-py2pack
-Version:        0.4.9
+Version:        0.4.10
 Release:        0
 Url:            http://github.com/saschpe/py2pack
 Summary:        Generate distribution packages from Python packages on PyPI

++++++ py2pack-0.4.9.tar.gz -> py2pack-0.4.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.9/.gitignore 
new/py2pack-0.4.10/.gitignore
--- old/py2pack-0.4.9/.gitignore        1970-01-01 01:00:00.000000000 +0100
+++ new/py2pack-0.4.10/.gitignore       2014-02-07 09:26:44.000000000 +0100
@@ -0,0 +1,10 @@
+.*.swp
+MANIFEST
+build
+coverage
+dist
+nosetests.xml
+*.pyc
+*.egg-info
+.venv*
+.tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.9/.travis.yml 
new/py2pack-0.4.10/.travis.yml
--- old/py2pack-0.4.9/.travis.yml       1970-01-01 01:00:00.000000000 +0100
+++ new/py2pack-0.4.10/.travis.yml      2014-02-09 14:07:09.000000000 +0100
@@ -0,0 +1,12 @@
+language: python
+python:
+  - 2.6
+  - 2.7
+  - 3.3
+install:
+  - pip install --use-mirrors -r test-requirements.txt
+  - pip install --use-mirrors coveralls
+script:
+  coverage run --source=py2pack setup.py test
+after_success:
+  coveralls
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.9/PKG-INFO new/py2pack-0.4.10/PKG-INFO
--- old/py2pack-0.4.9/PKG-INFO  2014-02-10 10:49:40.000000000 +0100
+++ new/py2pack-0.4.10/PKG-INFO 2014-03-06 10:02:17.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.4.9
+Version: 0.4.10
 Summary: Generate distribution packages from PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.9/doc/src/py2pack.xml.in 
new/py2pack-0.4.10/doc/src/py2pack.xml.in
--- old/py2pack-0.4.9/doc/src/py2pack.xml.in    1970-01-01 01:00:00.000000000 
+0100
+++ new/py2pack-0.4.10/doc/src/py2pack.xml.in   2014-02-07 09:26:44.000000000 
+0100
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC 
+   "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.docbook.org/xml/4.5/docbookx.dtd";
+[
+  <!ENTITY product "py2pack">
+]>
+
+
+
+<refentry lang="en" id="py2pack">
+  <refentryinfo>
+    <productname>&product;</productname>
+    <authorgroup>
+      <author>
+        <contrib>Developer</contrib>
+        <firstname>Sascha</firstname>
+        <surname>Peilicke</surname>
+        <email>[email protected]</email>
+      </author>
+      <othercredit>
+        <contrib>Manpage author</contrib>
+        <firstname>Thomas</firstname>
+        <surname>Schraitle</surname>
+      </othercredit>
+    </authorgroup>
+    <abstract>
+      <!-- Taken from the RPM description, but modified slightly -->
+      &product; allows to generate RPM spec or DEB dsc files from 
+      Python modules, to list Python modules or search for them on 
+      the Python Package Index (PyPI). Conveniently, it can fetch 
+      tarballs and changelogs making it an universal tool to 
+      package Python modules.
+    </abstract>
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>&product;</refentrytitle>
+    <manvolnum>1</manvolnum>
+    <refmiscinfo class="version">@VERSION@</refmiscinfo>
+    <refmiscinfo class="source"
+      >http://github.com/saschpe/py2pack</refmiscinfo>
+    <!--<refmiscinfo class="manual"></refmiscinfo>-->
+  </refmeta>
+
+  <refnamediv>
+    <refname>&product;</refname>
+    <refpurpose>
+      Generate Distribution Packages from Python Packages on PyPI
+    </refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv id="py2pack.synopsis">
+    <title>Synopsis</title>
+    <cmdsynopsis>
+      <command>py2pack</command>
+      <arg choice="opt">-h</arg>
+      <arg choice="opt">--version</arg>
+      <group choice="req">
+        <arg choice="plain">search</arg>
+        <arg choice="plain">help</arg>
+        <arg choice="plain">show</arg>
+        <arg choice="plain">list</arg>
+        <arg choice="plain">fetch</arg>
+        <arg choice="plain">generate</arg>
+      </group>
+      <arg rep="repeat" choice="plain"/>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1 id="py2pack.options">
+    <title>Commands</title>
+    <para>The following commands are available:</para>
+  
+    <!-- Commands sorted alphabetically: -->
+    <refsect2 id="py2pack.cmd.fetch">
+      <title>The fetch Command</title>
+      <cmdsynopsis><command>py2pack</command><!--
+         --> fetch <!--
+          --><arg choice="plain">name</arg> <!--
+          --><arg choice="opt">version</arg>
+      </cmdsynopsis>
+      <para>Downloads a package from PyPI and stores it in the current 
directory. Optionally you
+        can specify a version number.</para>
+    </refsect2>
+    
+    <refsect2 id="py2pack.cmd.generate">
+      <title>The generate Command</title>
+      <cmdsynopsis><command>py2pack</command>
+          <command> generate</command> 
+          <arg choice="opt">-h</arg>
+          <arg choice="opt">
+            <arg choice="plain">-t</arg>
+            <group choice="req">
+              <arg choice="plain">fedora.spec</arg>
+              <arg choice="plain">opensuse.dsc</arg>
+              <arg choice="plain">opensuse.spec</arg>
+            </group>
+          </arg>
+          <arg choice="opt">-f <replaceable>FILENAME</replaceable></arg>
+          <arg choice="plain">name</arg>
+          <arg choice="opt">version</arg>
+      </cmdsynopsis>
+      <para>Creates a SPEC or DSC file for a specific distribution.</para>
+    </refsect2>
+    
+    <refsect2 id="py2pack.cmd.list">
+      <title>The list Command</title>
+      <cmdsynopsis><command>py2pack</command>
+          <command> list</command> 
+        <arg choice="opt">-h</arg>
+      </cmdsynopsis>
+      <para>Gives a list of all Python modules available on PyPI.</para>
+    </refsect2>
+    
+    <refsect2 id="py2pack.cmd.search">
+      <title>The search Command</title>
+      <cmdsynopsis><command>py2pack</command>
+          <command> search</command> 
+        <arg choice="opt">-h</arg>
+        <arg choice="req">name</arg>
+      </cmdsynopsis>
+      <para>Gives a list of all Python modules found in
+        <replaceable>name</replaceable>.</para>
+    </refsect2>
+    
+    <refsect2 id="py2pack.cmd.show">
+      <title>The show Command</title>
+      <cmdsynopsis><command>py2pack</command>
+          <command> show</command> 
+        <arg choice="opt">-h</arg>
+        <arg choice="req">name</arg>
+        <arg choice="opt">version</arg>
+      </cmdsynopsis>
+      <para>Shows the <ulink
+        url="http://usefulinc.com/doap";>DOAP</ulink> record for the
+        given name and version (optionally). The output is a Python
+        dictionary.</para>
+    </refsect2>
+    
+  </refsect1>
+
+  <refsect1 id="py2pack.examples">
+    <title>Examples</title>
+    <para>Creating a package from a Python module involves the following
+    steps:</para>
+    <procedure>
+      <step>
+        <para>Search for your favorite Python module, for example,
+          <package></package>:</para>
+        <screen><prompt>$ </prompt><command>py2pack</command> search pylint
+searching for package pylint...
+found logilab.pylintinstaller-0.15.2
+found plpylint-0.1.2
+found pylint-0.22.0</screen>
+      </step>
+      <step>
+        <para>Download</para>
+        <screen><prompt>$ </prompt><command>py2pack</command> fetch
+downloading package pylint-0.22.0...
+from 
http://pypi.python.org/packages/source/p/pylint/pylint-0.22.0.tar.gz</screen>
+      </step>
+      <step>
+        <para>Create a SPEC file, for example, for openSUSE:</para>
+        <screen><prompt>$ </prompt><command>py2pack</command> generate -t 
opensuse.spec<!--
+        --> -f python-pylint.spec pylint</screen>
+      </step>
+      <step>
+        <para>Check the SPEC file
+          <filename>python-pylint.spec</filename> and adapt it to your
+          needs.</para>
+      </step>
+    </procedure>
+    
+  </refsect1>
+  
+</refentry>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.9/py2pack/__init__.py 
new/py2pack-0.4.10/py2pack/__init__.py
--- old/py2pack-0.4.9/py2pack/__init__.py       2014-02-10 10:48:39.000000000 
+0100
+++ new/py2pack-0.4.10/py2pack/__init__.py      2014-03-06 10:01:29.000000000 
+0100
@@ -22,7 +22,7 @@
 __doc__ = 'Generate distribution packages from PyPI'
 __docformat__ = 'restructuredtext en'
 __author__ = 'Sascha Peilicke <[email protected]>'
-__version__ = '0.4.9'
+__version__ = '0.4.10'
 
 import argparse
 import datetime
@@ -49,7 +49,7 @@
 
 
 TEMPLATE_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 
'templates')  # absolute template path
-pypi = xmlrpclib.ServerProxy('http://python.org/pypi')                      # 
XML RPC connection to PyPI
+pypi = xmlrpclib.ServerProxy('https://pypi.python.org/pypi')                   
   # XML RPC connection to PyPI
 env = jinja2.Environment(loader=jinja2.FileSystemLoader(TEMPLATE_DIR))      # 
Jinja2 template environment
 env.filters['parenthesize_version'] = \
     lambda s: re.sub('([=<>]+)(.+)', r' (\1 \2)', s)
@@ -58,7 +58,7 @@
 SDPX_LICENSES = pickle.load(open(SPDX_LICENSES_FILE, 'rb'))
 
 
-def list(args):
+def list(args=None):
     print('listing all PyPI packages...')
     for package in pypi.list_packages():                                    # 
nothing fancy
         print(package)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.9/py2pack.egg-info/PKG-INFO 
new/py2pack-0.4.10/py2pack.egg-info/PKG-INFO
--- old/py2pack-0.4.9/py2pack.egg-info/PKG-INFO 2014-02-10 10:49:40.000000000 
+0100
+++ new/py2pack-0.4.10/py2pack.egg-info/PKG-INFO        2014-03-06 
10:02:17.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: py2pack
-Version: 0.4.9
+Version: 0.4.10
 Summary: Generate distribution packages from PyPI
 Home-page: http://github.com/saschpe/py2pack
 Author: Sascha Peilicke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py2pack-0.4.9/py2pack.egg-info/SOURCES.txt 
new/py2pack-0.4.10/py2pack.egg-info/SOURCES.txt
--- old/py2pack-0.4.9/py2pack.egg-info/SOURCES.txt      2014-02-10 
10:49:40.000000000 +0100
+++ new/py2pack-0.4.10/py2pack.egg-info/SOURCES.txt     2014-03-06 
10:02:17.000000000 +0100
@@ -1,3 +1,5 @@
+.gitignore
+.travis.yml
 AUTHORS
 LICENSE
 MANIFEST.in
@@ -9,6 +11,7 @@
 tox.ini
 doc/py2pack.1
 doc/py2pack.html
+doc/src/py2pack.xml.in
 py2pack/__init__.py
 py2pack/proxy.py
 py2pack/setup.py
@@ -24,4 +27,5 @@
 py2pack/templates/opensuse.py3.spec
 py2pack/templates/opensuse.spec
 scripts/py2pack
+test/__init__.py
 test/test_py2pack.py
\ No newline at end of file

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to