4187eefd6d
- Add use_2to3.patch * Allows setup.py to automatically convert code with 2to3 instead of having to do it manually. - singlespec auto-conversion Update to upstream ipaddr 2.1.11 - hostmask parsing bug fixed by pmarks (a nearly complete rewrite of the mask parsing code) - i97, incorrectly parses some v6 addresses. - docstring typos. - i95, refer to the nets in the exception raised by collapse_address_list - add license to boilerplate to test-2to3.sh - Require python-setuptools instead of distribute (upstreams merged) Update to upstream ipaddr 2.1.10 - i84, fix iterhosts for /31's or /127's - private method arg cleanup. - i83, docstring issue. - i87, new ipv4/ipv6 parser. patch from pmarks - i90, fix copyright. - bytes fix. patch from pmarks.- - Fix license file to have proper attribution (upstream issue 90) - Re-generated spec file with py2pack - Run testsuite (using python-nose) - Fix non-executable script rpmlint warning - Initial package, upstream ipaddr 2.1.9 OBS-URL: https://build.opensuse.org/request/show/519989 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ipaddr?expand=0&rev=38
25 lines
728 B
Diff
25 lines
728 B
Diff
--- a/setup.py 2014-01-31
|
|
+++ b/setup.py 2017-08-31
|
|
@@ -14,17 +14,17 @@
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
-from distutils.core import setup
|
|
-
|
|
-import ipaddr
|
|
+from setuptools import setup
|
|
+from pkginfo import UnpackedSDist
|
|
|
|
|
|
setup(name='ipaddr',
|
|
maintainer='Google',
|
|
maintainer_email='ipaddr-py-dev@googlegroups.com',
|
|
- version=ipaddr.__version__,
|
|
url='http://code.google.com/p/ipaddr-py/',
|
|
license='Apache License, Version 2.0',
|
|
+ version=UnpackedSDist('.').version,
|
|
+ use_2to3=True,
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Intended Audience :: Developers',
|