Spec URL: http://domsch.com/linux/fedora/python-ipaddress/python-ipaddress.spec SRPM URL: http://domsch.com/linux/fedora/python-ipaddress/python-ipaddress-1.0.3-1.fc18.src.rpm Description: ipaddress provides the capabilities to create, manipulate and operate on IPv4 and IPv6 addresses and networks. The functions and classes in this module make it straightforward to handle various tasks related to IP addresses, including checking whether or not two hosts are on the same subnet, iterating over all hosts in a particular subnet, checking whether or not a string represents a valid IP address or network definition, and so on. Fedora Account System Username: mdomsch rpmlint output (all ignorable; there's no documentation or license file included): python-ipaddress.src: W: spelling-error %description -l en_US subnet -> subset, sublet, sub net python-ipaddress.noarch: W: spelling-error %description -l en_US subnet -> subset, sublet, sub net python-ipaddress.noarch: W: no-documentation 2 packages and 1 specfiles checked; 0 errors, 3 warnings.
I'm unsure about the license being "Python". The header states: """ # Licensed to PSF under a Contributor Agreement. """ Looking at http://www.python.org/psf/contrib/contrib-form/, it seems like that doesn't clearly specify a license.
Cosmetics: I suggest to use the version macro in Source0. Defining python_sitelib is no longer necessary. Neither is rm -rf $RPM_BUILD_ROOT in the install section. The files section could be slightly more specific. I think you should BR python2-devel.
http://docs.python.org/dev/library/ipaddress >>> import ipaddress >>> ipaddress.ip_address('192.168.0.1') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/ipaddress.py", line 105, in ip_address address) ValueError: '192.168.0.1' does not appear to be an IPv4 or IPv6 address
(In reply to Volker Fröhlich from comment #3) > http://docs.python.org/dev/library/ipaddress > > >>> import ipaddress > >>> ipaddress.ip_address('192.168.0.1') > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib/python2.7/site-packages/ipaddress.py", line 105, in > ip_address > address) > ValueError: '192.168.0.1' does not appear to be an IPv4 or IPv6 address Try this instead >>> import ipaddress >>> ipaddress.ip_address(u'192.168.0.1') IPv4Address(u'192.168.0.1') the module expects unicode
It seems that the upstream tarball is broken. The README file inside is missing (broken) link. There is no license information (notice that this code was originally under Apache License, e.g. https://code.google.com/p/ipaddress-py/source/browse/ipaddress.py) Could you ask upstream to make a new release and provide license information?
Hi, are you still interested in this? Most of the problems (README, LICENSE) have been fixed upstream already
I honestly have no recollection of building this package and why I would have done so. I expect I was looking at replacing IPy which is used in MirrorManager, and which is very lightly maintained, with a python 3.x standard library module for the same functionality. This package is the backport of that standard library module to python 2.6 and 2.7. Given we are now working on MirrorManger v2 (and by 'we', I mean various contributors) and meeting for FAD in Raleigh next week, I don't intend to maintain MM v1 anymore, thus my need for IPy goes away too. If someone else needs this, they're welcome to take it on. I'll close the review for now. Thank you Sergio and Volker for your effort here.